# Contrastive Activation-Guided Zeroth-Order Preference Optimisation for Memory-Efficient LLM Alignment

メモリ効率に優れたLLM整合のためのContrastive Activation-Guided Zeroth-Order Preference Optimisation

Weiyun Huang, Alessio Galatolo · arXiv · 2026年11月16日

- **課題** 等方性のゼロ次摂動は、DPOの選好差と無関係な方向を探索するため、更新がノイズに弱くなります。
- **手法** 選好ペアの活性差から低次元の基底を作り、その部分空間の中だけで摂動をサンプリングします。

## ZO最適化がDPOで難しい理由

DPOはRLHFの多段パイプラインを簡略化しますが、依然として誤差逆伝播に依存するため、中間活性値と勾配を保存する必要があります。この活性メモリは、モデルサイズ、シーケンス長、バッチサイズが大きくなるほど負担になります。ゼロ次最適化は順伝播の評価だけで更新方向を推定するため、このコストを抑えられます。ただし、等方性のランダム摂動は選択応答と拒否応答の差とほぼ無関係な方向を探索するため、DPOの目的関数で更新がノイズの多いものになります。この論文は、この問題を選好ペアそのものの構造によって抑えようとしています。

## 対比活性の部分空間と摂動

CA-ZODPOは、各線形層で選択応答と拒否応答の平均活性差と、トークンごとの差を連結した行列を作ります。この行列の主要なrank-r部分空間をpower-iterationで近似し、正規直交基底を得ます。摂動方向は、この基底の中で標準正規行列をサンプリングし、1/√rでスケールして作ります。非線形パラメータは従来どおり等方性の摂動を使います。基底を求めた後は活性行列を解放し、2回の順伝播で中心差分の勾配を推定します。モメンタムはパラメータサイズではなく低次元の係数空間に保存し、基底が変わるときは以前のバッファを新しい基底へ射影してから蓄積します。

## HH-RLHFのペアごとの判定結果

Qwen2.5-1.5BをAnthropic HH-RLHFで学習させたあと、500個の保留プロンプトに対して、Qwen2.5-32B-Instructが2つの判定順序でペアごとの比較を行いました。2つの順序で選好が一致しない場合は、引き分けとして集計しました。SFTと比べると、MeZOは勝率25.8%、負け率37.4%で、勝敗差がマイナスでした。CA-ZODPOは勝率34.6%、負け率28.6%で、差はプラスでした。FO-DPOと比べると、CA-ZODPOは勝率34.2%、負け率33.0%で、ほぼ均衡しています。同じ比較で、選好に依存しない変種のCA-ZODPO-plainは、SFTと比べて勝率30.6%、負け率31.6%で、CA-ZODPOより低い結果でした。

![Figure 1: Pairwise win/tie/loss rates judged by Qwen2.5-32B-Instruct. Left: comparisons against SFT. Right: comparisons against FO-DPO. CA-ZODPO achieves the b…](https://refivu.com/papers/1d7c079e-0590-4e0d-acd8-9dd202cb0b88/figures/figure-8acfe55d60091010b7c3247efadf9e94.png?thumb=512)

**Figure 1** : Pairwise win/tie/loss rates judged by Qwen2.5-32B-Instruct. Left: comparisons against SFT. Right: comparisons against FO-DPO. CA-ZODPO achieves the best win-rate profile among zeroth-order methods and remains close to FO-DPO.

[出典](https://arxiv.org/abs/2611.20635v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Weiyun Huang, Alessio Galatolo · Contrastive Activation-Guided Zeroth-Order Preference Optimisation for Memory-Efficient LLM Alignment · 論文の図を引用 · 元のPDFの4ページ目から図の部分を抽出しています。

![Table 2: Pairwise win/tie/loss rates (%) on 500 HH-RLHF test prompts. The first method in each comparison is the method being evaluated](https://refivu.com/papers/1d7c079e-0590-4e0d-acd8-9dd202cb0b88/figures/figure-048d1f549ba39dca7ae1ba6e057c87af.png?thumb=512)

**Table 2** : Pairwise win/tie/loss rates (%) on 500 HH-RLHF test prompts. The first method in each comparison is the method being evaluated.

[出典](https://arxiv.org/abs/2611.20635v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Weiyun Huang, Alessio Galatolo · Contrastive Activation-Guided Zeroth-Order Preference Optimisation for Memory-Efficient LLM Alignment · 論文の図を引用 · 元のPDFの7ページ目から図の部分を抽出しています。

![Table 3: Pairwise results (%) for CA-ZODPO-plain using Qwen2.5-32B-Instruct](https://refivu.com/papers/1d7c079e-0590-4e0d-acd8-9dd202cb0b88/figures/figure-7269477dedaeb5313f7e171c49fc3056.png?thumb=512)

**Table 3** : Pairwise results (%) for CA-ZODPO-plain using Qwen2.5-32B-Instruct.

[出典](https://arxiv.org/abs/2611.20635v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Weiyun Huang, Alessio Galatolo · Contrastive Activation-Guided Zeroth-Order Preference Optimisation for Memory-Efficient LLM Alignment · 論文の図を引用 · 元のPDFの7ページ目から図の部分を抽出しています。

## ピークGPUメモリとバッチサイズ

シーケンス長2048では、FO-DPOのピークGPUメモリは26.94 GBでした。MeZOは約10.65 GB、CA-ZODPOは11.08 GBでした。FO-DPOは誤差逆伝播が中間活性を保持するため、シーケンス長に応じてメモリが17.27 GBから26.94 GBに増えました。2つのゼロ次手法の差は、保存する低次元基底、モメンタムバッファ、部分空間の抽出に使う一時行列から生じると、著者らは見ています。シーケンス長256では、FO-DPOはバッチ16で26.18 GBを使い、バッチ32ではメモリ不足が発生しました。一方CA-ZODPOは、同じ条件のバッチ32で29.35 GBを使用しました。

![Figure 2: Peak GPU memory on Qwen2.5-1.5B. ZO methods avoid the sequence-length-dependent activation cache of FO-DPO. At batch size 32 and sequence length 256,…](https://refivu.com/papers/1d7c079e-0590-4e0d-acd8-9dd202cb0b88/figures/figure-d8ee0735b0e3dcd817b531655a8f0bd5.png?thumb=512)

**Figure 2** : Peak GPU memory on Qwen2.5-1.5B. ZO methods avoid the sequence-length-dependent activation cache of FO-DPO. At batch size 32 and sequence length 256, FO-DPO is out of memory on a 48 GB A40 while CA-ZODPO uses 29.35 GB.

[出典](https://arxiv.org/abs/2611.20635v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Weiyun Huang, Alessio Galatolo · Contrastive Activation-Guided Zeroth-Order Preference Optimisation for Memory-Efficient LLM Alignment · 論文の図を引用 · 元のPDFの4ページ目から図の部分を抽出しています。

## ランクとモメンタムの学習安定性

付録C.2では、学習損失の推移を通じて、モメンタム係数と部分空間のランクを比較しました。µ=0.3はµ=0.0と似た推移を示し、後半の損失変動をわずかに抑えました。ランクr=1が最も不安定で、r=2は上昇ドリフトを部分的に抑えました。r=4とr=8は、観測された段階ではより安定していました。著者らは、モメンタムは性能差の主な原因というより、限定的な安定化の効果を与えると解釈しています。

## 限界

CA-ZODPOは更新のたびに順伝播を3回使うため、メモリが少なくても学習が速くなるわけではありません。評価は、1.5Bモデル1つ、主要な選好データセット1つ、LLM判定器に限られています。また、損失の推移の比較は、観測した学習段階で行われました。

![Figure 3: Training DPO loss trajectories for CA-ZODPO and MeZO](https://refivu.com/papers/1d7c079e-0590-4e0d-acd8-9dd202cb0b88/figures/figure-a375ea136db26702349cea224ef3bb0c.png?thumb=512)

**Figure 3** : Training DPO loss trajectories for CA-ZODPO and MeZO.

[出典](https://arxiv.org/abs/2611.20635v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Weiyun Huang, Alessio Galatolo · Contrastive Activation-Guided Zeroth-Order Preference Optimisation for Memory-Efficient LLM Alignment · 論文の図を引用 · 元のPDFの8ページ目から図の部分を抽出しています。

## 論文情報

- **著者**: Weiyun Huang, Alessio Galatolo
- **学会・ジャーナル**: arXiv · プレプリント
- **公開日**: 2026年11月16日
- **登録日**: 2026年11月17日
- **更新日**: 2026年11月16日
- **バージョン**: v1
- **arXiv**: 2611.20635
- **カテゴリ**: cs.LG
- **ライセンス**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **掲載内容**: 論文情報・解説・論文の図

[元論文 ↗](https://arxiv.org/abs/2611.20635v1) · [PDF ↗](https://arxiv.org/pdf/2611.20635v1)

この解説は、Refivuの韓国語解説をAIで翻訳したものです。不正確な翻訳や誤りが含まれる可能性があります。論文と図の利用条件は各出典に従います。

## アブストラクト

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.

## この論文を引用

Weiyun Huang, Alessio Galatolo (2026). Contrastive Activation-Guided Zeroth-Order Preference Optimisation for Memory-Efficient LLM Alignment. arXiv:2611.20635v1. https://arxiv.org/abs/2611.20635v1

**BibTeX**

```
@misc{huang2026contrastive,
  title = {{Contrastive Activation-Guided Zeroth-Order Preference Optimisation for Memory-Efficient LLM Alignment}},
  author = {Weiyun Huang and Alessio Galatolo},
  year = {2026},
  eprint = {2611.20635},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.20635v1}
}
```

## この論文の用語

- [win rate](https://refivu.com/ja/terms/14de48f4526a-win-rate)
- [momentum coefﬁcient](https://refivu.com/ja/terms/ed9c66aeb12b-momentum-coefficient)
- [supervised fine-tuning (SFT)](https://refivu.com/ja/terms/b08583cba2aa-supervised-fine-tuning-sft)

## ほかの論文解説

- [Memory-Efficient Speculative Decoding with Quantized Draft KV Cache](https://refivu.com/ja/papers/1e123b50-de09-4b50-a976-9fb1df96941d-memory-efficient-speculative-decoding-with-quantized-draft.md)
- [High-Throughput Serving of Nemotron 3.5 Transcribe with Regime-Aware Megakernels and Kernel Fusion](https://refivu.com/ja/papers/3c4245e8-900d-4ca9-8834-e40cb4a165b6-high-throughput-serving-of-nemotron-3-5-transcribe.md)
- [CECAR: Cache & Expert Co-Aware Routing Accelerates On-Device Inference of MoE LLMs](https://refivu.com/ja/papers/4e886007-b40a-4b34-ae15-82829e661e98-cecar-cache-expert-co-aware-routing-accelerates-on.md)
- [Do Pretraining Optimizer Gains Transfer to KL Distillation?](https://refivu.com/ja/papers/c800a65d-3519-48b6-9d7b-016750b93efa-do-pretraining-optimizer-gains-transfer-to-kl-distillation.md)
- [Ultra-CAN: A Lightweight Blind ISAC Receiver for Chaos-Based Telemetry and Local-Seed Ranging in the Internet of Drones](https://refivu.com/ja/papers/6a8f4d17-a3c9-488e-9bae-908b02d428f7-ultra-can-a-lightweight-blind-isac-receiver-for.md)
- [InvarOrd: Self-Supervised Ordinal Knowledge Distillation with Rank-Invariant Alignment for Label-Efficient Cross-Species Hyperspectral Fish Freshness Assessment](https://refivu.com/ja/papers/d5665851-f744-4a87-b3a5-325553323dcc-invarord-self-supervised-ordinal-knowledge-distillation-with.md)
- [EchoSpec: Training Search Agents to Weigh Evidence Above Echoes](https://refivu.com/ja/papers/22f39cf0-d41a-4695-8d6b-0d26df622012-echospec-training-search-agents-to-weigh-evidence-above.md)
- [MOBO-CAPS: Multi-Objective Bayesian Optimization with Cardinality-Aware Pareto Selection](https://refivu.com/ja/papers/991c1e19-028e-4007-af06-d79b4427cd80-mobo-caps-multi-objective-bayesian-optimization-with.md)
- [VIVID: A Visual Harness for Agentic Video Editing](https://refivu.com/ja/papers/2e7fc25b-04e2-4f48-ad44-5f5675ff1f53-vivid-a-visual-harness-for-agentic-video-editing.md)
- [Rethinking Supervision Scaling in On-Policy Distillation: From Dense Supervision to Stochastic Horizons](https://refivu.com/ja/papers/ac8513c0-236d-4a8e-88ff-120fbdfc2d9c-rethinking-supervision-scaling-in-on-policy-distillation.md)
- [ReconPotBench: Evaluating LLM Honeypots in Multi-Round Linux Reconnaissance](https://refivu.com/ja/papers/e24c898c-0509-402a-9624-63330b19691d-reconpotbench-evaluating-llm-honeypots-in-multi-round-linux.md)
- [PixelBench: Evaluating Language Models for Pixel-Art Creation](https://refivu.com/ja/papers/90b0ce48-ae85-4822-b357-e4c1682fdbdd-pixelbench-evaluating-language-models-for-pixel-art-creation.md)

---

AI解説には誤りが含まれることがあります。 [Refivu](https://refivu.com/ja/papers/1d7c079e-0590-4e0d-acd8-9dd202cb0b88-contrastive-activation-guided-zeroth-order-preference)
