Compositional Visual Planning via Inference-Time Diffusion Scaling

Yixin Zhang, Yunhao Luo, Utkarsh Aashu Mishra, Woo Chul Shin, Yongxin Chen, Danfei Xu

Diffusion models have demonstrated remarkable capabilities in short-horizon robotic planning. However, scaling these models to handle long-horizon tasks remains a significant challenge due to high computational costs and a lack of extensive long-horizon training data. This paper introduces a novel, training-free framework that overcomes these limitations by "stitching" together short-horizon video diffusion models to create globally consistent, long-horizon plans.

The Challenge: The "Noisy-Bethe Gap"

To avoid the expense of training massive long-horizon models, researchers often attempt to compose or stitch together shorter video segments. Existing compositional approaches, such as DiffCollage, typically achieve this by separately denoising each component and averaging the overlapping regions in the noisy latent space.

The authors identify a fundamental mathematical flaw in this standard approach, which they term the "Noisy-Bethe Gap." The mathematical assumptions that allow a global plan to be factorized into local chunks break down when the data is noisy. Consequently, averaging in this noisy space leads to "drifting" boundaries, temporal flickering, and ultimately, disjointed robot plans where the "seams" between video chunks fail to align.

The Solution: Tweedie-Space Composition

To resolve the instability of noisy-space stitching, the authors propose an inference-time scaling approach that formulates long-horizon planning as inference over a chain-structured factor graph of overlapping video chunks.

Visualizing the compositional planning process: short-horizon video chunks are stitched together to form a continuous, long-horizon plan.

Instead of enforcing agreement on noisy variables, the method enforces boundary agreement on Tweedie estimates—the model's best guess of the final "clean" image at each step of the denoising process. By moving the composition to this denoised space, the framework effectively closes the Noisy-Bethe Gap, providing a much more stable domain for generating continuous plans.

To ensure all video chunks align perfectly across the entire sequence, the framework employs two types of joint message passing:

  • Synchronous Message Passing: Treats the entire chain of overlapping chunks as a linear system, updating everything in parallel.
  • Asynchronous Message Passing: Utilizes a forward-and-backward "Temporal Difference" style update to propagate constraints stably across the sequence.

This process is guided by a specialized sampler called Diffusion-Sphere Guidance (DSG), which steers the denoising process toward boundary agreement without sacrificing the diversity or visual quality of the generated samples. Crucially, this entire process happens at test time. A pre-trained short-horizon model can be "scaled up" to long tasks without any additional training or weight adjustments.

Experimental Validation and Results

The authors evaluated their framework on a custom Compositional Planning Benchmark built on ManiSkill, featuring scenes like Tool-Use, Drawer Manipulation, Cube Rearrangement, and Puzzle Solving. The benchmark included 100 total tasks, heavily emphasizing "Out-of-Distribution" (OOD) scenarios featuring unseen start-goal combinations.

Key Findings: * Unprecedented OOD Generalization: The model successfully solved complex, multi-step tasks (e.g., "pick up a brush from a drawer and draw on a canvas") even if it had only seen the individual sub-tasks in isolation during training. In the overall benchmark, the proposed method achieved a 54% success rate on OOD tasks, obliterating the previous state-of-the-art compositional baseline (DiffCollage), which scored 0%. * Superior Visual Quality: Using the VBench++ metric, the generated visual plans exhibited significantly higher motion smoothness and background consistency, avoiding the "blurry ghosting" artifacts that plague standard stitching methods. * Real-World Execution: The system was successfully deployed on a physical Franka Emika Panda robot. By generating a high-fidelity video of the task first, the framework creates its own "visual subgoals," which an inverse dynamics model then follows. The method maintained high success rates (up to 100% on specific OOD tasks) in the real world, whereas baselines completely failed to produce coherent, executable plans.

Limitations and Future Directions

While highly effective, the framework does introduce computational overhead. Because it requires gradient-based optimization at every denoising step, inference is slower than simple averaging (e.g., ~31 seconds for a plan versus ~21 seconds for DiffCollage). Additionally, the method's success is inherently tied to the quality of the base short-horizon model; if the base model's clean-data (Tweedie) estimates are poor, the guidance signals will be noisy.

Currently, the number of video chunks required for a task must be specified manually. Future work will explore automatically inferring the necessary number of segments based on task complexity, further streamlining this powerful approach to compositional robot planning.

Summary updated

BibTeX
@inproceedings{zhang2026compositional,
  author = {Yixin Zhang and Yunhao Luo and Utkarsh Aashu Mishra and Woo Chul Shin and Yongxin Chen and Danfei Xu},
  title = {{Compositional Visual Planning via Inference-Time Diffusion Scaling}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=EEONns7ae4},
}
Figure