AMaPO: Adaptive Margin-attached Preference Optimization for Language Model Alignment

Ruibo Deng, Duanyu Feng, Wenqiang Lei
11/12/2025
cs.CL

No official code found. Best implementation: Shiroha-Offical/AMaPO (1 star, last commit 2025-11-10).

Abstract

Offline preference optimization offers a simpler and more stable alternative to RLHF for aligning language models. However, their effectiveness is critically dependent on ranking accuracy, a metric where further gains are highly impactful. This limitation arises from a fundamental problem that we identify and formalize as the Overfitting-Underfitting Dilemma: current margin designs cause models to apply excessive, wasteful gradients to correctly ranked samples (overfitting) while providing insufficient corrective signals for misranked ones (underfitting). To resolve this dilemma, we propose Adaptive Margin-attached Preference Optimization (AMaPO), a simple yet principled algorithm. AMaPO employs an instance-wise adaptive margin, refined by Z-normalization and exponential scaling, which dynamically reallocates learning effort by amplifying gradients for misranked samples and suppressing them for correct ones. Extensive experiments on widely used benchmarks demonstrate that AMaPO not only achieves better ranking accuracy and superior downstream alignment performance, but targeted analysis also confirms that it successfully mitigates the core overfitting and underfitting issues.

View on arXivView PDF

Code Implementations(1)

Full code for AAAI2026-AIA oral paper, AMaPO: Adaptive Margin-attached Preference Optimization for Language Model Alignment

10Shell, PythonNov 10, 202511 months ago

Similar Papers

Cite this paper

@article{deng2025amapo,
  title  = {AMaPO: Adaptive Margin-attached Preference Optimization for Language Model Alignment},
  author = {Ruibo Deng and Duanyu Feng and Wenqiang Lei},
  year   = {2025},
  eprint = {2511.09385},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2511.09385v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2511.09385.svg)](https://codeofpaper.com/paper/2511.09385)

Discussion