Hugging Face Blog

Preference Tuning LLMs with Direct Preference Optimization Methods

arXiv Machine Learning
Oct 8

CM-DPO: Constraint-Margin Direct Preference Optimization for LLM Planning

CM-DPO introduces a Constraint-Margin Direct Preference Optimization method that replaces the binary preference signal of traditional DPO with a continuous margin based on a deterministic symbolic verifier, scaled by violation severity. Hard and soft constraints are separated via a lexicographic objective to prevent hard constraints from being traded off against preferences. Using procedurally generated constraint profiles and minimal-edit distillation within the SynPlan-R framework, an 8B model fine‑tuned with CM‑DPO achieves high pass and solve rates on several planning benchmarks, matching multi‑agent systems with lower latency and outperforming GPT‑4o on unseen tasks.

By Rabimba Karanjai, Qun Gu, Hemanth Hegadehalli Madhavarao, Wenhuan Sun, Xiaojiao Yu, Suryabhan Singh Hada, Libin N. George, Uma Kona, Richard Williamson, Linsey Pang, Prakhar Mehrotra
arXiv Computation and Language
Oct 21

How Language Models Learn Taste: Brand Preference in LLMs

The paper investigates how large language models develop brand preferences, noting that models often name market‑leading brands like Nike when asked for a running shoe brand but recommend niche brands such as Brooks. Across 102 models and 42 brand categories, the brand chosen for recommendation differs from the named brand in 26% of cases, and preference optimization (DPO) shifts these choices by 11–24 points. The study suggests that pretraining already links recommended brands to advice, supervised fine‑tuning preserves these preferences, and DPO can shift them even when the preferred brand is absent from the preference data, indicating that the judge models used in training play a key role.

By Tapan Parikh
arXiv AI
Sep 17

A Zeroth-Order Paradigm for LLM Preference Alignment

The paper introduces Comparison-based Preference Optimization (ComPO), a zeroth-order method that aligns large language models with human preferences using comparison oracles instead of direct differentiable loss optimization. It provides theoretical convergence guarantees for both offline and online variants under smoothness, gradient sparsity, and oracle compatibility assumptions, and establishes performance bounds under local coverage and in-distribution reward accuracy. Experiments on several LLMs (Mistral, Llama, Gemma-2, Qwen3, Gemma-3) show that ComPO outperforms existing direct alignment methods, achieving higher length-controlled win rates and diagnostics that suggest mitigation of likelihood displacement.

By Peter Chen, Xi Chen, Wotao Yin, Tianyi Lin