AWSVijay Lingam, Aditya GolatkarExplainer
Toward sample-efficient agentic post-training
Summary
Standard reinforcement learning for agentic post-training assigns the same final reward to every action in a rollout, making it hard to distinguish helpful steps from harmful ones. Generating more rollouts to improve credit assignment is expensive. The post presents seven methods that extract per-step or per-token credit from existing rollouts. These methods include merging equivalent steps across attempts, passing credit from successful revisions back to earlier failed attempts, and reweighting distillation signals by their estimated effect on reward. The methods are demonstrated on a running example where an agent writes a function to return the nth prime. The post extracts five lessons from the results, showing how different types of information from rollouts can be turned into training signals tied to task success.
Context
Standard group-relative policy optimization (GRPO) assigns the same final reward to every action in a rollout, making it hard to distinguish helpful steps from harmful ones. Generating more rollouts to improve credit assignment is expensive. The post examines how to extract richer training signals from the rollouts already available during agentic post-training.
Approach / What changed
The post proposes seven training methods (SALT, MURPHY, RAD, projected distillation, PINT, AHEAD, ExecTune) that extract per-step or per-token credit from existing rollouts rather than generating more. Each method addresses a specific credit-assignment problem: SALT merges equivalent steps across attempts; MURPHY passes credit from successful revisions back to earlier failed attempts; RAD reweights distillation signals by their estimated effect on reward; projected distillation trains on small verified edits instead of full reference solutions; PINT internalizes privileged information into teacher weights; AHEAD uses test-failure messages to reweight per-step advantages; ExecTune trains a separate guide model on execution feedback from a frozen agent.
Takeaways
A good attempt can contain bad steps, and a failed attempt can contain good steps; GRPO’s uniform credit assignment conflates them, but methods like SALT and MURPHY disentangle contributions.
On-policy distillation from a stronger teacher can harm performance if the teacher’s advice points away from reward; reward-aligned distillation (RAD) reweights token-level signals by their estimated effect on reward.
When all attempts fail, training on a full reference solution can erode existing skills; projected distillation trains on small verified edits that preserve working code while fixing errors.
FAQ
How does SALT assign credit to shared actions across rollouts?
SALT builds a graph that merges steps with equivalent starting states, actions, and resulting states across rollouts. Each merged step gets the average advantage of the attempts that took it, so shared actions' positive and negative signals cancel while differing edits retain their own credit.
How does RAD prevent harmful teacher advice from hurting the student?
RAD looks at the gradients resulting from each output token and uses them to estimate how each token's distillation signal affects reward. It strengthens useful guidance and suppresses or reverses harmful signals, making the update more aligned with reward.
How does ExecTune train a guide for a frozen agent?
ExecTune first fine-tunes a small guide on strategies written by a stronger teacher, keeping only those the agent executes successfully. Then it applies reinforcement learning with rewards computed from the agent's own execution, so the guide learns which advice the frozen model can use.
Source and freshness
- Source
- amazon.science
- Published
- Added to Yomu
Summaries are generated from the original by a language model. Check the original before relying on it.
Keep reading
Related reading
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
The best engineering reads, once a week
One useful email. Unsubscribe anytime.