arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.10649cs.LGcs.CL
收藏

SpectralLoRA: LoRA适应是否仅需低频结构?对权重更新的频谱分析

SpectralLoRA: Is Low-Frequency Structure Sufficient for LoRA Adaptation? A Spectral Analysis of Weight Updates

Indian Institute of Technology Roorkee(印度理工学院罗尔基分校)

Rajveer Singh

AI总结:

本文通过频谱分析发现LoRA更新主要由低频成分主导,压缩高频系数可显著降低存储需求,同时保持模型性能。研究还揭示RoBERTa-base在频谱压缩上的优势及任务复杂性对频谱敏感性的影响。

摘要:

我们对LoRA权重更新的频谱结构进行了系统性的实证研究。通过在四个GLUE基准(SST-2、MNLI、CoLA、QQP)上对BERT-base和RoBERTa-base进行2D离散余弦变换(DCT)分析,我们发现LoRA更新普遍由低频成分主导:平均而言,仅33%的DCT系数捕获了总频谱能量的90%。保留仅10%的频率系数可将适配器存储减少10倍,同时在SST-2上仅损失1.95个百分点。值得注意的是,在k=50%的频率掩码下,有3个8个模型-任务对的性能优于完整LoRA,表明高频成分可能作为适应噪声。我们进一步发现,RoBERTa-base在所有任务上系统性地比BERT-base更具频谱压缩性,且任务复杂性决定了频谱敏感性:NLI任务需要比情感分类更多的频率预算。随后的SVD-DCT相关性分析(皮尔逊r=0.906,p<1e-9)将经验性的33%常数与SGD的频谱动态(Olsen等人,2025)联系起来,表明这一发现具有理论基础。这些发现促使PEFT提出新的设计原则:适应中的频谱稀疏性。

英文摘要:

We present a systematic empirical study of the spectral structure of LoRA weight updates. Through 2D Discrete Cosine Transform (DCT) analysis of trained adaptation matrices across BERT-base and RoBERTa-base on four GLUE benchmarks (SST-2, MNLI, CoLA, QQP), we establish that LoRA updates are universally dominated by low-frequency components: on average, just 33% of DCT coefficients capture 90% of total spectral energy. Retaining only 10% of frequency coefficients reduces adapter storage by 10x while sacrificing only 1.95 percentage points on SST-2. Notably, frequency masking at k=50% improves over full LoRA on 3 of 8 model-task pairs, suggesting high-frequency components act as adaptation noise. We further discover that RoBERTa-base is systematically more spectrally compressible than BERT-base across all tasks, and that task complexity governs spectral sensitivity: NLI tasks require more frequency budget than sentiment classification. A subsequent SVD-DCT correlation analysis (Pearson r=0.906, p<1e-9) connects the empirical 33% constant to the spectral dynamics of SGD (Olsen et al., 2025), suggesting a theoretical grounding for this finding. These findings motivate a new design principle for PEFT: spectral sparsity in adaptation.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑