Contrastive Activation-Guided Zeroth-Order Preference Optimisation for Memory-Efficient LLM Alignment
Weiyun Huang, Alessio Galatolo
Abstract
Direct Preference Optimisation (DPO) simplifies reinforcement learning from human feedback, but still relies on traditional backpropagation and its associated activation-memory cost. Zeroth-order (ZO) optimisation avoids backpropagation, yet isotropic perturbations can produce noisy updates for preference objectives defined by differences between chosen and rejected responses. We introduce Contrastive Activation-guided Zeroth-Order Direct Preference Optimisation (CA-ZODPO), which constructs a low-rank search subspace from the activation discrepancy between the chosen and rejected responses in each preference pair. Perturbations are restricted to this subspace, while momentum is maintained in low-rank coordinates to preserve the memory advantages of ZO training. On Qwen2.5-1.5B with Anthropic HH-RLHF, CA-ZODPO outperforms common ZO baselines and remains competitive with first-order DPO in pairwise preference evaluation. It also reduces peak GPU memory by about 59\% at a sequence length of 2048 while retaining the sequence-length scaling behaviour of zeroth-order training.
Create a lesson
Related papers
Sample-efficient Personalization of Large Language Model Alignment with Multidimensional User Preference Data
Shared title terminology · Zhen-Yu Zhang, Jerry Huang, Gang Niu et al.
Memory-Efficient Speculative Decoding with Quantized Draft KV Cache
Shared title terminology · Saksham Gupta, Michael Li
FEA solver integration of a composite World Model with a Spiking Neural Network memory Block for computationally efficient modelling of defects and variabilities
Shared title terminology · Bassam El Said, Adam Sobey
Sequential Anytime Valid Tests for Efficient Inference-Time Alignment
Shared title terminology · Vishesh Kumar Singh, Sayak Ray Chowdhury
Approximate Adjoint Models for Memory and Compute-Efficient Online Learning of Hybrid Models
Shared title terminology · Emilio González-Zamora, Pierre Tandeo, Laurent Debreu et al.
AlignedHPO: Efficient Surrogate-Guided Loss Hyperparameter Optimization
Shared title terminology · Ivan Karpukhin, Andrey Savchenko