arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2511.21733cs.CLcs.AI
收藏

RoSA: 通过RoPE-aware选择性适应提升大语言模型的参数高效微调

RoSA: Enhancing Parameter-Efficient Fine-Tuning via RoPE-aware Selective Adaptation in Large Language Models

Dayan Pan, Jingyuan Wang, Yilong Zhou, Jiawei Cheng, Pengyue Jia, Xiangyu Zhao

AI总结:

RoSA通过RoPE-aware选择性适应提升大语言模型的参数高效微调效率,结合注意力增强与动态层选择策略,实现更精准的模型适应。

摘要:

对大语言模型进行微调对于任务特定适应至关重要,但这一过程仍然计算上不可行。参数高效微调(PEFT)方法已出现作为解决方案,但当前方法通常忽略了模型组件的差异作用以及各层的异质重要性,从而限制了适应效率。受观察到RoPE诱导了注意力状态低频维度中的关键激活的启发,我们提出了RoPE-aware选择性适应(RoSA),一种新颖的PEFT框架,它以更针对性和有效的方式分配可训练参数。RoSA包含一个RoPE-aware注意力增强(RoAE)模块,该模块选择性地增强受RoPE影响的注意力状态的低频成分,并且一个动态层选择(DLS)策略,该策略根据LayerNorm梯度范数适应性地识别和更新最关键的层。通过结合维度增强与层适应,RoSA实现了更针对性和高效的微调。在十五个常识和算术基准上的广泛实验表明,RoSA在可比的可训练参数下优于现有主流PEFT方法。代码可在https://github.com/Applied-Machine-Learning-Lab/RoSA上获取以方便可重复性。

英文摘要:

Fine-tuning large language models is essential for task-specific adaptation, yet it remains computationally prohibitive. Parameter-Efficient Fine-Tuning (PEFT) methods have emerged as a solution, but current approaches typically ignore the distinct roles of model components and the heterogeneous importance across layers, thereby limiting adaptation efficiency. Motivated by the observation that Rotary Position Embeddings (RoPE) induce critical activations in the low-frequency dimensions of attention states, we propose RoPE-aware Selective Adaptation (RoSA), a novel PEFT framework that allocates trainable parameters in a more targeted and effective manner. RoSA comprises a RoPE-aware Attention Enhancement (RoAE) module, which selectively enhances the low-frequency components of RoPE-influenced attention states, and a Dynamic Layer Selection (DLS) strategy that adaptively identifies and updates the most critical layers based on LayerNorm gradient norms. By combining dimension-wise enhancement with layer-wise adaptation, RoSA achieves more targeted and efficient fine-tuning. Extensive experiments on fifteen commonsense and arithmetic benchmarks demonstrate that RoSA outperforms existing mainstream PEFT methods under comparable trainable parameters. The code is available to ease reproducibility at https://github.com/Applied-Machine-Learning-Lab/RoSA.

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

↑