# 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로 스케일해 만들며, 비선형 파라미터는 기존처럼 등방성 섭동을 씁니다. 기저를 뽑은 뒤에는 활성 행렬을 해제하고 두 번의 순전파로 중심 차분 기울기를 추정합니다. 모멘텀은 파라미터 크기가 아니라 저차원 계수 공간에 저장하며, 기저가 바뀌면 이전 버퍼를 새 기저로 투영해 누적합니다.

## HH-RLHF 쌍별 판정 결과

Qwen2.5-1.5B를 Anthropic HH-RLHF로 학습한 뒤 500개 보류 프롬프트에서 Qwen2.5-32B-Instruct가 두 판정 순서로 쌍별 비교를 했습니다. 두 순서에서 선호가 일치하지 않으면 무승부로 집계했습니다. 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로 늘었습니다. 두 제로차 방법의 차이는 저장된 저차원 기저, 모멘텀 버퍼, 부분공간 추출용 임시 행렬에서 나온다고 저자들은 봅니다. 시퀀스 길이 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는 업데이트마다 순전파를 세 번 사용하므로 메모리가 낮다고 해서 학습이 빨라지지는 않습니다. 평가는 1.5B 모델 하나, 주 선호 데이터셋 하나, 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)

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/terms/14de48f4526a-win-rate)
- [Supervised Fine-Tuning (SFT)](https://refivu.com/terms/b08583cba2aa-supervised-fine-tuning-sft)
- [Qwen2.5-1.5B](https://refivu.com/terms/63720435775f-qwen2-5-1-5b)
- [Qwen2.5-32B-Instruct](https://refivu.com/terms/80a0a1e87eb4-qwen2-5-32b-instruct)
- [momentum coefﬁcient](https://refivu.com/terms/ed9c66aeb12b-momentum-coefficient)
- [Peak GPU memory](https://refivu.com/terms/dc4d22e5e2f3-peak-gpu-memory)

## 다른 논문 해설

- [Memory-Efficient Speculative Decoding with Quantized Draft KV Cache](https://refivu.com/papers/1e123b50-de09-4b50-a976-9fb1df96941d-memory-efficient-speculative-decoding-with-quantized-draft.md)
- [Exact Sparse Assignment with Costly Target Embeddings: Fixed-Realization Certificates and an Empirical Audit](https://refivu.com/papers/317ddf4d-9401-471a-8607-14e96b2ada32-exact-sparse-assignment-with-costly-target-embeddings-fixed.md)
- [High-Throughput Serving of Nemotron 3.5 Transcribe with Regime-Aware Megakernels and Kernel Fusion](https://refivu.com/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/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/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/papers/6a8f4d17-a3c9-488e-9bae-908b02d428f7-ultra-can-a-lightweight-blind-isac-receiver-for.md)
- [EchoSpec: Training Search Agents to Weigh Evidence Above Echoes](https://refivu.com/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/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/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/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/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/papers/90b0ce48-ae85-4822-b357-e4c1682fdbdd-pixelbench-evaluating-language-models-for-pixel-art-creation.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/1d7c079e-0590-4e0d-acd8-9dd202cb0b88-contrastive-activation-guided-zeroth-order-preference)
