atlas

Research map / Large language models / Alignment and preferences

Would I Lie To You? Inference Time Alignment of Language Models using Direct Preference Heads

NeurIPS 2024 · Large language models › Alignment and preferences · approach: Active and token-level preference learning · 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 Direct Preference Heads (DPH), an auxiliary reward head trained jointly with cDPO on a 551M LM so that rewards rerank sampled candidates at inference without changing the LM head's output distribution.

Problem

RLHF and DPO alignment can degrade reasoning ability and induce hallucination in small language models, since they directly alter the output token distribution.

Approach

Attach a learnable reward head to the final-token hidden state of the LM and train it with separable or contrastive DPH losses (theoretically linked to cDPO) jointly with cDPO on the LM logits, so that alignment rewards are used only to select candidates at inference time while the generation distribution is largely preserved.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
select candidates using DPH rewards rather than log probabilities551M LM · GLUE w/o WNLIscore: 77.0 -> 78.6Helped
select candidates using DPH rewards rather than log probabilities551M LM · GPT4Allaverage accuracy: 57.05 -> 60.21Helped
select candidates using DPH rewards rather than log probabilities551M LM · RACE testweighted average accuracy: 61.6 -> 62.5Helped
use SwiGLU FFN pooling instead of identity pooling with Separable DPH (ablation)DPH · RACE validationscore: 56.54 -> 57.60Helped
use SwiGLU FFN pooling instead of identity pooling with Separable DPH (ablation)DPH · GPT4All validationscore: 56.86 -> 57.14No clear effect
use Contrastive instead of Separable DPH with SwiGLU pooling (ablation)DPH · GPT4All validationscore: 57.14 -> 58.28Helped
use Contrastive instead of Separable DPH with SwiGLU pooling (ablation)DPH · GLUE validationscore: 75.19 -> 74.04Hurt
use Contrastive instead of Separable DPH with SwiGLU pooling (ablation)DPH · RACE validationscore: 57.60 -> 55.95Hurt
train a GLUE-specific head rather than use the baseline head (ablation)DPH checkpoint · GLUE validationscore: 76.12 -> 76.36Helped
train a GPT4All-specific head rather than use the baseline head (ablation)DPH checkpoint · GPT4All validationscore: 60.19 -> 60.29No clear effect
apply DPH selection rather than log-probability selection (ablation)Qwen1.5-0.5B · GLUE validationscore: 41.94 -> 45.69Helped
apply DPH selection rather than log-probability selection (ablation)Qwen1.5-0.5B · RACE validationscore: 51.38 -> 41.21Hurt

Surprising findings

Limitations

Experimental setup

Datasets: GLUE GPT4All RACE Alpaca OpenOrca UltraFeedback MMLU SQuAD V2 TinyStories CNN-Dailymail CoQA The Pile

Benchmarks: GLUE GPT4All RACE HellaSwag OpenBookQA WinoGrande ARC BoolQ PIQA

Metrics: accuracy macro-average score Matthews/F1/Pearson-Spearman correlation

Baselines: SFT DPO TinyLlama Pythia-1.0B Pythia-1.4B GPT-1 BERT-Base BERT-Large LLaMA 7B LLaMA 13B Qwen1.5-0.5B-Chat Qwen1.5-1.8B-Chat

Builds on: Direct Preference Optimization Conservative DPO RLHF Prior Regularization Transformer-XL

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