What Do You Need for Diverse Trajectory Stitching in Diffusion Planning?

Quentin Clark, Florian ShkurtiarXiv 2025 · DOI

Abstract

Diffusion planners often struggle to "stitch" together parts of different training trajectories, leading to rigid memorization rather than creative problem-solving. This paper identifies two architectural "must-haves"—shift equivariance and local receptive fields—and introduces Eq-Net, a simple CNN-based architecture that enables superior compositional generalization and goal-steering, even with very little training data.

Introduction

In robotic planning, "stitching" is the ability to take sub-sequences from different training examples and combine them into a brand-new, valid trajectory. While image-generation diffusion models are famously "creative," diffusion models used for robot planning often fall into a trap: they tend to exactly reproduce training trajectories rather than composing new ones.

Standard architectures like U-Nets (which use down-sampling) and Transformers (which use global attention and positional encodings) often bake in a "global bias." They learn that a specific action only happens at a specific time or position in a sequence. When asked to perform that action at a different time to reach a new goal, they fail. This research seeks to understand exactly which design choices move a model from "memorizer" to "composer."

Overview of the trajectory stitching problem and the design space for diffusion planners.

Methods: The Eq-Net Architecture

The authors analyze three main ways to induce composition: inference techniques (replanning), data strategies (augmentation/scaling), and architectural design. Their primary contribution is Eq-Net, a residual CNN designed with two specific constraints:

  1. No Pooling or Down-sampling: These common operations provably break shift equivariance. By avoiding them, Eq-Net ensures that a "pick-and-place" skill is recognized and generated identically whether it occurs at the start, middle, or end of a plan.
  2. Small Convolutional Kernels: This enforces a "local receptive field," forcing the model to predict a state based on its immediate neighbors in time rather than the global context of the entire trajectory.

Eq-Net was compared against standard U-Net and DiT (Diffusion Transformer) backbones across various data scales and task settings, including navigation (Maze) and manipulation (Well-Plate, Block-Stack, Lights).

Key Insights

  • The Locality/Equivariance Duo: Shift equivariance allows the model to use a sub-skill anywhere in a sequence, while local receptive fields prevent "causal confusion" from distant, irrelevant states. Experiments showed that local receptive fields have a greater marginal effect on a model's ability to compose new behaviors than shift equivariance alone.
  • Data Scaling Induces Locality: Interestingly, as training data increases by orders of magnitude, even "global" models like U-Nets eventually learn to focus on local features. However, Eq-Net achieves this "locality" by design, allowing it to generalize with 10–100x less data.
  • Composition = Steerability: Models that can compose are much easier to "steer" toward goals using inpainting. Because Eq-Net isn't locked into specific training sequences, it can find valid paths to arbitrary coordinates much more reliably than standard backbones.

Key Results

Eq-Net produced significantly more novel trajectories that successfully reached the goal compared to baselines. In the Maze task, Eq-Net achieved an 83.8% completion rate in a goal-conditioned setting, while the standard U-Net failed completely (0%).

A sampled trajectory generated by Eq-Net, demonstrating the successful stitching of multiple training sub-skills into a novel path.

Furthermore, Eq-Net demonstrated remarkable data efficiency. In the Maze environment, it began producing composed trajectories with as few as 100 training samples, whereas DiT and U-Net required over 1,000 and 10,000 samples, respectively, to reach similar levels of performance.

Conclusion

By prioritizing shift equivariance and local receptive fields, Eq-Net overcomes the memorization pitfalls of standard diffusion backbones. This architectural inductive bias allows for efficient trajectory stitching and robust goal-steering, proving that the right model design can significantly reduce the data requirements for complex robotic planning tasks.

Summary updated

BibTeX
@misc{clark2025what,
  author = {Quentin Clark and Florian Shkurti},
  title = {{What Do You Need for Diverse Trajectory Stitching in Diffusion Planning?}},
  year = {2025},
  eprint = {2505.18083},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.18083},
}
Figure