PAMS: Preconditioned Activation-Metric Subspace for Zeroth-Order LLM Fine-tuning
Pradeep Kumar Ragu Chanthar, Saksham Sahai Srivastava, Jaewoo Lee
Abstract
Zeroth-order (ZO) optimization provides a computationally efficient approach to fine-tuning large language models (LLMs), but conventional methods typically rely on isotropic perturbations that ignore the anisotropic structure of neural-network parameter spaces. We introduce Preconditioned Activation-Metric Subspace (PAMS), a ZO optimization framework that uses forward-pass activation statistics to construct structured, layer-wise perturbation geometries without computing gradients or forming dense curvature matrices. PAMS tracks a low-rank approximation of the dominant activation subspace and its associated spectrum online, and uses the spectrum to softly reweight perturbation variance while preserving exploration in directions outside the retained subspace. A trace normalization separates the perturbation geometry from its overall scale, enabling consistent perturbation magnitudes across layers. We show theoretically that the resulting perturbation covariance induces right-side preconditioning of the gradient of the corresponding Gaussian-smoothed objective. We further characterize the estimator's smoothing bias and second moment and derive a nonconvex convergence guarantee that captures the effects of the perturbation geometry and smoothing radius. The proposed low-rank tracking procedure requires persistent memory for a layer with input dimension nl and retained rank r, avoiding the memory required by a dense activation covariance. Experiments on transformer-based language-model fine-tuning tasks across GLUE and SuperGLUE demonstrate that PAMS improves the effectiveness and stability of zeroth-order optimization while retaining its gradient-free and objective-evaluation-based advantages.
Create a lesson
Related papers
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.
Pretraining Representation Lottery Determines Fine-tuning Generalization
Shared title terminology · Fuming Yang, Core Francisco Park
SAFE-DRIFT: Data Selection for Supervised Fine-tuning with Controllable Off-Target Drifts
Shared title terminology · Yeo Jin Jung, Yating Liu, Lalchand Pandia et al.
Pixel Auto-Encoder: Reconstructing Language Model Activations Through Pixel Art
Shared title terminology · Haru Furuichi, Phan Xuan Tan
Interpreting Diffusion Model Activations in Natural Language
Shared title terminology · Yukinori Yamamoto, Kotaro Yoshida, Ryotaro Shimizu
DRAM: Memory-Efficient Muon via Rank Reallocation in Principal-Random Subspaces
Shared title terminology · Haomin Bai, Dingzhi Yu, Xuling Zhao et al.