Abstract
Fine-tuning Large Language Models (LLMs) is computationally intensive. We present the Block Circulant Adapter (BCA), a parameter-efficient fine-tuning (PEFT) method that leverages block circulant matrices and 1D Fast Fourier Transforms (FFT) to minimize adaptation costs. BCA reduces parameter counts by 16× compared to LoRA and computational overhead by 32× compared to FourierFT, without compromising performance. We also introduce a critical stability heuristic—scaling the learning rate by the inverse of the block size—to overcome the historical instability of circulant layers in deep learning.
Introduction
The scale of modern LLMs makes full fine-tuning impractical for most researchers. While PEFT methods like LoRA have gained traction, there is a continuous demand for even greater efficiency. Recent Fourier-domain approaches like FourierFT offer promise but are hindered by the complexity of 2D FFT operations. Conversely, circulant matrices offer theoretical efficiency but have historically struggled with training stability in LLM contexts. BCA addresses these gaps by combining a block-partitioned circulant structure with efficient 1D FFTs and a novel training stability heuristic.
Methods
BCA represents the weight update $\Delta W$ as a block circulant matrix. The weight matrix is partitioned into $q \times q$ blocks, each being a circulant matrix of size $p \times p$. This structure allows the model to replace standard $O(n^2)$ matrix-vector multiplications with $O(n \log n)$ 1D FFT operations.
A pivotal discovery in this work is the "gradient explosion" inherent in circulant layers, where gradients scale proportionally to the block size $p$. To ensure stable convergence, the authors propose scaling the learning rate $\alpha$ by $1/p$. This heuristic allows circulant-based adapters to be successfully applied to LLMs for the first time.
Key Results
BCA was evaluated on RoBERTa and LLaMA2-7B across benchmarks including GLUE, Alpaca (MT-Bench), and GSM8K. The method demonstrates extreme efficiency without sacrificing accuracy.
Efficiency and Performance Gains
- Parameter Efficiency: On RoBERTa-Large, BCA matches LoRA's performance with 16× fewer parameters and uses 14× fewer parameters than VeRA.
- Computational Speed: BCA requires 32× fewer FLOPs than the state-of-the-art FourierFT, primarily due to the shift from 2D to 1D FFTs.
- Downstream Performance: On LLaMA2-7B, BCA achieved an MT-Bench score of 5.38 (vs. LoRA's 5.20) and a GSM8K accuracy of 39.7% (vs. LoRA's 36.9%).
Conclusion
The Block Circulant Adapter provides a highly efficient, stable, and mergeable solution for LLM adaptation. By solving the stability issues of circulant matrices and optimizing Fourier-domain operations, BCA sets a new standard for parameter-efficient fine-tuning. Like LoRA, BCA weights can be folded back into the original model, ensuring zero inference overhead. Future work will explore adaptive partitioning to further refine efficiency across different model layers.
Summary updated