Adaptive Diffusion Constrained Sampling for Bimanual Robot Manipulation

Haolei Tong, Yuezhe Zhang, Sophie Lueth, Georgia ChalvatzakiarXiv 2025 · DOI

Introduction

Coordinated bimanual manipulation—such as two robot arms carrying a large box or sketching a pattern together—presents a significant challenge for traditional motion planning. To succeed, a robot must satisfy a complex "cocktail" of simultaneous constraints. These include equality constraints (maintaining relative distance between hands), inequality constraints (avoiding self-collision or environmental obstacles), and robot-specific limits (respecting joint angles and reachability).

Traditional methods like Markov Chain Monte Carlo (MCMC) often struggle with these high-dimensional spaces, frequently getting stuck in local optima or failing to capture the multimodal nature of valid solutions. While recent diffusion-based models show promise, they typically require manual tuning of constraint weights, which is tedious and fails to generalize across different environments. Adaptive Diffusion Constrained Sampling (ADCS) addresses these issues by introducing a generative framework that dynamically weighs constraints and ensures sample diversity through a density-aware strategy.

The ADCS Framework

ADCS treats constraint satisfaction as an Energy-Based Model (EBM) problem solved through a diffusion process. The architecture is built upon three primary pillars:

  1. Energy-Based Diffusion in SE(3): Instead of standard denoising, the model learns a score function (the gradient of the log-probability) across the robot's pose space. By utilizing Lie algebra ($se(3)$), the system ensures that mathematical operations remain consistent with the geometry of 3D rotations and translations.
  2. Compositional Weighting Transformer (CWT): This serves as the system's "brain." Rather than using fixed weights, ADCS treats each constraint's energy value as a token. These tokens pass through a Transformer that learns to dynamically prioritize constraints based on the current state—for example, prioritizing collision avoidance when near a wall and switching to pose precision when approaching a target.
  3. Two-Stage Batch-Wise Sampling: The sampling process occurs in two phases. First, it uses Annealed Langevin Monte Carlo (ALMC) with a Gauss-Newton refinement step to find feasible configurations. Second, it employs Kernel Density Estimation (KDE) to identify sample "clumping," re-weighting and resampling to ensure the robot explores a diverse range of possible solutions.
The full ADCS architecture, illustrating the Training Structure with the Compositional Weighting Transformer and the subsequent Sampling Structure.

Experimental Evaluation

The authors evaluated ADCS across several custom-designed benchmarks in both simulation and real-world environments. In simulation, the model was tested on four distinct tasks using dual Franka Emika Panda arms: Obstacle Avoidance, Orientation Alignment, Rectangle Constrained Sampling, and Surface Contact Sampling.

The four primary simulation tasks used to benchmark ADCS performance against traditional and diffusion-based baselines.

Real-world testing involved eight stippling (drawing) tasks and a transport task using a bimanual TIAGo robot and a dual-Franka setup. The model was also tested in "Out-of-Distribution" (OOD) scenarios, where target poses and obstacle locations differed significantly from the training data, to assess its generalization capabilities.

Key Results

  • Superior Accuracy: In the "Rectangle Constrained" task, ADCS achieved a Mid-point Position Error (MPE) of 0.169 mm, a massive improvement over the 21.8 mm error seen in the previous state-of-the-art (Diffusion-CCSP).
  • High Success Rates: In complex scenarios, ADCS maintained a 99.46% valid sample rate, whereas baselines without two-stage sampling dropped as low as 82.3%.
  • Efficiency: While traditional optimization baselines (like NLP-Sampling) could take over 60 seconds to generate samples, ADCS consistently produced higher-quality results in approximately 10–15 seconds.

Key Insights and Future Directions

A primary takeaway from this research is that dynamic weighting outperforms static tuning. The CWT allows the model to handle unseen constraints at inference time; because constraints are treated as modular tokens, new constraints can be plugged in without retraining the entire system. Furthermore, the inclusion of a second-order Gauss-Newton update during the refinement phase allows for sub-millimeter precision that standard Langevin dynamics cannot achieve.

Despite these successes, limitations remain. Currently, constraints must be defined numerically. Future work may integrate Vision-Language Models (VLMs) to allow users to define constraints via natural language (e.g., "keep the tray level"). Additionally, while the model handles static obstacles well, navigating highly dynamic human environments remains a challenge for future iterations of the framework.

Summary updated

BibTeX
@misc{tong2025adaptive,
  author = {Haolei Tong and Yuezhe Zhang and Sophie Lueth and Georgia Chalvatzaki},
  title = {{Adaptive Diffusion Constrained Sampling for Bimanual Robot Manipulation}},
  year = {2025},
  eprint = {2505.13667},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.13667},
}
Figure