NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Chain-of-Trajectories: Unlocking the Intrinsic Generative Optimality of Diffusion Models via Graph-Theoretic Planning

Ping Chen

TL;DR

This paper introduces Chain-of-Trajectories (CoTj), a novel framework that transforms diffusion models from rigid, pre-programmed systems into intelligent planners. By predicting a "Diffusion DNA" signature of denoising difficulty, CoTj enables dynamic, graph-based planning of sampling trajectories, leading to improved generation quality and efficiency.

What Problem Does This Paper Address?

Diffusion models, while powerful, typically operate with fixed, content-agnostic sampling schedules. This "System 1" approach is akin to a reflex, executing a pre-defined sequence without considering the specific content being generated. This rigidity leads to inefficient use of computational resources, as some steps might be redundant while others are insufficient for complex parts of the generation. The core challenge is the "curse of state dimensionality": the vast, high-dimensional space of possible noise states makes explicit trajectory planning computationally infeasible. Existing methods either bake trajectories into model weights or use simple heuristics, failing to achieve true adaptive planning.

Methods

CoTj introduces a "System 2" deliberative planning approach. The key innovation is Diffusion DNA, a low-dimensional signature that quantifies the denoising difficulty at each stage. This signature acts as a proxy for the complex high-dimensional state space. CoTj then reformulates the sampling process as a graph planning problem on a directed acyclic graph (DAG). The framework follows a Predict-Plan-Execute paradigm:

  1. Predict: A lightweight predictor (MLP) estimates the Diffusion DNA from the input condition (e.g., text prompt).
  2. Plan: A graph-theoretic planner finds the optimal "Path of Least Action" on the DAG, minimizing reconstruction error and computational cost.
  3. Execute: The diffusion model denoises along the planned trajectory. This approach allows CoTj to dynamically allocate computational effort to the most challenging generative phases without retraining the base diffusion model.

Datasets

  • PickScore training set: Used for analyzing Diffusion DNA and training the predictor. (25,432 unique prompts)
  • FlowEdit dataset: Used for evaluating trajectory planning vs. solver complexity.
  • Qwen-Image, SD3.5, Z-Image-Turbo, Wan2.2: Various diffusion models used for experiments across image and video generation.

Key Insights and Ideas

  • Diffusion DNA as a "difficulty signature": The paper reveals that the intrinsic difficulty of denoising is not uniform and can be captured by a low-dimensional signature, allowing for intelligent planning.
  • System 1 vs. System 2 in Diffusion: The work frames diffusion models' current operation as "System 1" (reactive, fixed) and proposes CoTj as a "System 2" (deliberative, adaptive) approach.
  • Graph-theoretic planning for generative tasks: Applying graph planning to the discrete steps of diffusion models provides a principled way to optimize trajectories.
  • "Path of Least Action" for generative optimality: The optimal trajectory is not necessarily the shortest or the one with the most steps, but the one that strategically allocates computation to challenging regions.
  • Predict-then-Plan amortizes cost: By predicting Diffusion DNA with a lightweight model, the planning overhead is minimized, making adaptive planning practical for real-time inference.
  • Generative Hierarchy: For video generation, spatial manifold stabilization (fidelity) is a prerequisite for coherent motion, suggesting a hierarchical approach to generation.

Key Results

  • Improved Output Quality and Stability: CoTj consistently improves generation quality and stability across various models and tasks, outperforming baselines even with fewer steps. For example, at 10 steps, CoTj reduces MSE by over 60% and improves PSNR by over 6 dB compared to a standard Euler baseline.
  • Computational Efficiency: CoTj dynamically allocates computational effort, focusing on difficult stages and skipping redundant ones, leading to reduced computation without sacrificing quality.
  • Cross-Modal Adaptability: The framework demonstrates effectiveness in both image and video generation (Wan2.2), showing strong structural generalization.
  • Predictor Efficiency: The Diffusion DNA predictor is computationally lightweight, with minimal parameters and latency, enabling real-time application.
  • Structural Diagnostics: Diffusion DNA provides insights into model behavior, revealing issues like non-convergence in distilled models.

Limitations and Future Work

  • Limitations:
    • The current work focuses on discrete time steps and may require further adaptation for continuous-time models.
  • While the predictor is lightweight, its accuracy is crucial for effective planning.
  • Future Work:
    • Extending CoTj to more complex video dynamics and incorporating motion-resistance signatures.
  • Integrating online feedback for trajectory correction.
  • Exploring unsupervised Diffusion DNA discovery across different modalities.
  • Investigating the integration of CoTj with higher-order solvers for further improvements.

Summary updated

BibTeX
@misc{chen2026chain,
  author = {Ping Chen},
  title = {{Chain-of-Trajectories: Unlocking the Intrinsic Generative Optimality of Diffusion Models via Graph-Theoretic Planning}},
  year = {2026},
  eprint = {2603.14704},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2603.14704},
}
Figure