SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2604.12086 · 2026

Robust Optimization for Mitigating Reward Hacking with Correlated Proxies

Zizhan Zheng, Zixuan Liu, Xiaolin Sun

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 5 functions out of this paper's own repositories and ran 3 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
ZixuanLiu4869/reward_hacking — 3 of 5
FunctionStatusWhere it lives
ModelWithDiscriminator Ran ZixuanLiu4869/reward_hacking/occupancy_measures/agents/orpo.py
pointer only (licence: NONE) · get_code("f87363155e606ff4")
ModelWithDiscriminatorConfig Ran ZixuanLiu4869/reward_hacking/occupancy_measures/agents/orpo.py
pointer only (licence: NONE) · get_code("62b55f908f73ef57")
_beta_chi2 Ran ZixuanLiu4869/reward_hacking/occupancy_measures/agents/orpo.py
pointer only (licence: NONE) · get_code("a9acef1e608854ea")
ORPO Not yet run ZixuanLiu4869/reward_hacking/occupancy_measures/agents/orpo.py
pointer only (licence: NONE) · get_code("8d8a0b0c78798ed3")
chi2_divergence Not yet run ZixuanLiu4869/reward_hacking/occupancy_measures/agents/orpo.py
pointer only (licence: NONE) · get_code("95626cfb9b3ed9d1")

Repositories linked to this paper

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

Abstract

Designing robust reinforcement learning (RL) agents in the presence of imperfect reward signals remains a core challenge. In practice, agents are often trained with proxy rewards that only approximate the true objective, leaving them vulnerable to reward hacking, where high proxy returns arise from unintended or exploitative behaviors. Recent work formalizes this issue using r-correlation between proxy and true rewards, but existing methods like occupancy-regularized policy optimization (ORPO) optimize against a fixed proxy and do not provide strong guarantees against broader classes of correlated proxies. In this work, we formulate reward hacking as a robust policy optimization problem over the space of all r-correlated proxy rewards. We derive a tractable max-min formulation, where the agent maximizes performance under the worst-case proxy consistent with the correlation constraint. We further show that when the reward is a linear function of known features, our approach can be adapted to incorporate this prior knowledge, yielding both improved policies and interpretable worst-case rewards. Experiments across several environments show that our algorithms consistently outperform ORPO in worst-case returns, and offer improved robustness and stability across different levels of proxy-true reward correlation. These results show that our approach provides both robustness and transparency in settings where reward design is inherently uncertain. The code is available at https://github.com/ZixuanLiu4869/reward_hacking.

For agents

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

get_harvested_code_for_paper("2604.12086")
get_code_for_paper("2604.12086")
have("2604.12086")

Connect an agent — have() is free.