# Representation-Guided Generation and Integration of Executable Programs for Robot Manipulation

Robotics.world

> Building a robot manipulation system means wiring together perception, planning, and control through hand-designed representations, which takes substantial human effort and domain expertise for every…

**arXiv**: 2609.31337 · Preprint · not peer-reviewed

**Published**: 2026-09-25

**Authors**: Ruixiao Yang, Mingxin Yu, Chuchu Fan

## In plain words

Building a robot manipulation system means wiring together perception, planning, and control through hand-designed representations, which takes substantial human effort and domain expertise for every new task.

## AI summary

## Overview

**Research area:** Robotics — vision-language-model (VLM) driven manipulation, program synthesis, and task-and-motion planning.

**Technical level:** Advanced. The paper uses formal notation (SE(3) poses, relation graphs, preconditions and state-transition functions), but its central idea — a shared scene representation used as the interface between generated modules — is conceptually straightforward.

**Scope:** The paper presents RIVET, a framework that uses a VLM to author a complete, reusable manipulation system (perception, rendering, relation inference, and planning) around a shared object-centric representation, and evaluates it on three manipulation tasks in simulation and on a physical robot.

## What This Paper Is About

Building a robot manipulation system means wiring together perception, planning, and control through hand-designed representations, which takes substantial human effort and domain expertise for every new task. VLMs can write code, but if perception and planning code are generated independently they may disagree about object identities, coordinate frames, relation meanings, or action effects — so the pieces fail to compose. The paper's goal is to give the VLM a fixed structure (per-object 6D poses plus a task-relevant relation graph) so that the modules it writes connect into one executable system that can be authored once and reused on new start and goal configurations without regenerating code.

## Key Contributions

1. **RIVET architecture.** A representation-guided framework that connects VLM-generated perception and planning through a shared geometric-relational scene representation, where each object is recorded as an instance identity, a canonical mesh, and an SE(3) pose, alongside a typed relation graph over the same instances.
2. **An automated authoring procedure.** The same VLM (Claude Opus 5) instantiates complete executable systems across manipulation domains — generating `perceive`, `render`, `relate`, and `plan` functions sequentially, each prompt including the previously generated code so meanings stay consistent — with no manual task-specific programming.
3. **Within-domain program reuse.** Generated programs are authored once per task domain and then frozen; new instances change only the start and goal observations, and repeated task solving requires no runtime VLM queries.
4. **Cross-domain evaluation.** Experiments on cube stacking, tangram rearrangement, and three-dimensional assembly, in simulation and on a physical robot, including evaluation under camera-viewpoint changes and a stage-wise breakdown of failures (state estimation, symbolic planning, execution).

## Main Findings

- **Simulation success:** RIVET reaches final success rates of 100% on cube stacking, 90.0% on tangram, and 86.7% on 3D assembly, each over 60 trials per task. Its state-acquisition accuracy is 100% (cubes), 90.0% (tangram), and 93.3% (assembly); its symbolic plan success rate is 100%, 90.0%, and 86.7% respectively.
- **Baseline comparison:** ViLa's plan success rate is 43.3% (cubes), 30.0% (tangram), and 8.3% (assembly). VeriGraph reaches 100% state accuracy on cubes but only 63.3% final success there, and 0.0% final success on both tangram and assembly. CaP's plan success rate is 86.7%, 60.0%, and 83.3% across the three tasks. Instruct2Act's plan success rate is 60.0%, 96.7%, and 0.0%, with final success 46.7%, 0.0%, and 0.0%.
- **Real-world result:** Across 60 physical trials, RIVET succeeds in 50/60 (83.3%). Cube stacking and tangram each reach 18/20; 3D assembly reaches 14/20.
- **Reuse from a single authoring goal:** Each real-world system is generated using Goal 1 only, then frozen and reused across all four goals. Performance on Goals 2–4 ranged from 3/5 to 5/5 per goal, indicating generalization beyond the authoring configuration.
- **Viewpoint robustness:** Under two alternate camera views, cube stacking scores 100% (original), 93.3% (viewpoint 1), and 100% (viewpoint 2); tangram 90%, 100%, and 86.7%; assembly 86.7%, 80%, and 76.7%. Since the authored system takes the camera as a parameter, no code modification is needed to change views.
- **Why baselines fail:** ViLa reasons about scene structure implicitly and misses action dependencies (occupied destinations, supports that must be cleared, temporary placements). VeriGraph makes dependencies explicit but relation errors corrupt the planning problem, and even a correct relation graph does not preserve metric poses. CaP and Instruct2Act leave the internal representation to the generated program, tend to encode relations with simplified heuristics, and Instruct2Act emits pixel-level actions that do not uniquely specify depth or a robot-frame pose.
- **Remaining RIVET failures:** Perception errors under severe occlusion (incorrect pose hypotheses for partially visible tangram or assembly components), generated planners that exceed the planning budget through inefficient search, and physical failures from grasp or motion feasibility. The 10-minute per-instance runtime limit is the budget in question.

## Methodology in Plain English

The system is built in two stages.

**Offline authoring.** A VLM is given a task description, reference start and goal images, object meshes, camera calibration, and documentation for available tools. It writes four Python functions against a scene representation that a human fixes in advance: a set of objects, each with an identity, a canonical mesh, and a 6D pose, plus a relation graph capturing things like support dependencies.

- `perceive` turns an RGB-D image into the object records, choosing and chaining tools — for example, OpenCV-based segmentation masks fed with the meshes and depth into a pose estimator such as FoundationPose.
- `render` draws the recorded object poses back into an image, which lets both the VLM and a human visually check what was perceived.
- `relate` builds the task-relevant relation graph. Its prompt includes the generated `render` source code so its geometry and coordinate conventions line up with `perceive`'s numeric output.
- `plan` defines actions, preconditions, state transitions, and a goal condition, then searches over the relation structure for a valid action order with concrete target poses taken from the goal state.

The functions are generated one at a time, and each prompt includes the code of the functions it depends on. Because the module interfaces are fixed by the representation, independently written code still composes.

**Online execution.** The frozen programs run on a new start-goal image pair with no VLM in the loop: perceive both images, infer relations, plan a sequence of (object, target pose) pairs. A fixed, non-generated control interface handles grasp selection, kinematic and geometric feasibility checks, and approach/grasp/transfer/release/retreat motions, executing actions sequentially without intermediate visual replanning.

**Evaluation protocol.** In simulation, each task uses 20 goal configurations crossed with three initial configurations (60 trials per task); 10 independent program-generation runs are performed, each evaluated on six start-goal pairs, so the reported numbers reflect the reliability of the generation framework rather than one lucky program. Real-world testing uses four goals per task with five trials per goal (20 per task). Hardware is a Franka Research 3 arm with a Robotiq 2F-85 gripper, a wrist-mounted ZED M camera, a front ZED 2i RGB-D camera, an AMD Ryzen Threadripper PRO 5955WX and an NVIDIA GeForce RTX 4090, with Claude Opus 5 as the VLM.

## Why This Matters

**Research impact.** The paper reframes VLM code generation for robotics as a problem of interface design rather than of raw model capability. By showing that a fixed object-centric representation lets a VLM author perception and planning that actually compose — and that the result runs without any runtime VLM query — it offers an alternative to VLM-in-the-loop planning that is cheaper, inspectable, and testable. The stage-wise metrics (state accuracy, plan success, final success) also give a template for attributing failures to a specific part of the pipeline, which is difficult when a VLM plans directly.

**Real-world applications:**

- Warehouse and logistics pick-and-place, where the same system must handle new bin arrangements without re-engineering.
- Small-batch assembly and kitting, where a task family is fixed but each work order differs.
- Laboratory automation involving precisely arranged objects (stacking, layout of planar parts).
- Reconfigurable robot cells where cameras are moved or replaced and the perception stack must adapt without rewriting planning logic.

**Industry relevance.** Offline authoring amortizes the cost of a VLM call across many deployments, and the frozen programs are ordinary source code that can be versioned, unit-tested, and audited — properties that matter for certification and for debugging on a production line. It also shifts VLM expenditure to a one-time setup step rather than per-execution inference.

## Future Directions

- **Execution feedback and failure recovery.** The authors plan to incorporate execution feedback and replanning after failures; currently actions execute sequentially with no intermediate visual replanning.
- **More complex, contact-rich manipulation.** Extending beyond pick-and-place-style transfers to tasks requiring sustained contact and force reasoning.
- **Perception under occlusion.** Severe occlusion is the identified bottleneck, particularly for assembly components and tightly packed tangram pieces; better pose recovery would directly lift the assembly success rate (14/20 real world).
- **Planner efficiency.** Some generated planners exceed the planning budget because their search explores the state space inefficiently, raising the question of how to constrain or verify generated search procedures.

## Target Audience

Robotics researchers and graduate students working on manipulation, task-and-motion planning, and LLM/VLM-based robot programming; engineers building reusable perception-and-planning stacks for industrial robot cells; and anyone interested in offline program synthesis as an alternative to running large models inside the control loop. Readers without a robotics background will follow the motivation and results but will need familiarity with 6D poses, scene graphs, and precondition-based planning to engage with the method.

## Authors’ abstract

Building a robotic manipulation system requires connecting perception, planning, and control through carefully designed representations and interfaces. VLM code generation offers a way to automate this construction, but independently generated components may operate on incompatible geometric and task-level information. We present Representation-guided Integration of VLM-generated Executable Task programs (RIVET), a framework for generating complete manipulation systems…

[The full abstract on arXiv](https://arxiv.org/abs/2609.31337)

[Read the original paper](https://arxiv.org/abs/2609.31337)

## Related papers

- [RoboMonitor: Label-Efficient Runtime Monitoring of Robot Task Execution via Predictive Representation Learning](https://robotics.world/paper/robomonitor-label-efficient-runtime-monitoring-of-robot-task-execution-2609.30715) 2026-09-25 · cs.RO · Key terms of the title in common
- [Federated Subspace Guided Vision-Language-Action Policy Distillation for Non-IID Multi-Robot Manipulation](https://robotics.world/paper/federated-subspace-guided-vision-language-action-policy-distillation-2609.32239) 2026-09-26 · cs.RO · Key terms of the title in common
- [Copper-Policy: Focus on the Representation for Robust Robot Manipulation](https://robotics.world/paper/copper-policy-focus-on-the-representation-for-robust-robot-manipulation-2609.32779) 2026-09-26 · cs.RO · Key terms of the title in common
- [LEAP-CBF: A Safety Filter for Uncertain Systems with Least-Effort Adversarial Potentials](https://robotics.world/paper/leap-cbf-a-safety-filter-for-uncertain-systems-with-least-effort-2609.28364) 2026-09-23 · cs.RO · Also by Chuchu Fan
- [Bayesian Active Learning for Intent Disambiguation in Interactive Robot Planning](https://robotics.world/paper/bayesian-active-learning-for-intent-disambiguation-in-interactive-robot-2609.34270) 2026-09-28 · cs.RO · Also by Chuchu Fan

---

Canonical: https://robotics.world/paper/representation-guided-generation-and-integration-of-executable-programs-2609.31337
