atlas

Research map / Large language models / Alignment and preferences

Test-Time Preference Optimization: On-the-Fly Alignment via Iterative Textual Feedback

ICML 2025 · Large language models › Alignment and preferences · approach: Robust and calibrated DPO · 1 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 Test-time Preference Optimization (TPO), which aligns frozen LLM outputs to a reward model at inference by turning reward scores into textual critiques (textual loss/gradient) and iteratively rewriting responses.

Problem

Aligning LLMs with human preferences usually requires retraining via gradient-based methods (RLHF, DPO), which is costly and slow to adapt to new preferences.

Approach

Treat the policy LLM as an optimizer in text: it compares best and worst reward-scored responses to write a textual loss, derives a textual gradient, and regenerates candidates, iterating at test time with model parameters fixed (TextGrad-style).

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Apply TPO (D2-N5) to Llama-3.1-70B-SFT using Llama-3.1-Tulu-3-8B-RMLlama-3.1-70B-SFT · Arena-HardWR: 44.1 -> 70.5Helped
Apply TPO (D2-N5) to Llama-3.1-70B-SFT using FsfairX-LLaMA3-RM-v0.1Llama-3.1-70B-SFT · MATH-500pass@1 accuracy: 61.8 -> 71.2Helped
Apply TPO (D2-N5)Llama-3.1-70B-Instruct · AlpacaEval 2LC(%): 36.9 -> 39.1Helped
Apply TPO (D2-N5)Mistral-Small-Instruct-2409 · Arena-HardWR: 53.8 -> 72.2Helped
Increase TPO iterations and samples from D2-N5 to D5-N20 (ablation)Llama-3.1-70B-SFT w/ TPO · AlpacaEval 2WR(%): 40.5 -> 55.7Helped
Use FsfairX-LLaMA3-RM-v0.1 instead of Llama-3.1-Tulu-3-8B-RM for TPO (ablation)Llama-3.1-70B-SFT · BeaverTails-Evaluationreward: -4.1 -> -4.8Hurt
Replace iterative TPO with recursive revision of the best cached response, without a rejected response (ablation)Llama-3.1-70B-SFT · Reward-model score across TPO iterationsaverage rewardMixed
Increase search width from 5 to 20 samples per iteration (ablation)TPO · HH-RLHFreward-model scoreHelped
Add sequential revision depth rather than relying only on Best-of-N sampling (ablation)TPO · AlpacaEval 2, Arena-Hard, and HH-RLHFGPT-4 win rate: 65.2%; 57.5%Helped
Use TPO iterations on Llama-3.1-8B-InstructLlama-3.1-8B-Instruct · HH-RLHFreward-model scoreHurt

Surprising findings

Limitations

Experimental setup

Datasets: UltraFeedback HH-RLHF AlpacaEval 2 Arena-Hard BeaverTails XSTest MATH-500

Benchmarks: AlpacaEval 2 Arena-Hard HH-RLHF BeaverTails XSTest MATH-500

Metrics: length-controlled win rate win rate average reward model score accuracy pass@1 standard deviation of reward scores

Baselines: Llama-3.1-70B-DPO Llama-3.1-70B-Instruct Best-of-N sampling revision baseline Mistral-Small-Instruct-2409

Builds on: TextGrad DPO Best-of-N sampling

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