Compositional Diffusion with Guided search for Long-Horizon Planning
Utkarsh Mishra (Georgia Institute of Technology), David He (Georgia Institute of Technology), Yongxin Chen (Professor · Georgia Institute of Technology), Danfei Xu (Professor · Georgia Institute of Technology)
International Conference on Learning Representations 2026 · Oral
Overview
This talk introduces Compositional Diffusion with Guided Search (CDGS), a novel framework designed to tackle the challenging problem of long-horizon planning in diverse domains, ranging from robotics to generative AI. Presented by Utkarsh Mishra and his colleagues from Georgia Institute of Technology, CDGS addresses a critical limitation in existing compositional generative planning approaches: the tendency for composed plans to suffer from "mode averaging" and incoherence when stitching together short, atomic segments.

Key moments
- 0:00 Introduction: Long-horizon planning challenges
- 2:00 Problem: Mode averaging in compositional sampling
- 4:10 Proposed solution: Compositional Diffusion with Guided Search
- 6:00 Technical detail: Iterative resampling for plan coherence
- 7:10 Technical detail: Diffusion inversion for pruning plans
- 8:50 CDGS applications and performance across domains
- 13:00 Inference runtime and computational efficiency
Compositional Diffusion with Guided search for Long-Horizon Planning
Speakers: Utkarsh Mishra (Georgia Institute of Technology); David He (Georgia Institute of Technology); Yongxin Chen (Professor, Georgia Institute of Technology); Danfei Xu (Professor, Georgia Institute of Technology)
Conference: ICLR 2026
YouTube: https://slideslive.com/39062062
Overview
This talk introduces Compositional Diffusion with Guided Search (CDGS), a novel framework designed to tackle the challenging problem of long-horizon planning in diverse domains, ranging from robotics to generative AI. Presented by Utkarsh Mishra and his colleagues from Georgia Institute of Technology, CDGS addresses a critical limitation in existing compositional generative planning approaches: the tendency for composed plans to suffer from "mode averaging" and incoherence when stitching together short, atomic segments.
The core challenge lies in generating a long sequence of actions or states that not only individually make sense but also collectively form a feasible and coherent long-horizon plan, satisfying complex inter-step constraints. CDGS proposes an inference-time population-based search scheme, leveraging iterative resampling to enhance message passing between atomic segments and diffusion inversion to identify and prune low-likelihood, mode-averaged candidates.
The significance of CDGS is profound for the fields of robotics, computer vision, and general generative modeling. By enabling robust long-horizon planning without requiring retraining of foundational atomic models, it offers a flexible, plug-and-play solution that scales with available inference-time compute. This work paves the way for more capable AI systems that can reason and generate over extended temporal or spatial horizons, addressing complex tasks that demand multi-step reasoning and adherence to global consistency.
Background
▶ Watch: Introduction: Long-horizon planning challenges (0:00)
The foundation of this work rests on the compositional generative planning framework. This paradigm involves two main stages: first, learning a distribution of atomic samples or transitions (e.g., short-horizon robot movements, individual image patches) from demonstrations using a generative model like a diffusion model or flow-matching model. Second, at inference time, composing multiple instances of this learned atomic distribution into a task-level distribution to sample a complete, long-horizon solution in a training-free manner. For example, in robotics, this means learning how to "pick up an object" or "place an object" as atomic skills, and then composing these skills to achieve a complex goal like moving an object across a cluttered workspace.
The problem arises when attempting to compose these short-horizon transitions into a feasible or coherent long-horizon plan. Mathematically, while we can approximate the joint distribution of all states as a product of these short-horizon distributions (i.e., $P(s_1, \dots, s_N) \approx \prod P(s_{t+1}|s_t)$), the individual sampling of atomic segments can lead to significant issues. Specifically, when multiple modes exist for atomic transitions (e.g., "go up" or "go down" from a central state), simply composing overlaps can lead to a phenomenon known as mode averaging. This means the sampled long-horizon plan might pass through infeasible, low-likelihood states that do not belong to any valid transition mode, effectively getting stuck in a "sparse likelihood space."
Consider a toy example: a system can perform three types of atomic transitions, each with two possible modes (e.g., moving up or down). For a long-horizon plan requiring six such transitions, there are $2^6$ possible modes, but only a fraction might be feasible. Standard compositional sampling struggles here because it attempts to blend these modes, resulting in an averaged state that is not truly representative of any high-likelihood path. Furthermore, searching for optimal modes in this noisy, high-dimensional latent space becomes exponentially complex with respect to the planning horizon, making brute-force search impractical for non-trivial problems. This inherent difficulty in maintaining global coherence and feasibility while leveraging localized, learned distributions is the central problem CDGS aims to solve.
Key Findings
▶ Watch: Proposed solution: Compositional Diffusion with Guided Search (4:10)
The central contribution of this work is the Compositional Diffusion with Guided Search (CDGS) framework, which effectively addresses the challenges of mode averaging and sparse likelihood spaces in long-horizon compositional planning. The key findings and contributions are:
- Novel Inference-Time Search Scheme: CDGS introduces a population-based search mechanism that operates at every denoising step of the diffusion process. This search actively seeks optimal modes of the composed distribution by generating multiple candidate long-horizon plans, evaluating their coherence, and pruning inconsistent ones.
- Iterative Resampling for Coherence: A simple yet powerful technique called iterative resampling is proposed to improve the initial compositional sampling process. By performing one-step denoising followed by one-step renoising repeatedly, CDGS facilitates better "message passing" between neighboring atomic segments. This process allows individual segments to become more informed about the modes being sampled by their neighbors, leading to significantly improved coherence in candidate long-horizon plans.
- Diffusion Inversion for Likelihood Quantification: To identify and prune mode-averaged or low-likelihood candidates, CDGS leverages Diffusion/DDIM inversion. By reversing the denoising process and "noising" an atomic segment back using the learned score function, the smoothness of its inversion path can be quantified. High-likelihood segments exhibit smoother inversion paths, while low-likelihood segments show more abrupt shifts as they are pulled towards in-distribution latents. This smoothness criterion serves as an effective pruning objective.
- "One-Stop Plug-and-Play" Across Domains: CDGS is demonstrated to be a versatile, domain-agnostic solution. It was successfully applied to diverse tasks including structured task and motion planning (TAMP) in robotics, unstructured learning from play scenarios, and panoramic image and longer video generation.
- Performance Improvements Without Retraining: The framework consistently improves performance over naive composition and performs on par with, or even surpasses, privileged baselines that utilize additional information (e.g., task plans or in-context examples). Crucially, these gains are achieved entirely at inference time, without requiring any retraining or fine-tuning of the underlying atomic diffusion models.
- Scalability with Inference Compute: CDGS exhibits desirable scaling properties, where increasing inference-time compute (e.g., exploring more candidate plans, increasing iterative resampling steps) directly translates to solving harder, more complex tasks where simpler baselines completely fail. This highlights its potential for tackling highly challenging long-horizon problems given sufficient computational resources.
- Qualitative Enhancements: Beyond quantitative success rates, CDGS delivers qualitative improvements, such as enhanced subject consistency and prompt adherence over extended generation horizons in panoramic image and video generation, which are critical for realistic and usable generative outputs.
Technical Deep Dive
▶ Watch: Technical detail: Iterative resampling for plan coherence (6:00)
The technical core of CDGS lies in its intelligent guidance of the diffusion sampling process to navigate the sparse likelihood space created by composing atomic distributions.
The starting point is the compositional generative planning framework. This framework assumes we have a learned distribution of atomic transitions, $P(s_{t+1}|s_t)$, typically modeled by a diffusion model or flow-matching model trained on short-horizon demonstrations. At inference, the goal is to sample a long-horizon plan $(s_1, \dots, s_N)$ given a start state $s_1$ and a goal state $s_N$. This is approximated by composing individual atomic distributions, effectively treating the joint distribution as a product: $P(s_1, \dots, s_N) \approx \prod_{i=1}^{N-1} P(s_{i+1}|s_i)$. The score function for the long-horizon distribution, which is not directly available, is then approximated by composing the scores of the short-horizon distributions.
The fundamental problem, as identified by the authors, is that this approximation, when applied in the noisy latent space of diffusion models, leads to mode averaging. If an atomic transition has multiple distinct modes (e.g., an object can be picked up from the left or right), simply averaging their score functions or their latent representations during composition results in an "averaged" state that may not correspond to any valid, high-likelihood mode. This creates plans that are off-manifold or locally inconsistent.
CDGS addresses this with a population-based guided search scheme integrated directly into the denoising loop of the diffusion process. At each denoising step $T$, for a batch of noisy candidate long-horizon plans, the algorithm performs three key operations:
- Iterative Resampling: This step aims to improve the initial coherence of candidate plans. For each candidate plan $\tau$, it performs a sequence of one-step denoising using the compositional score, immediately followed by one-step renoising. This is repeated multiple times (e.g., 5-50 iterations depending on horizon). The intuition is that when two neighboring atomic segments are sampled individually and their overlap is inconsistent (off-manifold), renoising them back to a noisier state and then denoising again allows for "message passing." The segments become more informed about the modes their neighbors are sampling, causing their overlapping states to converge towards a more coherent, shared mode. This effectively refines the initial candidate plans by bringing them closer to the manifold of feasible long-horizon trajectories.
- Pruning with Diffusion Inversion: Even after iterative resampling, some candidates might still exhibit mode-averaged behavior. To identify and filter these out, CDGS leverages the properties of Diffusion/DDIM inversion. For every atomic segment within each candidate plan, the model applies a reverse denoising process (i.e., "noising" the sample back towards pure noise) using the learned score function.
- A high-likelihood sample, belonging to a principal mode of the atomic distribution, will exhibit a smoother inversion path through the latent space. Its trajectory when noised back will be predictable and consistent.
- A low-likelihood or mode-averaged sample, however, will have a less smooth inversion path. As it's noised back, the score function will try to pull its latents "in-distribution," causing more significant, abrupt shifts in its trajectory.
The smoothness of this inversion path is quantified. The authors define this by treating each latent as a "state" and the score function at every step as a "velocity." By summing a smoothness criterion (e.g., based on changes in velocity or deviation from a straight path) over all atomic segments of a long-horizon plan, a pruning score is obtained. This score indicates "how far individual atomic segments of a candidate plan are from the principal mode of the atomic distribution."
- Best-of-N Selection and Repopulation: After iterative resampling and calculating the pruning score (using a "2D estimate" which likely refers to a specific implementation of the smoothness metric), the algorithm uses a best-of-N selection strategy. From the batch of candidate plans, the top-N plans with the lowest (best) pruning scores are selected. These selected plans form the basis for the next denoising step, and the batch is repopulated (e.g., by adding noise to the best plans or generating new noisy candidates) to maintain diversity for the subsequent search. This iterative process of refinement, evaluation, and selection continues until the final denoised long-horizon plans are obtained.
This entire process makes CDGS a "one-stop plug-and-play" solution because it operates purely at inference time. It takes any pre-trained short-horizon diffusion model and augments its sampling procedure with these guided search mechanisms, thereby enabling robust long-horizon planning without modifying the underlying generative model.
Experimental Setup & Results
▶ Watch: CDGS applications and performance across domains (8:50)
The effectiveness of Compositional Diffusion with Guided Search (CDGS) was rigorously evaluated across a diverse set of domains, showcasing its versatility and robust performance.
Domains and Tasks:
- Structured Task and Motion Planning (TAMP):
- Task: Robotics manipulation problem involving a blue cube and a green cube. The robot must use a tool (e.g., a hook) to bring the blue cube into the workspace, displace the green cube, and then place the blue cube at a target position (either under a rack or where the green cube initially was). This is a complex, long-horizon task requiring six atomic segments stitched together, involving both "what to do" (picking, placing) and "how to do it" (continuous motion parameters).
- Goal: Demonstrate CDGS's ability to solve hybrid, multi-step planning problems with inter-step constraints.
- Unstructured Learning from Play Scenarios:
- Task: Learning to perform various interactions in an unstructured environment by observing play data. After learning atomic-level transition distributions, CDGS is used to sample plans for arbitrary goal states.
- Goal: Show CDGS's applicability to less structured, real-world robotic learning problems.
- Panoramic Image Generation and Longer Video Generation:
- Task: Generating extended visual content (panoramic images, longer videos) while maintaining prompt adherence, subject consistency, and style consistency over prolonged horizons.
- Goal: Illustrate CDGS's utility in high-dimensional generative AI tasks where global coherence is crucial.
Baselines and Metrics:
- Baselines: Performance was compared against "naive composition" (direct sampling without guided search) and privileged baselines. Privileged baselines were given additional information, such as the ground-truth task plan or in-context examples, providing them an unfair advantage to evaluate if CDGS could match or exceed their performance without such prior knowledge.
- Metrics: For robotics tasks (TAMP, learning from play), success rates were the primary quantitative metric. For image and video generation, qualitative metrics like subject consistency and prompt adherence over extended generation horizons were observed and reported (image generation results detailed in the paper).
Headline Results:
- TAMP Performance: CDGS significantly improved performance across various task and motion planning scenarios. Crucially, it achieved this without using any additional information beyond the learned atomic distributions. It performed on par with privileged baselines, demonstrating its ability to infer complex task plans as effectively as systems given explicit guidance.
- Scalability: A major finding was CDGS's ability to scale with more compute during inference. By increasing the number of candidate plans explored at each denoising step and the number of iterative resampling (message passing) steps, CDGS could solve harder tasks where baselines completely failed. This scalability is achieved without any retraining, making it a flexible solution for increasingly complex problems.
- Unstructured Learning: In the unstructured learning from play domain, CDGS consistently improved over naive composition, demonstrating its value in real-world, less constrained environments.
- Generative AI Quality: For panoramic image and longer video generation, CDGS qualitatively showed improved subject consistency with prompt adherence over extended generation horizons. This is a critical aspect for generating high-quality, believable long-form content.
Computational Considerations:
The authors acknowledge that CDGS is computationally intensive at inference time due to the added steps of iterative resampling and pruning. However, they highlight that:
- The process is highly batchable: individual atomic segments can be batched together and processed in parallel through the diffusion model to obtain scores.
- The best-case computational complexity is almost linear, scaling with GPU compute and batch size.
- Compared to a normal diffusion sampling process, CDGS's runtime scales linearly with the number of iterative resampling steps and almost quadratically with the number of inversion steps used for pruning.
- In experiments, iterative resampling steps ranged from 5 to 50, depending on the planning horizon, as the hypothesis is that each resampling step facilitates one unit of message passing.
In summary, CDGS demonstrates superior performance and scalability across diverse domains, providing a robust solution for long-horizon planning by intelligently guiding the diffusion process at inference time.
Practical Implications
▶ Watch: Inference runtime and computational efficiency (13:00)
Compositional Diffusion with Guided Search (CDGS) carries significant practical implications for practitioners, infrastructure teams, model builders, and deployers in various AI/ML domains:
For Practitioners and Model Builders:
- Enables Long-Horizon Reasoning: CDGS provides a powerful tool for tackling complex, multi-step tasks that require reasoning over extended horizons, a longstanding challenge in AI. This is particularly valuable in robotics for tasks involving sequential manipulation, navigation, or multi-stage assembly.
- "Plug-and-Play" with Existing Models: A major advantage is its training-free nature. Practitioners can leverage pre-trained, short-horizon diffusion or flow-matching models (which are often easier to train due to localized data requirements) and immediately apply CDGS to enable long-horizon capabilities. This eliminates the need for costly and time-consuming retraining for every new long-horizon task.
- Domain Agnostic Applicability: Its demonstrated success across robotics, image generation, and video generation suggests broad applicability. Model builders can adapt CDGS to other sequence generation tasks, such as code generation, story writing, or even drug discovery, where compositional coherence over long sequences is crucial.
- Improved Coherence and Feasibility: CDGS directly addresses the problem of mode averaging, leading to more coherent and physically feasible plans or generated outputs. This translates to higher quality results in generative AI (e.g., consistent subjects in long videos) and more reliable task execution in robotics.
For Infrastructure Teams and Deployers:
- Increased Inference Compute Demands: The primary trade-off is increased computational cost at inference time. CDGS is computationally intensive, requiring significant GPU resources to manage batches of candidate plans, perform iterative resampling, and conduct diffusion inversion. Infrastructure teams need to plan for higher compute allocation and potentially longer inference latencies, especially for real-time applications.
- Scalability with Resources: On the positive side, CDGS's performance scales with available compute. This means that by investing more in GPU capacity or allowing for longer inference times, deployers can achieve better performance and solve harder problems. This provides a clear path for improvement as computational resources evolve.
- Batching for Efficiency: The design allows for batching of individual atomic segments, which can mitigate some of the computational overhead by leveraging GPU parallelism. Infra teams can optimize batch sizes to maximize throughput within their hardware constraints.
Tradeoffs and Limitations:
- Computational Intensity: The most significant limitation is the increased inference runtime. While it avoids retraining, the iterative nature of resampling and the quadratic scaling with inversion steps (relative to a single diffusion sample) mean that complex long-horizon tasks will incur noticeable latency. For applications demanding very low-latency responses (e.g., real-time robot control), this might be a bottleneck.
- Hyperparameter Tuning: The number of iterative resampling steps is a hyperparameter that depends on the planning horizon. Practitioners may need to tune this for optimal performance in specific domains, adding a layer of complexity to deployment.
- Reliance on Atomic Model Quality: While CDGS improves composition, its ultimate success still relies on the quality of the underlying pre-trained atomic diffusion models. If these foundational models poorly capture the distribution of short-horizon transitions, CDGS will have less robust candidates to work with.
In essence, CDGS offers a powerful paradigm shift for long-horizon planning, enabling capabilities previously difficult to achieve. Its "no retraining" approach makes it highly appealing, but careful consideration of its computational demands and the inherent trade-offs between plan quality and inference latency will be crucial for successful real-world deployment.
Key Takeaways
- Compositional Diffusion with Guided Search (CDGS) is a novel framework for robust long-horizon planning across diverse domains.
- It addresses the critical problem of mode averaging and incoherence when composing short-horizon generative models into long-horizon plans.
- Iterative Resampling is a key technique that improves message passing between atomic segments, enhancing the coherence of candidate plans.
- Diffusion/DDIM Inversion is used to quantify the likelihood (smoothness of inversion path) of atomic segments, enabling effective pruning of low-likelihood, mode-averaged plans.
- CDGS is a "plug-and-play" solution, operating entirely at inference time without requiring retraining of the underlying atomic diffusion models.
- The method demonstrates strong performance gains over baselines in robotics (TAMP, learning from play) and generative AI (panoramic images, long videos), scaling effectively with increased inference-time compute.
About the Speaker(s)
The work on Compositional Diffusion with Guided Search was presented by Utkarsh Mishra, a researcher from the Georgia Institute of Technology. He collaborated with David He, also from the Georgia Institute of Technology, and Professors Yongxin Chen and Danfei Xu, both faculty members at the Georgia Institute of Technology. The team's research interests evidently lie at the intersection of generative models, diffusion processes, and their applications in complex planning problems, particularly in robotics and high-dimensional generative tasks.
Reviews
→ Top-rated talks at International Conference on Learning Representations 2026
All talks from International Conference on Learning Representations 2026