Agentic TTPO

Agentic TTPO

Test-Time Policy Optimization
for Robot Learning

Try the interactive demo

Agentic Test-Time Policy Optimization

Abstract

Agentic Test-Time Policy Optimization (Agentic TTPO) improves robot policies through a cycle of experience, imagination, and learning. The foundation policy provides a behavioral prior. An agent constructs a simulator through an agentic harness and searches for local corrections to policy failures. A shared binary rubric guides behavioral evaluation and policy refinement. Each iteration uses execution feedback to revise corrections and evaluate how the policy continues after intervention. This separates the computation used to discover better behavior from the computation required to execute it. The updated policy retains real-time control without online agent intervention.

Policy optimization πk→πk+1\pi_k \to \pi_{k+1}

Simulation

Policy

πk\pi_k

Current round

Rollouts

Agentic harness

τ1\tau_1Failed
τ2\tau_2Success
τG\tau_GFailed

Refined rollouts

Agent-guided search ×J\times JPrefixEditResume

τ1′\tau'_1Success
PrefixEditResume
τ2′\tau'_2Success
Preserved
τG′\tau'_GFailed
PrefixEditResume

Agentic rubric

rφ(τ1′)=1r_\phi(\tau'_1) = 1
rφ(τ2′)=1r_\phi(\tau'_2) = 1
rφ(τG′)=0r_\phi(\tau'_G) = 0

Edit a failed rollout

Pick up the bowl and place it in the drawer.

Original rollout

Ready

Action edit

Waiting
0 mm

Policy continuation

Waiting

Search depth J scaling the performance

Assisted success and cumulative API cost (medium reasoning effort)

Agent J=1 J=2 J=4 J=8 J=16
GPT-6.1 Terra84.5%$4.087.5%$5.989.0%$8.790.0%$13.991.5%$21.5
GPT-6.1 Sol83.0%$7.885.0%$11.987.5%$18.390.0%$29.192.0%$44.5
GPT-6.2 Sol85.0%$8.487.0%$12.289.5%$18.593.0%$27.193.5%$40.4
GPT-6.2 Astra84.5%$30.689.0%$44.990.0%$65.092.0%$98.092.5%$152.5
Claude Haiku 5.581.5%$1.986.0%$3.188.0%$5.090.5%$7.493.0%$9.6
Claude Sonnet 5.580.0%$16.383.0%$26.387.0%$42.190.5%$64.791.0%$87.4
Claude Opus 5.583.0%$33.586.5%$51.289.0%$78.490.0%$122.991.5%$169.1
Claude Fable 5.289.5%$75.292.0%$100.094.0%$136.394.5%$188.494.5%$249.3

Experimental results

Real robot NexArm

LIBERO-Plus

RoboCasa

Simulation Benchmark

Standalone success rises by 7.0–23.0 percentage points across the three benchmarks.

Base policy Gain after Agentic TTPO
LIBERO-PlusFast-WAM
66.4%89.4%
RoboCasaπ0.5\pi_{0.5}
61.5%74.0%
RoboTwin 2.0π0.5\pi_{0.5} · randomized
49.5%56.5%

Real Robot

Agentic TTPO succeeds on 16 additional cases across 30 matched trials.

4/30Continued SFT
20/30Agentic TTPO
Both succeed Only TTPO succeeds Both fail

Insights

What the experiments show

Most failures are one chunk edit away from success. Compare a chunk-level policy correction with full agent takeover.
Success, time, and cost on matched episodes
Benchmark Base Single chunk Takeover Time per failureChunk / takeover Total API costChunk / takeover
LIBERO-Plus200 episodes67.5%90.0%93.5%344 / 1,225 s$14.3 / $51.4
RoboCasa200 episodes58.0%78.5%79.0%212 / 1,119 s$19.2 / $125.7
RoboTwin 2.0100 randomized episodes46.0%72.0%70.0%933 / 1,381 s$29.0 / $40.4

Chunk-level edits are sufficient to improve success rates

Single edits improve success over the base policies by 22.5 percentage points on LIBERO-Plus, 20.5 on RoboCasa, and 26.0 on randomized RoboTwin 2.0. On RoboTwin 2.0, a single edit also finishes 2.0 points ahead of full takeover.

Full takeover takes 1.5–5.3× as long per failure and costs 1.4–6.5× as much across the three panels.

Table 3 and Appendix D.5
Full takeover disrupts the training data.
Training dataSeed 1/2/3Mean ± SD (%)
Base of 33 LIBERO demos
+ 200 LIBERO-Plus demos84 / 80 / 8081.3 ± 2.3
+ 49 takeover trajectories66 / 20 / 3640.7 ± 23.4
Base of 50 LIBERO-Plus demos
No replacement54 / 56 / 6859.3 ± 7.6
Replace 25 demos with takeover trajectories64 / 52 / 5657.3 ± 6.1

Mean success rate falls at a fixed dataset size

On the drawer task, adding 200 LIBERO-Plus demonstrations to the 33 LIBERO demonstrations yields a mean success rate of 81.3%. Adding 49 successful takeover trajectories to the same base yields 40.7%. Across seeds, success rates range from 20% to 66%, and the standard deviation rises from 2.3 to 23.4 percentage points.

With 50 LIBERO-Plus demonstrations, the mean success rate is 59.3%. Replacing 25 of them with successful takeover trajectories lowers it to 57.3%, suggesting that full takeover data can hurt performance at the same training set size.

Table 2 and Appendix D.5
The ceiling keeps rising as models improve. Compare Fast-WAM and π0.5\pi_{0.5} before and after Agentic TTPO on LIBERO-Plus.
Overall standalone success on LIBERO-Plus
Base policy Gain after Agentic TTPO
Fast-WAM
66.4%89.4%
π0.5\pi_{0.5}
85.1%91.3%

A stronger base policy reaches a higher final success rate

π0.5\pi_{0.5} starts at 85.1% and reaches 91.3%, finishing 1.9 percentage points above Fast-WAM overall. It also finishes higher on Spatial, Object, and Goal. Fast-WAM gains 23.0 points from its lower baseline.

Table 1 in the paper
Standalone success by task suite
PolicyTrainingSpatialObjectGoalLongOverall
Fast-WAM Base65.9%75.4%65.3%59.0%66.4%
Agentic TTPO95.3%92.6%82.5%87.5%89.4%
π0.5\pi_{0.5} Base91.5%90.3%78.5%80.7%85.1%
Agentic TTPO95.5%95.9%86.7%87.2%91.3%
Can a policy keep improving without forgetting? KL ablation on RoboCasa with π0.5\pi_{0.5}
With KL Without KL Standalone Agent Refine

KL sustains standalone gains

Without KL, standalone success peaks at 76.5% in round 3 and drops to 72.0% in round 4 and 71.5% in round 5. GPT refinement for the same policy reaches 91.0% in round 4. With KL, standalone success rises or holds each round and reaches 74.0% in round 5.

Across later updates without KL, the policy gradually forgets previously learned behaviors, and more tasks it once solved end in failure. GPT refinements turn some failed rollouts into successes. Standalone success trends downward as the losses from forgetting accumulate.

Figure 7 and Appendix D.5