atlas

Research map / Large language models / Alignment and preferences

Decoding-time Realignment of Language Models

ICML 2024 · Large language models › Alignment and preferences · approach: Reward modeling for diverse preferences · 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 DeRa, which shows KL-regularized aligned models at different strengths are geometric mixtures of a reference and one aligned model, and uses this to realign at decoding time by linearly combining logits, avoiding retraining.

Problem

Choosing the KL regularization strength in LM alignment (RLHF/DPO) requires retraining many aligned models across regularization strengths, which is computationally expensive for large models.

Approach

Aligned models trained at varying KL strengths are geometric mixtures of the SFT reference and one aligned model; DeRa approximates these autoregressively by sampling from softmax of a linear combination of reference and aligned logits, with mixing weight lambda setting an effective regularization beta/lambda at decoding time.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Retrain Zephyr-7b with KL strength 0.1/0.5 instead of 0.1Zephyr-7b-beta · GSM8Kscore: 12.74 -> 30.02Helped
Retrain Zephyr-7b with KL strength 0.1/0.5 instead of 0.1Zephyr-7b-beta · Open LLM leaderboardAverage: 59.23 -> 61.55Helped
Retrain Zephyr-7b with KL strength 0.1/0.5 instead of 0.1Zephyr-7b-beta · Open LLM leaderboardscore across benchmarksMixed
Increase decoding-time λ to reduce KL regularizationT5-Large summarization model aligned with policy gradient · Reddit TL;DR summarizationPaLM 2 preference win rateHelped
Increase decoding-time λ beyond the useful rangePaLM 2 hallucination-mitigation model · Argument rewritingnaturalness and coherenceHurt
Increase decoding-time λPaLM 2 hallucination-mitigation model · Argument rewritinghallucination mitigationHelped
Use the length reward to increase output lengthT5-small summarization model · XSum toy length-reward tasksummarization qualityHurt
Increase KL strength by reducing λZephyr-7b · GSM8KperformanceHelped
Replace logit combination with linear parameter combination (ablation)DeRa on Zephyr-7b · MT-BenchscoreHurt
Increase λ into the extrapolation regimeDeRa on T5-Large summarization · Pairwise accuracypairwise accuracyHurt

Surprising findings

Limitations

Experimental setup

Datasets: XSum Reddit TL;DR summarization UltraFeedback hallucination dataset (1888 examples, in-house) GSM8K

Benchmarks: MT-Bench Open LLM leaderboard (ARC, HellaSwag, MMLU, TruthfulQA, Winogrande, GSM8K) TL;DR summarization auto-evaluation length reward toy task

Metrics: win rate MT-bench score average reward pairwise accuracy accuracy on Open LLM leaderboard

Baselines: retrained-from-scratch aligned models rewarded soup weight interpolation SFT reference model

Builds on: RLHF DPO PPO emulated fine-tuning rewarded soups

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