Zeroth-Order Riemannian Optimization on Fixed-Rank Manifolds for LLM Fine-Tuning
Xinjue Wang, Xiuheng Wang, Yejun Zhang, Sergiy A. Vorobyov, Esa Ollila
Abstract
Zeroth-order (ZO) optimization estimates descent directions from function values alone, which removes the activation storage required by backpropagation and makes it attractive for memory-efficient fine-tuning of large language models (LLMs). Existing low-rank ZO methods either parameterize the additive update through Euclidean factors with a non-unique representation, or restrict each finite-difference direction to be low-rank. In this work, we propose to constrain each additive update block to a fixed-rank matrix manifold while keeping the pretrained weights frozen, so the learned update remains rank-constrained throughout fine-tuning. On this geometry, we build a Riemannian ZO gradient estimator that projects a random matrix onto the tangent space, normalizes it to correct the scale mismatch induced by projection, and further propose Zeroth-order Riemannian Gradient Descent (ZO-RGD) and its smoothed variant, ZO-RGD-S. We show that the ambient finite difference matches its retracted counterpart, the normalized estimator recovers the Riemannian gradient in expectation, and ZO-RGD converges under trajectory-regularity conditions. Experiments on LLM fine-tuning tasks show that the proposed algorithms are competitive with strong forward-only baselines across model families and tasks, with gains in several settings.
Create a lesson
Related papers
Breaking Precision Walls in First-, Second-, and Zeroth-Order Optimizers: One Constant, Set in Advance
Shared title terminology · Lngel Kyo
PRISM: Validation-Free Online Batch Selection for LLM Fine-Tuning via Preconditioned Conic Ghost Matching
Shared title terminology · Lin Tang, Wei Zhang, Jing Li et al.
LEAN: Library-Based Adaptation for Asynchronous, Federated Fine-Tuning
Shared title terminology · Erdong Hu, Zhimin Ding, Yuxin Tang et al.
FireGate: Bounding Behaviour Change Before Training in Continual RL Fine-Tuning
Shared title terminology · Md Anwar Hossen, Ali Jannesari
Full Fine-Tuning is not the Problem: Why Adam Fails and SGD Succeeds in Few-Shot CLIP Adaptation
Shared title terminology · Nairouz Mrabah, Ismail Ben Ayed, Eric Granger
FedLoVA: Value-Only Aggregation for Federated LoRA Fine-Tuning of Large Language Models
Shared title terminology · Ensieh Khazaei, Baturalp Buyukates, Dimitrios Hatzinakos