With outcome-only rewards, every action in a trajectory gets the same credit. The post shows how to extract finer credit assignment from existing rollouts, cutting the number of expensive rollouts needed to train coding-style agents.
Key takeaways · AI-distilled
Amazon researchers note that GRPO gives every step of an agent rollout the same end-of-task reward, so a useful search and a build-breaking edit get equal credit. Their seven methods aim to extract more signal from existing rollouts instead of generating more.
SALT merges equivalent steps across rollouts into a graph and gives each the average advantage, so shared actions such as reading the spec cancel out. MURPHY credits failed attempts that lead to successful revisions after feedback such as a timeout.
Reward-aligned distillationTraining a small, cheap model to imitate a big one's outputs, keeping much of the capability at a fraction of the cost.Full definition → (RAD) uses per-TokenA piece of text, such as a word, part of a word or a punctuation mark, that a language model represents as numbers and handles as a unit.Full definition → gradients to estimate whether a teacher's token-level signal raises reward, strengthening helpful guidance and suppressing advice such as swapping an efficient sieve for a slower method.
When every attempt fails, projected distillation trains on a small verified edit to the model's own near-correct answer, such as fixing an index to n-1, rather than on a distant reference solution that can erode skills the model already has.
For models whose weights cannot change, ExecTune trains a small guide model to suggest strategies, first on teacher-written strategies the agent executes successfully, then with RL rewards from the agent's own execution.
Terms in this piece · Glossary
Training — The process that adjusts a model using examples and a measure of how well it performs.
Function — A named block of instructions that takes inputs, called arguments, and hands back a result, called its return value.
distillation — Training a small, cheap model to imitate a big one's outputs, keeping much of the capability at a fraction of the cost.
Token — A piece of text, such as a word, part of a word or a punctuation mark, that a language model represents as numbers and handles as a unit.