Beyond LoRA vs. Full Fine-Tuning: Gradient-Guided Optimizer Routing for LLM Adaptation
Haozhan Tang, Xiuqi Zhu, Xinyin Zhang, Boxun Li, Virginia Smith, Kevin Kuo
NeurIPS page · OpenReview · alphaXiv · Open on the map
Category: Interpretability & Model Adaptation › Parameter-Efficient Model Adaptation · Type: new method · Keywords: LLM fine-tuning, LoRA, full fine-tuning, optimizer routing, Mixture of Experts, parameter-efficient adaptation
Areas: LLM Reasoning › Efficient Reasoning › Parameter-Efficient Fine-Tuning
Summary
MoLF introduces a unified framework that dynamically routes optimizer updates between Full Fine-Tuning and LoRA, enabling continuous navigation between both regimes and achieving performance at least as good as the better of the two while also providing a memory-efficient variant MoLF-Efficient.
Explained to a 5-year-old
We have a big robot brain (LLM) that can be taught new tricks. Sometimes we change all the brain, sometimes we change only a small part. The new idea is to let the brain decide which part to change at each step, so it can learn both big and small changes. This helps it learn better while using less memory. It works on many different school subjects like math questions, doctor questions, and tricky facts.
Explained to a 5-year-old, longer
A big computer brain called a large language model can learn new things by being shown lots of examples. To teach it, we can either change every part of the brain (full fine-tuning) or only a small part (low-rank adaptation). Changing everything works well but uses a lot of memory and time. Changing only a little part saves memory but sometimes can’t learn everything. The paper comes up with a new way where the brain can pick which part to change at each step. It can switch between changing everything and changing only a little, depending on what it needs. This mixing helps the brain learn better while still using less memory. For situations where memory is very tight, there is a version that only changes a small part and freezes the rest. The new method was tested on many different kinds of questions, like math problems, medical questions, and tricky facts. It performed as well as or better than the best of the old methods. The result is a more flexible and efficient way to teach big AI models new tricks. This could make it easier for small teams or devices to use powerful AI without needing huge computers.
For a technical reader
The paper introduces MoLF, a unified optimizer-level routing framework that dynamically alternates between full fine-tuning and LoRA updates, allowing the model to exploit both high plasticity and parameter efficiency. For memory-constrained deployments, MoLF-Efficient freezes the base weights and routes only LoRA expert updates, reducing memory footprint while preserving performance. Empirical evaluations across SQL, Medical QA, and Counterfactual Knowledge tasks show that MoLF matches or exceeds the better of the two static regimes within 1.5% and that MoLF-Efficient beats prior adaptive LoRA methods by up to 20% on Fact and 9% on Med and SQL. The approach provides a flexible, plug-and-play alternative for adapting large language models in diverse resource settings.
Problem
Adapting large language models to new tasks is challenging because static fine-tuning methods either require full model updates (expensive) or restrict updates to low-rank adapters (potentially limiting). This creates a trade-off between plasticity and efficiency that current approaches cannot resolve.
Method
The approach uses a mixture of LoRA and Full Fine-Tuning experts at the optimizer level, routing gradient signals between them throughout training to allow continuous navigation. For memory-constrained settings, a variant freezes base weights and only routes updates among a pair of LoRA experts with potentially varying rank.
Results
The approach either improves on or stays within 1.5% of the better of FFT and LoRA across all settings, while the memory-efficient variant outperforms prior adaptive LoRA methods by up to 20% on Fact and 9% on Med and SQL.
Contributions
It proposes a unified routing framework that enables dynamic switching between full and low-rank fine-tuning, and introduces a memory-efficient variant that freezes base weights and routes only LoRA updates. The paper also provides empirical evidence across multiple tasks and model sizes showing consistent gains over existing adapters.
Limitations and assumptions
The memory-efficient variant freezes base weights and only routes updates among LoRA experts, which may reduce the representational capacity compared to full fine-tuning.
Practical relevance
The framework enables efficient adaptation of large language models on limited hardware while maintaining performance, making it useful for deployment in resource-constrained settings.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction