CA-ZODPO:面向内存高效LLM对齐的对比激活引导零阶偏好优化
Contrastive Activation-Guided Zeroth-Order Preference Optimisation for Memory-Efficient LLM Alignment
CA-ZODPO通过构建基于偏好对中chosen与rejected响应激活差异的低秩搜索子空间,将零阶扰动限制在该子空间内,并在低秩坐标中维护动量以保留零阶训练的内存优势。在Qwen2.5-1.5B与Anthropic HH-RLHF上,其成对偏好评估优于常见零阶基线,并与一阶DPO保持竞争力。序列长度2048时峰值GPU内存降低约59%,同时保留零阶训练的序列长度扩展特性。
arXiv:2611.20635v1 Announce Type: new 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.
来源:arXiv (AI + Vision + Imaging) · arxiv.org