# Coarse-to-Fine Compositional Diffusion for Long-Horizon Planning

*Byoungwoo Park, Utkarsh Mishra, Jaemoo Choi, Juho Lee, Yongxin Chen*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/148485) · [OpenReview](https://openreview.net/forum?id=xTMCXC32qJ) · [alphaXiv](https://www.alphaxiv.org/abs/2606.00837) · [Open on the map](../papers.html#p148485)

Category: [Video Understanding & Generation](../pcat/3.md) › [Video Diffusion Generation](../pgroup/133.md) · Type: new method · Keywords: compositional diffusion, long-horizon planning, global coherence, local refinement, inference-time sampling

Areas: [Generative Models (Diffusion & Flows)](../areas/generative-models.md) › Diffusion Model Optimization › Compositional Diffusion

## Summary
CoFi is a coarse-to-fine compositional diffusion sampler that separates global structure formation from local detail refinement, improving global coherence and sample quality while reducing denoiser evaluations.

## Explained to a 5-year-old
A robot needs to do many things in a row, like moving and picking up objects. It first makes a big plan that shows the whole route and what to do. Then it adds the small details, like exact steps and fine movements. By making the big plan first, the robot avoids getting confused and makes better choices. This way the robot works faster and uses less computer power.

## Explained to a 5-year-old, longer
Imagine a robot that has to do many tasks, like walking, turning, and grabbing things. Doing all of them at once is hard, so we break them into small pieces. Each small piece is a short plan that shows what to do next. When we put these short plans together, they sometimes make a weird overall route. That's because the short plans only check that they fit together locally. To fix this, we first make a big picture plan that shows the whole route. This big plan tells the robot the overall order and where to go. After we have the big plan, we add the small details back in. The small details give the exact steps and fine movements. By keeping the big plan while adding details, the robot stays on a sensible path. This method helps the robot make better choices and look more natural. It also uses less computer time, so the robot can work faster.

## For a technical reader
The paper addresses the challenge of generating long sequences (like robot plans or videos) by combining many short local predictions. Existing approaches only ensure that neighboring predictions agree, which can lead to globally inconsistent outputs. The proposed inference-time sampler first aligns the local predictions around a shared coarse structure, creating a global scaffold that captures the overall arrangement. This scaffold is then partially denoised and refined using the original local model, preserving global coherence while restoring fine details. Experiments show that this method improves both overall consistency and sample quality while reducing the number of expensive denoising steps needed.

## Problem
Compositional generation of long-horizon outputs often yields locally consistent but globally implausible sequences because standard composition only enforces agreement between neighboring local plans, lacking global structure specification. This leads to implausible routes, task sequences, or temporal evolutions.

## Method
The approach first aligns local denoised estimates around a shared coarse structure to produce a global scaffold that captures long-range task-level arrangement. It then diffuses this scaffold to an intermediate noise level and denoises it with the pretrained local prior, restoring local fine structure while preserving the scaffold-induced global coherence.

## Results
The approach improves global coherence and local sample quality over prior baselines while requiring 2-8 times fewer denoiser evaluations.

## Contributions
It introduces a separation of global structure formation from local detail refinement, enabling efficient inference-time sampling that preserves global coherence. The method achieves superior performance across multiple long-horizon generation tasks with reduced computational cost.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/148485)
