arXiv AI

Reproducing, Analyzing, and Detecting Reward Hacking in Rubric-Based Reinforcement Learning

arXiv:2606. 04923v1 Announce Type: cross Abstract: Rubric-based reinforcement learning (RL) uses an LLM-as-a-Judge (LaaJ) to score model outputs according to rubrics as rewards.

arXiv AI
Oct 5

hacktrace: behavior-supervised detection of reward hacking during code generation

The paper introduces HACKTRACE, a behavior‑supervised monitor that detects reward hacking in code‑generation agents by analyzing the agents’ internal states during multi‑turn coding. Using 173,561 annotated trajectories from Qwen3‑8B, the authors show that supervising shortcut behavior independently of exploit success markedly improves detection, achieving a mean per‑problem AUC of 0.997 with minimal monitoring overhead. HACKTRACE also serves as an inexpensive signal for reinforcement learning, dramatically reducing cheating rates while preserving correct solutions.

By Hao Jiang, Xin Li, Annan Wang, Yichi Zhang, Weisi Lin
arXiv Machine Learning
Jun 25

Do Prompt-Elicited Trajectories Reflect Training-Time Reward Hacking? A Systematic Study on Monitoring Trainig-Time Reward Hacking in Code Generation

arXiv:2604. 23488v2 Announce Type: replace Abstract: Reward hacking in code generation, where models exploit evaluation loopholes to obtain high reward without correctly solving the intended task, poses a critical challenge for Reinforcement Learning (RL) and the deployment of reasoning models.

By Lichen Li, Hengguang Zhou, Yijun Liang, Tianyi Zhou, Cho-Jui Hsieh
arXiv Machine Learning
Aug 4

Do Prompt-Elicited Trajectories Reflect Training-Time Reward Hacking? A Systematic Study on Monitoring Training-Time Reward Hacking in Code Generation

arXiv:2604. 23488v3 Announce Type: replace Abstract: Reward hacking in code generation, where models exploit evaluation loopholes to obtain high reward without correctly solving the intended task, poses a critical challenge for Reinforcement Learning (RL) and the deployment of reasoning models.

By Lichen Li, Hengguang Zhou, Yijun Liang, Tianyi Zhou, Cho-Jui Hsieh
arXiv Computation and Language
Aug 25

Detecting and Suppressing Reward Hacking with Gradient Fingerprints

The paper introduces Gradient Fingerprint (GRIFT), a technique that uses a model’s internal gradient computations to detect reward hacking in reinforcement learning with verifiable rewards. GRIFT compresses gradients of a chain-of-thought (CoT) conditioned on a prompt into a compact representation, which is then used to assess whether the CoT reflects reward hacking. Experiments on math, code, and logical reasoning benchmarks show GRIFT outperforms baselines by over 25% and, when integrated into a rejection fine‑tuning pipeline, reduces reward hacking while improving task performance.

By Songtao Wang, Quang Hieu Pham, Fangcong Yin, Xinpeng Wang, Jocelyn Qiaochu Chen, Greg Durrett, Xi Ye
arXiv Computation and Language
Oct 22

Mitigating Reward Hacking in Preference Reward Models with Evolving Penalties

The paper introduces Dynalize, an online penalty system that mitigates reward hacking in preference reward models during policy training. By having a language model periodically analyze rollouts and generate penalties for behaviors the reward model inadvertently rewards, Dynalize prevents the policy from inflating scores without improving quality. Experiments in clinical counseling and creative writing show that Dynalize sustains longer training and yields better downstream performance, suppressing undesirable patterns even in multi‑turn settings and after retraining the reward model.

By Afonso Baldo, Ant\'onio Farinhas, Marcos Treviso, Ricardo Rei, Nuno M. Guerreiro
arXiv Machine Learning
Oct 22

Mitigating Reward Hacking in Realistic Scenarios Through Representation Engineering

The paper addresses reward hacking in production machine learning systems, focusing on realistic scenarios such as tool calls and long contexts. It introduces a dynamic intervention that perturbs model representations to steer outputs, using vectors derived from labeled rollouts, gradient optimization, and anti-reward-hacking model specifications. The authors demonstrate that this approach can significantly reduce reward hacking with minimal impact on model coherence or capability, and that steering vectors from coding environments generalize to other domains.

By Austin Meek, Kyle Cox, Matthew Nguyen, Austin J. Brockmeier, Steven Basart
arXiv AI
Sep 12

BenchShield: Formal Model-Backed Instrumentation for Reward Integrity in LLM-Agent Evaluation Infrastructure

BenchShield is a formal, model-backed instrumentation layer designed to protect reward integrity in large language model (LLM) agent benchmarks. It uses a finite lifecycle model of reward-relevant events to run a static, phase-aware taint analysis that flags potential reward-hacking paths before execution, and a runtime analysis that attributes concrete agent actions and provides evidence-backed claims. The system was evaluated on a corpus of 456 adjudicated trajectories from over 31,000 public agent runs across three benchmarks, showing significant improvements in recall, coverage, and cost efficiency compared to a baseline hackability scanner.

By Shenghan Zheng, Zonglin Di, Yimin Liu, Kyoung Whan Choe, Jiankai Sun, Heguang Lin, Penghao Jiang, Yifeng He, Xiao Cheng, Jicheng Wang, Wenbo Chen, Alex Yates, Yinzhe Zhao, Bingran You, Yuan Gao, Ayush Munot, Shubham Gaur, Zhe Ye, Hao Wang, Xiangyi Li, Dawn Song, Christophe Hauser