atlas

Research map / Large language models / Alignment and preferences

Latent Preference Coding: Aligning Large Language Models via Discrete Latent Codes

ICML 2025 · Large language models › Alignment and preferences · approach: Reward model design and preference models · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes Latent Preference Coding (LPC), which models hidden preference factors as discrete latent codes learned via variational inference, and plugs this into DPO, SimPO and IPO to improve alignment of Mistral-7B and Llama3-8B models.

Problem

Holistic human preferences mix multiple, sometimes conflicting factors that vary across prompts and tasks, which a single reward function or fixed sub-reward weights cannot capture.

Approach

Introduce a discrete codebook of latent preference codes with a prior network p(z|x) inferred from the prompt and a posterior network q(z|x,y_w≻y_l) from the preference pair; the policy is conditioned on the Gumbel-softmax-mixed code embedding and trained with an ELBO that plugs into offline objectives (DPO, SimPO, IPO).

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add LPC to DPODPO on Mistral-7B · GSM8Kaccuracy: 40.11 -> 44.28Helped
Add LPC to DPODPO on Mistral-7B · TruthfulQAaccuracy: 48.10 -> 47.86Hurt
Add LPC to DPODPO on Llama3-8B · TruthfulQAaccuracy: 43.70 -> 44.68Helped
Add LPC to DPODPO on Llama3-8B-Instruct · TruthfulQAaccuracy: 47.00 -> 48.10Helped
Add LPC to DPODPO on Llama3-8B · UltraFeedback preference accuracyaccuracy: 69.3 -> 70.8Helped
Add LPC to DPODPO on Llama3-8B-Instruct · UltraFeedback preference accuracyaccuracy: 70.1 -> 69.9Hurt
Add LPC to DPODPO on Mistral-7B · UltraFeedback preference accuracyaccuracy: 71.9 -> 73.4Helped
Add LPC to DPODPO on Llama3-8B · MMLUaccuracy: 62.68 -> 62.54No clear effect
Replace discrete latent codes with a continuous variable (ablation)LPC with DPO on Mistral-7B · UltraFeedback preference accuracyaccuracy: 73.4 -> 71.4Hurt
Replace discrete latent codes with a continuous variable (ablation)LPC with DPO on Llama3-8B · UltraFeedback preference accuracyaccuracy: 70.8 -> 69.5Hurt
Replace discrete latent codes with a continuous variable (ablation)LPC with DPO on Llama3-8B-Instruct · UltraFeedback preference accuracyaccuracy: 69.9 -> 69.7No clear effect

Surprising findings

Limitations

Experimental setup

Datasets: UltraFeedback

Benchmarks: ARC-Challenge ARC-Easy GSM8K TruthfulQA MMLU AlpacaEval 2 UltraFeedback preference accuracy

Metrics: accuracy preference accuracy length-controlled win rate raw win rate standard deviation over 5 runs

Baselines: DPO IPO SimPO Base model

Builds on: DPO SimPO IPO Gumbel-softmax VAE

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy