← Latest papers
🤖 machine learning

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

The paper proposes Coarse-to-Fine Compositional Diffusion (CoFi), an inference-time sampler that enhances long-horizon planning by first establishing a global structural scaffold to align local plans and then refining them, thereby achieving superior global coherence and local quality with significantly fewer computational evaluations compared to existing methods.

Original authors: Byoungwoo Park, Utkarsh A. Mishra, Jaemoo Choi, Juho Lee, Yongxin Chen

Published 2026-06-02
📖 4 min read☕ Coffee break read

Original authors: Byoungwoo Park, Utkarsh A. Mishra, Jaemoo Choi, Juho Lee, Yongxin Chen

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are trying to paint a massive, 100-foot-long mural of a forest. You have a very talented artist (the AI model), but they can only paint a small 5-foot square at a time with high quality. If you ask them to paint the whole thing in one go, they get confused or the quality drops. So, you decide to have them paint nine separate 5-foot squares and then tape them together.

The Problem: The "Patchwork" Glitch
The old way of doing this (called "Compositional Generation") was to tell the artists: "Make sure the edge of your square matches the edge of your neighbor's square."

  • The Result: The edges match perfectly. The trees on the left square connect smoothly to the trees on the right.
  • The Flaw: Even though the edges match, the whole picture might look weird. Maybe the first square is a sunny forest, the middle is a snowy mountain, and the end is a desert. The artists didn't talk to each other about the big picture. They just made sure their immediate neighbors looked okay. The final mural has no logical story or consistent style.

The Solution: CoFi (Coarse-to-Fine)
The paper introduces a new method called CoFi (Coarse-to-Fine Compositional Diffusion). Think of it as a two-step process that acts like a "Project Manager" for the artists.

Step 1: The "Rough Sketch" (Coarse Stage)

Instead of just telling the artists to match edges, CoFi first asks them all to step back and agree on a rough, blurry sketch of the entire 100-foot mural.

  • Imagine the artists all squint their eyes and agree on the general shape: "Okay, it's a forest, the sun is on the left, and the path goes from bottom-left to top-right."
  • They create a "scaffold" (a skeleton) of the whole image. This ensures that every single square knows where it fits in the grand scheme.
  • Trade-off: This rough sketch is a bit blurry and lacks fine details (like the texture of the bark), but the structure is perfect.

Step 2: The "Detail Work" (Fine Stage)

Now that the artists have the perfect skeleton, CoFi says: "Okay, forget the rough sketch for a second. Let's add the noise back in and paint the details again, but this time, we will use your original talent to fill in the trees and leaves."

  • They take that perfect skeleton, add a little bit of "static" (noise) to it, and let the artists paint over it again.
  • Because the skeleton is already there, the artists can focus on making the trees look realistic and the water look shiny, without worrying about drifting off-course.
  • The result is a mural that has the logical structure of the rough sketch but the high-quality details of the original artist.

Why is this better?

The paper claims this method is a "win-win" for two reasons:

  1. It looks better: The final image (or robot plan, or video) makes sense from start to finish. The robot doesn't walk in a circle; the video character doesn't suddenly turn into a different person; the panoramic photo doesn't switch from day to night.
  2. It's faster: The old methods tried to fix the "big picture" problem by having the artists talk to each other over and over again during every single brushstroke. This took a long time. CoFi does the "big picture" planning once, then just fills in the details. The paper says this makes the process 2 to 8 times faster (requiring fewer computer calculations) while getting better results.

Where did they test this?

The authors tested this "Project Manager" approach on three specific things:

  • Robot Planning: Guiding a robot through a giant maze by stitching together short movements. CoFi helped the robot find a path to the goal without getting lost.
  • Panoramic Images: Stitching together 9 small images to make one huge, wide photo. CoFi ensured the sky and trees looked consistent across the whole width.
  • Long Videos: Creating a long video by stitching together short clips. CoFi kept the main character looking the same throughout the whole video, preventing them from "morphing" into someone else.

In short, CoFi stops the AI from getting lost in the details by forcing it to agree on the big picture first, then letting it go wild with the details, all while saving a massive amount of computing power.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →