HARVE: Hacking-Aware Reward-Head Vector Editing
for Robust Reward Models

Shuang Liu1, Yuxuan Bo2, Qiuyang Zhao3, Caiyue Huang4, Xiaorong Chen5, Yanguang Liu6, Mengnan Du7,†

1 Carnegie Mellon University, 2 University of Virginia, 3 Harvard University, 4 Stanford University,
5 University of Michigan, 6 New Jersey Institute of Technology, 7 The Chinese University of Hong Kong, Shenzhen

† Corresponding author

HARVE framework: select reward-hacking examples, derive a subspace from hacked-minus-gold hidden-state differences, and remove the reward head's projection onto that subspace.
Figure 1. HARVE identifies hacking directions and edits the reward head while keeping the backbone frozen. Figure from the paper. Select the image to view it full size.

Overview

Reward models can assign high scores to polished answers that contain targeted errors. HARVE addresses this form of reward hacking through a geometric edit of the final reward-head vector. The paper also introduces RewardHackBench, a set of matched gold and hacked responses for studying these failures across attack categories.

For each selected attack subcategory, HARVE finds training pairs on which the original reward model prefers the hacked response. It averages hacked-minus-gold final hidden-state differences, forms a hacking subspace, and subtracts a scaled projection of the reward head onto that subspace. The edit requires no gradient updates and leaves the transformer backbone unchanged. Its strength is chosen on development data under a general-capability preservation constraint.

Results

Table 2 compares HARVE with the original reward models and data-augmented fine-tuning baselines on model-specific targeted attack subcategories. Across the eight models shown, HARVE has the highest gold-preference rate on each selected target set. The fine-tuning column shows the stronger of the 3:1 and 5:1 data-mixture settings for each model.

Reward modelOriginalBest fine-tuneHARVE
Skywork-V2-Qwen3 · 0.6B53.1658.3683.64
InternLM2-reward · 1.8B58.9362.5078.57
GRM-Llama-3.2 · 3B46.4754.2872.86
Skywork-V2-Llama-3.2 · 3B75.0976.9092.42
RM-Mistral · 7B67.8784.4890.25
FsfairX-LLaMA3-RM · 8B57.4971.5086.96
Skywork-Reward-Llama-3.1 · 8B65.9473.5584.42
InternLM2-reward · 20B73.1975.3688.41
Table 2. Gold-preference rate (%) on reward-model-specific target subcategories; higher is better. “Best fine-tune” is the stronger baseline for each model. Full non-target and RM-Bench results are reported in the paper.

BibTeX

@inproceedings{liu2026harve,
  title     = {HARVE: Hacking-Aware Reward-Head Vector Editing for Robust Reward Models},
  author    = {Liu, Shuang and Bo, Yuxuan and Zhao, Qiuyang and Huang, Caiyue and Chen, Xiaorong and Liu, Yanguang and Du, Mengnan},
  booktitle = {Proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing},
  year      = {2026},
  url       = {https://arxiv.org/abs/2606.03131}
}