Skip to content

Inference-time reward hacking in large language modelsInference-Time Reward Hacking in Large Language Models

arXiv· arXiv:2506.19248· NeurIPS 2025· Hadi Khalaf, Claudio Mayrink Verdun, Alex Oesterling, Himabindu Lakkaraju, Flavio du Pin CalmonHarvard UniversityIndexed by this site · 2026-10-14· Originally publishedAlignment

Translation in progress — untranslated text is omitted.

Quick read

Risky behavior

Based on the paper PDF (AI-generated); refer to the original

AI summaryAn arXiv paper characterizes reward hacking in alignment during LLM inference and proposes mitigating it with hedged proxy rewards. The authors study the phenomenon under Best-of-n (BoN) and Soft Best-of-n (SBoN), and propose Best-of-Poisson (BoP), which approximates the optimal reward-KL tradeoff policy at inference time. The authors state that the hacking pattern observed in practice, where the true reward first rises and then falls, is an inherent property of a class of inference mechanisms including BoN and BoP. To hedge against this effect, the authors propose the HedgeTune algorithm to find optimal inference-time parameters, and report better reward-distortion tradeoffs on mathematics, reasoning, and human preference scenarios.

Questions
Inference-time alignment relies on imperfect proxy rewards. As the number of candidates grows, outputs whose proxy score overestimates true quality are more likely to be selected, and the true reward first rises and then falls; the authors call this reward hacking.
Methods
The authors propose Best-of-Poisson: take a Poisson random sample count plus one, then select the sample with the highest proxy score, using a single parameter to approximate the optimal tilt. HedgeTune uses the true reward for one calibration to find the hacking threshold for BoN, SBoN, and BoP.
Experiments and results
Under uniform rewards, the authors state that the KL difference between BoP and optimal tilting is at most 8×10^{-4} (Theorem 5). On settings in PPE where BoN hacking already appears, the authors state that HedgeTune recovers the best operating point; in the preference experiments the authors state that λ or n can mitigate hacking. The main text does not give the accuracies in the figure.
Limitations and future work
The authors state that the main limitation is that calibration requires a black-box oracle for the true reward and a tuning set with ground truth. Under a weak proxy, the hedging gain may be small. Reward grokking is left for future work. Experiments cover verifiable benchmarks on PPE and the AlpacaFarm preference setting; the paper does not report the accuracy readings in the figures or the number of repetitions.

Related papers

Read originalNeurIPS 2025