TL;DR
Opening a child-resistant medicine bottle requires feeling the subtle "click" of engagement—something cameras can't see and cloud-based AI models react to far too slowly. Code as Tactile Supervisor (CaTS) bridges this gap by watching a single human video demonstration and compiling a fast, locally executable robot program complete with custom "tactile reflexes." It gives robots the physical intuition to handle delicate, contact-rich tasks in the real world without needing costly trial-and-error or sluggish foundation-model queries in the control loop.
What Problem Does This Paper Address?
Foundation models have gotten remarkably good at writing "Code-as-Policy"—generating Python scripts that string together robot perception and motion APIs. In simulation, this works like magic because the simulator hands you exact physical states (like friction or object positions) on a silver platter, and failed attempts cost nothing to reset.
Move that robot into the physical world, however, and the magic breaks. Cameras alone cannot see internal forces, subtle slips, or hidden mechanical states—like whether a USB plug is slightly crooked or if you’ve grabbed two stacked paper cups instead of one. Robots need a sense of touch. Yet, feeding raw tactile sensor data directly into a large Vision-Language Model (VLM) at every timestep is a recipe for disaster: raw tactile images are hard for models to interpret without context, and waiting seconds for an API call means the robot has already crushed the cup or dropped the bottle before deciding what to do next.
Methods
CaTS solves this by separating heavy cognitive planning from fast physical execution. Instead of putting a massive foundation model inside the real-time feedback loop, CaTS uses the model (specifically GPT-5.6-sol) to write the feedback loop ahead of time.
The pipeline unfolds in three main pieces:
- Demo-to-Robot Plan Adaptation: Watching a single RGB-D video of a human performing the task, standard vision trackers extract hand and object trajectories. The agent breaks the video into stages (e.g., Approach, Twist, Lift) and adapts human grasps to the robot’s gripper. Crucially, it uses internal physical priors to expand actions—recognizing, for instance, that a human’s fluid twist on a safety cap must be split into Press & Twist and Lift & Twist for a robot.
- A Three-Layer Tactile Hierarchy: Rather than forcing the AI to write raw pixel-processing code, CaTS introduces a middle abstraction layer.
- L1 (Raw Data): Sensor-specific RGB images and marker arrays.
- L2 (Physics-Grounded Patterns): A unified encoder translates L1 data into clean physical quantities like normal force, shear, torque, contact area, and marker flow.
- L3 (Stage Supervisors): During planning, the agent selects and combines L2 concepts to write stage-specific "guards" (like a Rotation Guard to detect cap engagement).
- Compile Once, Run Locally: The stage plan, bounded adjustment motions, and L3 tactile supervisors are compiled into a standalone local program. At runtime, the robot reacts in closed-loop at high speed with zero further foundation-model calls.
Datasets
Because CaTS is a zero-shot synthesis framework (requiring just one human demonstration per task rather than training datasets), the authors evaluate it across simulated benchmarks and physical hardware:
- Simulation: 20 contact-rich tasks—8 single-arm tasks from the UniVTAC benchmark (e.g., Insert HDMI, Pull Key) and 12 single-arm and bimanual tasks from NeoSim (e.g., Grasp Chip, Cup Handover, Stack Plates).
- Real World: 6 challenging tasks on a Franka Research 3 arm with visuotactile fingertips, including child-resistant cap opening, extracting a single top cup/bowl from a stack, USB replugging, pipette liquid transfer, and transparent test-tube insertion.
Key Insights and Ideas
- Physics abstractions beat raw sensor access: Baseline coding agents given full access to raw tactile data failed completely (0% success) on tasks like cap opening and cup extraction. Giving the agent clean, physics-grounded primitives (shear, slip, torque) is what makes automated supervisor synthesis actually work.
- Write-once compilation cures the latency bottleneck: Invoking an online foundation model at every tactile step racks up massive delays. Compiling supervision into local code pays a small upfront generation cost that breaks even after just 17 to 25 feedback steps, becoming drastically faster thereafter.
- Hardware-agnostic touch: Because L3 supervisors only care about L2 physical concepts, swapping tactile hardware (e.g., moving from GelSight Mini to GF225 or Xense WS sensors) requires changing only the low-level L1-to-L2 adapter. The high-level robot program transfers without touching a single line of task logic.
Key Results
- Real-Robot Dominance: CaTS achieved a 66.7% average success rate across the six real-world tasks, more than tripling the coding-agent baselines (21.7% with demonstrations, 18.3% without). On safety-cap opening, cup extraction, and transparent tube insertion, CaTS scored 80%, 50%, and 60%, whereas baselines scored 0% across the board.
- Simulation Benchmarks: Across all 20 simulated tasks, CaTS averaged 61.8% success (vs. 43.1% and 30.6% for agentic baselines), also outperforming reference imitation-learning and VLA policies on UniVTAC (63.3% vs. 48.0% best reference) and NeoSim (60.7% vs. 45.8% for $\pi_{0.5}$).
- Seamless Sensor Transfer: When transferring a can-lifting program across three distinct tactile sensors, slip-onset indentation varied by less than 0.05 mm, maintaining a 100% overload recovery rate on every sensor.
- Value of Demos: Removing demonstration priors dropped stage completion success in simulation from 80.0% down to 40.0%, proving that human motion context is vital for knowing how to react to a tactile cue.
Limitations and Future Work
Not discussed in the paper. (Note: The provided manuscript text concludes at Section 5 without a dedicated limitations or future work section).
Summary updated