Aligning Language Models with Preferences through f-divergence Minimization
Go, Dongyoung, Korbak, Tomasz, Kruszewski, Germán, Rozen, Jos, Ryu, Nahyeon, Dymetman, Marc
–arXiv.org Artificial Intelligence
Aligning language models with preferences can be posed as approximating a target distribution representing some desired behavior. Existing approaches differ both in the functional form of the target distribution and the algorithm used to approximate it. For instance, Reinforcement Learning from Human Feedback (RLHF) corresponds to minimizing a reverse KL from an implicit target distribution arising from a KL penalty in the objective. On the other hand, Generative Distributional Control (GDC) has an explicit target distribution and minimizes a forward KL from it using the Distributional Policy Gradient (DPG) algorithm. In this paper, we propose a new approach, f-DPG, which allows the use of any f-divergence to approximate any target distribution that can be evaluated. f-DPG unifies both frameworks (RLHF, GDC) and the approximation methods (DPG, RL with KL penalties). We show the practical benefits of various choices of divergence objectives and demonstrate that there is no universally optimal objective but that different divergences present different alignment and diversity trade-offs. We show that Jensen-Shannon divergence strikes a good balance between these objectives, and frequently outperforms forward KL divergence by a wide margin, leading to significant improvements over prior work. These distinguishing characteristics between divergences persist as the model size increases, highlighting the importance of selecting appropriate divergence objectives.
arXiv.org Artificial Intelligence
Jun-6-2023
- Country:
- Asia
- China > Hong Kong (0.04)
- Japan > Shikoku
- Kagawa Prefecture > Takamatsu (0.04)
- Middle East
- Jordan (0.04)
- Republic of Türkiye > Hatay Province (0.04)
- Syria (0.28)
- North Korea (0.04)
- Philippines > Luzon
- National Capital Region > City of Manila (0.04)
- Russia (0.67)
- Atlantic Ocean > North Atlantic Ocean
- English Channel (0.04)
- Irish Sea (0.04)
- Europe
- Portugal (0.04)
- United Kingdom
- Irish Sea (0.04)
- Northern Ireland (0.04)
- Scotland (0.04)
- Ireland > Leinster
- County Dublin > Dublin (0.04)
- Sweden (0.04)
- Ukraine (0.14)
- Isle of Man (0.04)
- Spain > Catalonia
- Barcelona Province > Barcelona (0.04)
- Russia (0.04)
- Norway (0.04)
- Italy > Lazio
- Rome (0.04)
- Denmark > Capital Region
- Copenhagen (0.04)
- Finland > Northern Ostrobothnia
- Oulu (0.04)
- Germany > Berlin (0.04)
- Austria (0.04)
- North America
- Dominican Republic (0.04)
- United States
- Colorado (0.04)
- Washington > King County
- Seattle (0.04)
- Virginia (0.04)
- Massachusetts > Middlesex County
- Cambridge (0.04)
- Oregon > Multnomah County
- Portland (0.04)
- Arizona (0.04)
- New York (0.04)
- Hawaii > Honolulu County
- Honolulu (0.04)
- Utah (0.04)
- California > San Diego County
- San Diego (0.04)
- Nevada > Clark County
- Las Vegas (0.04)
- West Virginia (0.04)
- Texas > Travis County
- Austin (0.04)
- Oceania > Australia
- Asia
- Genre:
- Research Report > New Finding (0.92)
- Industry:
- Education (1.00)
- Government
- Military (1.00)
- Regional Government
- Asia Government > Russia Government (0.45)
- Europe Government > Russia Government (0.45)
- Information Technology (0.67)
- Law Enforcement & Public Safety > Crime Prevention & Enforcement (0.93)
- Leisure & Entertainment > Sports
- Boxing (0.93)
- Media (1.00)
- Transportation (0.93)
- Technology: