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

TL;DR

Instead of forcing a choice between Full Fine-Tuning (FFT) and Low-Rank Adaptation (LoRA), this paper introduces Mixture of LoRA and Full (MoLF) Fine-Tuning. MoLF dynamically routes parameter updates at the optimizer level during training, combining the high-capacity knowledge injection of FFT with the protective regularization of LoRA, and collapses back into a standard model architecture for zero-overhead inference.

What Problem Does This Paper Address?

When adapting pre-trained Large Language Models (LLMs) to downstream tasks, practitioners face a fundamental dilemma: should they use Full Fine-Tuning (FFT) or a Parameter-Efficient Fine-Tuning (PEFT) method like LoRA?

Conventional wisdom suggests that FFT is always better if compute permits because it has more capacity. However, recent empirical evidence shows a complex trade-off:

  • FFT excels at injecting high-entropy, factual knowledge (memorization), but its unconstrained updates can cause catastrophic forgetting on complex reasoning tasks.
  • LoRA acts as an implicit spectral regularizer, preserving pre-trained reasoning capabilities, but its rigid low-rank constraint creates a capacity bottleneck when the model needs to absorb entirely new facts.

Relying on a single static architecture forces a sub-optimal compromise. Existing adaptive rank or mixture-of-PEFT methods try to solve this but suffer from training instability (like "cold-start" optimizer moments when ranks change) or noisy gradient statistics caused by token-level gating.

Figure 1: Our empirical evaluations reveal a structural trade-off in fine-tuning: FFT excels on high-entropy factual domains while LoRA supplies the regularization needed to preserve pre-trained reasoning during adaptation. The Mixture of LoRA and Full (MoLF) framework dynamically routes updates between full-parameter and low-rank pathways at the optimizer level: shifting sparsity to the optimization step ensures every expert receives full-batch gradient signals throughout training.

Methods

The authors propose MoLF (Mixture of LoRA and Full Fine-Tuning), which unifies FFT and LoRA into a single training framework.

1. Optimizer-Level Routing

Unlike traditional Mixture-of-Experts (MoE) models that route individual tokens during the forward pass, MoLF passes every token through all expert pathways (the base model weight matrix for FFT, and low-rank matrix pairs for LoRA). Sparsity is deferred entirely to the optimizer update step. Every expert accumulates gradient statistics from the full batch, ensuring stable training dynamics.

Figure 2: Overview of MoLF Framework.

2. Expected Preconditioned Descent (EPD)

To decide which expert gets updated at each step, MoLF uses a novel scoring function called Expected Preconditioned Descent (EPD). Instead of looking at raw gradient magnitudes, EPD estimates the actual first-order loss reduction an expert's AdamW step would take, normalized by the expert's parameter count. The top-K winning experts receive physical weight updates, while losing experts retain their weights.

3. MoLF-Efficient (MoLF-E)

For memory-constrained environments where tracking dense Adam states for the entire base model is impossible, the authors introduce MoLF-E. This variant freezes the base model and routes updates between a pair of parallel LoRA experts of varying ranks (e.g., rank-64 and rank-128), acting as a gradient-aware subspace search.

4. Zero-Overhead Inference

Post-training, the learned LoRA weights are mathematically collapsed directly back into the base weights ($W_{\text{final}} = W_{\text{base}} + \sum \frac{\alpha_i}{\sqrt{r_i}} B_i A_i$). This eliminates any latency penalty or architectural drift during deployment.

Datasets

The framework was evaluated across three open-source LLMs (Gemma-3-1B, Qwen2.5-1.5B, and Qwen2.5-3B) on three distinct benchmarks chosen for their varying intrinsic dimensionalities:

  • CounterFact: A dataset for counterfactual factual knowledge injection (high-entropy, favors FFT).
  • MedMCQA (Med): A large-scale medical domain question-answering dataset (requires format adaptation while preserving reasoning, favors LoRA).
  • Gretel synthetic Text-to-SQL (SQL): A dataset for text-to-SQL generation (low intrinsic dimension, structural alignment).

Key Insights and Ideas

  • Subspace Confinement as Protection: The paper mathematically demonstrates that LoRA's performance on reasoning tasks stems from how its low-rank constraint attenuates noisy, high-rank gradient components, protecting pre-trained logic from being overwritten.
  • Persistent Specialization: Heatmaps of the router's choices reveal that individual network modules don't oscillate wildly between FFT and LoRA updates. Instead, they commit to a specific structural pathway early in training and maintain that specialization throughout.
  • Economic Parameter Allocation: EPD successfully balances massive (FFT) and lightweight (LoRA) experts by treating parameter updates as an economic allocation problem—rewarding pathways that offer the steepest loss reduction relative to their parameter footprint.
MoLF routing dynamics over training, showing rapid and persistent per-module structural assignment.

Key Results

  • MoLF vs. Baselines: Across all 9 experimental settings (3 models $\times$ 3 tasks), MoLF consistently performed better than or within 1.5% of the best static baseline strategy. It successfully matched FFT on factual injection and tracked the optimal LoRA configuration on medical reasoning without requiring manual architecture selection.
  • MoLF-E vs. Adaptive PEFT: In memory-constrained settings, MoLF-E substantially outperformed competitive baselines like AdaLoRA and AdaMix. The gap was most pronounced on the factual knowledge task (Fact), where MoLF-E achieved up to a 20% absolute improvement over the lowest-performing baseline by successfully navigating multiple low-rank subspaces simultaneously.
MoLF-E performance compared to AdaLoRA and AdaMix across tasks and models.

Limitations and Future Work

  • Expert Scaling: The current implementation of MoLF is restricted to a single FFT expert and a single LoRA expert. Scaling the framework to support a larger pool of diverse LoRA experts could allow for finer-grained adaptation.
  • First-Order Approximations: The EPD scoring function relies on a first-order Taylor approximation. Incorporating higher-order curvature information could improve routing accuracy in highly non-stationary loss landscapes.
  • Memory-Capacity Trade-offs: While MoLF-E reduces memory usage, it inherently sacrifices the full-parameter expressiveness of standard MoLF. Exploring combinations of MoLF with other highly expressive yet efficient PEFT methods remains an open avenue.

Summary updated

BibTeX
@inproceedings{tang2026beyond,
  author = {Haozhan Tang and Xiuqi Zhu and Xinyin Zhang and Boxun Li and Virginia Smith and Kevin Kuo},
  title = {{Beyond LoRA vs. Full Fine-Tuning: Gradient-Guided Optimizer Routing for LLM Adaptation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=AC9LxjWtTf},
}
Figure