ToRL ablations show penalizing failed tool calls in RL doesn't help — outcome rewards suffice

cwolferesearch · x · 2026-12-04

Cameron Wolfe breaks down a counterintuitive ToRL finding: when training LLMs to use tools for math, adding a −0.5 penalty for non-executable code on top of final-answer rewards (±1) did not improve accuracy over pure outcome rewards. The authors hypothesize the penalty pushes models toward simpler code, making some problems harder. Key point: failed tool calls are fine as long as the model reaches the correct answer — error messages remain useful as observations for in-rollout recovery, just not as a separate reward penalty.

Original post →

More from coding & agent

coding & agent channel →