CAPE: Context-Aware Diffusion Policy Via Proximal Mode Expansion for Collision Avoidance

Rui Heng Yang, Xuan Zhao, Leo Maxime Brunswic, Montgomery Alban, Mateo Clémente, Tongtong Cao, Jun Jin, Amir RasouliarXiv 2025 · DOI

Abstract

CAPE (Context-Aware Diffusion Policy) introduces a framework for real-time robotic collision avoidance by expanding learned behavior distributions at inference. By utilizing a noisy version of previous trajectory plans as a "prior-seeded" starting point, CAPE enables diffusion models to navigate cluttered environments effectively, even when trained solely on obstacle-free data. This approach resolves the "Guidance-Denoising Tension" common in training-free guidance methods, achieving significantly higher success rates in both simulated and real-world manipulation tasks.

Introduction

Diffusion models have emerged as a powerful tool in robotics for representing complex, multi-modal action distributions. However, their reliance on vast amounts of demonstration data makes training for every possible obstacle configuration impractical. While training-free guidance offers a potential solution by "nudging" model outputs at test time via cost functions, it often suffers from a "Guidance-Denoising Tension." Weak guidance leads to collisions, while strong guidance results in unrealistic, jerky movements that deviate from the learned task distribution. This happens because the model's learned distribution is too narrow; guidance attempts to push the robot into regions the model does not recognize as valid.

Conceptual overview of Proximal Mode Expansion (CAPE), showing how the trajectory distribution shifts to safer areas by using previous guided outputs as a prior.

Methodology

The core of CAPE is Proximal Mode Expansion, implemented through a prior-seeded iterative refinement procedure. Unlike standard diffusion which generates trajectories from pure Gaussian noise, CAPE leverages the temporal structure of the task to maintain intent while adapting to obstacles.

The CAPE inference pipeline: Initial samples are refined through a DDPM denoising process guided by an SDF module, with subsequent steps seeded by noisy versions of previous plans.

The process follows a two-phase cycle:

  1. Initial Planning: The robot generates a base path using standard guided diffusion.
  2. Iterative Refinement: After executing a few steps, the robot takes the remaining part of its previous plan, adds a specific amount of noise ($\delta$) to it to create a "prior," and runs the denoising process again.

By starting from a "noisy version of a good guess" rather than random noise, the model stays anchored to realistic movements (preserving task intent) while the guidance has the "room" to expand the search into safe, context-aware regions. A Signed Distance Function (SDF) is used to calculate the collision costs that guide this denoising process.

Evaluation and Results

CAPE was trained on only 1,000 trajectories collected in obstacle-free simulated environments, highlighting its zero-shot generalization capabilities. It was evaluated on ManiSkill2 tabletop manipulation tasks and real-world 7-DoF Franka Panda robot arm tasks.

Key Results: * Superior Performance: In highly cluttered ManiSkill2 environments, CAPE achieved a 75-76% success rate, significantly outperforming baselines like Motion Planning Diffusion (MPD), which hovered around 36-50%. * Real-World Robustness: In a "Pick Tape" task with unseen obstacles, CAPE achieved an 80% success rate, whereas the baseline failed completely (0% success) due to its inability to find collision-free paths within its narrow distribution. * Efficiency: CAPE achieved a refinement frequency of ~16.7 Hz, roughly 4x faster than prior-free methods, making it suitable for real-time deployment.

Conclusion

CAPE effectively addresses the limitations of narrow learned distributions in diffusion policies through proximal mode expansion. By seeding the denoising process with previous plans, the framework maintains task integrity while successfully navigating complex, unseen clutter. Future work will focus on extending this to full-body collision avoidance and adapting the system for dynamic, rapidly moving obstacles.

Summary updated

BibTeX
@misc{yang2025cape,
  author = {Rui Heng Yang and Xuan Zhao and Leo Maxime Brunswic and Montgomery Alban and Mateo Clémente and Tongtong Cao and Jun Jin and Amir Rasouli},
  title = {{CAPE: Context-Aware Diffusion Policy Via Proximal Mode Expansion for Collision Avoidance}},
  year = {2025},
  eprint = {2511.22773},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.22773},
}
Figure