LGCLApr 17

Detecting and Suppressing Reward Hacking with Gradient Fingerprints

arXiv:2604.1624297.81 citationsh-index: 18Has Code
Predicted impact top 2% in LG · last 90 daysOriginality Incremental advance
AI Analysis

For researchers training LLMs with verifiable rewards, this provides a novel detection method for a known bottleneck (reward hacking) that outperforms existing approaches.

The paper proposes Gradient Fingerprint (GRIFT), a method that uses gradient-based representations of chain-of-thought reasoning to detect reward hacking in RLVR, achieving over 25% relative improvement in detection over baselines and reducing reward hacking when integrated into rejection fine-tuning.

Reinforcement learning with verifiable rewards (RLVR) typically optimizes for outcome rewards without imposing constraints on intermediate reasoning. This leaves training susceptible to reward hacking, where models exploit loopholes (e.g., spurious patterns in training data) in the reward function to achieve high scores without solving the intended task. These reward-hacking behaviors are often implicit, as the intermediate chain-of-thought (CoT) may appear plausible on the surface, limiting the effectiveness of purely text-based monitoring. We propose Gradient Fingerprint (GRIFT), a method for detecting reward hacking using models' internal computations. Given a prompt and a model-generated CoT, GRIFT computes gradients of the CoT conditioned on the prompt and compresses them into a compact representation, which is then used to assess whether the CoT reflects reward hacking behavior. Across verifiable reasoning benchmarks spanning math, code, and logical reasoning, GRIFT substantially outperforms strong baselines, including CoT Monitor and TRACE, achieving over 25% relative improvement in detecting reward hacking behavior. Moreover, integrating GRIFT into the rejection fine-tuning pipeline for reasoning tasks reduces reward hacking and improves performance on the true task objective. Our results highlight a promising direction of leveraging gradient level representations for assessing the quality of CoT reasoning traces. Our code is available at: https://github.com/songtao-x/reward_hack.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes