ACL 2024findings5 citations

Adversarial Preference Optimization: Enhancing Your Alignment via RM-LLM Game

Pengyu Cheng, Yifan Yang, Jian Li, Yong Dai, Tianhao Hu, Peixin Cao, Nan Du, Xiaolong Li

Abstract

Human preference alignment is essential to improve the interaction quality of large language models (LLMs). Existing alignment methods depend on manually annotated preference data to guide the LLM optimization directions. However, continuously updating LLMs for alignment raises a distribution gap between model-generated samples and human-annotated responses, hindering training effectiveness. To mitigate this issue, previous methods require additional preference annotation on newly generated samples to adapt to the shifted distribution, which consumes a large amount of annotation resources. Targeting more efficient human preference optimization, we propose an Adversarial Preference Optimization (APO) framework, in which the LLM and the reward model update alternatively via a min-max game. Through adversarial training, the reward model can adapt to the shifted generation distribution of the LLM without any additional annotation. With comprehensive experiments, we find the proposed adversarial training framework further enhances existing alignment baselines in terms of LLM helpfulness and harmlessness. The code is at https://github.com/Linear95/APO.

BibTeX
@inproceedings{cheng-etal-2024-adversarial,
    title = "Adversarial Preference Optimization: Enhancing Your Alignment via {RM}-{LLM} Game",
    author = "Cheng, Pengyu  and
      Yang, Yifan  and
      Li, Jian  and
      Dai, Yong  and
      Hu, Tianhao  and
      Cao, Peixin  and
      Du, Nan  and
      Li, Xiaolong",
    editor = "Ku, Lun-Wei  and
      Martins, Andre  and
      Srikumar, Vivek",
    booktitle = "Findings of the Association for Computational Linguistics: ACL 2024",
    month = aug,
    year = "2024",
    address = "Bangkok, Thailand",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2024.findings-acl.221/",
    doi = "10.18653/v1/2024.findings-acl.221",
    pages = "3705--3716"
}
Adversarial Preference Optimization: Enhancing Your Alignment via RM-LLM Game · ACL 2024