Manuscript Offprint
arXiv:2610.34108RoboDuo: Attempt, Check and Atomic Recovery through Code for Vision-Language-Action Models
Abstract
Vision-Language-Action (VLA) models map a language instruction and the current observation directly to actions, without checking whether the instruction has been completed. For long-horizon tasks, a single failed step therefore goes unnoticed and leaves the whole task unfinished. Such failed episodes, however, often end with the task partially complete. Moreover, the unfinished steps are reusable atomic skills that recur across demonstrations. A failed attempt can thus be recovered by composing with atomic skills. We propose RoboDuo, a closed-loop dual-system framework that uses code as the interface between a coding agent and two VLAs. The agent writes a program that lets a full-task VLA attempt the whole task and checks whether it is complete; on failure, an atomic VLA finishes the remaining steps. Since the agent emits no actions and only decides which VLA for execution, RoboDuo wraps an existing full-task VLA without updating its weights. To train the atomic VLA and the coding agent with the completion-checking ability, we build LIBERO-Atomic, LIBERO-Code, and LIBERO-Judge from a single set of LIBERO demonstrations. RoboDuo consistently improves X-VLA and on LIBERO and LIBERO-PRO, with the largest gains on long-horizon tasks, and recovers failed rollouts of a frozen full-task VLA on a real robot.
1. Introduction
Vision-Language-Action (VLA) models [3, 5, 16, 28, 40, 41] map a language instruction and the current observation directly to low-level actions, and have become a standard approach to language-conditioned manipulation. The policy is re-queried on each new observation, yet nothing checks whether the current observation satisfies the intended goal. Execution therefore continues under the same instruction even after a step has failed. Consider an object that slips from the gripper during transport. The post-slip state is rare in the demonstrations, so the policy rarely grasps and may instead continue its learned trajectory, for example by placing with an empty gripper. On a long-horizon task, that unnoticed failure leaves the remaining steps unfinished, and the episode fails even though earlier progress was correct.
One route is to place this decision-making functionality inside the action model. Systems built on GPT-6-Astra [27] use one large model to generate numerical robot actions, judge the outcome during execution, and emit a correction within the same forward pass [12]. However, the scale that enables such judgment and correction also slows every inference step. Even steps that a fast policy could execute unchanged must wait on the large model, and the resulting latency falls short of the control rate required for physical deployment.
Dual-system architectures instead place the decision model outside the action model. In Helix and related systems, a high-level model passes a language command, a token, or a latent vector to a single low-level policy [2, 6, 8, 9, 28–30, 38]. This interface changes what the low-level policy is conditioned on, but it cannot express a failed attempt, a retry, or a switch to a different executor. Code-as-policy methods provide exactly this control flow, in which an agent writes a program that tests the outcome of each skill and retries it on failure [13, 14, 20, 21, 31]. Because these programs call primitives or VLA skills from the first step, they largely discard the long-horizon competence of a full-task VLA. Code is therefore better used to wrap one attempt by that VLA, and to close the loop only after the attempt fails.
Building on this principle, we propose RoboDuo, a dual-system framework in which a coding agent uses code as the interface to two frozen VLAs (Fig. 1). The agent serves as an orchestrator and writes a task program. The program first assigns the task to the full-task VLA for one attempt, after which is_task_complete evaluates the new observation. If the task fails, the agent plans the unfinished steps from the current observation as atomic instructions. An atomic VLA then executes these instructions to the end of the task, with at most three attempts per step, and the control does not return to the full-task VLA. We employ a separate
MOTIVATION
ROBODUO

RESULTS
Figure 1. Overview of RoboDuo and its results. Left: open-loop VLAs fail long-horizon tasks after one unnoticed slip; token/latent dual systems cannot switch executor, and code-as-policy skips the full-task attempt. Center: RoboDuo uses a coding agent to Write a program, a frozen full-task VLA to Act, is_task_complete to Judge, and a frozen atomic VLA to Recover with at most three retries per step; control does not return. Right: matched gains on LIBERO, LIBERO-PRO (S/T), and a real robot. Bottom: one rollout from full-task attempt through failure detection to atomic recovery.
atomic VLA since each atomic instruction describes a short segment already present in the demonstrations, whereas the full-task VLA is trained only on full-task instructions. We construct LIBERO-Atomic, LIBERO-Code, and LIBERO-Judge from the same demonstrations to train the atomic VLA, the coding agent, and the completion check, respectively. We instantiate RoboDuo on X-VLA and without updating the weights of either full-task VLA.
On LIBERO-Long, RoboDuo raises the success rate of X-VLA from 87.4% to 91.6% and that of from 93.6% to 96.2%. On LIBERO-PRO, RoboDuo raises the mean success of from 32.05% to 39.33%, with the largest gain on Object-T (25.2 → 55.8). On a real robot, RoboDuo raises success from 36.7% to 53.3% over three fruit-arrangement layouts, without updating the frozen full-task VLA.
Our main contributions are summarized as follows:
• We propose RoboDuo, a closed-loop dual system that uses code, rather than a token or a latent vector, as its interface. When the full-task VLA fails, an atomic VLA executes the remaining steps.
• We construct LIBERO-Atomic, LIBERO-Code, and LIBERO-Judge from the same successful demonstrations to train the atomic VLA, the coding agent, and the completion check, respectively.
• We instantiate RoboDuo on X-VLA and and evaluate it on LIBERO, LIBERO-PRO, and a real robot. The gains concentrate on long-horizon tasks that fail because a single subtask fails.
Dual Systems and Code as Policies. Dual-system architectures place a slow vision-language model above a fast policy. In Helix and related systems, the upper model passes a language command, a token, or a latent vector to that policy [2, 6, 8, 9, 28–30, 38]. This interface changes only the conditioning of the same executor, and these systems typically lack an explicit completion check. By contrast, systems built on GPT-6-Astra let one large model emit the actions directly, so every control step incurs the inference latency of that model [12]. Code-as-policy methods write programs over control primitives, situated plans, value maps, or keypoint constraints [13, 14, 20, 31]. More recent agents also call frozen VLA policies as skills [21]. In these

Figure 2. RoboDuo architecture: a generated program dispatches two VLA policies. Given the instruction and the current observation, the coding agent writes a two-layer program. Layer 1 makes one full-task attempt with ; if is_task_complete returns false, Layer 2 executes an atomic plan with , retrying each step at most three times until its goal is verified. Both policies stay frozen, so the same program wraps X-VLA and without retraining. The bottom row shows one LIBERO-Goal-Swap rollout: after the full-task attempt fails, the atomic VLA grasps the bowl and places it in the drawer.
systems, the program serves as the plan from the first step, so no full-task policy ever attempts the task as a whole. RoboDuo also uses code as the interface, but its coding agent emits no actions. The full-task VLA first attempts the whole task, and the atomic VLA takes over only after the completion check fails.
Failure Correction and Recovery. Several methods intervene around a failure and then let the original policy continue. FPC-VLA corrects the direction and magnitude of the current action when the gripper state changes [33]. Spotter repairs a confirmed error with motion primitives before returning control to the original policy [18]. RoboFAC appends a recovery subtask or an end-effector direction to the prompt, while the original VLA still produces the actions [34]. Recova learns a recovery policy from failed scenes and human demonstrations, and likewise returns control once the scene becomes workable again [24]. In all of these methods, the original policy ultimately executes the remaining steps. Embodied-R1.5 instead plans and corrects within a single model, without separating the decision model from the executor [36]. RoboDuo plans the remaining steps as atomic instructions and executes them with an atomic VLA trained only on short segments of successful demonstrations. Both VLAs stay frozen at test time, and control does not return to the full-task VLA.
3. Method
RoboDuo turns a single VLA rollout into a verified attempt. A coding agent writes a program that gives a frozen full-task VLA one attempt on the original instruction and then tests the resulting observation with a completion check. If the test fails, the program executes the remaining subtasks with an atomic VLA, which is trained on short clips that each contain a single complete skill. The two VLAs produce every action, whereas the coding agent and the completion check only decide which VLA to query and which instruction to give it. Sec. 3.1 formalizes the setting, and Sec. 3.2 presents the dual-system execution. Sec. 3.3 describes the segmentation of demonstrations into effect-complete clips, and Sec. 3.4 describes how the atomic VLA, the coding agent, and the completion check are trained. Fig. 2 shows one execution.
3.1. Problem Formulation
A robot demonstration is a tuple
where is a language instruction, is the observation at time , which includes camera images and the robot state, and is the action at that step. A VLA predicts the next action from the current observation and the instruction,
Executing Eq. (2) from yields a trajectory under a fixed instruction . At each step the policy sees a new observation , but does not change and no check asks whether satisfies the intended goal. The program in Sec. 3.2 supplies this test, while Eq. (2) and its parameters remain unchanged.
3.2. Dual-System Execution via Code
RoboDuo separates a slow system that decides from a fast system that acts. The fast system consists of two policies of the form in Eq. (2). The full-task VLA is conditioned on , whereas the atomic VLA is conditioned on a single atomic instruction. The slow system consists of the coding agent and the completion check . At the start of an episode, reads and and writes the program together with its atomic plan,
where is the program, is the -th atomic instruction, is its sub-goal in language, and is the number of atomic steps. For example, may be move_to_and_grasp black_bowl, with the sub-goal "the black_bowl is grasped". The completion check, implemented as is_task_complete, predicts whether a goal holds in an observation,
where indicates that is satisfied in .
By composing the two systems, RoboDuo selects each action as
where is the time at which the full-task attempt ends, and is the atomic step active at time . If , the episode terminates at . Eq. (5) retains the form of Eq. (2) and changes only which policy is queried and under which instruction.
The program in Fig. 2 implements this selection mechanism in two layers. Layer 1 calls vla_execute_fulltask, which rolls out from until , and then evaluates . If the check returns 1, the program stops without executing the atomic plan. Otherwise, Layer 2 iterates over , starting from . For each step, it calls vla_execute_atomic on as long as and fewer than attempts have been made, with in all experiments. Each step starts from the observation left by the previous one, and is never queried again.
Table 1. Primitive vocabulary of LIBERO-Atomic. Every primitive takes a target <object>, and place_and_release also takes a relation (on, in, or under) and a <target>. Pull and press are executed with the gripper open. Calls count vla_execute_atomic invocations in the LIBERO-PRO evaluation (4,000 episodes, including retries).
| # | Primitive | Role | Calls |
|---|---|---|---|
| 1 | move_to_and_grasp | Approach and grasp an object | 11,643 |
| 2 | place_and_release | Place a held object, then release | 8,403 |
| 3 | move_to_and_pull | Pull a drawer or door open | 1,052 |
| 4 | rotate_and_release | Rotate a held knob, then release | 488 |
| 5 | move_to_and_press | Push a drawer or door shut, or press a button | 185 |
The two systems communicate through code rather than through a latent vector or a language token. A conditioning signal can change what a policy attends to, but it cannot end a trajectory, test its outcome, retry a step, or hand control to another policy. In a program, these operations correspond to a function call, a conditional branch, and a bounded loop. Moreover, is called once per episode, and is called only after an attempt ends. Between these calls, both VLAs run at their own control rates.
3.3. Atomic Action Segmentation
RoboDuo recovers through short instructions that each name a single skill, so the training clips of must end when the effect of that skill is complete. A full-task demonstration, however, is stored under one instruction and does not mark these boundaries. We therefore decompose each demonstration into effect-complete clips,
where is the start of step and is the time at which its effect is complete. The same boundaries later define the sub-goals written by and the frame labels of .
We instantiate this segmentation on LIBERO [23] with the pipeline in Fig. 3. An industry VLM (Doubao Seed 2.1
SOURCE
LABEL
RE-CUT
OUTPUT

EXAMPLE “open the top drawer of the cabinet and put the bowl in it”
Figure 3. Construction of LIBERO-Atomic. An industry VLM labels each LIBERO demonstration with an ordered list of atomic verbs and time windows. Rule-based post-processing cleans these labels, and each clip is re-cut to end where its effect is complete. Each demonstration yields atomic clips with instructions for the atomic VLA, and a Python program of the same calls, which is wrapped into LIBERO-Code for the coding agent.
Pro [7]) reads each video once and returns an ordered list of atomic verbs with time windows. We write rules to map verb aliases onto the five primitives in Table 1 and discard labels with an unknown verb or a missing target. The rules also merge a grasp action followed by a pull on the same object into a single pull. Since a labeled window usually closes when the command is issued, we move its end to . A grasp ends when the fingers stop closing, and a place or a rotate ends once the fingers have opened 20 mm beyond the held width. The end of a press or a pull is determined by an end-effector heading proxy. Place and rotate segments are stored in their forms, and clips whose effect never completes are removed. The resulting dataset, LIBERO-Atomic, covers 125 tasks, with 9,214 clips and 5,442 programs.
3.4. Training the Atomic VLA, Agent, and Judge
The clips and programs from Sec. 3.3 train the atomic VLA , the coding agent C, and the completion check J. stays a released X-VLA or checkpoint, with its tokenizer, action expert, and training mixture unchanged. The same program wraps either backbone by swapping and the matching .
Atomic VLA. is trained only on full-task instructions and therefore cannot follow the atomic instructions issued in Layer 2. We thus train on the clips in Eq. (6), using the same architecture family as the chosen backbone, and freeze it at test time. Table 1 lists its five primitives, which account for 21,771 calls in the LIBERO-PRO evaluation.
Coding agent. Each demonstration also yields the sequence of atomic calls that produced its clips. We place this sequence behind the full-task test to form LIBERO-Code. The target program thus first attempts and falls back to the atomic plan only if the check fails. We fine-tune by maximizing the likelihood of this target,
Because every target places the atomic plan behind the full-task test, C learns to write a full-task attempt first rather than to decompose the task from the first step. The atomic calls share the verb vocabulary of the clips, so the instructions written by C remain within the training distribution of .
Completion check. LIBERO-Judge converts the same boundaries into frame labels. For a frame in the window of step ,
Each triple forms one question–answer pair. is a vision-language classifier trained on these pairs to answer whether holds in . A step is therefore accepted under the same criterion that ended the corresponding training clip of .
4. Experiments
We organize the experiments around four research questions:
-
RQ1: Does RoboDuo improve frozen full-task VLAs on standard manipulation tasks?
-
RQ2: Does RoboDuo improve robustness under position and task perturbations?
-
RQ3: How does the choice of coding agent affect recovery?
-
RQ4: Does RoboDuo transfer to a physical robot?
Unless noted otherwise, we report closed-loop task success rate (%).
4.1. Overall Performance on LIBERO
Experimental setup. We evaluate on four LIBERO suites [23], Spatial, Object, Goal, and Long, with 10 tasks per suite and 50 trials per task. RoboDuo wraps two frozen full-task backbones, X-VLA [41] and [28], each trained on the four evaluation suites or on five suites that add LIBERO-90. We test every checkpoint alone and under RoboDuo with identical full-task weights. A Qwen3.5-2B [32] fine-tuned on LIBERO-Code and LIBERO-Judge (Sec. 3.4) serves as both the coding agent and the completion check . Each backbone has a matching atomic VLA trained on LIBERO-Atomic (100k steps for X-VLA, 30k for ) on 8 NVIDIA A800 GPUs. At inference, the program makes one full-task attempt and, if reports failure, runs the atomic plan with at most three attempts per step. Table 2 also lists published LIBERO results of recent VLAs for context.
Results. Table 2 shows that RoboDuo improves both frozen backbones without lowering any suite, with gains that track how much unfinished work the base leaves behind.
Under four-suite training, Long drives most of the improvement. X-VLA rises from 95.25 to 96.40 on average (87.4 → 91.6 on Long; Spatial +0.4; Object and Goal unchanged), and from 97.25 to 98.40 (93.6 → 96.2 on Long, with smaller gains elsewhere). On Long, RoboDuo removes 33% of the failures of X-VLA and 41% of those of . Longer task chains amplify cascade failures after a single bad step, so recovery helps most there. RoboDuo + reaches 98.40, slightly above the five-suite base (98.30), without updating any weights.
Under five-suite training, both bases are already stronger on Long, so residual gains shrink: X-VLA and , again mainly from Long. These results show that a program that attempts the full task and falls back to the atomic VLA when J reports failure raises success on both frozen backbones, answering RQ1.
Table 2. LIBERO success rate (%). Upper block: published numbers from the cited papers (not rerun). Middle / lower blocks: our evaluation under four- and five-suite training, each backbone alone and with RoboDuo on the same weights. Bold marks the best average within each of our training blocks.
| Method | Spatial | Object | Goal | Long | Avg. |
|---|---|---|---|---|---|
| [3] | 98.0 | 96.8 | 94.4 | 88.4 | 94.4 |
| [28] | 98.8 | 98.2 | 98.0 | 92.4 | 96.9 |
| InternVLA-M1 [15] | 98.0 | 99.0 | 93.8 | 92.6 | 95.9 |
| GR00T-N1.7 [2] | 97.7 | 98.5 | 97.5 | 94.4 | 97.0 |
| OpenVLA-OFT [17] | 97.6 | 98.4 | 97.9 | 94.5 | 97.1 |
| Fast-WAM [35] | 98.2 | 100.0 | 97.0 | 95.2 | 97.6 |
| Motus [1] | 96.8 | 99.8 | 96.6 | 97.6 | 97.7 |
| Being-H0.5 [25] | 99.2 | 98.2 | 99.0 | 96.2 | 98.2 |
| Four-suite training (our evaluation) | |||||
| X-VLA (reproduced) | 96.2 | 99.6 | 97.8 | 87.4 | 95.25 |
| RoboDuo + X-VLA | 96.6 | 99.6 | 97.8 | 91.6 | 96.40 |
| (reproduced) | 99.4 | 98.0 | 98.0 | 93.6 | 97.25 |
| RoboDuo + | 99.6 | 99.0 | 98.8 | 96.2 | 98.40 |
| Five-suite training (our evaluation) | |||||
| X-VLA (reproduced) | 97.2 | 99.0 | 98.6 | 95.8 | 97.65 |
| RoboDuo + X-VLA | 97.4 | 99.2 | 98.6 | 96.6 | 97.95 |
| (reproduced) | 99.4 | 99.8 | 98.6 | 95.4 | 98.30 |
| RoboDuo + | 99.4 | 99.8 | 98.6 | 96.0 | 98.45 |
4.2. Robustness on LIBERO-PRO
Experimental setup. We evaluate the same checkpoints zero-shot on LIBERO-PRO [42]. For each of the four suites, a position perturbation (S, swap) and a task perturbation (T) yield eight conditions. Each of our cells aggregates 10 tasks × 50 trials (500 episodes, seed 42), for four- and five-suite backbones alone and under RoboDuo. All our rows condition the policy on the BDDL : language field, which matches the scored goal predicate; the official leaderboard uses the file-name instruction instead. Under file-name prompting, the policy is asked for the original task but scored on the perturbed one, so task-perturbation success is near zero by construction.
Results. Table 3 shows that RoboDuo improves robustness when the frozen backbone already succeeds on some perturbed episodes, and no cell falls below its base.
Under four-suite training, RoboDuo raises the eight-condition mean of from 32.05 to 39.33. The largest gains are on Object-T (+30.6) and Object-S (+11.0), where recovery can build on a partly completed attempt. Long-T and Spatial-S improve more modestly, and Spatial-T stays within noise. X-VLA moves only from 4.95 to 5.70: conditions where its base is zero stay at or below 0.4, and the largest change is Long-T (9.8 → 13.6).
Under five-suite training, the base is already stronger (43.58), and RoboDuo still adds 2.10 points to reach 45.68, again led by Object-T (32.2 → 42.2). X-VLA remains weak (7.25 → 8.50), with most of the gain on
Table 3. LIBERO-PRO success rate (%). S is the position perturbation (swap) and T is the task perturbation. Upper block: published numbers under the official file-name prompting protocol. Mean is the arithmetic mean of the eight columns. Bold marks the best result in each column.
| Method | Spatial-S | Spatial-T | Object-S | Object-T | Goal-S | Goal-T | Long-S | Long-T | Mean |
|---|---|---|---|---|---|---|---|---|---|
| OpenVLA | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.00 |
| 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.00 | |
| 20.0 | 1.0 | 17.0 | 1.0 | 38.0 | 0.0 | 8.0 | 1.0 | 10.75 | |
| MolmoAct | 0.0 | 0.0 | 6.0 | 0.0 | 0.0 | 0.0 | 0.0 | 6.0 | 1.50 |
| NORA | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.0 | 0.00 |
| X-VLA | 0.0 | 0.0 | 2.0 | 8.0 | 1.0 | 9.0 | 0.0 | 10.0 | 3.75 |
| Four-suite training (our evaluation) | |||||||||
| X-VLA (reproduced) | 0.0 | 18.0 | 0.0 | 0.0 | 2.6 | 9.2 | 0.0 | 9.8 | 4.95 |
| RoboDuo + X-VLA | 0.2 | 18.0 | 0.0 | 0.0 | 3.2 | 10.2 | 0.4 | 13.6 | 5.70 |
| (reproduced) | 63.6 | 60.6 | 20.0 | 25.2 | 39.0 | 24.2 | 12.6 | 11.2 | 32.05 |
| RoboDuo + | 67.8 | 61.0 | 31.0 | 55.8 | 39.8 | 26.2 | 15.6 | 17.4 | 39.33 |
| Five-suite training (our evaluation) | |||||||||
| X-VLA (reproduced) | 2.0 | 16.0 | 2.0 | 6.0 | 0.0 | 12.0 | 0.0 | 20.0 | 7.25 |
| RoboDuo + X-VLA | 2.0 | 18.0 | 4.0 | 6.0 | 0.0 | 12.0 | 0.0 | 26.0 | 8.50 |
| (reproduced) | 70.0 | 55.0 | 49.2 | 32.2 | 44.2 | 34.6 | 13.6 | 49.8 | 43.58 |
| RoboDuo + | 71.6 | 55.0 | 50.8 | 42.2 | 45.4 | 35.0 | 15.2 | 50.2 | 45.68 |
Table 4. Effect of the coding agent on LIBERO-PRO (%). Every RoboDuo row uses frozen as the full-task VLA, with the same atomic VLA and retry budget. GPT denotes GPT-6-Astra. Mean-6 averages Spatial, Object, and Goal; Mean-8 averages all eight columns. Cap-X and Pigey are published references that omit Long. GPT cells use 50 episodes per cell. Bold marks the best result within each backbone block (Cap-X and Pigey excluded).
| Coding agent | Spatial-S | Spatial-T | Object-S | Object-T | Goal-S | Goal-T | Long-S | Long-T | Mean-6 | Mean-8 |
|---|---|---|---|---|---|---|---|---|---|---|
| Cap-X [10] | 12.0 | 14.0 | 22.0 | 18.0 | 26.0 | 17.0 | - | - | 18.17 | - |
| Pigey [11] | 66.0 | 80.0 | 54.0 | 54.0 | 44.0 | 22.0 | - | - | 53.33 | - |
| Four-suite training (our evaluation) | ||||||||||
| None (frozen ) | 63.6 | 60.6 | 20.0 | 25.2 | 39.0 | 24.2 | 12.6 | 11.2 | 38.77 | 32.05 |
| LIBERO-Code fine-tuned | 67.8 | 61.0 | 31.0 | 55.8 | 39.8 | 26.2 | 15.6 | 17.4 | 46.93 | 39.33 |
| GPT | 68.0 | 60.0 | 36.0 | 54.0 | 38.0 | 34.0 | 20.0 | 22.0 | 48.33 | 41.50 |
| GPT + TAMP | 74.0 | 64.0 | 30.0 | 54.0 | 40.0 | 36.0 | 20.0 | 26.0 | 49.67 | 43.00 |
| Five-suite training (our evaluation) | ||||||||||
| None (frozen ) | 70.0 | 55.0 | 49.2 | 32.2 | 44.2 | 34.6 | 13.6 | 49.8 | 47.53 | 43.58 |
| LIBERO-Code fine-tuned | 71.6 | 55.0 | 50.8 | 42.2 | 45.4 | 35.0 | 15.2 | 50.2 | 50.00 | 45.68 |
| GPT | 72.0 | 56.0 | 60.0 | 54.0 | 48.0 | 38.0 | 16.0 | 54.0 | 54.67 | 49.75 |
| GPT + TAMP | 76.0 | 58.0 | 60.0 | 48.0 | 58.0 | 42.0 | 20.0 | 50.0 | 57.00 | 51.50 |
Long-T (20.0 → 26.0). Because RoboDuo reuses frozen policies, it amplifies skills the backbone partly has rather than creating new ones. These results answer RQ2.
4.3. Effect of the Coding Agent
Experimental setup. To answer RQ3, we fix the frozen full-task and atomic policies and the retry budget, and swap only the slow-system pair . We evaluate on the eight LIBERO-PRO conditions of Sec. 4.2, with trained on four or five suites. We compare two agents that each write the program and act as : the fine-tuned Qwen3.5-2B, and GPT-6-Astra [12] with few-shot code prompts and the current camera views. We also run GPT-6-Astra in a geometric TAMP scaffold that may append OSC primitives after a failed full-task VLA call, with GPT-6-Astra again acting as . Unlike Pigey [11], which selects tools step by step and observes the simulator task_done flag, our TAMP agent generates code, grounds objects with SAM3, and relies on rather than this privileged signal.
Results. Table 4 shows that coding agents are not interchangeable: with the same frozen VLAs, the eight-condition mean varies by up to 5.8 points across agents.
Every agent raises the mean above the frozen backbone. Under four-suite training, the fine-tuned agent lifts the mean from 32.05 to 39.33, GPT reaches 41.50, and GPT + TAMP reaches 43.00. Relative to the fine-tuned agent, GPT gains mainly on Goal-T, Object-S, and both Long conditions. Relative to GPT alone, TAMP gains most on Spatial-S (+6.0) and on Spatial-T and Long-T (+4.0 each), while Object-S drops by 6.0.
Under five-suite training, the same ordering holds (43.58 → 45.68 → 49.75 → 51.50). Here TAMP mainly helps position perturbations (S mean +4.5 over GPT, led by Goal-S at +10.0; T mean -1.0). Because GPT cells use 50 episodes, gaps of a few points are trends rather than strict rankings. The VLAs are identical across rows, so these differences come from the generated programs, which answers RQ3.

Figure 4. Real-world RoboDuo on a bimanual AgileX Piper for fruit arrangement across three layouts. Blue: frozen full-task VLA; red: the completion check fails and control switches; orange: recovery by the frozen atomic VLA.
4.4. Real-World Experiments
Experimental setup. We deploy RoboDuo on a bimanual AgileX Piper for fruit arrangement across three layouts (Fig. 4). A coding agent writes the program once at the start of each episode, and the frozen full-task VLA attempts the instruction first. A gripper monitor and a scene check then decide whether to hand the remaining steps to the frozen atomic VLA. GPT-6-Astra judges grasps and basket counts from the overhead and wrist views. The atomic VLA is invoked after a reported drop, a hold longer than six chunks, or a placement that does not increase the basket count. Both VLAs are fine-tuned from the same pretrained X-VLA checkpoint, on teleoperated demonstrations and on clips segmented by Sec. 3.3, respectively, and stay frozen at test time. Appendix gives the control stack, data statistics, and full switching rules.
Results. Table 5 shows that the same test-time controller transfers to the robot. On layout 1, RoboDuo raises success from to and mean fruits in the basket from 2.4 to 3.0 over 10 trials. On layout 2, success rises from to and fruits from 1.9 to 2.8. On layout 3, success stays at , but mean fruits rise from 1.8 to 2.6. Pooled over all layouts, success increases from 11/30 to 16/30 trials. In most RoboDuo trials, the atomic VLA is called after a place timeout, a detected drop, or a scene check reporting no progress, and then finishes the remaining grasp-place steps. With 10 trials per layout these differences are indicative rather than conclusive, but the gains require no on-robot update to either VLA, which answers RQ4.
5. Conclusion
We presented RoboDuo, a test-time controller that uses code as the interface between two frozen VLAs. A coding agent writes a program that gives the full-task VLA one attempt and checks the outcome with a completion check J. On failure, the program hands the remaining steps to an atomic VLA, and control does not return to the full-task policy. The same program wraps both X-VLA and without changing their weights.
Table 5. Real-world fruit arrangement on a bimanual AgileX Piper. Success rate and mean fruit count over 10 trials per method and layout. Success requires all four fruits in the basket.
| Layout | Method | Success (%) | Fruits (/4) |
|---|---|---|---|
| 1 | Full-task VLA | 40 | 2.4 |
| RoboDuo | 60 | 3.0 | |
| 2 | Full-task VLA | 30 | 1.9 |
| RoboDuo | 60 | 2.8 | |
| 3 | Full-task VLA | 40 | 1.8 |
| RoboDuo | 40 | 2.6 |
Across benchmarks, the gains follow how much recoverable work the base policy leaves behind. On LIBERO, RoboDuo improves both backbones, especially on long-horizon tasks, without lowering performance on any suite. On LIBERO-PRO, it remains effective under position and task perturbations without retraining either VLA. With the VLAs fixed, a stronger coding agent yields further gains, suggesting that RoboDuo can improve with better coding agents. On a bimanual robot, the same controller improves both task success and the number of fruits placed, without on-robot updates. These results suggest that a failed episode is better finished as a sequence of atomic skills than continued under the original instruction.
As both VLAs stay frozen, RoboDuo cannot recover skills that neither policy has, and its gains are bounded by the accuracy of the completion check. Future work may include stronger error-recovery capabilities and broader real-robot validation.
References
[1] Hongzhe Bi, Hengkai Tan, Shenghao Xie, et al. Motus: A unified latent action world model. arXiv preprint arXiv:2512.13030, 2025. 6
[2] Johan Bjorck et al. GR00T N1: An open foundation model for generalist humanoid robots. arXiv preprint arXiv:2503.14734, 2025. 1, 2, 6
[3] Kevin Black, Noah Brown, Danny Driess, Adnan Esmail, Michael Equi, Chelsea Finn, Niccolo Fusai, Lachy Groom, Karol Hausman, Brian Ichter, et al. : A vision-language-action flow model for general robot control. In Robotics: Science and Systems, 2025. 1, 2, 6
[4] Anthony Brohan et al. RT-1: Robotics transformer for real-world control at scale. In Robotics: Science and Systems, 2023. 2
[5] Anthony Brohan et al. RT-2: Vision-language-action models transfer web knowledge to robotic control. In Conference on Robot Learning, 2023. 1, 2
[6] Qingwen Bu, Hongyang Li, Li Chen, Jisong Cai, Jia Zeng, Heming Cui, Maoqing Yao, and Yu Qiao. Towards synergistic, generalized, and efficient dual-system for robotic manipulation. arXiv preprint arXiv:2410.08001, 2024. 1, 2
[7] ByteDance Seed. Seed2.1 officially released: Advancing AI productivity. Model release, 2026. 5
[8] Can Cui, Pengxiang Ding, Wenxuan Song, Shuanghao Bai, Xinyang Tong, Zirui Ge, Runze Suo, et al. OpenHelix: A short survey, empirical analysis, and open-source dual-system VLA model for robotic manipulation. arXiv preprint arXiv:2505.03912, 2025. 1, 2
[9] Figure AI. Helix: A vision-language-action model for generalist humanoid control. https://www.figure.ai/news/helix, 2025. 1, 2
[10] Max Fu, Justin Yu, Karim El-Refai, Ethan Kou, Haoru Xue, Huang Huang, Wenli Xiao, Guanzhi Wang, Fei-Fei Li, Guanya Shi, Jiajun Wu, Shankar Sastry, Yuke Zhu, Ken Goldberg, and Jim Fan. CaP-X: A framework for benchmarking and improving coding agents for robot manipulation. arXiv preprint arXiv:2603.22435, 2025. 7
[11] Liane Galanti, Dhruv Shah, and Tri Dao. Addressing the orchestration gap in generalist robots via physical agency. arXiv preprint arXiv:2607.21725, 2026. 7
[12] Galbot Team. Systematically exploring the capabilities of GPT-6 Astra as embodied policies. arXiv preprint arXiv:2609.38537, 2026. 1, 2, 7
[13] Wenlong Huang, Chen Wang, Ruohan Zhang, Yunzhu Li, Jiajun Wu, and Li Fei-Fei. VoxPoser: Composable 3D value maps for robotic manipulation with language models. In Conference on Robot Learning, 2023. 1, 2
[14] Wenlong Huang et al. ReKep: Spatio-temporal reasoning of relational keypoint constraints for robotic manipulation. In Conference on Robot Learning, 2024. 1, 2
[15] InternVLA Team. InternVLA-M1: A spatially guided vision-language-action framework for generalist robot policy. arXiv preprint arXiv:2510.13778, 2025. 6
[16] Moo Jin Kim, Karl Pertsch, Siddharth Karamcheti, Ted Xiao, Ashwin Balakrishna, Suraj Nair, Rafael Rafailov, Ethan Foster, Grace Lam, Pannag Sanketi, et al. OpenVLA: An
open-source vision-language-action model. In Conference on Robot Learning, 2024. 1, 2
[17] Moo Jin Kim, Chelsea Finn, and Percy Liang. Fine-tuning vision-language-action models: Optimizing speed and success. arXiv preprint arXiv:2502.19645, 2025. 6
[18] Long Li, Qichao Zhao, Yue Yang, et al. Spotter: Let the embodied model lead, and the VLM reflect for it. arXiv preprint arXiv:2609.36808, 2026. 3
[19] Zaijing Li, Bing Hu, Rui Shao, Gongwei Chen, Dongmei Jiang, Pengwei Xie, Jianye Hao, and Liqiang Nie. Global prior meets local consistency: Dual-memory augmented vision-language-action model for efficient robotic manipulation. In IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2026. 2
[20] Jacky Liang, Wenlong Huang, Fei Xia, Peng Xu, Karol Hausman, Brian Ichter, Pete Florence, and Andy Zeng. Code as Policies: Language model programs for embodied control. In IEEE International Conference on Robotics and Automation, 2023. 1, 2
[21] Jingsong Liang, Shuhao Liao, Shizhe Zhang, Diyuan Hou, Yuxin Cai, et al. RoboFoundry: System-as-policy evolution for self-learning embodied agents. arXiv preprint arXiv:2609.32862, 2026. 1, 2
[22] Minghui Lin, Pengxiang Ding, Shu Wang, Zifeng Zhuang, Yang Liu, Xinyang Tong, Wenxuan Song, Shangke Lyu, Siteng Huang, and Donglin Wang. HiF-VLA: Hindsight, insight and foresight through motion representation for vision-language-action models. In IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2026. 2
[23] Bo Liu, Yifeng Zhu, Chongkai Gao, Yihao Feng, Qiang Liu, Yuke Zhu, and Peter Stone. LIBERO: Benchmarking knowledge transfer for lifelong robot learning. In Advances in Neural Information Processing Systems, 2023. 4, 6
[24] Isabella Liu, An-Chieh Cheng, Johan Bjorck, et al. Recova: Agent-guided failure recovery for autonomous robotic manipulation. arXiv preprint arXiv:2610.01178, 2026. 3
[25] Hao Luo, Ye Wang, Wanpeng Zhang, et al. Being-H0.5: Scaling human-centric robot learning for cross-embodiment generalization. arXiv preprint arXiv:2601.12993, 2026. 6
[26] Octo Model Team et al. Octo: An open-source generalist robot policy. In Robotics: Science and Systems, 2024. 2
[27] OpenAI. GPT-6 Astra: A new generation of intelligence. Model release, 2026. 1
[28] Physical Intelligence, Kevin Black, Noah Brown, James Darpinian, Karan Dhabalia, Danny Driess, Adnan Esmail, Michael Equi, Chelsea Finn, Niccolo Fusai, et al. : A vision-language-action model with open-world generalization. In Conference on Robot Learning, 2025. 1, 2, 6
[29] Yide Shentu, Philipp Wu, Aravind Rajeswaran, and Pieter Abbeel. From LLMs to actions: Latent codes as bridges in hierarchical robot control. In IEEE/RSJ International Conference on Intelligent Robots and Systems, 2024.
[30] Lucy Xiaoyang Shi, Brian Ichter, Michael Equi, Liyiming Ke, Karl Pertsch, Quan Vuong, James Tanner, Anna Walling, Haohuan Wang, Niccolo Fusai, et al. Hi Robot: Open-ended instruction following with hierarchical vision-language-action models. In International Conference on Machine Learning, 2025. 1, 2
[31] Ishika Singh, Valts Blukis, Arsalan Mousavian, Ankit Goyal, Danfei Xu, Jonathan Tremblay, Dieter Fox, Jesse Thomason, and Animesh Garg. ProgPrompt: Generating situated robot task plans using large language models. In IEEE International Conference on Robotics and Automation, 2023. 1, 2
[32] An Yang et al. Qwen3 technical report. arXiv preprint arXiv:2505.09388, 2025. 6
[33] Yifan Yang, Zhixiang Duan, Tianshi Xie, et al. FPC-VLA: A vision-language-action framework with a supervisor for failure prediction and correction. arXiv preprint arXiv:2509.04018, 2025. 3
[34] Zewei Ye, Weifeng Lu, Minghao Ye, et al. RoboFAC: A comprehensive framework for robotic failure analysis and correction. arXiv preprint arXiv:2505.12224, 2025. 3
[35] Tianyuan Yuan, Zibin Dong, Yicheng Liu, and Hang Zhao. Fast-WAM: Do world action models need test-time future imagination? arXiv preprint arXiv:2603.16666, 2026. 6
[36] Yifu Yuan, Yaoting Huang, Xianze Yao, et al. Embodied-r1.5: Evolving physical intelligence via embodied foundation models. arXiv preprint arXiv:2606.11324, 2026. 3
[37] Michał Zawalski, William Chen, Karl Pertsch, Oier Mees, Chelsea Finn, and Sergey Levine. Robotic control via embodied chain-of-thought reasoning. In Conference on Robot Learning, 2024. 2
[38] Jianke Zhang, Yanjiang Guo, Xiaoyu Chen, Yen-Jen Wang, Yucheng Hu, Chengming Shi, and Jianyu Chen. HiRT: Enhancing robotic control with hierarchical robot transformers. In Conference on Robot Learning, 2024. 1, 2
[39] Qingqing Zhao, Yao Lu, Moo Jin Kim, Zipeng Fu, Zhuoyang Zhang, Yecheng Wu, Zhaoshuo Li, Qianli Ma, Song Han, Chelsea Finn, et al. CoT-VLA: Visual chain-of-thought reasoning for vision-language-action models. In IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2025. 2
[40] Tony Z. Zhao, Vikash Kumar, Sergey Levine, and Chelsea Finn. Learning fine-grained bimanual manipulation with low-cost hardware. In Robotics: Science and Systems, 2023. 1, 2
[41] Jinliang Zheng, Jianxiong Li, Zhihao Wang, Dongxiu Liu, Xirui Kang, Yuchun Feng, Yinan Zheng, Jiayin Zou, Yilun Chen, Jia Zeng, et al. X-VLA: Soft-prompted transformer as scalable cross-embodiment vision-language-action model. arXiv preprint arXiv:2510.10274, 2025. 1, 2, 6
[42] Xueyang Zhou, Yangming Xu, Guiyao Tie, Yongchao Chen, Guowen Zhang, Duanfeng Chu, Pan Zhou, and Lichao Sun. LIBERO-PRO: Towards robust and fair evaluation of vision-language-action models beyond memorization. arXiv preprint arXiv:2510.03827, 2025. 6