Riemannian Preconditioned LoRA for Fine-Tuning Foundation Models

Fangzhao Zhang, Mert Pilanci
2/12/2026

No official code found. Best implementation: pilancilab/Riemannian_Preconditioned_LoRA (39 stars, MIT, last commit 2024-06-20).

Abstract

Low-Rank Adaptation (LoRA) emerges as a popular parameter-efficient fine-tuning (PEFT) method, which proposes to freeze pretrained model weights and update an additive low-rank trainable matrix. In this work, we study the enhancement of LoRA training by introducing an $r \times r$ preconditioner in each gradient step where $r$ is the LoRA rank. We theoretically verify that the proposed preconditioner stabilizes feature learning with LoRA under infinite-width NN setting. Empirically, the implementation of this new preconditioner requires a small change to existing optimizer code and creates virtually minuscule storage and runtime overhead. Our experimental results with both large language models and text-to-image diffusion models show that with this new preconditioner, the convergence and reliability of SGD and AdamW can be significantly enhanced. Moreover, the training process becomes much more robust to hyperparameter choices such as learning rate. The new preconditioner can be derived from a novel Riemannian metric in low-rank matrix field. Code can be accessed at https://github.com/pilancilab/Riemannian_Preconditioned_LoRA.

View on arXivView PDF

Code Implementations(1)

MIT

source code for paper "Riemannian Preconditioned LoRA for Fine-Tuning Foundation Models"

392Shell, PythonFeb 4, 20242 years agoMIT

Similar Papers

Cite this paper

@article{zhang2026riemannian,
  title  = {Riemannian Preconditioned LoRA for Fine-Tuning Foundation Models},
  author = {Fangzhao Zhang and Mert Pilanci},
  year   = {2026},
  eprint = {2402.02347},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2402.02347},
  journal = {ICML 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2402.02347.svg)](https://codeofpaper.com/paper/2402.02347)

Discussion