Leveraging Robust Optimization for LLM Alignment under Distribution Shifts

Mingye Zhu, Yi Liu, Junbo Guo, Quan Wang, Yong-Dong Zhang +1 more
4/1/2025
2 citations

No official code found. Best implementation: stevie1023/DoRA (0 stars, Python, last commit 2025-11-24).

Abstract

Preference alignment methods are increasingly critical for steering large language models (LLMs) to generate outputs consistent with human values. While recent approaches often rely on synthetic data generated by LLMs for scalability and cost-efficiency reasons, this reliance can introduce distribution shifts that undermine the nuanced representation of human preferences needed for desirable outputs.

Show full abstract

In this paper, we propose a novel distribution-aware optimization framework that improves preference alignment despite such shifts. Our approach first leverages well-learned classifiers to assign a calibration value to each training sample, quantifying its alignment with the target human-preferred distribution. These values are then incorporated into a robust optimization objective that minimizes the worst-case loss over regions of the data space most relevant to human preferences. By explicitly focusing optimization on the target distribution, our approach mitigates the impact of distributional mismatch and improves the generation of responses that better reflect intended values.

View on arXivView PDF

Code Implementations(1)

stevie1023/DoRACommunity67%

Code for NeurIPS 2025 paper: Leveraging Robust Optimization for LLM Alignment under Distribution Shifts

00Python, ShellNov 24, 20251 years ago

Similar Papers

Cite this paper

@article{zhu2025leveraging,
  title  = {Leveraging Robust Optimization for LLM Alignment under Distribution Shifts},
  author = {Mingye Zhu and Yi Liu and Junbo Guo and Quan Wang and Yong-Dong Zhang and Zhen-Dong Mao},
  year   = {2025},
  eprint = {2504.05831},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2504.05831},
  url    = {https://doi.org/10.48550/arXiv.2504.05831},
  journal = {Neural Information Processing Systems}
}

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/2504.05831.svg)](https://codeofpaper.com/paper/2504.05831)

Discussion