COMAL: A Convergent Meta-Algorithm for Aligning LLMs with General Preferences

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Liu, Yixin, Oikonomou, Argyris, Zheng, Weiqiang, Cai, Yang, Cohan, Arman
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866911207858896896
author Liu, Yixin
Oikonomou, Argyris
Zheng, Weiqiang
Cai, Yang
Cohan, Arman
author_facet Liu, Yixin
Oikonomou, Argyris
Zheng, Weiqiang
Cai, Yang
Cohan, Arman
contents Many alignment methods, including reinforcement learning from human feedback (RLHF), rely on the Bradley-Terry reward assumption, which is not always sufficient to capture the full range and complexity of general human preferences. We explore RLHF under a general preference framework by modeling the alignment problem as a two-player zero-sum game in a game-theoretic framework, where the Nash equilibrium policy guarantees a 50% win rate against any competing policy. However, previous self-play algorithms for finding the Nash policy either diverge or only converge to a Nash policy in a modified game, even in a simple synthetic setting, thereby failing to maintain the 50% win rate guarantee against all other policies. We propose a meta-algorithm, Convergent Meta Alignment Algorithm (COMAL), for language model alignment with general preferences, inspired by convergent algorithms in game theory. We provide theoretical analysis that our meta-algorithm converges to an exact Nash policy in the last iterate and demonstrate its effectiveness on a range of synthetic and preference optimization datasets. COMAL is simple and can be integrated with many existing methods designed for preference optimization with minimal changes, and empirically it consistently maintains above 60.2% and 56.8% win rates, when applied to Llama-3-8B-Instruct and Qwen2.5-7B, against all compared algorithms under controlled evaluations.
format Preprint
id arxiv_https___arxiv_org_abs_2410_23223
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle COMAL: A Convergent Meta-Algorithm for Aligning LLMs with General Preferences
Liu, Yixin
Oikonomou, Argyris
Zheng, Weiqiang
Cai, Yang
Cohan, Arman
Machine Learning
Artificial Intelligence
Computation and Language
Computer Science and Game Theory
Many alignment methods, including reinforcement learning from human feedback (RLHF), rely on the Bradley-Terry reward assumption, which is not always sufficient to capture the full range and complexity of general human preferences. We explore RLHF under a general preference framework by modeling the alignment problem as a two-player zero-sum game in a game-theoretic framework, where the Nash equilibrium policy guarantees a 50% win rate against any competing policy. However, previous self-play algorithms for finding the Nash policy either diverge or only converge to a Nash policy in a modified game, even in a simple synthetic setting, thereby failing to maintain the 50% win rate guarantee against all other policies. We propose a meta-algorithm, Convergent Meta Alignment Algorithm (COMAL), for language model alignment with general preferences, inspired by convergent algorithms in game theory. We provide theoretical analysis that our meta-algorithm converges to an exact Nash policy in the last iterate and demonstrate its effectiveness on a range of synthetic and preference optimization datasets. COMAL is simple and can be integrated with many existing methods designed for preference optimization with minimal changes, and empirically it consistently maintains above 60.2% and 56.8% win rates, when applied to Llama-3-8B-Instruct and Qwen2.5-7B, against all compared algorithms under controlled evaluations.
title COMAL: A Convergent Meta-Algorithm for Aligning LLMs with General Preferences
topic Machine Learning
Artificial Intelligence
Computation and Language
Computer Science and Game Theory
url https://arxiv.org/abs/2410.23223