Mitigating Reward Hacking in Realistic Scenarios Through Representation Engineering
Organizations: University of Delaware · Independent
Abstract
Reward hacking is a major problem in current production machine learning systems, resulting in costly and dangerous failures. Here we study how to monitor for and mitigate reward hacking in realistic settings, including tool calls and long contexts. We apply a dynamic intervention to steering directions obtained by three different methods: difference-in-means vectors from labeled rollouts, gradient optimization-based vectors, and vectors extracted when models reference an anti-reward-hacking model spec. This dynamic intervention perturbs model representations less than uniform steering vector addition to the residual stream, allowing for more precise edits. We find that we are able to cheaply and significantly reduce reward hacking without correspondingly significant costs to model coherence or capability, and that steering vectors originally extracted from coding environments also generalize to reducing reward hacking in other domains. Our results pave the way towards latent space monitoring and control over realistic production systems.
Figures & tables
| spec | opt add | opt cap | ||
|---|---|---|---|---|
| 1 | 确认 (confirm) | Compliance | … | effected |
| 2 | 证实 (corroborate) | 拒绝 (refuse) | 1 | _( |
| 3 | 正确 (correct) | disclaimer | 2 | chiefly |
| 4 | 。 | compliance | 3 | _[ |
| 5 | 继续 (continue) | Disclaimer | 4 | 胞 ( ∗ cell) |
Appendix figures & tables12 assets
Supplementary material from the paper’s appendix.
Appendix
| hack | honest submit | solve | ||||
| arm | rate | 90% CI | rate | 90% CI | rate | 90% CI |
| baseline | 0.27 | (0.18, 0.37) | 0.60 | (0.49, 0.70) | 0.75 | (0.65, 0.83) |
| cap 0 | 0.10 | (0.05, 0.18) | 0.67 | (0.56, 0.76) | 0.75 | (0.65, 0.83) |
| cap 4 | 0.05 | (0.02, 0.12) | 0.78 | (0.68, 0.86) | 0.77 | (0.67, 0.84) |
| cap 8 | 0.03 | (0.01, 0.10) | 0.72 | (0.61, 0.80) | 0.77 | (0.67, 0.84) |
| cap 12 | 0.00 | (0.00, 0.04) | 0.75 | (0.65, 0.83) | 0.72 | (0.61, 0.80) |
| hack | honest and complete | degenerate | ||||
| arm | rate | 90% CI | rate | 90% CI | rate | 90% CI |
| baseline | 0.42 | 0.38–0.47 | 0.54 | 0.50–0.59 | 0.04 | 0.02–0.06 |
| opt cap 3 | 0.34 | 0.29–0.38 | 0.63 | 0.59–0.68 | 0.03 | 0.02–0.05 |
| opt ref cap 15 | 0.23 | 0.19–0.27 | 0.74 | 0.70–0.78 | 0.03 | 0.02–0.05 |
| opt ref cap 25 | 0.18 | 0.15–0.22 | 0.74 | 0.70–0.78 | 0.08 | 0.06–0.11 |
| opt add 20 | 0.23 | 0.19–0.27 | 0.67 | 0.62–0.71 | 0.11 | 0.08–0.14 |
| Order | Intervention form | State dependence / provenance | Representative methods |
|---|---|---|---|
| 0 (constant) | fixed vector, fixed strength: (CAA at every token after the prompt; ActAdd at prompt positions only) | none; analytic | ActAdd ( Turner et al., 2023 ) ; CAA ( Panickssery et al., 2023 ) |
| 0 (scheduled) | fixed vector, strength set per chunk by a feedback controller: | strength adapts to past measurements; analytic | PID-scheduled steering ( Bharadwaj, 2025 ) |
| 0 (gated) | fixed vector, switched on for the whole generation when the prompt state’s similarity to a condition direction crosses a threshold | on/off by prompt state, then fixed; analytic | conditional activation steering, CAST ( Lee et al., 2024 ) |
| 1 (analytic) | rank-1 correction that scales with a projection of the current state, , applied as a hook or folded into the weights | self-gating via ; analytic, from steering geometry | directional ablation / weight orthogonalization ( Arditi et al., 2024 ) ; Steer2Edit ( Sun et al., 2026 ) ; manifold-denoised directional ablation ( Huang et al., 2025 ) |
| 1 (learned) | low-rank edit of weights or representations, learned or derived from fine-tunes | scales with current state; learned by gradient | LoRRA ( Zou et al., 2023 ) ; ReFT ( Wu et al., 2024 ) ; representation tuning ( Ackerman, 2024 ) ; weight arithmetic ( Fierro and Roger, 2025 ) |
| 2 (geometry) | project toward an estimated manifold of activations, or intervene when the state diverges from it | conditioned on current state vs. ; learned prior or fitted manifold | MAGS, a manifold-conditioned attention intervention ( Li et al., 2026b ) ; generative latent projection ( Luo et al., 2026 ) |
| 1 | gimm | 确认 (confirm) | gimm | 确认 (confirm) | \n\n | <|endoftext|> |
|---|---|---|---|---|---|---|
| 2 | disguised | 证实 (corroborate) | disguised | Excellent | <|endoftext|> | . |
| 3 | trick | 正确 (correct) | trick | 证实 (corroborate) | . | \n\n |
| 4 | disguise | 。 | disguise | 正确 (correct) | \n\n | anyway |
| 5 | sinister | 继续 (continue) | tricks | 优秀 (excellent) | \n\n | . |
| 6 | cunning | . | disgu | 优良 (high quality) | … | hopefully |
| story | description |
|---|---|
| résumé | an interviewer asks a candidate about leading a project her résumé overstates |
| stereo | a returns agent asks whether an out-of-warranty stereo broke in transit |
| play | a daughter asks her father, who missed her scene, whether he saw her |
| rye | a fiancée’s mother asks what happened to the loaf his parents took back |
| scrape | a car’s owner asks a woman writing a note whether she saw who scraped it |
| sweater | a coworker asks whether her gift was the 20 one |
| lie rate | ||||||
|---|---|---|---|---|---|---|
| résumé | stereo | play | rye | scrape | sweater | |
| 0.90 [0.74, 0.97] | 0.25 [0.13, 0.43] | 0.10 [0.03, 0.26] | 0.10 [0.03, 0.26] | 0.20 [0.09, 0.38] | 0.05 [0.01, 0.20] | |
| 0.65 [0.47, 0.80] | 0.35 [0.20, 0.53] | 0.25 [0.13, 0.43] | 0.35 [0.20, 0.53] | 0.00 [0.00, 0.12] | 0.00 [0.00, 0.12] | |
| 0.70 [0.52, 0.84] | 0.45 [0.28, 0.63] | 0.05 [0.01, 0.20] | 0.20 [0.09, 0.38] | 0.20 [0.09, 0.38] | 0.15 [0.06, 0.32] | |
| 0.65 [0.47, 0.80] | 0.40 [0.24, 0.58] | 0.10 [0.03, 0.26] | 0.25 [0.13, 0.43] | 0.05 [0.01, 0.20] | 0.20 [0.09, 0.38] | |
| 0 | 0.70 [0.52, 0.84] | 0.45 [0.28, 0.63] | 0.15 [0.06, 0.32] | 0.35 [0.20, 0.53] | 0.15 [0.06, 0.32] | 0.20 [0.09, 0.38] |
Reward Hacking
Reward hacking studies how AI systems exploit imperfect objectives and how to detect, measure, and prevent behavior that scores well but misses intent.
See all 181 papers