r/MachineLearning · · 1 min read

A debugger for RL reward functions that detects reward hacking during training [P]

Mirrored from r/MachineLearning for archival readability. Support the source by reading on the original site.

A debugger for RL reward functions that detects reward hacking during training [P]

While experimenting with GRPO training, I kept running this shit that when reward increases, it becomes difficult to tell whether the policy is genuinely improving or simply exploiting the reward function. So I built a small library called rewardspy that wraps an existing reward function and continuously monitors indicators that often precede reward hacking.

It currently tracks things like rolling reward statistics, reward variance collapse, reward component imbalance, response length drift, reward slope changes, GRPO group collapse, anol.

This is my first major RL project so I would absolutely love some technical advice

Check it out here: https://github.com/AvAdiii/rewardspy

submitted by /u/BaniyanChor
[link] [comments]

Discussion (0)

Sign in to join the discussion. Free account, 30 seconds — email code or GitHub.

Sign in →

No comments yet. Sign in and be the first to say something.

More from r/MachineLearning