CATCH: A Controllable Analysis Testbed for Reward Hacking in Coding RL

Shouli Wang, Yanfeng Jia, Zhihao Ou, Zitao Su, Ruize He +4 more
9/30/2026
cs.CLcs.LG
benchmark-datasetrlrlhf-rlvr-dpo

Official code: THUAIS-Lab/CATCH (5 stars, Jupyter Notebook, Apache-2.0, last commit 2026-10-05).

Abstract

During reinforcement learning with verifiable rewards (RLVR), large language models (LLMs) can exploit loopholes in their environments to obtain high rewards without improving the intended capabilities, i.e., reward hacking. Despite its risks to training efficiency and safety, monitoring and mitigating reward hacking during training remain challenging, which is limited by a lack of testbeds that reproduce hacking and reliably identify it.

Show full abstract

We introduce CATCH, a controllable testbed for studying reward hacking in coding RL. CATCH deliberately exposes environmental loopholes and provides execution-based gold labels by comparing success under a vulnerable evaluator with task correctness under an independent audit. It also can control the model's initial hacking tendency through supervised fine-tuning data mixtures and the difficulty of earning rewards through reward designing, enabling systematic comparisons of hacking dynamics and interventions. Experiments show that CATCH can produce diverse RL training trajectories with clear reward hacking, and analyses demonstrate that both initial models and reward difficulties shape the emergence of reward hacking. We further evaluate the effectiveness of different reward hacking detection and mitigation methods. A key finding is that a chain-of-thought monitor initially suppresses hacking, but this protection erodes as the policy model learn to mislead the monitor with code comments. This highlights the need to evaluate hacking mitigations throughout training with CATCH. The source code and resources are publicly released at https://github.com/THUAIS-Lab/CATCH.

View on arXivView PDF

Code Implementations(1)

THUAIS-Lab/CATCHOfficial100%
Apache-2.0
51Jupyter Notebook, PythonSep 30, 20261 months agoApache-2.0

Similar Papers

Cite this paper

@article{wang2026catch,
  title  = {CATCH: A Controllable Analysis Testbed for Reward Hacking in Coding RL},
  author = {Shouli Wang and Yanfeng Jia and Zhihao Ou and Zitao Su and Ruize He and Haotong Xie and Hao Peng and Juanzi Li and Xiaozhi Wang},
  year   = {2026},
  eprint = {2609.39533},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2609.39533v3}
}

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/2609.39533.svg)](https://codeofpaper.com/paper/2609.39533)

Discussion