Skip to content
Conference Open access

Preference-Gradient Subspaces for Memory-Efficient Zeroth-Order Alignment of Large Language Models

Sep 2026 · 2026 7th International Conference on Intelligent Computing and Human-Computer Interaction (ICHCI) · pp. 18-21 · 0 citations · 18 references

TL;DR

The capture ratio ρ is introduced as a measurable quality index of a subspace, it is proved that the expected per-step progress of subspace ZO-SGD scales as ρ/(k+2) with a loss floor governed by 1 – ρ, and it is shown that random subspaces (ρ ≈ k/D) provide no advantage over full-space ZO.

Abstract

Zeroth-order (ZO) optimization aligns large language models (LLMs) with human preferences using only forward passes, keeping memory close to inference cost, but its gradient-estimation variance grows with the parameter dimension D. We propose deriving the ZO perturbation subspace from the preference data itself: a one-time, offline backpropagation over a small set of preference pairs yields per-pair gradients whose top principal directions span a k-dimensional subspace (k ≤128) in which on-device, forward-only optimization proceeds. We introduce the capture ratio ρ as a measurable quality index of a subspace, prove that the expected per-step progress of subspace ZO-SGD scales as ρ/(k+2) with a loss floor governed by 1 – ρ, and show that random subspaces (ρ ≈ k/D) provide no advantage over full-space ZO. A CountSketch–Gram estimator measures ρ at the 1.31 × 109-parameter scale without materializing the subspace. On Qwen2.5-1.5B aligned with direct preference optimization (DPO), preference subspaces attain ρ=4.6 10−2 at k =16—about 106 times the random baseline—and, in×our setting, ρ is invariant when D shrinks by 127×, indicating that it tracks the effective rank of the preference-gradient distribution rather than D. Against six stronger low-dimensional alternatives—SFT-gradient spectra, magnitude/Fisher-style masks, structured low-rank random projections, and calibrated full-space ZO—only preference-gradient PCA both reaches high ρ and turns it into training descent, improving held-out DPO loss from 0.694 to 0.619; the alternatives stall or worsen. Peak training memory is 5.2–8.0 GB, versus 16.3 GB for a strictly matched QLoRA baseline.

Read PDF

Similar papers

#machine learning Preprint Oct 2026

Zeroth-Order Fine-Tuning of LLMs in Learnable Low-Rank Subspaces

Zeroth-order (ZO) optimization enables memory-efficient fine-tuning of large language models (LLMs). However, ZO optimization suffers from high variance in high-dimensional parameter spaces. While recent methods restrict perturbations to random low-rank subspaces, these subspaces often misalign with task-specific desce...

Tong Chuang, Ling Chen · 0 citations
#machine learning Preprint Sep 2026

DimPO: Dimensionality Reduction for Attention using Preference Optimization

The introduction of DimPO, which combines listwise preference optimization with a lightweight top-k cross-entropy term for head-fidelity, suggests that under dimensionality reduction, preserving the ordering and concentration of task-relevant attention can matter more than reproducing the full attention distribution.

Vojtěch Lanz, Yu-Fei Cui, Prasanna Parthasarathi · 0 citations
#artificial intelligence Preprint Sep 2026

A Zeroth-Order Paradigm for LLM Preference Alignment

This paper proposes and analyzes Comparison-based Preference Optimization (ComPO), a zeroth-order alignment method based on comparison oracles, and establishes a convergence guarantee for its basic offline scheme under smoothness, gradient sparsity, and compatibility between the oracle and a latent objective.

Peter Chen, Xi Chen, Wo-Tao Yin et al. · 0 citations
#artificial intelligence Preprint Oct 2026

StructZO: Structured Zeroth-Order Optimization for Memory-Efficient LLM Fine-Tuning

Fine-tuning large language models at scale is increasingly limited by the memory cost of backpropagation. Zeroth-Order (ZO) optimizers reduce this burden by relying only on forward function evaluations, but they still exhibit a substantial performance gap to first-order (FO) optimizers such as Adam. We argue that this...

Xuan-Lin Yang, Jia Li, Zhou-Chen Lin · 0 citations
#small language model Preprint Oct 2026

On the Sparsity of Direct Preference Optimization: Weight Disentanglement in the NTK Regime

The concept of dual sparsity is introduced: the DPO update direction is a sparse linear combination of sparse gradient feature vectors of sparse gradient feature vectors arising from gradient cancellation between preferred and dispreferred responses, and a framework relating dual sparsity to weight disentanglement is p...

Kensuke Sasaki, Issei Sato · 0 citations
#artificial intelligence Preprint Sep 2026

RiLM: Parameter-Efficient Language Modeling via Geodesic Decoding

Penn Treebank and a 10k-vocabulary stress test confirm that geodesic decoding transfers across corpora and larger |V|, while hyperbolic curvature helps selectively, and characterize boundary collapse in naive hyperbolic recurrence and show how Mobius stabilization restores trainability.

Fang Li · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.