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

Shuang Liu, Yuxuan Bo, Qiuyang Zhao, Caiyue Huang, Xiaorong Chen +2 more
6/2/2026
cs.LG
rlhf-rlvr-dpo

No confident code implementation found for this paper.

Abstract

Reward models are central to large language model (LLM) alignment, but they remain vulnerable to reward hacking. To evaluate reward-model robustness, we introduce RewardHackBench containing 13 reward-hacking patterns covering real life high-stakes domains and general settings, and we find severe failures on specific subcategories across eight reward models.

Show full abstract

To mitigate these failures, we propose HARVE, a training-free reward-head editing method for scalar reward models. Instead of fine-tuning the reward model, HARVE identifies a multi-directional hacking subspace from residual stream directions associated with selected hacking subcategories, and removes the component of the reward-head vector aligned with that subspace. This directly reduces the reward head's sensitivity to hacking-related features using only a small set of contrastive gold-hacked examples, without gradient updates or fine-tuning. Comprehensive experiments across eight reward models indicates that \model improves hacking robustness, outperforms fine-tuning baselines, and preserves reward-models' general capability. Further analyses suggest that reward hacking is better captured as a multidimensional residual-space structure than by isolated surface cues.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{liu2026harve,
  title  = {HARVE: Hacking-Aware Reward-Head Vector Editing for Robust Reward Models},
  author = {Shuang Liu and Yuxuan Bo and Qiuyang Zhao and Caiyue Huang and Xiaorong Chen and Yanguang Liu and Mengnan Du},
  year   = {2026},
  eprint = {2606.03131},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.03131v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2606.03131.svg)](https://codeofpaper.com/paper/2606.03131)

Discussion