← Latest papers
🤖 machine learning

From Global to Factor-Wise Expert Composition in Discrete Diffusion Models

This paper introduces FactorDiff, a novel framework for discrete diffusion models that improves compositional generation by dynamically routing individual sample factors to specialized experts rather than applying global mixing weights, thereby achieving superior performance on spatially complex reasoning tasks like ARC-AGI.

Original authors: Haozhe Huang, Yudong Xu, Abhijoy Mandal, Alán Aspuru-Guzik

Published 2026-07-14
📖 4 min read☕ Coffee break read

Original authors: Haozhe Huang, Yudong Xu, Abhijoy Mandal, Alán Aspuru-Guzik

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're trying to solve a giant, tricky puzzle, like the ones in the ARC-AGI benchmark, where you have to figure out the hidden rules of a grid of colored squares. To do this, you've hired a team of "expert" AI models. But here's the catch: some experts are great at drawing the shapes (the "Occupancy" experts), while others are amazing at picking the right colors (the "Color" experts), but neither is perfect at doing both at the same time.

For a long time, the standard way to combine these experts was like a team vote. Every single expert would shout out their opinion for the entire puzzle at once, and the team would pick a single "score" to decide whose voice was loudest for the whole picture. The paper calls this "per-sample composition."

The Problem with the Team Vote
The authors argue that this "one voice for the whole room" approach is flawed. Imagine a puzzle where one expert is a master at drawing borders but terrible at filling in the middle, while another is a color wizard who gets the shapes wrong. If you give the border expert a single "vote" for the whole puzzle, their bad guesses about the middle colors drag down the whole team. It's like asking a master chef to also fix the plumbing in the kitchen just because they are the best cook; when they try to fix the pipe, they mess up the soup.

The New Idea: FactorDiff (The "Specialist Switch")
The paper introduces a new method called FactorDiff. Instead of voting on the whole puzzle at once, FactorDiff acts like a smart manager who looks at every single square (or pixel) on the grid individually.

Think of it like a construction crew building a house:

  • When the crew needs to lay the foundation and build the walls, they listen only to the Structure Expert.
  • When they need to paint the walls and pick the curtains, they switch over and listen only to the Color Expert.

The paper shows that by dynamically routing each tiny piece of the puzzle to the expert who is most confident about that specific piece, you get a much better result. They call this "per-pixel routing."

What the Numbers Say
The authors tested this on 120 different tasks from the ARC-AGI dataset. Here is what they found:

  • When experts are specialists: If you take a "Color" expert (who gets the full puzzle right only 3.3% of the time) and an "Occupancy" expert (who gets it right only 0.2% of the time), the old "team vote" methods struggled, getting the full puzzle right only about 78.4% of the time at best. But with FactorDiff's "Specialist Switch," the team got it right 90.5% of the time. That's a huge jump!
  • When experts are generalists: Even when the experts are both very good at everything (getting it right 93.0% and 89.3% of the time), FactorDiff didn't make things worse. It matched the best results, getting 95.2% right, proving that this method is safe to use even when you don't need to switch experts.

What the Paper Rules Out
The paper explicitly argues against the idea that a single, global "weight" or "vote" for an expert is enough. They show that trying to fix the "team vote" method with complex math (like the "Feynman-Kac correctors" or "SuperDiff" mentioned in the paper) still fails to capture the nuance of needing different experts for different parts of the image. You can't just tweak the volume of the experts; you have to change who is speaking for where.

How Sure Are They?
The authors are very confident in these results because they ran actual experiments, not just simulations. They trained models on 120,000 example pairs and tested them on a held-out set of 200 examples per task. The results were measured directly: FactorDiff consistently outperformed the old methods, especially when the experts had different strengths.

However, the paper does admit one thing they haven't fully solved yet: their "manager" (the routing system) currently decides who to listen to based on how confident an expert looks. The authors suggest that while this works well for the tests they ran, it might not work for every possible pair of experts in the universe. They propose that in the future, we might need to learn a better way to decide who to listen to, rather than just guessing based on confidence.

In short, the paper suggests that for complex reasoning tasks, we shouldn't treat AI experts like a monolithic block. Instead, we should treat them like a team of specialists, letting the best person handle the specific part of the job they are best at, one tiny piece at a time.

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 →