BlockCIR: Versatile Block Circulant Methods
- BlockCIR is a unifying framework that leverages block circulant structures to enhance efficiency and scalability in explainable AI, coding theory, model compression, and blockchain architectures.
- It employs robust techniques such as invariant groupwise attribution, parallel erasure decoding, and FFT-based acceleration to achieve significant performance gains and computational savings.
- BlockCIR enables modular design in blockchain circuits, providing explicit safety-liveness trade-offs and provable resilience through compositional methods.
BlockCIR refers to several distinct yet structurally related methodologies in modern computational research, covering areas from explainable AI to coding theory, LLM compression, and compositional blockchain architectures. Each context exploits the block-circulant structural motif—matrices or topologies with inherent symmetry and overlap—for efficiency, scalability, or compositional guarantees. The term "BlockCIR" appears explicitly as a groupwise attribution score in XAI, a block-circulant code for decentralized systems, a block-circulant adapter for LLMs, and a compositional circuit methodology for overlay blockchains.
1. BlockCIR in Explainable AI: Correlation-Aware Groupwise Attribution
BlockCIR, introduced in “Correlation-Aware Feature Attribution Based Explainable AI,” generalizes the ExCIR (Explainability through Correlation Impact Ratio) method to sets of correlated features, addressing the instability and double-counting endemic to traditional attribution methods like SHAP and PFI. Whereas ExCIR scores single features by robustly centered, sign-aligned co-movement with the model output, BlockCIR aggregates this evidence across user-specified or data-driven feature groups. This is particularly crucial for sets exhibiting strong cross-feature dependence, such as gene clusters or synonym sets in text, where singleton attributions otherwise fragment or inflate importance.
Mathematically, given , a model , outputs , and group , the BlockCIR score is
where and , with and , and the robust centering ( is the mid-mean) and .
BlockCIR's invariant, monotonic, and single-pass computation scales as regardless of group structure, with group assignments driven either by domain knowledge or high-correlation thresholding. Empirically, a lightweight transfer protocol—randomly subsampling of rows—retains Top- agreement compared to full eval at $3$– runtime reduction. BlockCIR stabilizes global rankings under strong collinearity, assigning major credit only to blocks rather than dispersing or duplicating attribution as in singleton-based explainers and outperforming ExCIR in preserving the true global importance profile in correlated settings (Sengupta et al., 20 Nov 2025).
2. BlockCIR Codes: High-Rate Erasure Codes for Decentralized Systems
BlockCIR codes, as introduced in “Block Circulant Codes with Application to Decentralized Systems,” define a new family of erasure codes designed for scalable, distributed verification and high minimum distance at high rates. The defining topology is parameterized by the total number of blocks , overlap factor , overlap width , and number of local parities . Each codeword of length is partitioned into overlapping local blocks , with intersections governed by and to yield uniform overlap patterns.
Each is equipped with a Generalized Reed–Solomon (GRS) local code. The global code parameters are: For , is always achieved, and a parallel, two-phase erasure decoder is provided. The decoder first resolves blocks with at most erasures using their local GRS decoder (ripple phase), then in Phase II corrects erasures confined to two overlapping blocks jointly.
BlockCIR codes offer considerable gains over 2D Reed–Solomon codes in the high-rate regime: given (small ), the fractional minimum distance of BlockCIR scales as vs. for 2D-RS codes—a gain of order when . For example, 2D-RS (distance fraction ) versus BlockCIR () demonstrates a improvement in . Additionally, leveraging local GRS structure enables succinct KZG commitments, efficient per-symbol proofs, and local fraud proofs, reducing light-node protocol costs for blockchain data availability (Sasidharan et al., 18 Jun 2024).
3. BlockCIR Adapters: Block Circulant Matrices for LLM Compression
BlockCIR, in the context of parameter-efficient fine-tuning (PEFT) for LLMs, describes a block circulant adapter framework replacing the model update matrix with a block circulant . Each block of size is itself circulant, yielding substantial storage and computational savings. The full adapter is specified by parameters.
Mathematically, is partitioned into blocks (with ), each parameterized by its first column. Circulant matrices are diagonalized via the 1D DFT, allowing to be computed efficiently using FFT/IFFT: for each block index .
A critical finding is that gradient magnitudes with respect to block parameters scale as (block size), leading to instability at default learning rates. Empirical stability is restored by applying a learning-rate scaling heuristic: . This adjustment recovers convergence properties comparable to dense adapters.
BlockCIR achieves notable parameter and FLOP reductions: up to fewer parameters than LoRA, less than VeRA, and fewer FLOPs than FourierFT, while maintaining similar or superior downstream accuracy. This efficiency holds, e.g., for RoBERTa-Base/ Large and LLaMA2-7B on standard tasks. BlockCIR is restricted to mergeable, additive adapters on square matrices, and extremely large block sizes may still incur nontrivial FFT overhead (Ding et al., 1 May 2025).
4. BlockCIR in Blockchain Architecture: Circuits of Blockchains
BlockCIR also denotes a compositional methodology, “blockchain circuits,” for assembling overlay blockchains atop multiple underlay chains by analogy with switching circuits (Tas et al., 31 Jan 2024). Each underlay blockchain exposes safety (fork-free consistency) and liveness (unbounded transaction growth), viewed as a Boolean “switch.” BlockCIR composes blockchains using two primitive “gates”:
- Serial (): Given , output . Overlay is safe if either underlay is safe, live only if both are live.
- Triangular/majority (): For three chains, output . Overlay is safe iff all are safe, live if any two are live.
By assembling circuits of and gates, BlockCIR achieves the full spectrum of optimal trade-offs between safety and liveness. The fundamental theorem specifies that for underlays, you can realize each tuple with (liveness threshold) and (safety threshold), and no protocol can do better under partial synchrony. These constructions generalize to full synchrony by adding an interleaving () gate that further tightens the achievable region.
This circuit-style approach produces scalable, modular overlay blockchains with explicit, provable resilience characteristics by construction, supporting arbitrarily complex compositions and safety-liveness trade-offs (Tas et al., 31 Jan 2024).
5. Applications and Empirical Performance
BlockCIR methodologies support various high-stakes tasks:
- XAI: BlockCIR delivers stable, groupwise global feature rankings in high-collinearity settings. On 29 datasets, the transfer protocol with achieves Top-8 Jaccard and $3$– runtime reduction. Compared to SHAP/LIME, BlockCIR is faster with similar ranking correlation (Kendall ), and uniquely resolves block-level attribution (Sengupta et al., 20 Nov 2025).
- BlockCIR Codes: For blockchain data availability, BlockCIR codes allow succinct KZG proof aggregation, increase fractional distance by – at the same rate as 2D RS, and reduce required symbol sampling rates for honest recovery and unavailability detection (Sasidharan et al., 18 Jun 2024).
- LLM Adapters: BlockCIR achieves $14$– parameter and FLOP reductions versus state of the art while matching accuracy on GLUE, Alpaca/MT-Bench, and GSM8K. Stable convergence is achieved across architectures by block-size-adaptive learning rate scaling (Ding et al., 1 May 2025).
- Composable Blockchains: BlockCIR “circuit” overlays offer modular, explicit construction of blockchains optimized for required safety–liveness profiles, supporting robust protocol design in multi-chain environments (Tas et al., 31 Jan 2024).
6. Limitations and Best Practices
- BlockCIR (XAI): BlockCIR measures association, not causation, and is not robust to nonlinear dependencies (e.g., sinusoidal relationships). Overlapping group assignments must be handled with care to prevent double counting. For extremely high-dimensional, low-sample regimes, convergence can be unstable and should be monitored via incremental subsampling (Sengupta et al., 20 Nov 2025).
- BlockCIR Codes: Performance relies on the independence of local coefficients and sufficient field size for GRS instantiation. Very high rate (small ) settings benefit most. Verification scalability depends on succinct cryptographic proofs (Sasidharan et al., 18 Jun 2024).
- LLM/adapters: Current applicability is limited to additive, mergeable adapters on square, single-projection layers. Expressivity and FFT overhead remain a trade-off as block size increases (Ding et al., 1 May 2025).
- Blockchain circuits: Assumptions rely on well-formed finalized ledgers and certificate machinery. The design is optimal in the presence of partial or full synchrony constraints specified, and cannot exceed the proven (s, l) bounds (Tas et al., 31 Jan 2024).
Best practices across settings emphasize exploiting structured block assignments (correlation clusters, overlap patterns, or projection symmetries), adapting learning rates or commit strategies to the block structure, and leveraging parallelizability and compositionality for scalability.
BlockCIR, despite sharing a unifying structural concept, demonstrates the versatility of block circulant constructs across modern signal processing, model interpretability, coding, and distributed ledger design. Each instantiation combines formal invariance, parameter/computation efficiency, and modularity, enabling tractable, scalable solutions to problems in explainability, reliability, compression, and protocol synthesis.