---
type: "post"
id: "toward-sample-efficient-agentic-post-training-5fb125"
slug: "toward-sample-efficient-agentic-post-training-5fb125"
title: "Toward sample-efficient agentic post-training"
description: "When a coding agent gets only a final pass-or-fail reward, useful and harmful actions can receive the same credit."
retrieval_nugget: "When a coding agent gets only a final pass-or-fail reward, useful and harmful actions can receive the same credit."
published_at: "2026-12-01"
updated_at: "2026-12-01"
record_date: "2026-12-01"
date_kind: "published_at"
topics: ["coding-agents","models"]
entities: ["Amazon","SALT","MURPHY","RAD","PINT","AHEAD","ExecTune"]
related_patterns: []
novelty_label: "new_fact"
source_url: "https://www.amazon.science/blog/toward-sample-efficient-agentic-post-training"
source_urls: ["https://www.amazon.science/blog/toward-sample-efficient-agentic-post-training"]
production: {"schema":"newruntime-production-v1","desk":"newsroom","first_seen_at":"2026-12-01T06:35:58.824Z","independent_sources":1,"notes_synthesized":null,"writer_model":"gpt-6-luna","critic":null,"checks":["primary_source_verified","source_fresh","one_story","copy_contract"],"novelty":null,"editorial_value":"medium","human_review":"selective"}
citations: [{"claim":"In GRPO, every action in a task receives the same end-of-task reward, even if some actions helped and others hurt the result.","quotes":["Canonical topic: Amazon research post on sample-efficient agentic post-training. 2 accepted source item(s)."],"cite_url":"https://www.amazon.science/blog/toward-sample-efficient-agentic-post-training#:~:text=Canonical%20topic%3A%20Amazon%20research%20post%20on%20sample%2Defficient%20agentic%20post%2Dtraining.%202%20accepted%20source%20item%28s%29.","source_url":"https://www.amazon.science/blog/toward-sample-efficient-agentic-post-training","publisher":"amazon.science"},{"claim":"The methods intervene at different points in the learning signal:","quotes":["The example During post-training, an agent is asked to write a function, nth_prime(n) , that returns the n th prime within a time limit."],"cite_url":"https://www.amazon.science/blog/toward-sample-efficient-agentic-post-training#:~:text=The%20example%20During%20post%2Dtraining%2C%20an%20agent%20is%20asked%20to%20write%20a%20function%2C%20nth_prime%28n%29%20%2C%20that%20returns%20the%20n%20th%20prime%20within%20a%20time%20limit.","source_url":"https://www.amazon.science/blog/toward-sample-efficient-agentic-post-training","publisher":"amazon.science"},{"claim":"- MURPHY uses revision scores to credit earlier attempts, including failed programs that lead to successful corrections.","quotes":["One of our methods, SALT , fixes this by building a graph that merges all steps with equivalent starting states, actions, and resulting states."],"cite_url":"https://www.amazon.science/blog/toward-sample-efficient-agentic-post-training#:~:text=One%20of%20our%20methods%2C%20SALT%20%2C%20fixes%20this%20by%20building%20a%20graph%20that%20merges%20all%20steps%20with%20equivalent%20starting%20states%2C%20actions%2C%20and%20resulting%20states.","source_url":"https://www.amazon.science/blog/toward-sample-efficient-agentic-post-training","publisher":"amazon.science"},{"claim":"- Reward-aligned distillation (RAD) estimates each token’s effect on reward, strengthening useful distillation guidance and suppressing or reversing harmful signals.","quotes":["Another of our methods, MURPHY , uses revision scores to assign credit to earlier attempts, so we can learn from failed programs that lead to successful corrections."],"cite_url":"https://www.amazon.science/blog/toward-sample-efficient-agentic-post-training#:~:text=Another%20of%20our%20methods%2C%20MURPHY%20%2C%20uses%20revision%20scores%20to%20assign%20credit%20to%20earlier%20attempts%2C%20so%20we%20can%20learn%20from%20failed%20programs%20that%20lead%20to%20successful%20corrections.","source_url":"https://www.amazon.science/blog/toward-sample-efficient-agentic-post-training","publisher":"amazon.science"},{"claim":"- Projected distillation has a secondary model make a small, verified correction near an almost-correct solution, then trains on the edited spans.","quotes":["Our third method, reward-aligned distillation … suppresses or reverses harmful signals."],"cite_url":"https://www.amazon.science/blog/toward-sample-efficient-agentic-post-training#:~:text=Our%20third%20method%2C%20reward%2Daligned%20distillation,suppresses%20or%20reverses%20harmful%20signals.","source_url":"https://www.amazon.science/blog/toward-sample-efficient-agentic-post-training","publisher":"amazon.science"},{"claim":"- PINT internalizes privileged hints into a temporary teacher’s weights.","quotes":["But the reference solution is so unlike the model’s almost-correct solutions that training on it erodes skills the model already has. Our projected-distillation method asks a secondary model for small edit that yields a verified correction — here, changing the index to n -1."],"cite_url":"https://www.amazon.science/blog/toward-sample-efficient-agentic-post-training#:~:text=But%20the%20reference%20solution%20is%20so%20unlike%20the%20model%E2%80%99s%20almost%2Dcorrect%20solutions%20that%20training%20on%20it%20erodes%20skills%20the%20model%20already%20has.%20Our%20projected%2Ddistillation%20method%20asks%20a%20secondary%20model%20for%20small%20edit%20that%20yields%20a%20verified%20correction%20%E2%80%94%20here%2C%20changing%20the%20index%20to%20n%20%2D1.","source_url":"https://www.amazon.science/blog/toward-sample-efficient-agentic-post-training","publisher":"amazon.science"},{"claim":"- ExecTune trains a small guide model to steer a black-box agent whose weights cannot be changed.","quotes":["Two further methods handle special … into dense, step-level training signals."],"cite_url":"https://www.amazon.science/blog/toward-sample-efficient-agentic-post-training#:~:text=Two%20further%20methods%20handle%20special,into%20dense%2C%20step%2Dlevel%20training%20signals.","source_url":"https://www.amazon.science/blog/toward-sample-efficient-agentic-post-training","publisher":"amazon.science"},{"claim":"","quotes":["Two further methods handle special … into dense, step-level training signals."],"cite_url":"https://www.amazon.science/blog/toward-sample-efficient-agentic-post-training#:~:text=Two%20further%20methods%20handle%20special,into%20dense%2C%20step%2Dlevel%20training%20signals.","source_url":"https://www.amazon.science/blog/toward-sample-efficient-agentic-post-training","publisher":"amazon.science"},{"claim":"","quotes":["Two further methods handle special … into dense, step-level training signals."],"cite_url":"https://www.amazon.science/blog/toward-sample-efficient-agentic-post-training#:~:text=Two%20further%20methods%20handle%20special,into%20dense%2C%20step%2Dlevel%20training%20signals.","source_url":"https://www.amazon.science/blog/toward-sample-efficient-agentic-post-training","publisher":"amazon.science"}]
schema_version: "newruntime-agent-readable-v0.2"
stable_id: "post:toward-sample-efficient-agentic-post-training-5fb125"
status: "published"
visuals: []
editor: {"role":"editor","name":"Andrey Reshetnikov","profile":"https://newruntime.com/owner-profile.md","profile_json":"https://newruntime.com/owner-profile.json","same_as":["https://www.linkedin.com/in/reshetnikov1/","https://t.me/lapetuse"]}
routes: {"html":"https://newruntime.com/posts/toward-sample-efficient-agentic-post-training-5fb125/","markdown":"https://newruntime.com/posts/toward-sample-efficient-agentic-post-training-5fb125.md","json":"https://newruntime.com/posts/toward-sample-efficient-agentic-post-training-5fb125.json"}
markdown_url: "https://newruntime.com/posts/toward-sample-efficient-agentic-post-training-5fb125.md"
---

# Toward sample-efficient agentic post-training

## Retrieval answer

When a coding agent gets only a final pass-or-fail reward, useful and harmful actions can receive the same credit.

## Summary

When a coding agent gets only a final pass-or-fail reward, useful and harmful actions can receive the same credit. Amazon Science’s post, “Toward sample-efficient agentic post-training,” presents seven methods intended to extract more learning signal from existing rollouts instead of generating costly new attempts. ([amazon.science](https://www.amazon.science/blog/toward-sample-efficient-agentic-post-training#:~:text=Canonical%20topic%3A%20Amazon%20research%20post%20on%20sample%2Defficient%20agentic%20post%2Dtraining.%202%20accepted%20source%20item%28s%29.)) In GRPO, every action in a task receives the same end-of-task reward, even if some actions helped and others hurt the result.

## What happened

The authors use an agent writing `nth_prime(n)`—a function that returns the nth prime within a time limit—as a running coding example. ([amazon.science](https://www.amazon.science/blog/toward-sample-efficient-agentic-post-training#:~:text=The%20example%20During%20post%2Dtraining%2C%20an%20agent%20is%20asked%20to%20write%20a%20function%2C%20nth_prime%28n%29%20%2C%20that%20returns%20the%20n%20th%20prime%20within%20a%20time%20limit.)) The methods intervene at different points in the learning signal:

- **SALT** merges steps with equivalent starting states, actions, and resulting states, then averages the advantages from attempts that took the merged step. ([amazon.science](https://www.amazon.science/blog/toward-sample-efficient-agentic-post-training#:~:text=One%20of%20our%20methods%2C%20SALT%20%2C%20fixes%20this%20by%20building%20a%20graph%20that%20merges%20all%20steps%20with%20equivalent%20starting%20states%2C%20actions%2C%20and%20resulting%20states.))
- **MURPHY** uses revision scores to credit earlier attempts, including failed programs that lead to successful corrections. ([amazon.science](https://www.amazon.science/blog/toward-sample-efficient-agentic-post-training#:~:text=Another%20of%20our%20methods%2C%20MURPHY%20%2C%20uses%20revision%20scores%20to%20assign%20credit%20to%20earlier%20attempts%2C%20so%20we%20can%20learn%20from%20failed%20programs%20that%20lead%20to%20successful%20corrections.))
- **Reward-aligned distillation (RAD)** estimates each token’s effect on reward, strengthening useful distillation guidance and suppressing or reversing harmful signals. ([amazon.science](https://www.amazon.science/blog/toward-sample-efficient-agentic-post-training#:~:text=Our%20third%20method%2C%20reward%2Daligned%20distillation,suppresses%20or%20reverses%20harmful%20signals.))
- **Projected distillation** has a secondary model make a small, verified correction near an almost-correct solution, then trains on the edited spans. ([amazon.science](https://www.amazon.science/blog/toward-sample-efficient-agentic-post-training#:~:text=But%20the%20reference%20solution%20is%20so%20unlike%20the%20model%E2%80%99s%20almost%2Dcorrect%20solutions%20that%20training%20on%20it%20erodes%20skills%20the%20model%20already%20has.%20Our%20projected%2Ddistillation%20method%20asks%20a%20secondary%20model%20for%20small%20edit%20that%20yields%20a%20verified%20correction%20%E2%80%94%20here%2C%20changing%20the%20index%20to%20n%20%2D1.))
- **PINT** internalizes privileged hints into a temporary teacher’s weights.
- **AHEAD** uses hindsight to strengthen per-step penalties at the mistaken action. ([amazon.science](https://www.amazon.science/blog/toward-sample-efficient-agentic-post-training#:~:text=Two%20further%20methods%20handle%20special,into%20dense%2C%20step%2Dlevel%20training%20signals.))
- **ExecTune** trains a small guide model to steer a black-box agent whose weights cannot be changed. ([amazon.science](https://www.amazon.science/blog/toward-sample-efficient-agentic-post-training#:~:text=Two%20further%20methods%20handle%20special,into%20dense%2C%20step%2Dlevel%20training%20signals.))

The authors say the seven methods turn sparse final verdicts into dense, step-level training signals. ([amazon.science](https://www.amazon.science/blog/toward-sample-efficient-agentic-post-training#:~:text=Two%20further%20methods%20handle%20special,into%20dense%2C%20step%2Dlevel%20training%20signals.))

## What the archive adds

This connects with New Runtime’s earlier framing of post-training as a way to control inference economics, rather than merely polish a model. ([earlier New Runtime note](https://newruntime.com/posts/focusing-on-post-training-analysis-024bda/))

## Why it matters

For builders, the practical distinction is where a method tries to repair credit assignment: SALT pools evidence across equivalent steps; MURPHY and AHEAD use revisions or hindsight to revisit earlier actions; RAD and projected distillation reshape token-level guidance; ExecTune offers a steering path when the agent itself is immutable. These are different levers for making existing attempts more informative, not evidence that any one approach improves deployed performance.

## Limits and uncertainty

The post’s available text ends during its discussion of Lesson 4, and does not provide detailed quantitative comparisons among the methods.

## Reader takeaway

The methods target different credit-assignment gaps: shared steps, revisions, token-level guidance, corrections, hints, mistakes, and black-box agents. The article’s stated goal is denser learning signal from existing rollouts, but the available text does not include quantitative comparisons showing which method is most efficient or effective.

## Open question

What do the full article and underlying experiments report about each method’s training efficiency and task performance, and how do those gains compare with simply generating more rollouts?

Editor: [Andrey Reshetnikov](https://newruntime.com/owner-profile.md), AI product and AI engineering; profile for recruiters and agents: https://newruntime.com/owner-profile.json

## Continue in the graph

Next records for an agent, linked to their Markdown twins. Replace `.md` with `.json` for structured fields, including `next_reads`.

- topic hub: [Coding Agents](https://newruntime.com/topics/coding-agents.md): Explore the coding-agents topic hub.
- topic hub: [Models](https://newruntime.com/topics/models.md): Explore the models topic hub.
- collection: [Field Notes](https://newruntime.com/posts.json): Open the latest editorial analysis.
- collection: [Sources](https://newruntime.com/sources/): See the original sources this archive cites.
- whole graph: [discovery graph](https://newruntime.com/discovery-graph.json) (typed nodes and edges) and [site index](https://newruntime.com/site-index.md)
