TL;DR
Low-Rank Adaptation (LoRA) slashes the memory cost of fine-tuning giant models, but splitting a weight matrix into two smaller factors creates a mathematical trap that scrambles standard adaptive optimizers like Adam. This paper introduces FILO, a unified geometric framework that maps out how existing LoRA optimizers navigate—or stumble into—this trap. Using this map, the authors build FILO-Adafactor, a new optimizer that captures rich full-weight gradient statistics to boost downstream accuracy while keeping LoRA's tiny memory footprint intact.
What Problem Does This Paper Address?
When you fine-tune a massive model using LoRA, you freeze the original $m \times n$ weight matrix $W_0$ and represent the update as the product of two skinny matrices: $W = BA$, where $B$ is $m \times r$, $A$ is $r \times n$, and rank $r$ is tiny. This drops your memory cost from $\mathcal{O}(mn)$ to $\mathcal{O}((m+n)r)$.
Here is the catch: $B$ and $A$ have a built-in "gauge redundancy." You can multiply $B$ by any invertible $r \times r$ matrix $C$ and $A$ by $C^{-1}$, and their product $(BC)(C^{-1}A) = BA$ doesn't change at all. Geometrically, this means the Jacobian mapping factor updates back to full-weight space is rank-deficient (singular).
If you want to precondition your gradients using curvature or Fisher information from the full weight space $W$, you hit two roadblocks:
- Non-invertibility: Because of that redundancy, you cannot uniquely invert the chain rule to translate an ideal, preconditioned $W$-space step back into updates for $B$ and $A$.
- Non-uniqueness: If you use a generalized inverse instead, there is an entire $r^2$-dimensional subspace of valid factor updates that produce the exact same first-order step in $W$, but send the factors $B$ and $A$ down very different trajectories over time.
Previously, optimizers faced an awkward trade-off: either run Adam directly on the factors and ignore the true $W$-space gradient geometry (like Vanilla LoRA), or track full $W$-space statistics and blow up your GPU memory right back to $\mathcal{O}(mn)$ (like LoRA-Pro AdamW).
Methods
First, the authors introduce FILO (FIsher-geometric framework for LOw-rank adaptation), which recasts LoRA optimization as a consistent linear system parameterized by two choices: what preconditioner $\mathcal{F}_t$ you put on $W$, and how you invert the singular factor-space operator.
Seeing an empty sweet spot in this design space—a curvature-aware preconditioner on $W$ that still runs in $\mathcal{O}((m+n)r)$ memory—they design FILO-Adafactor via two coupled choices:
- Cheap $W$-space statistics (Standard toolkit, new context): Instead of storing a massive $m \times n$ second-moment matrix like Adam, they adopt Adafactor's rank-1 diagonal Kronecker preconditioner ($\mathcal{H}_t$). It tracks only the row and column sums of squared $W$-space gradients (captured on the fly via a backward hook), costing just $\mathcal{O}(m+n)$ memory.
- Exact weighted projection + Balance criterion (Novel): First, they turn the un-invertible system into a least-squares problem weighted by the $\mathcal{H}_t$-norm, orthogonally projecting the preconditioned $W$-gradient onto the LoRA tangent space. Second, to pick a single winner from the $r^2$-dimensional family of valid factor updates, they enforce an $\mathcal{H}_t$-balance criterion that minimizes the weighted magnitude imbalance between $B$'s contribution and $A$'s contribution. Remarkably, this yields a clean, closed-form update requiring only $\mathcal{O}(r^3)$ extra compute—negligible when $r$ is 4 or 8. They also introduce FILO-AdafactorM, a practical variant adding factor-space momentum, bias correction, and decoupled weight decay.
Datasets
No new benchmarks were introduced. The authors evaluated their optimizers across a diverse suite of existing text and image benchmarks:
- Natural Language Generation: E2E challenge and DART (fine-tuning GPT-2 small and medium).
- Natural Language Understanding, Reasoning & Math: GLUE (RTE, CoLA, MRPC), ARC, and GSM8K (fine-tuning Mistral-7B and Qwen2-7B).
- Image Generation: Mix-of-Show diffusion model personalization (generating custom concepts like Harry Potter and Hermione Granger on a Stable Diffusion backbone).
Key Insights and Ideas
- Metric mismatch hurts: Methods like LoRA-Pro AdamW precondition the gradient in $W$-space using Adam, but project back to the factors by minimizing standard Euclidean (Frobenius) distance. FILO-Adafactor measures the projection residual under the preconditioner's own $\mathcal{H}_t$-weighted norm, making its induced step the true closest LoRA approximation to the preconditioned $W$ direction.
- The signature $\frac{1}{2}$ factor: Solving the $\mathcal{H}_t$-balance criterion analytically introduces a clean $\frac{1}{2}$ coefficient onto the projector matrices in the closed-form update—automatically keeping one factor from dominating the other without needing extra hyperparameter-tuned regularization penalties.
- Full-weight awareness without full-weight memory: Even though $\mathcal{H}_t$ uses full-weight gradient statistics, once $\mathcal{H}_t$ is updated, the closed-form formula only touches the low-rank factor gradients, keeping peak optimizer memory strictly at the LoRA level.
Key Results
Across model scales and modalities, FILO-Adafactor and FILO-AdafactorM match or beat both cheap factor-space baselines and expensive weight-space baselines:
- 7B LLMs: On Mistral-7B and Qwen2-7B ($r=8$), FILO-AdafactorM takes 1st place on 6 out of 7 tasks (and 2nd on CoLA by 0.1%), beating AdamW, Scaled AdamW, LoRA-Pro AdamW, and Kronecker-based SOAP. On Qwen2-7B GSM8K, it hits 76.4% accuracy (vs. 75.1% for AdamW and 73.2% for SOAP).
- Half the Memory Overhead: On Mistral-7B (GLUE-RTE), FILO-AdafactorM uses 26.0 GB of peak GPU memory—matching Scaled AdamW (26.0 GB) and Vanilla AdamW (25.8 GB), while avoiding the massive 50.4 GB footprint of LoRA-Pro AdamW.
- GPT-2 & Diffusion: On GPT-2 E2E ($r=4$), both FILO variants sweep best or tied-best across every metric in their respective SGD and AdamW groups. On Mix-of-Show diffusion personalization, they achieve the lowest (best) FID scores across all tested scaling settings (e.g., 27.13 FID vs. 27.80 for AdamW at scaling 1.0).
Limitations and Future Work
While the paper does not include a dedicated "Limitations" section, two practical trade-offs are apparent from the methodology and empirical tables:
- Wall-clock step time: Capturing full-weight gradients via backward hooks to compute row/column sums and solving the $r \times r$ projections adds per-step latency. On Mistral-7B, FILO-AdafactorM takes 0.99 s/step compared to 0.24 s/step for Vanilla AdamW and 0.36 s/step for Scaled AdamW (though it is still faster than LoRA-Pro AdamW's 1.35 s/step, and converges to lower loss faster in wall-clock time on GPT-2).
- Exactness of the projection with momentum: The exact geometric optimality guarantee (being the closest point in the tangent space to $\mathcal{H}_t^{-1} G_t$) strictly holds for the instantaneous-gradient solve; adding factor-space momentum EMAs in FILO-AdafactorM is a practical heuristic extension.
Summary updated