动态切换全量与低秩微调,提升大模型适配效果
Beyond LoRA vs. Full Fine-Tuning: Gradient-Guided Optimizer Routing for LLM Adaptation

- 通过优化器级路由,动态选择全量或低秩更新路径
- 在所有任务中表现优于或接近最优的单一方法,误差小于1.5%
- 轻量版可节省显存,比现有自适应LoRA提升最高20%
近期大模型微调研究存在根本性争议:全量微调(FFT)具备高熵知识注入所需的表征灵活性,而低秩适配(LoRA)因仅需低秩空间更新且具额外正则化,性能可媲美甚至超越FFT。我们在SQL、医学问答和反事实知识等多样任务上,对Gemma-3-1B、Qwen2.5-1.5B和Qwen2.5-3B等模型进行实证评估,验证了上述趋势,并表明仅依赖固定架构存在结构性局限。为此,我们提出统一框架MoLF(Mixture of LoRA and Full Fine-Tuning),实现训练过程中在两种模式间连续导航。该框架在优化器层面动态路由更新,确保梯度信号始终可供两类专家使用,保障训练稳定性。针对内存受限场景,进一步提出MoLF-Efficient,冻结基础权重,仅在一对可变秩的LoRA专家间路由更新。实验表明,MoLF在所有设置下性能均优于或不劣于最优的单一流程,差距不超过1.5%;而MoLF-Efficient在事实类任务上相较先前自适应LoRA方法提升最高达20%,医学与SQL任务分别提升9%。
原文摘要 · Abstract (English)
Recent literature on fine-tuning Large Language Models highlights a fundamental debate. While Full Fine-Tuning (FFT) provides the representational plasticity required for high-entropy knowledge injection, Low-Rank Adaptation (LoRA) can match or surpass FFT performance because many tasks only require updates in a low-rank space and benefit from LoRA's additional regularization. Through empirical evaluation across diverse tasks (SQL, Medical QA, and Counterfactual Knowledge) and varying language models (Gemma-3-1B, Qwen2.5-1.5B, and Qwen2.5-3B), we verify both trends and demonstrate that relying solely on either static architecture is structurally limited. To address this challenge, we propose a Mixture of LoRA and Full (MoLF) Fine-Tuning, a unified framework that enables continuous navigation between both training regimes. MoLF dynamically routes updates between FFT and LoRA at the optimizer level to ensure that exact gradient signals are available to both experts throughout training, yielding stable training dynamics. For memory-constrained environments, we also introduce MoLF-Efficient, which freezes base weights and only routes updates among a pair of LoRA experts of potentially varying rank. Our evaluations show that MoLF either improves on or stays within $1.5\%$ of the better of FFT and LoRA across all settings, while MoLF-Efficient outperforms prior adaptive LoRA approaches by up to $20\%$ on Fact and $9\%$ on Med and SQL. Our code is open-sourced at https://github.com/11785T23/molf.git.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。