TL;DR
SafeBimanual is a test-time trajectory optimization framework that prevents physical hazards in dual-arm robot manipulation without needing policy retraining. By using a Vision-Language Model (VLM) with chain-of-thought reasoning to identify stage-specific risks and guide pre-trained diffusion policies with differentiable geometric cost functions, it slashes unsafe physical interactions by 18.8% in simulation and boosts real-world task success by 32.5%.
What Problem Does This Paper Address?
Bimanual robot systems offer high dexterity for complex household and industrial tasks (e.g., pouring, folding, handovers). While diffusion policies excel at modeling multimodal action distributions across high-degree-of-freedom manipulators, they are blind to explicit physical safety constraints.
During execution, unconstrained sampling often causes dangerous arm misalignment: dual grippers collide, arms tear grasped objects by pulling in opposing directions, or end-effectors violently poke surfaces during grasping. Directly retraining policies with constrained reinforcement learning or collecting collision-free demonstrations is sample-inefficient and brittle across unstructured environments.
Methods
SafeBimanual introduces a test-time, energy-guided trajectory optimization pipeline for pre-trained diffusion policies (e.g., 2D Diffusion Policy, 3D Diffusion Policy, and foundation models like RDT-1b).
RGB-D & Scene -> Keypoint Extraction (DINOv2 + SAM 2 + FK)
│
▼
Adaptive Safety Scheduler (VLM + CoT)
[Identifies Risk Mode -> Selects Costs & Keypoints]
│
▼
Denoising Diffusion Step: A_t^{k-1} = μ - ρ ∇ C_sched + σ ε
│
▼
Safe Trajectory
Its architecture centers on three components:
- Unsafe Interaction Taxonomy & Cost Formulation: After analyzing 1,320 bimanual demonstrations across 7 benchmarks, the authors identified five dominant unsafe failure modes (>96.2% of occurrences) and formalized them as differentiable geometric cost functions:
- Object–Object Collision ($C_1$): Penalizes Euclidean proximity between critical object keypoints.
- Behavior Misalignment ($C_2$): Penalizes orthogonal deviations and height offsets relative to target interaction axes (e.g., aligning bottle spout to cup rim).
- Gripper Poking ($C_3$): Penalizes deviations between the gripper's approach vector and the keypoint contact vector.
- Gripper Tearing ($C_4$): Penalizes deviations from initial grasp distance $d_0$ when holding a single rigid body.
- Gripper–Gripper Collision ($C_5$): Penalizes proximity between end-effector tips.
- Primitive Tracking: Relational keypoints are extracted using DINOv2 and SAM 2, tracked through occlusions using CoTracker3 and Omni6DPose (with a rigid body offset assumption), while gripper tips are tracked via differentiable forward kinematics.
- Adaptive VLM Scheduling: A vision-language model (GPT-4o) evaluates the active task stage and scene image via Chain-of-Thought (CoT) prompting to infer the prevailing safety risk. It outputs a dynamic mask that activates only relevant cost terms and assigns appropriate keypoint pairs.
- Guided Denoising: Safety guidance is injected exclusively in the final denoising steps ($k \le 0.3K$) using the gradient of the scheduled cost $\nabla_{A_t^k} C_{\text{sched}}$, preserving broad generative diversity early on while enforcing physical feasibility near convergence.
Datasets
- Taxonomy Study: 1,320 demonstrations across 65 tasks sampled from 7 bimanual manipulation benchmarks (including RLBench, RoboTwin, Bigym, and Orbit).
- Simulation Benchmark: 8 tasks in the RoboTwin simulator evaluated over 100 episodes each (e.g., Dual Bottles Pick, Pour Water, Block Handover, Dual Shoes Place). Baselines were trained on 50 expert demonstrations per task.
- Real-World Evaluation: Tested on a Galaxea-R1 dual-arm humanoid robot across 4 distinct tasks (Pass Banana, Pour Water, Wipe Bowl, Place Fruits) plus a multi-phase long-horizon task (Prepare Breakfast).
Key Insights and Ideas
- Safety is stage-dependent, not static: Activating all safety constraints simultaneously fails because constraints can conflict (e.g., collision avoidance between hands vs. handover proximity). Dynamic, stage-aware constraint scheduling via a VLM proved essential; ablating the VLM scheduler reduced success from 35.5% to 19.4%.
- Guidance belongs in late denoising: Applying cost gradients throughout all diffusion timesteps corrupts policy distribution coverage. Injecting energy guidance only in the final $30\%$ of DDIM denoising steps ensures trajectories remain task-effective while adjusting to safety boundaries.
- Separating physical safety from task semantics: SafeBimanual corrects kinematic trajectories to satisfy physical bounds without modifying high-level task goals, making it an agnostic, plug-and-play module for disparate base policies.
Key Results
- Simulation (RoboTwin): Across DP, DP3, and RDT-1b, SafeBimanual raised average task success rate from 39.6% to 50.7% (+13.7% to +13.8% across runs) while reducing danger rates from 43.9% to 25.0% (an 18.8% drop).
- Real-World Experiments: Achieved a 32.5% average boost in task success alongside a 30.0% reduction in dangerous interactions on the Galaxea-R1 robot. Notable individual gains included Place Fruits (success jumped from 20% to 60%) and Wipe Bowl (30% to 70%).
Limitations and Future Work
- Physical vs. Semantic Failures: The framework explicitly prevents physical boundary violations (tearing, collisions) but cannot resolve high-level semantic errors (e.g., stacking blocks in the incorrect color order).
- Perception Vulnerability: The pipeline relies heavily on robust 2D/3D visual tracking and 6D object pose estimates; severe visual occlusions or sensor noise can degrade keypoint locations.
- VLM Hallucination & Latency: While effective, re-querying the VLM introduces computational overhead at stage transitions, and the model occasionally generates suboptimal keypoint assignments in subjective tasks such as folding cloth or table setting.
Summary updated