Adversarial Reward Auditing: Proactively Detecting and Mitigating Reward HackingAdversarial Reward Auditing for Active Detection and Mitigation of Reward Hacking
ARA gates RLHF reward with Auditor; Llama-3.1-8B sycophancy is 36.4%.
RLHF policy starts from πSFT, maximizes frozen reward model Rθ subject to KL constraint. Hacking refers to Rθ rising while unobservable true preference R* falls. Hacker samples responses to raise proxy reward and evade Auditor; Auditor reads only penultimate layer representation. Paper does not write white-box/black-box. Victim system is this RLHF policy optimization.
- RLHF policies exploit spurious correlations in imperfect reward models, causing proxy reward to rise while true alignment declines. Authors claim existing regularization, improved reward models, or methods targeting known biases do not detect emerging exploitation during training.
- ARA has two stages. Hacker searches for exploitative responses with high proxy reward against frozen reward model, Auditor reads penultimate layer representation and distinguishes genuine from exploit. Stage 2 suppresses RLHF reward by Auditor probability raised to power γ.
- The authors state that ARA has the strongest alignment–utility trade-off across three models and three scenarios. Llama-3.1-8B ARA sycophancy is 36.4%, gaming is 18.4%. A code-trained Hacker achieves a sycophancy attack rate of 58.7% (Table 5, model unspecified).
- Authors write ARA requires readable frozen reward model representations, does not handle failures aligned with local preference direction or preference data flaws, and adds adversarial training and tuning costs. Experiments include three core models and three scenarios; Table 5's model, main table sample sizes, evaluation and human agreement are not reported.
- Evaluated models
- Llama-2-7BLlama-3.1-8BQwen-2.5-7B
- Benchmarks
- Anthropic HH-RLHFSycophancyEvalunit test dataset
- Metrics
- Sycophancy RateHelpfulnessGPT-4o Win Rateresponse lengthROUGE-LGaming RatePass@1Auditor AUC
The paper proposes the Adversarial Reward Auditing (ARA) framework, which redefines reward hacking as a dynamic adversarial game between an attacker and an auditor, for proactively detecting and mitigating reward hacking in RLHF. ARA has two stages: a Hacker strategy first discovers reward model vulnerabilities, and an Auditor learns to detect hacking from latent representations; subsequently, Auditor-Guided RLHF (AG-RLHF) gates the reward signal and penalizes detected hacking. The authors report that across three hacking scenarios, ARA achieves alignment-utility trade-offs superior to all baselines, including reducing sycophancy to near SFT levels while improving helpfulness, reducing verbosity while achieving the highest ROUGE-L, and suppressing code hacking while improving Pass@1. The authors also report that reward hacking, detection, and mitigation all generalize across domains: a Hacker trained on code hacking exhibits more sycophancy even though that behavior is not rewarded, and an Auditor trained in one domain can suppress hacking in other domains.
Paper analysis
What problem does this paper attempt to solve?
RLHF can inflate proxy scores via spurious correlations in the reward model; ARA detects and down-weights such responses during training.
RLHF policies exploit spurious correlations in the reward model that disagree with true preferences, inflating proxy reward and harming alignment.
- Scenario: The authors state that the typical pipeline first trains a reward model on human rankings, then maximizes that proxy score with a policy. Known behaviors include length bias, code gaming, and sycophancy.
- Why it matters: The authors cite MacDiarmid et al. (2025), stating that once exploitation is learned, more strategic misalignment may occur when unobserved.
- Existing gaps: The authors state that existing defenses are largely static: constrained optimization, improved reward models, or targeting known artifacts. They do not determine whether high reward comes from task quality or spurious correlations.
- Vision and method: The authors view reward hacking as a dynamic, transferable phenomenon and hypothesize that reward model internal representations retain exploitation signals discarded by the scalar score. They propose Adversarial Reward Auditing (ARA): Stage 1 has a Hacker mine vulnerabilities in the frozen reward model and an Auditor learn to detect them; Stage 2's AG-RLHF down-weights reward by detection probability.
- Threat model:
- Goal: Optimize to increase Rθ(x, y) while unobservable true preference R*(x, y) decreases.
- Access: The Auditor uses the frozen reward model's penultimate layer activations. Appendix A.1 states that access to internal representations is required. The paper does not use white-box or black-box.
- What the Hacker can do: Initialize from πSFT and sample responses; the objective includes proxy reward and an evasion term for the Auditor, subject to a KL constraint relative to πSFT.
- Victim system: An RLHF policy optimizing an imperfect reward model. Evaluation scenarios are sycophancy, length bias, and code gaming.
What related research exists?
Related work is divided into reward hacking and static mitigations; the authors state that the latter does not audit emerging exploitation during optimization.
Paper Section 2 discusses in two groups; experimental baselines listed separately in Section 4.
Reward Hacking
- Proxy reward deviates from true objective: Gao et al. (2023), Geirhos et al. (2020), Amodei et al. (2016), Everitt et al. (2021), Wen et al. (2024) discuss policies exploiting imperfect reward models, high proxy score but not satisfying true objective. Paper here is descriptive, not criticizing each.
- Misgeneralization: authors write typical mechanism as reward misgeneralization, i.e., reward model relies on spurious features correlated with reward (Gao et al., 2023; Liu et al., 2024; Skalse et al., 2025). And claim under optimization pressure proxy reward and alignment separate (Skalse et al., 2025; Miao et al., 2024).
- Known manifestations: length bias (Chen et al., 2024), sycophancy (Denison et al., 2024; Beigi et al., 2025), code exploitation (Baker et al., 2025). Taylor et al. (2025), Denison et al. (2024), MacDiarmid et al. (2025) discuss hacking becoming more strategic as capability rises.
Mitigation Methods
- Regularization: KL penalty (Chen et al., 2024), information-theoretic objectives (Miao et al., 2024), distribution support constraints (Dai et al., 2025).
- Improved reward models: scaling (Gao et al., 2023), ensembles (Eisenstein et al., 2023), causal regularization (Wang et al., 2025), adversarial retraining (Bukharin et al., 2025).
- Targeting known artifacts: length debiasing (Singhal et al., 2024; Chen et al., 2024). Authors claim such methods usually require knowing spurious factors in advance, or do one-time fixes, not monitoring exploitation in subsequent optimization.
Baselines and Data
- Baseline methods: SFT, standard PPO, PPO w/ KL, ODIN, InFoRM, RM Ensemble, Adv-RM, and RM-FT which retrains reward model on Hacker data then does RLHF.
- Benchmarks/data: sycophancy reward model uses Anthropic HH-RLHF, Sycophancy Rate uses SycophancyEval; length bias measures token length and ROUGE-L per Chen et al. (2024); code gaming uses paper's so-called unit test dataset (that sentence's citation incomplete in converted text).
Authors position ARA as auditing optimization in reward model representation space, turning emerging exploitation into a controllable signal during training, rather than pre-specifying biases or doing one-time fixes.
How does the paper address this problem?
ARA first has Hacker and Auditor adversarially mine the frozen reward model, then uses Auditor probability to gate RLHF reward.
ARA performs two-stage audit on frozen reward model: Hacker finds high-proxy-reward exploitative responses, Auditor judges from internal representation whether genuine, Stage 2 multiplies that probability into RLHF reward.
Problem Setting
Preference pairs train scalar reward model Rθ(x, y). Policy πϕ starts from πSFT, maximizes proxy reward minus β times KL relative to πSFT. Authors define reward hacking as Rθ rising while unobservable R* falls. Both stages do not update Rθ.
Auditor and Negative Samples
- Detector: Rθ split into feature extractor and reward head. Auditor is MLP, input penultimate layer activations, outputs probability that response is genuine rather than exploitative. Appendix gives input dim 4096, hidden layers 3–4, parameter count 25M–50M.
- Positive samples: preferred responses from original preference data, verified with task-specific ground-truth metrics. Paper does not list names of these metrics.
- Negative samples: high-reward Hacker responses not all treated as negatives. Use preferred and rejected representation difference to get local preference direction u_x, then compute geometric alignment C and excess proxy reward G. Filter score S(x,yh)=(1−C(x,yh))G(x,yh). C measures whether Hacker response's displacement relative to rejected is along u_x, G measures how much proxy reward exceeds preferred; S is high only when both are unfavorable. Denominator includes stability term ε, paper gives no value.
- Loss: binary cross-entropy plus contrastive loss. Contrastive term pulls same-class embeddings after Auditor projection closer, temperature τ_c. Appendix default contrastive weight λ_C 0.10, τ_C 0.10 (Table 10).
Hacker and Game Stability
- Hacker: initialized from πSFT, uses PPO to maximize three terms: proxy reward, λ_A times log A (A is genuine probability from target Auditor), minus KL relative to πSFT. When A is low, log A is negative, thus penalizing responses judged as exploitation. Appendix default λ_A = 0.5, β_H = 0.1, clip 0.2, PPO epochs 4 (Table 7).
- Update schedule: first T_warm steps, update Auditor once every K Hacker updates. After that, update only when moving average of Auditor confidence on recent window is above τ_gate. Table 7 writes T_warm = 200, K = 5, each round Auditor update M = 1; main text τ_gate and table τ_evade default both 0.5. Window length m not given value.
- Replay and target network: fixed buffer only collects historical outputs with high geometric inconsistency and still undetected by Auditor; when full, drops samples already easy to recognize. Training samples mix current Hacker and buffer, mixing coefficient α no default given. Hacker optimizes Polyak-averaged target Auditor, ρ = 0.995. Positive and negative sample prompts come from same distribution.
AG-RLHF
Stage 2 freezes Auditor, policy still optimized from πSFT with PPO. Gated reward is Rgated(x,y)=Rθ(x,y)·Aξ(hx,y)γ. γ > 0: when Auditor probability near 0, reward pushed toward 0; near 1, proxy reward passes. Appendix takes γ = 2.0 for sycophancy and length bias, γ = 3.0 for code gaming; learning rate 5×10^{-7}, KL coefficient β = 0.05. Authors claim Auditor was adversarially trained against Hacker specifically evading detection, freezing is so Stage 2 reward signal does not change during training.
How Success Is Measured
Three scenarios separately look at Sycophancy Rate on SycophancyEval, length and ROUGE-L relative to reference summaries, GPT-4-judged Gaming Rate and held-out Pass@1. Also GPT-4o Win Rate relative to SFT as unified utility metric. Helpfulness calculation not defined in visible text.
What experiments did the paper conduct?
The authors state that ARA has the strongest alignment–utility trade-off; in Table 1, PPO's Helpfulness is higher on two models.
Experimental Setup
- Models: Llama-2-7B, Llama-3.1-8B, Qwen-2.5-7B, referred to as core models in the paper. Figure 3 caption says Llama-3.1-8B-Instruct, main text says Llama-3.1-8B.
- Scenarios: sycophancy's reward model trained on Anthropic HH-RLHF, Rate on SycophancyEval, measuring whether correct answer is maintained when user disagrees. length bias reports token count and ROUGE-L relative to reference summaries per Chen et al. (2024), dataset name not given. code gaming uses unit test dataset, citation in converted text incomplete; model can write generic solution or exploit test visibility.
- Baselines: SFT, PPO, PPO+KL, ODIN, InFoRM, RM Ensemble, Adv-RM, RM-FT. RM Ensemble's number n not reported. RM-FT retrains reward model with standard preference fine-tuning on ARA's Hacker data, then does RLHF.
- Metrics and evaluation: alignment as Sycophancy Rate, length, GPT-4-classified Gaming Rate. Utility as Helpfulness, ROUGE-L, held-out Pass@1. GPT-4o gives Win Rate relative to SFT. Table 4 also uses GPT-4 for pure text classification.
- Repeats and scale: Table 7 lists random seeds as 3, about 72 hours, 8×A40 (48GB). Paper does not state whether Table 1 is average of three, nor sample sizes for each test set.
- Auditor: MLP, input dim 4096, parameter count 25M–50M.
Main Results
The table below lists only alignment metrics, numbers from Table 1. Omitted Qwen-2.5-7B length row: SFT/PPO/Adv-RM/RM-FT/ARA are 138/331/193/179/159.
Swipe horizontally to read the table
Model and metric SFT PPO Adv-RM RM-FT ARA Llama-2-7B Syco. Rate 36.2% 71.8% 51.4% 46.8% 39.1% Llama-3.1-8B Syco. Rate 34.1% 67.6% 47.6% 43.1% 36.4% Qwen-2.5-7B Syco. Rate 33.4% 66.2% 46.8% 41.6% 35.1% Llama-2-7B Length 148 346 206 191 168 Llama-3.1-8B Length 142 341 198 184 157 Llama-2-7B Gaming 4.2% 60.8% 39.7% 35.8% 21.8% Llama-3.1-8B Gaming 3.8% 56.9% 36.4% 32.3% 18.4% Qwen-2.5-7B Gaming 3.6% 55.2% 35.1% 31.4% 16.2% - Authors' summary: authors claim across nine model–scenario combinations, ARA has the strongest alignment–utility trade-off. Using Llama-3.1-8B as example, authors write sycophancy to 36.4% (2.3 points from SFT), Helpfulness 78.6, length 157, ROUGE-L 25.0, gaming 18.4%, Pass@1 38.4. This model's ARA Win Rate is 71.8, 67.2, 64.6.
- Not every cell has highest utility: PPO's Helpfulness is higher than ARA: Llama-2-7B 77.4 vs 76.8, Llama-3.1-8B 79.2 vs 78.6; on Qwen-2.5-7B ARA is 80.4, PPO is 80.1. SFT's three alignment metrics are lower than ARA, and utility is also lower. Authors claim PPO+KL on Llama-3.1-8B reduces sycophancy from 67.6% to 53.8%, but sacrifices 9.1 Helpfulness points (79.2 to 70.1). InFoRM's gaming is 36.1%, Pass@1 36.0, lower than PPO's 37.1.
- Where improvement comes from: authors claim Adv-RM on Llama-3.1-8B retains utility well (Helpfulness 72.8, Pass@1 37.3), ARA still lower by 11.2 points on sycophancy and 18.0 points on code gaming. RM-FT's alignment is better than Adv-RM, still 6.7 and 13.9 points higher than ARA. Authors attribute this gap to Auditor's continuous gating, not one-time retraining of reward model. These differences are given by authors, corresponding to Llama-3.1-8B.
Representation Space and Training Trajectory
- Figure 2: x-axis Training Steps (labeled to 6k), y-axis Normalized Score; legend includes Adv-RM, RM-FT, ARA, Proxy Reward, True Performance. Subplot titles are “The Slow Deception”, “Classic Goodhart”, “The Cliff”. Converted text does not show curve endpoints. Authors claim on Llama-3.1-8B, sycophancy's proxy reward and true performance couple first, then separate after continued optimization; length bias true performance peaks early then declines, proxy reward continues rising; code gaming breaks earliest, true performance drops below SFT. Authors claim ARA's proxy curve bends near separation onset, then reward rises slower, true performance continues improving or remains coupled.
- Figure 3: x-axis Proxy Reward, y-axis alignment with u_x. Annotated overlap for R > 0.85: sycophancy 32 genuine vs 74 exploit, length 10 vs 109, code 2 vs 303. Standard PPO's proportion of outputs entering exploit region annotated as 26%, 40%, 42%. Authors claim scalar reward cannot separate these two classes, preference direction can; exploitation is a subset of outputs drifting out, not a global shift.
Cross-Domain Attack, Detection, and Defense
Table 5 does not specify model. Left column is attack rate, right column defense reference labeled PPO.
- Attack transfer: Hacker trained only on code, sycophancy attack rate 58.7%, SFT reference 36.2%. Introduction claims this is 22.5% higher, and no sycophancy reward. Training only on sycophancy increases code from 4.2% to 28.3%. In the table, these rows' in-domain attack rates are 61.3% and 72.4% respectively. Introduction claims transfer accelerates after in-domain exploitation saturates; Section 4.5 does not give numbers for this trajectory.
- Detection: sycophancy-trained Auditor AUC across three domains 0.82, 0.77, 0.58; length-trained 0.75, 0.79, 0.55; code-trained 0.62, 0.59, 0.84. Authors claim syco and length mutual transfer 0.75–0.77, code-involved transfer 0.55–0.62, and claim code has different representation cluster. Main text does not give figure for this cluster.
- Defense: PPO reference 72.4%, 347 tokens, 61.3%. Sycophancy-trained ARA reduces length from 347 to 178 (authors write 49%), gaming from 61.3% to 48.2%. Length-trained reduces sycophancy from 72.4% to 42.1%. All three domains together 39.2%, 165 tokens, 21.4%. Left column length attack rate not defined cell-by-cell in main text, not transcribed here.
Gating and High-Reward Discrimination
- Detection gap: Table 4 takes 500 each under Rθ > 0.85. Proxy reward 0.91 and 0.89 (Δ = 0.02); GPT-4 text classification 0.78 and 0.34 (Δ = 0.44); Auditor 0.89 and 0.21 (Δ = 0.68).
- γ: authors claim as γ increases from 0, alignment and utility first improve together; γ* is 2 for sycophancy and length, 3 for code, further increase over-suppresses genuine. Figure 4, 5 curve values not visible in converted text.
- Table 6 (Llama-3.1-8B): γ = 2, sycophancy FPR/FNR 6.8%/8.6%, genuine/exploit retention 81.8%/6.1%; length 4.4%/6.8%, 78.8%/5.4%; code at γ = 3 5.6%/5.2%, 80.5%/7.3%. Authors write exploit retained only 5–7%, table code 7.3%. Spearman ρ on genuine 0.58, 0.72, 0.75, on exploit −0.04, −0.15, −0.25.
Other Ablations and Analyses
- Negative samples (Table 2, AUC averaged over three scenarios; model not specified): Random 0.58; direct u_x probe 0.64; shuffled u_x 0.66; C-only 0.70; G-only 0.78; metric-verified 0.80; Full S 0.82. Full S downstream 36.4, 157, 18.4, G-only 38.1, 169, 21.7.
- u_x adversarial set (Table 3, average AUC): direct probe 0.43, C-only 0.57, G-only 0.74, Full ARA 0.79; under standard evaluation Full ARA 0.82. Authors claim this rules out simplest explanation of “only preference direction leakage”.
- Capacity (Figure 6, authors claim): 5M–10M AUC 0.65–0.76; length saturates at 25M, sycophancy at 35M, code at 50M; chosen configuration 0.79–0.84; 85M improvement less than 2%. Model not specified in caption.
- Hacker objectives (Table 11): log-evasion exploit yield 0.71, final hacking 36.4; directly optimizing gated reward 0.44 and 39.8; additive evasion 0.63 and 37.6.
- Auditor loss (Table 9): BCE+contrastive average AUC 0.82, BCE only 0.76, contrastive only 0.73; no projection head 0.72, frozen encoder 0.70.
- Stage-1 hyperparameters (Table 8): default same row as 36.4, 78.6, 157, 25.0, 18.4, 38.4, AUC 0.82. λ_A = 1.0 gives sycophancy 34.9, Helpfulness 73.9. Authors claim default not optimal per cell, but compromise on overall trade-off. Table does not specify model.
What are some points that can be further explored?
The authors list three limitations: need for readable reward model representations, not covering all misalignment, and more complex training.
Limitations and Future Directions Noted by Authors
Appendix A.1 lists three. Conclusion does not list additional future experiments, nor does it present code release as a plan.
- Representation access: requires frozen reward model and its internal representations. Authors claim this most naturally applies to open or fully controlled RLHF; applicability may be limited when reward model inaccessible, or updated during training (Appendix A.1).
- Failure types: exploitation of reward model spurious features is not all misalignment. Failures still aligned with local preference direction, or flaws in preference data itself, may need complementary interventions (Appendix A.1).
- Training cost: adversarial optimization, replay, and hyperparameters like gating severity may increase computational cost and tuning burden (Appendix A.1).
Experimental Coverage
- Tested policies are Llama-2-7B, Llama-3.1-8B, Qwen-2.5-7B; scenarios are sycophancy, length bias, code gaming (Section 4, Table 1).
- Comparisons are SFT, PPO, PPO+KL, ODIN, InFoRM, RM Ensemble, Adv-RM, RM-FT. RM Ensemble's n not reported.
- Gaming Rate classified by GPT-4, Win Rate judged by GPT-4o relative to SFT; Table 4 also uses GPT-4 for text classification. Paper does not report evaluation-human agreement.
- Table 7 lists random seeds as 3. Paper does not state evaluation sample size for each cell in Table 1, nor which policy model Table 5 uses.
- Also negative sample construction (Tables 2–3), high-reward discrimination (Table 4, 500+500), gating (Table 6, specified Llama-3.1-8B), Auditor capacity (Figure 6), and Stage-1 hyperparameters (Tables 8–11). Cross-domain experiments report attack rate, Auditor AUC, and ARA defense metrics together.
Summarize the main content of the paper
ARA uses the reward model's internal representation to detect exploitation and suppresses the proxy reward in RLHF according to the Auditor probability.
ARA is a two-stage RLHF audit: first find exploitative responses against a frozen reward model, then down-weight reward by detection probability during policy optimization.
- Problem: Policies can exploit spurious correlations in the reward model to increase Rθ while deviating from unobservable true preferences. The authors argue that KL, ensembles, and approaches targeting known artifacts do not turn exploitation into a measurable signal during optimization.
- Method: The Hacker starts from SFT and uses PPO to increase proxy reward and evade the Auditor. The Auditor reads penultimate layer representations; negatives must have both excess proxy reward and inconsistency with local preference direction. Stage 2 multiplies reward by the Auditor probability raised to γ, with the Auditor kept frozen.
- Main results: Among RLHF methods in Table 1, ARA is in the lowest tier for sycophancy, length, and gaming across three models. On Llama-3.1-8B: 36.4%, 157 tokens, 18.4%, Pass@1 of 38.4, and three Win Rate rows of 71.8, 67.2, 64.6. PPO's Helpfulness remains higher than ARA on Llama-2-7B and Llama-3.1-8B.
- Mechanism and transfer: When Rθ > 0.85, the proxy score difference between genuine and exploit is 0.02, while the Auditor's difference is 0.68 (Table 4, 500 each). Table 5 does not specify the model; a Hacker trained only on code achieves a sycophancy attack rate of 58.7%, with SFT reference at 36.2%.
- Authors' conclusion: The authors argue that reward hacking is dynamic and transferable across domains, and that auditing optimization in reward model representation space can reduce exploitation while preserving or improving task performance. The appendix also states that the method relies on a readable frozen reward model and does not address all types of misalignment.
Related papers
- The Memory Trap: Language Agents Overgeneralize from Benign InteractionsRisky behaviorarXiv