Research
AquaCap: A Training-Free Underwater Embodied Agent with Code-as-Policy
Underwater robots need to navigate and manipulate objects, but the dominant approach — training vision-language-action models on large interaction datasets — is impractical underwater, where data…

- arXiv
- 2609.23133 · Preprint · not peer-reviewed
- Published
- 2026-09-19
- Authors
- Xiaoshi Li, Yule Xu, Chunghiu Kong, Yizhou Zhou, Yang Liu, Hao Yang, Zihao Huang, Yunxiao Shan
In plain words
Underwater robots need to navigate and manipulate objects, but the dominant approach — training vision-language-action models on large interaction datasets — is impractical underwater, where data collection is costly, scarce, and hard to reproduce in simulation.
AI summary
Overview
Research area: Underwater robotics / embodied intelligence — specifically training-free Code-as-Policy agents for autonomous underwater navigation and manipulation (vision-language-action alternatives).
Technical level: Advanced. The paper assumes familiarity with vision-language-action (VLA) models, Code-as-Policy program generation, point-cloud registration (PCA + ICP), and underwater vehicle-manipulator systems.
One-sentence scope: The paper proposes AquaCap, a training-free dual-agent framework that turns natural-language instructions and degraded underwater sensor observations into verified, executable robot programs, and evaluates it on 700 simulated trials across 20 tasks plus real ROV pool experiments.
What This Paper Is About
Underwater robots need to navigate and manipulate objects, but the dominant approach — training vision-language-action models on large interaction datasets — is impractical underwater, where data collection is costly, scarce, and hard to reproduce in simulation. AquaCap instead asks a pretrained language model to write and run robot control code at runtime, checking after every action whether the physical outcome actually matched the intent. The goal is an agent that adapts online, without task-specific training or parameter updates, even when currents and thruster wash move the target mid-task.
Key Contributions
-
AquaCap-Agent — a dual-agent Code-as-Policy architecture. A Policy agent handles high-level task planning and revision, while a separate Coding agent generates the code for each individual action. Splitting these roles isolates planning errors from implementation errors, and observation-based condition checks (preconditions/postconditions) form a closed execution loop that supports online verification, recovery, and replanning without task-specific training.
-
AquaCap-Perception — structured, quality-aware perception. A vision-language model identifies the instructed target and prompts SAM3 to segment it; near-field depth protrusions supply a complementary geometric mask; PCA plus ICP align a reference cylinder model (built from configured length L and diameter d) to estimate pose. The output is a structured observation with target identity, range, geometric quality, camera status, and gripper state — no raw images passed to either agent.
-
AquaCap-Memory — failure-aware memory. Each action outcome is stored with supporting evidence, and failures also store a diagnosed cause and proposed correction. Retrieval gives planning advice to the Policy agent and implementation constraints to the Coding agent, converting diagnosed failures into reusable corrections without updating model parameters. Memory starts empty at each trial.
-
Simulation and real-robot validation. 700 simulated trials across 20 tasks in Stonefish, plus 10 grasping and 10 grasp-and-transport trials on a vectored-thruster ROV with a buoyant, self-righting target.
Main Findings
- Overall simulation success: 66.43% (465/700), outperforming U0 by 19.29 percentage points (47.14%, 330/700).
- Grasping is where the gap is largest: AquaCap reaches 61.25% SR versus 36.25% for U0, though its average success duration is longer (288.20 s versus 133.78 s).
- Other per-task simulation results: navigation 86.88% SR with SPL 0.861 (U0: 82.50% SR, SPL 0.953); transporting 62.50% SR and 70.00% SSR (U0: 32.50%, 52.50%); tracking 35.00% SR with MTD 3.85 m (U0: 55.00% SR, MTD 4.34 m). AquaCap beats U0 on overall, grasping, and transporting, but trails U0 on navigation path efficiency and on tracking success rate.
- Baselines collapse: OpenVLA-ft fine-tuned on USIM reaches 7.29% overall (51/700) and completes no manipulation task; CaP-Agent0 completes 0 of 700 trials, which the authors attribute to open-loop execution with no intermediate outcome verification.
- Ablation (40 grasping trials, full system): full 26/40 = 65.00% (95% CI 49.51–77.87, ASD 300.80 s); single merged agent 20/40 = 50.00%; without Memory 21/40 = 52.50% (ASD 340.89 s); VLM-based perception 7/40 = 17.50% and fails both pipe tasks. Geometric perception is the most influential component in the tested grasping tasks.
- Real-world results are modest: 2/10 successes for both grasping (20.0% SR, ASD 391.5 s, 2.5 replans) and transport (20.0% SR, ASD 545.0 s, 3.0 replans). Grasping SR is 41.25 percentage points lower than in simulation.
- Failure recovery demonstrably works in one traced episode: across three failed grasp attempts, Memory diagnosed insufficient gripper closure, excessive approach speed, and excessive insertion depth, and the fourth attempt succeeded.
- The dominant real-world failure mode is control authority, not reasoning: AquaCap controls the ROV through existing high-level APIs and cannot regulate low-level thruster dynamics, so each motion generates water flow that can push the buoyant target outside the gripper's capture region until the time limit expires.
Methodology in Plain English
The system runs a loop. It starts by looking at the scene and turning the camera image plus robot state into a structured description: which object was asked for, roughly where it is, how trustworthy that estimate is. A planning agent then writes an ordered plan of actions, and each action carries its own preconditions, postconditions, and time budget.
Before each action runs, the system checks the preconditions. If they hold, a second agent — the coding agent — writes a small Python program calling the robot's existing perception and control functions, incorporating advice retrieved from memory about past failures. The program is statically validated for syntax and API use and run in a sandbox that enforces motion limits and the time budget. Invalid code gets a bounded number of rewrites.
The distinctive step is that finishing a program does not count as success. The robot looks again, and verification combines the execution result with sensor validity, target-estimate consistency, the action's postconditions, and the next action's preconditions. A completed alignment motion that left the target out of position still fails. On failure, the system either repairs the code locally (keeping the goal) or has the planning agent revise the remaining plan — for example, re-localizing and re-aligning a displaced target before another grasp attempt. Every outcome and diagnosis goes into memory for the rest of the trial.
For perception, a vision-language model names and segments the target, and near-field depth is converted into a point cloud, filtered, and fitted to a cylinder model via PCA initialization and ICP alignment. Fits are rejected when convergence, fitting quality, visible extent, mask size, or axis direction are poor, and rotation about a symmetric cylinder's axis is acknowledged as unobservable.
Why This Matters
The paper argues that the data bottleneck, not model capacity, is what blocks underwater embodied intelligence: interaction data are costly and scarce, simulators cannot fully reproduce real underwater conditions, and each deployment is expensive enough that iterative human debugging is impractical. AquaCap shows a working alternative in which the intelligence lives in program synthesis plus verification rather than in trained weights, so behavior can be inspected and edited as code.
Real-world applications implied by the paper:
- Inspection and maintenance of subsea pipelines, cables, and offshore energy infrastructure.
- Environmental monitoring and resource exploration.
- Deep-sea scientific research, including sample recovery.
- Reducing dependence on diver- and vessel-based operations for hazardous or deep tasks.
Industry relevance: Because the system composes existing robot APIs rather than replacing them, it is a plausible retrofit path for operators who already have ROVs with manufacturer SDKs — which is exactly the integration the authors used. The honest real-world numbers (20% success, time-limit failures traced to high-level API control) also identify a concrete engineering target: tighter coupling between high-level reasoning and low-level vehicle control.
Future Directions
- Execution efficiency. The authors name this as the key bottleneck: repeated model inference, perception, and recovery improve reliability but lengthen tasks. They propose fewer model calls, faster perception–action loops, and more effective recovery as central future work.
- Low-level control integration. Real-world failures came from thruster-induced flow displacing the target after alignment; the authors call for more responsive target tracking and tighter integration with low-level vehicle control to turn correct high-level corrections into reliable physical actions.
- Scaling beyond one target class. Perception relies on a reference model built from configured target dimensions (length L, diameter d) for cylinder-like objects, which leaves open how the pipeline generalizes to targets without such a prior.
- Longer-horizon memory. Memory is wiped at the start of each trial and retrieval keys on a fixed initial scene descriptor, raising the question of whether cross-trial or cross-session experience could compound.
Target Audience
Robotics researchers working on manipulation, embodied agents, and Code-as-Policy or VLA methods; marine and underwater robotics engineers interested in autonomy without large training datasets; and practitioners evaluating whether language-model-driven program synthesis is mature enough for field deployment. Readers focused on benchmark performance alone should note the limited real-world sample size (10 trials per task) and the explicit efficiency and control-authority caveats the authors raise.
Authors’ abstract
Recent advances in vision-language-action models have stimulated growing interest in underwater embodied intelligence. However, their reliance on large-scale interaction data limits their applicability underwater, where data collection is costly and scarce. To address this challenge, we present AquaCap, a training-free Code-as-Policy framework for autonomous underwater navigation and manipulation. AquaCap employs a dual-layer agent that translates task instructions and…
The full abstract on arXivRelated papers
- CodeActionBench: Evaluating Agentic Code-as-Policy for Embodied Manipulation 2026-09-27 · cs.RO · Key terms of the title in common
- HarnessVLN: Unifying Training-Free Embodied Navigation through an Agent Harness 2026-09-14 · cs.RO · Key terms of the title in common
- PhysCaP: Grounding Code-as-Policy Agent with Physics-Informed Exploration 2026-08-21 · cs.RO · Key terms of the title in common
- CaPtain: A Pipeline for Post-Training Code-as-Policy Robot Agents 2026-10-29 · cs.RO · Key terms of the title in common
- Rethinking Self-Repair in Code-as-Policy Agents: What Drives Retry Success? 2026-11-04 · cs.RO · Key terms of the title in common