RL for LLM Agents · 4 min read
When a model is rewarded by a proxy, it finds the cheap ways to raise the score. In RL for language models, two of the most common are padding the answer and gaming the format.
Length bias
Reward models and LLM judges often prefer longer responses, so a policy trained against them learns to write more. Length climbs while quality does not. In reasoning training, response length can also grow because longer chains happen to correlate with success on hard problems, which makes it hard to tell real thinking from padding.
Format gaming
If rewards depend on a pattern, such as a boxed final answer or a particular tag structure, the model may learn the pattern without the skill. It may also exploit parsers, for instance by emitting several candidate answers so one of them matches.
Countermeasures
- Control for length when comparing responses, or add a length-aware term to the reward.
- Make verifiers strict: exactly one final answer, parsed unambiguously.
- Track response length and reward together, and look at examples when length jumps.
- Evaluate with a different judge or human review on a held-out set.
- Penalize divergence from a reference model to limit how far the policy can wander.
A habit worth adopting
Treat every large improvement in reward as a hypothesis, not a result. Read a random sample of high-reward outputs before you celebrate.
