arXiv:2502.06820cs.LGcs.AI2025-02ICLR被引 4

LoCA通过选频机制提升参数效率,让微调更精准

LoCA: Location-Aware Cosine Adaptation for Parameter-Efficient Fine-Tuning

  • 用逆余弦变换选关键频率成分,替代传统低秩分解
  • 在多个任务上实现更高精度,参数量仅需低秩方法的1/4
  • 适合资源有限但追求高精度微调的研究者和工程师

低秩适配(LoRA)已成为微调预训练大模型的主流方法。然而,简单的低秩分解形式可能限制假设空间。为此,我们提出位置感知余弦适配(LoCA),一种基于逆离散余弦变换(iDCT)的新型频域参数高效微调方法,通过选择性地设置可学习组件的位置实现优化。我们对频域与低秩分解在微调预训练模型中的表现进行了全面理论比较,结果表明:精心选择的频域成分可超越传统低秩方法的表达能力。此外,我们证明iDCT相比逆离散傅里叶变换(iDFT)具有更高效的实现方式,在保持最优iDFT适配等效表达力的同时,能更优地选择和调整频率成分。通过使用有限差分近似估算离散余弦谱中可学习系数的位置梯度,LoCA可在训练中动态选择最具信息量的频率成分。在多种语言与视觉微调任务上的实验表明,LoCA在显著提升参数效率的同时,计算开销仍与低秩方法相当。

原文摘要 · Abstract (English)

Low-rank adaptation (LoRA) has become a prevalent method for adapting pre-trained large language models to downstream tasks. However, the simple low-rank decomposition form may constrain the hypothesis space. To address this limitation, we introduce Location-aware Cosine Adaptation (LoCA), a novel frequency-domain parameter-efficient fine-tuning method based on inverse Discrete Cosine Transform (iDCT) with selective locations of learnable components. We begin with a comprehensive theoretical comparison between frequency-domain and low-rank decompositions for fine-tuning pre-trained large models. Our analysis reveals that frequency-domain decomposition with carefully selected frequency components can surpass the expressivity of traditional low-rank-based methods. Furthermore, we demonstrate that iDCT offers a more efficient implementation compared to inverse Discrete Fourier Transform (iDFT), allowing for better selection and tuning of frequency components while maintaining equivalent expressivity to the optimal iDFT-based adaptation. By employing finite-difference approximation to estimate gradients for discrete locations of learnable coefficients on the DCT spectrum, LoCA dynamically selects the most informative frequency components during training. Experiments on diverse language and vision fine-tuning tasks demonstrate that LoCA offers enhanced parameter efficiency while maintains computational feasibility comparable to low-rank-based methods.

参数效率频域适配LoRA改进

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。