ASPIRE: a robot coder that remembers

A coding agent writes robot programs, runs them, reads what went wrong, and repairs them. ASPIRE adds the part human engineers have: every validated fix becomes a reusable skill. In the paper this beats the prior coding agent by up to 77 points under perturbation, and lifts unseen long tasks from 4% to 31%.

Learn how per-primitive traces, a growing skill library and a search over whole programs turn an LLM into a robot programmer that gets better with every task.

Push the perturbation up and run twelve tasks. The grey bars are a prior-style agent with coarse feedback and no memory. The purple bars are the full loop. Switch the library or the search off and watch which tasks fall.

You need a rough idea of what an LLM agent is and what a robot arm does. We build the rest from zero.

Explore, execute, diagnose, repair, store

Ready
35%

A toy with illustrative odds, not the paper's simulator: six failure kinds named after skills in the paper's library, five debugging rounds per task. The paper's own gains over its strongest baseline: +77 points on LIBERO-Pro Object, bimanual handover 20% → 92%, household radio pick-up 56% → 88%, unseen long tasks 4% → 31% (Tables 5 to 8).

Chapter 0

The hundredth task

See why a robot coding agent that forgets every fix pays the same price on its hundredth task as on its first

A robot must pick up a red radio in a living room. You write a short program: find the radio with the camera, drive to it, grasp it, lift. You run it. The robot finds the radio, then stops. The log says only: task failed.

Was the camera wrong? Was the grasp bad? Did the planner refuse to move? You cannot tell from "failed". So you guess, change something, and run again. Two hours later you learn the cause: every place you asked the robot to stand was too close to the table edge, and the planner refused them all Fig. 2.

Now the hard part. Next week the robot must fetch a soda can that also sits by a table. Does your new program remember that lesson? A human engineer does. A coding agent, in the systems before this paper, does not. ASPIRE's authors put it plainly:

"The agent solving its hundredth task is effectively no more experienced than the agent solving its first."Lu et al. · §1

A coding agent is a large language model (LLM) in a loop. It writes code, runs it, reads the result, and edits the code again. ASPIRE (Agentic Skill Programming through Iterative Robot Exploration) gives such an agent two things engineers have: detailed evidence about what failed, and a notebook of fixes that worked §1.

Amnesia against memory

A stream of 100 tasks. Each task hits a few failure kinds. Fixing a new failure costs 4 debugging rounds; reusing a stored fix costs half a round. Change how many distinct failure kinds exist.

40
2

A toy. Failure kinds are drawn so a few are common and many are rare (a Zipf law, typical of real bug reports). The 4-round and half-round costs are illustrative. The paper's measured version of this curve is Table 1 and Figure 6: tokens fall when skills are reused.

The cost of a memoryless agent is easy to write down. If every task has m failures and each costs c rounds to fix, then N tasks cost:

Costno memory
Total debugging rounds spent over all tasks.
N
How many tasks the agent solves.
m
Failures each task hits, on average.
c
Rounds to diagnose and fix one failure from scratch.

Worked numbers: 100 tasks, 2 failures each, 4 rounds per failure: 100 × 2 × 4 = 800 rounds. The line is straight. Task 100 costs exactly what task 1 cost. With a library, the cost of task n shrinks as more of its failures are already known. Chapter 5 derives that curve.

The idea in one line: debug like an engineer, and keep a notebook. Expose what each step of the robot program did, let the agent find and fix the real cause, check the fix, and store it so the next task starts smarter.
  1. Code as policy: robot behaviour as a program of primitives, and why long chains break.
  2. Which step broke?: why "task failed" is not enough to repair a program.
  3. The execution engine: per-primitive traces, and the radio that could not be reached.
  4. Iterative debugging: repair on debug seeds, judge on held-out seeds.
  5. The skill library: what a skill is, how it is admitted, and how coverage grows.
  6. Evolutionary search: escaping a repair loop by trying different programs.
  7. The results: what "up to 77%" means, and what each part adds.
  8. Transfer: unseen long tasks zero-shot, and skills that flow backward.
  9. Scaling with the model: twelve LLMs, a cost frontier, and new strategies.
  10. Real robots: sim skills on a different arm, and a Rubik's Cube.
  11. Connections: limits, the amortization argument, and where to go next.
What problem with earlier robot coding agents does ASPIRE's "hundredth task" quote describe?

Chapter 1

Code as policy

Write a robot's behaviour as a program of perception, planning and control calls, and see why long programs fail more often

A policy is any rule that maps what the robot sees to what it does. A neural policy, like a VLA (vision-language-action model), is one big network: pixels in, motor commands out. A code-as-policy system writes the rule as a program instead. The program calls ready-made primitives: functions that segment an image, estimate a pose, sample grasps, or plan a collision-free motion §1.

Here is the flavour of a program ASPIRE's agent writes. The API names follow the paper's figures; the comments show what flows between the calls.

# task: "put the front bowl on the plate"
rgb, depth = get_observation()                 # H×W×3 image, H×W depth in metres
masks = sam3(rgb, "bowl")                      # list of H×W boolean masks, one per bowl
pts   = [mask_to_world_point(m) for m in masks] # list of (x, y, z) in the robot frame
pts.sort(key=lambda p: p[0])                    # "front" = smallest x (a learned skill, Ch. 5)
grasps = sample_grasp_pose(pts[0])            # list of 7-number poses: position + quaternion
ok = move_to(grasps[0])                        # motion planner: True, or a PLANNING_ERROR
close_gripper(); lift_arm()
plate = mask_to_world_point(sam3(rgb, "plate")[0])
move_to(above(plate)); open_gripper()

Why write programs at all? Because a program can be read, edited and debugged. When a VLA fails, you retrain it. When a program fails, you can find the line that broke and change it §1. ASPIRE builds everything on that one property.

The catch: chains multiply

Each primitive works most of the time, but not always. A program is a chain, and a chain is only as reliable as all its links together. If step i succeeds with probability pi, and failures are independent, the whole program succeeds with:

P(success)
The chance the whole program does its job on one scene.
Π over n steps
Multiply the step chances together, for all n primitive calls.
pi
The chance step i works on this scene: the mask is right, the grasp holds, the plan exists.

Worked numbers: 6 steps at 95% each give 0.956 = 0.735. A long household task with 20 steps at 95% gives 0.9520 = 0.358. Raising every step to 99% gives 0.9920 = 0.818. Long programs need very reliable steps, and that is where most failures hide.

A chain of primitives

Each block is one primitive call. Slide the number of steps and how reliable each one is. The bar shows the chance the whole program works.

6
95%

The step reliabilities are illustrative. The paper's benchmarks span both ends: short LIBERO-Pro tasks and long BEHAVIOR-1K household tasks that navigate, perceive and grasp §3.2.

A program has 20 steps, each 95% reliable. Roughly how often does it succeed?

Chapter 2

Which step broke?

Try to repair a failed robot program from a single "failed" signal, then from a per-step trace, and count the reruns

The paper names the first weakness of earlier robot coding agents: "naive execution environments that provide only coarse task-level feedback" §1. A failed rollout tells you the task did not succeed. It does not tell you whether the root cause was "incorrect perception, an unstable grasp, a planning error, or a downstream recovery failure" §1.

Failure attribution means finding which step caused a failure. It is hard for a simple reason. The place a failure shows is often not the place it starts. The bowl is not on the plate (the symptom, at the end). The cause was three steps earlier: the mask picked the wrong bowl.

Find the broken step

The program failed. Tap the step you think broke: that "repairs" it and reruns. Compare task-level feedback with a per-primitive trace. Then let the agent play 500 failures.

A toy. The cause is hidden in one of the first five steps; the symptom always appears at the last. With a trace, the evidence points at the right step 85% of the time (an illustrative rate); otherwise the agent guesses among the rest.

Counting reruns

With no evidence, the best you can do is try candidate steps one at a time, without repeating. If the cause is equally likely to be any of n steps, the expected number of tries is:

E[reruns]
The average number of repair-and-rerun cycles before you hit the true cause.
n
The number of steps that could have caused the failure.

Why (n + 1)/2? The cause is first in your order with chance 1/n, second with chance 1/n, and so on. The average position is (1 + 2 + … + n)/n = (n + 1)/2. Worked numbers: 5 suspect steps give 3 reruns on average. A 20-step household program gives 10.5. In a simulator each rerun costs a rollout. On a real robot each rerun costs minutes and a human reset. A trace that names the step cuts this to about 1.

Why can't an agent repair a robot program reliably from "task failed" alone?

Chapter 3

The robot execution engine

Open a per-primitive trace, follow the paper's radio example, and repair it by rotating the approach

ASPIRE's first component replaces the one-word verdict with a debugging environment. The robot execution engine runs the agent's program and records a trace for every primitive call §2.1. For each call, the trace stores:

FieldExample from the radio task
The API called, and its inputsnavigate_to_pose([3.64, 4.79, yaw])
Outputs and return statusPLANNING_ERROR
Visual evidenceRGB keyframes just before and after the call, with overlays
Task-specific extrasgrasp candidates, object poses, motion-planning results

The agent does not get full video. It gets the frames around each call, so it can "focus on evidence around calls implicated by the failure" §2.1. The agent chooses what to open. The paper calls the loop of execution, diagnosis and repair iterative debugging.

The radio that could not be reached

The paper's Figure 2 walks one episode in BEHAVIOR-1K, a household simulator. Task: navigate to a red radio and pick it up. The robot starts 1.91 m away. Perception works: find_object_base_rotate("red radio") sweeps the room in 10 base rotations and finds the radio at [3.02, 4.91, 0.30] Fig. 2.

Then three close goals fail. Each one, near [3.6, 4.8], lies inside the table's collision-avoidance buffer, within about 20 cm of the table edge. The motion planner (cuRobo) returns PLANNING_ERROR every time §2.1. The trace localizes the failure to navigation. The radio was found. The grasp was never even tried.

The repair follows from the diagnosis. Rather than change the perception prompt or the grasp, the agent writes a multi-angle approach: try goals at different angles around the object until one is reachable §2.1. Each goal is:

goal(θ)
Where the robot base should stand, in metres on the floor plane.
o
The object's (x, y) position from perception: [3.02, 4.91] for the radio.
r
The stand-off distance: 0.7 m in the paper's repair code.
θ
The approach angle. The code tries 180°, −90°, 90°, −45°, 45° in order.

Worked numbers from the paper: θ = 180° gives [3.02 − 0.7, 4.91 + 0] = [2.32, 4.91], the far side of the radio from the table. The planner finds a clean path. The trace then shows the robot 0.22 m from the radio, two grasp candidates, a grasp, a lift, and reward 1.0 Fig. 2.

Reach the radio

Top view. Drag the angle to place the navigation goal around the radio, or run the repaired loop. Goals inside the shaded buffer fail. The trace log is what the agent reads.

0°

The radio's position, the 0.7 m stand-off, the angle order and the [2.32, 4.91] goal are from the paper's Figure 2. The table's exact outline is not given; we draw an illustrative one with the 20 cm buffer the paper reports.

In the radio example, what did the trace show was the real cause of failure?

Chapter 4

Iterative debugging, honestly measured

Repair a program on a few debug scenes, judge it on fifty unseen ones, and see the difference between fixing a cause and patching a scene

A seed fixes one instance of a task: where the objects start, which distractors are present, and the robot's starting state §3.3. Seed 7 is always the same scene. That makes runs repeatable, and it opens a trap.

An agent that sees "seed 7 failed" could write if seed == 7: ... and pass. It would learn nothing about seed 8. So ASPIRE splits the seeds. It debugs on a small debug split and reports success on a larger, disjoint held-out split it never saw. On LIBERO-Pro, it learns on seeds 51 to 65 and evaluates on seeds 1 to 50 Fig. 4. On Robosuite: learn on 101 to 125, evaluate on 1 to 100. On BEHAVIOR-1K: learn on 26 to 35, evaluate on 1 to 25.

One more detail matters for the comparison. ASPIRE ships one program per task and runs it on every held-out seed. The baseline CaP-Agent0 "regenerates a separate program for each seed with test-time reasoning and retries" §3.3. ASPIRE's program must generalize; the baseline gets to think again on every scene.

Fix the cause, or patch the seed?

Top grid: debug seeds. Bottom grid: 50 held-out seeds. Each scene may hide up to three failure kinds. Repair from the trace (fixes the most common cause) or patch one failing seed. Change how many debug seeds you get.

15

A toy. Three failure kinds appear in 30%, 25% and 12% of scenes. The default of 15 debug seeds and 50 held-out seeds matches the paper's LIBERO-Pro split Fig. 4a.

How sure is a success rate?

A success rate from a few seeds is noisy. If the true rate is p and you test n independent seeds, the measured rate wobbles by about one standard error:

SE
The typical size of the error in a measured success rate.
p
The program's true success rate on this task's distribution of scenes.
n
How many seeds you test on.

Worked numbers: a program that truly succeeds 80% of the time, tested on the 15 debug seeds, gives SE = √(0.8 × 0.2 / 15) = 0.103, so "80%" could easily read as 70% or 90%. On 50 held-out seeds, SE = √(0.16 / 50) = 0.057. On Robosuite's 100 trials, 0.040. This is why the held-out split is larger.

Why does ASPIRE debug on one set of seeds and report success on a disjoint, larger set?

Chapter 5

The skill library

Store each validated repair as a reusable skill, check it before it is admitted, and work out how coverage grows with tasks

Here is the paper's key observation about what to keep. "Program failures recur across tasks, but the reusable knowledge is rarely an entire task program" §2.2. The radio-pickup program is useless for a soda can. The lesson inside it, "if goals near furniture fail, rotate the approach", is useful everywhere.

So a skill, in ASPIRE, is not a function the robot calls. It is a short note the agent reads. Each skill is "compact in-context guidance" with four parts §2.2. Here is the one the radio produced, as the paper records it:

Multi-Angle Approach (navigation)

Failure signature
A direct robot-to-object approach hits PLANNING_ERROR; the planner falls back to a distant waypoint, leaving the robot more than 1 m from the target.
When to apply
navigate_to_pose reports success but the robot is over 1 m away; the log shows PLANNING_ERROR; the object is near walls, furniture or room boundaries.
Strategy
Try five approach angles: direct, ±90°, ±45°. Rotate the approach vector around the object to find gaps. Keep the first success.
Code sketch
A loop that rotates the unit vector, computes target_xy and target_yaw, and breaks on the first navigate_to_pose that succeeds.

Paraphrased from the paper's navigation-skill entry App. A, Fig. 13.

Nobody wrote the categories in advance. "We do not prescribe this taxonomy" §2.2. They emerged from the agent's own repairs. There are localization skills (which of two bowls is "front"), SAM3 prompting, navigation recovery, and motion primitives like a linear push for flat objects. There are object-specific grasps and scene understanding. There are even debugging workflows, such as "a one-off failure is noise; the same failure across seeds is a pattern" App. A.

Two checks before a skill gets in

A wrong skill is worse than none: it will be retrieved and followed. So admission has two checks §2.2. First, the actor that found the fix reports the failure mode, the validated fix, and a proposed skill. Then a fresh verifier actor receives only the proposed skill and tries the source task again on a subset of seeds, marking entries sound, defective or untested. The coordinator promotes only entries whose success the verifier reproduced, and checks they obey the allowed API.

One more design choice keeps contexts small. The coordinator runs one actor per task, in parallel. Actors never swap chat histories or raw rollouts. Only distilled skills pass between them §2.

How fast does the library cover new tasks?

Suppose failure kinds occur with probabilities p1, p2, … and the agent has met k failures so far. A failure of kind i is already in the library if it showed up at least once in those k draws. So the share of a new task's failures the library already covers is:

coverage(k)
The chance a fresh failure is one the library already holds a validated fix for.
Σ over kinds
Add up over every failure kind.
pi
How often failures of kind i happen.
k
How many failures the agent has met and fixed so far.

Worked numbers: three kinds with p = 0.5, 0.3, 0.2, after k = 2 failures. Coverage = 0.5(1 − 0.52) + 0.3(1 − 0.72) + 0.2(1 − 0.82) = 0.375 + 0.153 + 0.072 = 0.60. Common failures are covered fast; rare ones slowly. That shape, quick early gains then a long tail, is what the paper reports as the library grows (Chapter 8).

Grow the library

Slide through a stream of tasks. Each green square is an admitted skill, sized by how often it was reused. Turn the verifier off to see defective skills get in.

40

A toy: 60 failure kinds with Zipf frequencies, 2 failures per task, and 30% of proposed fixes defective (they only worked by luck on the source seeds). The verifier catches 90% of defective proposals. The paper's Figure 1 reports skills learned across 150+ simulated tasks.

# the shape of a skill record, and retrieval (a sketch, not the released code)
from dataclasses import dataclass

@dataclass
class Skill:
    name: str            # "Multi-Angle Approach"
    signature: str       # the failure as seen in the trace
    when: list[str]      # guards: conditions that must hold
    strategy: str        # what to do instead
    sketch: str = ""      # optional code
    verified: bool = False

def admit(skill, verifier, library, seeds):
    ok = verifier.reproduce(skill, seeds)      # a fresh actor retries the source task
    if ok and follows_api_policy(skill):
        skill.verified = True; library.append(skill)

def guidance(library, task_text, trace_text, k=8):
    # the agent reads the matching skills before writing or repairing code
    hits = [s for s in library if matches(s.when, task_text, trace_text)]
    return "\n\n".join(render(s) for s in hits[:k])  # goes into the prompt
What must happen before a proposed skill enters ASPIRE's library?

Chapter 6

Evolutionary search over programs

See how patching one program can trap the agent, and how a population of different programs escapes

Iterative debugging has a failure mode of its own. The paper: it "can collapse into local repair loops, where the actor repeatedly patches the same failed strategy instead of exploring fundamentally different ways to solve the task" §2.3.

The paper's case study shows such a trap. A book must go under a shelf, and the gap is too low for a hand holding an upright book. Grasping upright and tweaking the motion never works. The winning programs abandon the grasp: one model's program "knocks it flat without grasping it and pushes it under" §3.9. No small patch gets from one strategy to the other. You need to try a different program.

Evolutionary search keeps a population. In each round the agent proposes K candidate programs, conditioned on the top three programs so far, their failure traces, and the skill library. Every candidate runs in the engine. The best one becomes the new champion if it beats the old one. Search stops when the champion reaches a success threshold θ on the debug seeds, or after T rounds Alg. 1.

One trajectory, or a population?

The curve is debug-seed success for each program strategy. Single-trajectory repair makes small changes to the current program. Evolution samples K candidates, some near the best programs and some new. Press Round until the threshold or the budget of 5 rounds.

4

An illustrative landscape. The strategy names come from the paper's book-under-the-shelf case study Fig. 10; the heights are made up. Half of each round's candidates mutate a top-3 program a little; half try a new strategy.

Why a population helps

Say one candidate has a small chance p of landing on a better, different strategy. With K independent candidates per round, the chance at least one does is:

P(escape)
The chance one round finds a program better than the current champion.
p
The chance a single candidate finds it.
K
Candidates proposed and executed per round.

Worked numbers: p = 0.1 and K = 4 give 1 − 0.94 = 0.34 per round. Over T = 5 rounds, 1 − 0.920 = 0.88. A single trajectory with p = 0.1 and 5 tries gets 1 − 0.95 = 0.41, and in practice less, because its tries are not independent: they are all small edits of the same program.

The paper measures this directly. On low-performing tasks, average success climbs from about 28% to about 60% over five search iterations, steeply at first, then with diminishing returns Fig. 7c. One task, pushing a plate to the stove under the task perturbation, went from 0% to 80% in a single round Table 12.

# Algorithm 1 of the paper, as runnable Python (execute and propose are supplied)
def evolve(task, P0, S_dbg, S_eval, library, agent, K=4, T=5, theta=0.9):
    r_best, Z0 = execute(P0, S_dbg)                # score on debug seeds + trace bundle
    P_best, H = P0, [(P0, r_best, Z0)]
    for i in range(T):
        top3 = sorted(H, key=lambda h: h[1], reverse=True)[:3]
        cands = agent.propose_repairs(task, top3, library, H, n=K)
        for P in cands:
            r, Z = execute(P, S_dbg)               # every candidate gets its own trace
            H.append((P, r, Z))
            if r > r_best: P_best, r_best = P, r
        if r_best >= theta: break
    patterns = extract_validated_patterns(H, P_best)   # debug history only
    r_eval, _ = execute(P_best, S_eval)            # held-out seeds, run once, after search
    return P_best, r_eval, patterns
With p = 0.1 per candidate and K = 4 candidates, what is the chance a round finds a better program?

Chapter 7

The results

Read the three benchmark families, decode "up to 77%", and see what the engine and the search each add

The main results use Claude Code with Claude Opus 4.6 as the coding agent §3.1. Three benchmark families test different things §3.2:

BenchmarkWhat it testsBaselines
LIBERO-ProShort tabletop tasks under perturbation: objects moved (position) or instructions reworded (task). Suites Object, Goal, Spatial, 10 tasks each.OpenVLA, π0, π0.5 (end-to-end VLAs) and CaP-Agent0 (a coding agent)
RobosuiteContact-rich manipulation, including two-arm (bimanual) tasksCaP-Agent0
BEHAVIOR-1KLong-horizon household mobile manipulation: navigate, then pick up a soda can or a radioHuman-written programs, CaP-Agent0

The numbers, from the tables

Pick a benchmark. Each group compares methods on held-out seeds. The ablation shows what each ASPIRE component adds.

Every bar is a number from the paper: Tables 5, 6 and 7 (Opus 4.6), and the ablation in §3.8 with Tables 10 and 11. ASPIRE runs one program per task on all held-out seeds; CaP-Agent0 regenerates a program per seed.

Decoding the abstract's percentages

The abstract says ASPIRE "surpasses prior methods by up to 77% on manipulation tasks under perturbation, 72% on Robosuite's bimanual handover task, and up to 32% on long-horizon household tasks". These are percentage points: differences between success rates, not ratios. On LIBERO-Pro, the paper averages the position and task perturbations and subtracts the strongest baseline in each suite §3.4:

gain
ASPIRE's advantage in percentage points for one suite.
Apos, Atask
ASPIRE's success under the position and the task perturbation.
Bpos, Btask
A baseline's two scores; take the baseline with the best average.

Worked numbers, Object suite: ASPIRE (98 + 95)/2 = 96.5. CaP-Agent0 (22 + 18)/2 = 20. Gain = 76.5, about 77 points. Goal: 63 − 21.5 = 41.5. Spatial: 55.5 − 13 = 42.5 Table 5. Bimanual handover: 92 − 20 = 72 points Table 6. Radio pick-up task success: 88 − 56 = 32 points Table 7.

Three more readings matter. The end-to-end VLAs score 0% on most perturbed LIBERO-Pro cells; π0.5 is the best of them, and "largely collapses under task paraphrases" §3.4. On BEHAVIOR-1K, ASPIRE beats programs written by human experts: radio task 88% against 36% Table 7. And it is not uniformly better: Robosuite two-arm lift is 71% against CaP-Agent0's 74%, and nut assembly reaches only 9% with Opus 4.6 Table 6.

What each part adds

The ablation removes components on LIBERO-Pro. Without the engine or the search, the agent writes programs zero-shot from 15 example programs: 14% macro-average success. Adding the robot execution engine (with iterative debugging and the library) raises it to 62%. Adding evolutionary search reaches 72% §3.8. The engine is the big step; search fixes what is left.

The abstract's "72% on Robosuite's bimanual handover" comes from which numbers?

Chapter 8

Transfer, forward and backward

Grow the library on short tasks and test it zero-shot on unseen long ones, then let late skills repair early tasks

The real test of a library is a task it never saw. The paper builds library snapshots from N ∈ {0, 25, 50, 90} LIBERO-90 tasks, then writes one program for each held-out LIBERO-Pro Long task, with "no additional debugging, retries, or task-specific library updates" §3.5. Zero-shot means exactly that: no practice on the new task.

LIBERO-Pro Long tasks chain several steps: put the soup and the tomato sauce in the basket; turn on the stove and put the moka pot on it. The library was built on shorter tasks. The question is whether short-task repairs compose into long-task competence.

Library size against zero-shot success

Pick how many source tasks fed the library, and which perturbation to inspect. The top chart is the average; the grid shows each of the 10 held-out tasks.

All values from Tables 8 and 9 (Opus 4.6, 50 seeds per task). Baselines from Table 8: CaP-Agent0 5.2% and 2.4%, π0.5 8.0% and 1.0%, OpenVLA and π0 0%.

The overall number in the abstract is the mean of the two perturbations:

overall
The headline zero-shot success.
pos
Mean success over the 10 tasks under the position perturbation.
task
Mean success over the same 10 tasks with reworded instructions.

Worked numbers at N = 90: (22.6 + 38.3)/2 = 30.45, reported as 30.5%, the abstract's 31%. CaP-Agent0: (5.2 + 2.4)/2 = 3.8%, the abstract's 4%, "despite their heavy reliance on test-time reasoning and retries" abstract, Table 8. The curve rises with library size: 4.7%, 13.7%, 21.5%, 30.5% for N = 0, 25, 50, 90.

Look at the grid, though. The average rises, but single tasks do not all rise. "Stove + moka pot" under the task perturbation goes 68% at N = 50, then 26% at N = 90. Two tasks stay at 0% at every size Table 9. A bigger library can also hold advice that misleads a particular task. The paper names this risk in its limits: entries "may later become stale, redundant, or misleading" §5.

Backward transfer: late skills help early tasks

Tasks run in sequence, chosen by the coordinator acting as a curriculum: fill a gap in the library, try an existing skill on a new task, or follow up a recent finding §2.4. Early tasks see a small library. So an early low score "may reflect missing skills rather than task difficulty". After all tasks finish, the coordinator reruns low scorers once with the full library §2.4.

Rerun with the full library

Five LIBERO-Pro Long tasks that scored low on their first pass (Claude Opus 5). Press Rerun to apply the complete library.

Values from Table 2: each task has 50 held-out seeds; the suite has 20 tasks, 1,000 evaluations in all.

The suite-wide change is counted in successes: (822 − 746) / 1,000 = +7.6 points, from 74.6% to 82.2% Table 2. Four of five reruns improve. The two drawer tasks gain the most (+52 and +72 points). The mug-in-microwave task stays at 0%.

What does the paper's per-task zero-shot grid show that the average hides?

Chapter 9

Scaling with the model

Swap the LLM behind the agent, plot success against dollars, and see stronger models change strategy rather than polish it

ASPIRE's loop is fixed: the same API, environments, seed splits and protocol. Only the LLM inside the agent changes. The paper runs twelve models from Anthropic, OpenAI and two open-weight families §3.1. On LIBERO-Pro Goal under the position perturbation, with an empty library and no evolutionary search, success goes from 15% (GPT-6 Luna) and 56% (Claude Opus 4.6) to 99% (Claude Opus 5.5 and Sonnet 5.5). The best open-weight model, Kimi K3, reaches 78% §3.8.

Success against cost

Each dot is one LLM driving ASPIRE on the 10 Goal tasks. Tap a dot to read it. Turn on the frontier: the models that no cheaper model beats.

All values from Table 18: held-out success on LIBERO-Pro Goal, position perturbation, 50 seeds per task; cost at list API prices. Hollow dots are open-weight models.

A useful single number is what you pay per successful task, not per attempt:

cost per success
Dollars spent for each task the model actually solves on held-out seeds.
cost per task
The model's average API bill to debug one task.
success
The held-out success rate, as a fraction.

Worked numbers: Sonnet 5.5, $12.11 / 0.988 = $12.26. Opus 5.5, $18.29 / 0.992 = $18.44. Opus 5, $59.72 / 0.906 = $65.92 Table 18. "Stronger models are not necessarily more expensive" §3.8: a stronger model may finish in fewer rounds.

Stronger models change strategy

With Opus 5.5, ASPIRE "nearly saturates" the benchmarks: 99% average across all 80 LIBERO-Pro tasks and 97.9% on Long. It reaches 100% on Robosuite, where nut assembly rises from 9% to 100%, and 100% on the two BEHAVIOR-1K tasks abstract, §3.8.

The case study shows how §3.9, Fig. 10. Push a plate to the stove when a bowl sits in front of it and a box blocks its path. Opus 4.6 pushes without moving the plate (0%). Opus 5 loses its grip and drags the bowl (0%). Opus 5.5 pushes the bowl and the box out of the way, then pushes the plate (84%). GPT-6 Astra does not push at all: it lifts the plate over the clutter (62%). In the paper's words, "weaker models keep the default grasp-and-move strategy and fail at the robot's limits. Stronger models change strategy" §3.9.

Why does the paper call Claude Sonnet 5.5 Pareto-optimal in its model ablation?

Chapter 10

Real robots

Carry skills from a simulated Franka arm to a real two-arm robot, and watch a Rubik's Cube get cheaper to turn

Simulation skills were learned on a Franka arm. The real test station is a bimanual YAM: different arms, different perception and calibration, a different robot API §3.6. So this is not deploying a program. The real-robot coding agent (GPT-5.5 in Codex) still debugs on the real robot through ASPIRE's traces. The question is narrower: does reading a simulation skill make that debugging cheaper?

Skills on a real robot

Pick a task. Bars compare total tokens spent until the first successful program (log scale), without and with the transferred skill. The Rubik's Cube shows tokens and minutes per face turn over three episodes.

All values from Table 1 and Figure 6 / §3.7. Success counts are out of 20 real evaluation trials.

A natural measure is how many times fewer tokens the agent needs with the skill:

reduction
How many times cheaper debugging became.
tokenswithout
Total tokens until the first successful real program, with no retrieved skill.
tokenswith
The same, when the simulation skill is in the prompt.

Worked numbers, soda can: 61.94 M / 6.58 M = 9.4 times, "nearly an order of magnitude", while success rose from 13/20 to 19/20 Table 1. Drawer: 334.92 M / 81.67 M = 4.1 times, and without the skill the budget ran out with no working program (0/20); with it, 11/20. Bowl on plate: 8.65 / 5.11 = 1.7 times, both 20/20.

Learning online: the Rubik's Cube

Here ASPIRE learns skills on the real robot itself. GPT-6 Astra acts as a "system-2": it calls perception and action tools through MCP, may call a symbolic cube solver for the move sequence, and must physically realize every turn §3.7, App. D. It writes what it learns as text skills: two-layer support, single-layer isolation, face-axis alignment, collision-avoiding handovers, slip recovery §3.7.

Episode 1 stays unsolved after 50 min 54 s. Episodes 2 and 3 solve the cube. Time per completed face turn falls from 16 min 58 s to 7 min 48 s to 3 min 05 s. Tokens per turn fall from 11.27 M to 2.01 M, and estimated cost per turn from $16.85 to $2.89 §3.7. A human still scrambles the cube, resets the scene and supplies initial guidance §5.

What did transferring a simulation skill to the real YAM robot change most consistently?

Chapter 11

Connections

Weigh what ASPIRE amortizes and what it still pays per task, list its honest limits, and place it among code-as-policy, skill-library and VLA work

The cheat sheet

IdeaIn one line
Code as policyRobot behaviour as a program of primitive calls; reliability multiplies, P = Π pi.
Failure attribution"Failed" costs about (n + 1)/2 reruns; a per-primitive trace names the step.
Execution engineAPI, inputs, outputs, status and keyframes around every call; 14% → 62% in the ablation.
Debug / held-out seedsRepair on a small split, judge one program on a larger unseen split.
Skill librarySignature, guard, strategy, sketch; admitted only if a fresh verifier reproduces it.
Evolutionary searchK candidates from the top 3 and their traces; escapes local repair loops; 62% → 72%.
TransferZero-shot unseen long tasks 4% → 31%; backward reruns +7.6 points.
Model scalingSame loop, better LLM: up to 99% on LIBERO-Pro; Sonnet 5.5 on the cost frontier.
Real robotsSim skills cut real debugging tokens up to 9.4×; online skills solve a Rubik's Cube.

The amortization argument

Guangzhao He's post "A New Era for Agentic Vision and Robotics Research" cites ASPIRE as reference 4. He calls agent robotics demos like it cool, but argues they should become data engines. Use the slow agent once to produce supervision, then train fast models such as VLAs. That argument deserves an honest answer, because ASPIRE already amortizes, at two levels. Within a task, the agent pays once: about $11 to $60 of LLM calls with the models in Tables 21 and 23. The result is one program that runs on every held-out seed with no LLM in the loop. Across tasks, the skill library amortizes debugging itself: real-robot tokens drop up to 9.4 times, and Rubik's Cube cost per turn falls from $16.85 to $2.89. But it stops short of He's step. Each new task still needs a frontier LLM session of tens of minutes. The knowledge lives in text read by a frozen model, not in weights. And the programs are bounded by a fixed API of slow primitives, not a reactive visuomotor policy. Its validated programs and per-primitive traces look like exactly the verified supervision a VLA data engine needs; the paper does not train one.

Where is the cost paid?

Three ways to run many robot episodes. Slide how many distinct tasks you need and how many episodes each task runs. Bars show total cost (log scale).

100
100

Illustrative. Only the $17 per task for ASPIRE comes from the paper (Opus 5.5 on LIBERO-Pro Long, Table 23). The agent-in-the-loop cost ($1.50 per episode), the program's execution cost, and the distilled policy's training cost ($20,000 plus ASPIRE on 200 teaching tasks) are assumptions. The paper does not train a distilled policy.

Honest limits, from the paper

Where it sits

ASPIRE joins two lines of work. From code as policies (Liang et al., 2023) through CaP-X (Fu et al., 2026), language models write robot programs; ASPIRE adds fine-grained traces and memory. From skill libraries such as Voyager (Wang et al., 2023, also from NVIDIA), agents store what worked; ASPIRE stores repairs attributed to embodied failures, verified before admission §4. Its search borrows from LLM-driven program evolution such as FunSearch and AlphaEvolve. On the other side stand end-to-end VLAs (OpenVLA, π0, π0.5), which scored far lower under perturbation here, and which a data-engine reading of ASPIRE would aim to train.

Related lessons

In what sense does ASPIRE already amortize, and where does it stop?
The takeaway. ASPIRE turns a coding agent into a robot programmer that compounds: it sees what each step did, fixes the true cause, checks the fix, and keeps it. With today's frontier models that nearly saturates standard benchmarks. The open question is the next step: turning those verified programs into fast policies.

Now press Present or Teach and explain, from memory, why a per-primitive trace and a verified skill library make the hundredth task cheaper than the first. Then go back to the hero and find the perturbation where the library starts to matter.

Based on "ASPIRE: Agentic /Skills Discovery for Robotics" by Runyu Lu, Yubo Wu, Ethan Kou, Haotian Lin, Letian Fu, Wenli Xiao, Ajay Mandlekar, Yinzhen Xu, Guanya Shi, Ken Goldberg, Ang Chen, Mosharaf Chowdhury, Jan Kautz, Yuke Zhu, Linxi "Jim" Fan and Guanzhi Wang (NVIDIA GEAR, UMich, UIUC, UC Berkeley, CMU), 2026. Every number about the paper is from its text, tables and figures; toy numbers are marked illustrative.
Read the paper · Project page · Back to Veanors