atlas

Research map / Vision-language and multimodal / Robot action and navigation

Code-as-Monitor: Constraint-aware Visual Programming for Reactive and Proactive Robotic Failure Detection

CVPR 2025 · Vision-language and multimodal › Robot action and navigation · approach: Memory and subgoal-based manipulation · 13 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes Code-as-Monitor, which uses GPT-4o-generated monitor code over tracked "constraint elements" (geometric points/lines/surfaces from a trained constraint-aware segmenter ConSeg) to perform both reactive and proactive robotic failure detection.

Problem

Open-set robotic failure detection is needed both reactively (after failures occur) and proactively (preventing foreseeable failures), but VLM VQA-based detectors are slow and coarse in 3D spatio-temporal perception.

Approach

Formulate both detection modes as spatio-temporal constraint satisfaction problems; a VLM writes monitor code once per subgoal that evaluates tracked geometric constraint elements (points, lines, surfaces abstracted from entities/parts), enabling real-time checks without repeated VLM calls.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use CaM for monitoring instead of DoReMiCLIPort Stack in Order (p=0.3) · CLIPort Stack in Order (p=0.3)success rate (%): 76.67 -> 88.33Helped
Use CaM for monitoring instead of DoReMiCLIPort Stack in Order (q=3) · CLIPort Stack in Order (q=3)execution time (s): 54.2 -> 36.8Helped
Use CaM to count blocks with constraint elements instead of DoReMi VQACLIPort Sweep Half the Blocks · CLIPort Sweep Half the Blockssuccess rate (%): 16.67 -> 75.00Helped
Use CaM instead of DoReMiOmnigibson Pour Tea · Omnigibson Pour Teasuccess rate (Disturbance a): 0 -> 40Helped
Use CaM instead of DoReMiOmnigibson tasks · Omnigibsonexecution time: 34.8% reductionHelped
Use CaM instead of DoReMiOmnigibson tasks · Omnigibsontoken usage: 52.2% decreaseHelped
Add constraint elements to CaM (ablation)CaM on real-world reasoning pick-and-place · Reasoning Pick & Place: grasp animals by distance to fruitssuccess rate (%): 20% -> 60%Helped
Add multi-view observations (ablation)CaM on Omnigibson Stow Book · Omnigibson Stow Bookaverage success rate (%): 40% -> 65%Helped
Use constraint-aware segmentation instead of DINOv2 semantic points (ablation)CaM on Omnigibson Stow Book · Omnigibson Stow Bookaverage success rate (%): 42.5% -> 65%Helped
Connect points to form constraint elements (ablation)CaM on Omnigibson Stow Book · Omnigibson Stow Bookaverage success rate (%): 55% -> 65%Helped
Add constraint instance-level training data (ablation)ConSeg · ConstraintSeg instance-levelgIoU: 51.5 -> 62.1Helped

Surprising findings

Limitations

Experimental setup

Datasets: BridgeData V2 ADE20K COCO-Stuff PACO-LVIS PASCAL-Part refCLEF refCOCO refCOCO+ refCOCOg LLaVA-Instruct-150k ReasonSeg

Benchmarks: CLIPort stack-in-order and sweep tasks OmniGibson Slot Pen, Stow Book, Pour Tea RLBench real-world UR5 + Leap Hand pick & place ReasonSeg ConstraintSeg

Metrics: success rate execution time token usage gIoU cIoU

Baselines: DoReMi Inner Monologue ReKep PixelLM LISA-13B Foundation Model Combination

Builds on: LISA ReKep DoReMi Inner Monologue CoTracker

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy