SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2606.04923 · 2026

Reproducing, Analyzing, and Detecting Reward Hacking in Rubric-Based Reinforcement Learning

Hao Peng, Juanzi Li, Xiaozhi Wang, Xuekang Wang, Zhuoyuan Hao, Shuo Hou

arXiv · PDF · Open in the Atlas

Code that ran

1 of 1 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 1 failure of our instrument; 0 no recorded run), measured 2026-11-23; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2606.04923.json · badge: /api/ran/2606.04923.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
THUAIS-Lab/CHERRL community
Papers with Code archive
1 ran · 0 no recorded run
FunctionStatusWhere it lives
reward_func Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
THUAIS-Lab/CHERRL/recipe/r1/reward_score.py
code served (permissive licence) · get_code("8a84f8cc921357e2")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Mock. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import torch.nn as nn
from unittest.mock import Mock, patch

torch.manual_seed(0)

# Mock the imported modules to avoid import errors
mock_math_reward = Mock()
mock_math_reward.compute_score = Mock(return_value=0.85)

mock_gpqa = Mock()
mock_gpqa.compute_score = Mock(return_value=0.92)

mock_livecodebench = Mock()
mock_livecodebench.compute_score = Mock(return_value=0.78)

# Patch the imports at module level
import sys
sys.modules['recipe'] = Mock()
sys.modules['recipe.r1'] = Mock()
sys.modules['recipe.r1.tasks'] = Mock()
sys.modules['recipe.r1.tasks.math_reward'] = mock_math_reward
sys.modules['recipe.r1.tasks.gpqa'] = mock_gpqa
sys.modules['recipe.r1.tasks.livecodebench'] = mock_livecodebench

ARGS = {
    'data_source': 'Maxwell-Jia/AIME_2024',
    'solution_str': 'The answer is 42',
    'ground_truth': '42',
    'extra_info': None
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
recipe, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Mock — a Mock output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block

Also present in other papers' code

Of 1 samples lifted from this paper's linked repositories, 1 carry a function identity and 0 do not. Of the 1 distinct functions with an identity, 1 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 1 the same month, 1 later) and 0 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
reward_func
brick of this paper's assembly: entry
15 other papers
9 dated earlier, 3 the same month, 2 later, 1 undated
2410.02992 (2024-10)
Learning to Better Search with Language Models via Guided Reinforced Self-Training
2601.17687 (2026-01)
Agentic reinforcement learning empowers next-generation chemical language models for molecular design and synthesis
2601.21468 (2026-01)
MemOCR: Layout-Aware Visual Memory for Efficient Long-Horizon Reasoning
and 12 more not named here

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Rubric-based reinforcement learning (RL) uses an LLM-as-a-Judge (LaaJ) to score model outputs according to rubrics as rewards. However, policy models may exploit latent biases in the judge, leading to reward hacking and ineffective or unsafe training outcomes. In realworld rubric-based RL, such hacking behaviors are often subtle and entangled with multiple judge biases, making them difficult to analyze, detect, and mitigate. In this paper, we introduce CHERRL, a Controllable Hacking Environment for Rubric-based RL. By injecting known biases into LaaJ, CHERRL enables stable reproduction of reward hacking, explicit observation of reward divergence, and identification of hacking onset. This provides a clean experimental testbed for studying the mechanisms and mitigations of reward hacking in rubric-based RL. To demonstrate its utility, we analyze different judge biases from the perspectives of discoverability and exploitability, and explore an agent for automatically detecting reward hacking onset from training logs. The code and environment are publicly available at https://github.com/THUAIS-Lab/CHERRL.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2606.04923")
get_code_for_paper("2606.04923")
have("2606.04923")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2606.04923.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2606.04923.svg)](https://syntology.ai/paper/2606.04923)

Connect an agent — have() is free.