← Latest papers
🤖 machine learning

Multi-Block Diffusion Language Models

This paper introduces Multi-Block Diffusion Language Models (MBD-LMs), which bridge the training-inference gap in diffusion-based text generation through a novel Multi-block Teacher Forcing strategy and an optimized Block Buffer decoding algorithm, achieving significant gains in both generation speed (Tokens Per Forward pass) and accuracy.

Original authors: Yijie Jin, Jiajun Xu, Yuxuan Liu, Chenkai Xu, Yi Tu, Jiajun Li, Dandan Tu, Xiaohui Yan, Kai Yu, Pengfei Liu, Zhijie Deng

Published 2026-06-30
📖 5 min read🧠 Deep dive

Original authors: Yijie Jin, Jiajun Xu, Yuxuan Liu, Chenkai Xu, Yi Tu, Jiajun Li, Dandan Tu, Xiaohui Yan, Kai Yu, Pengfei Liu, Zhijie Deng

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

The Big Picture: Fixing the "Assembly Line" Bottleneck

Imagine a factory that builds cars (text).

  • Old Way (Autoregressive): The factory builds one car at a time. They finish the engine, then the wheels, then the paint, and only then do they start the next car. It's reliable, but slow.
  • Diffusion Way (The Newer Factory): Instead of building from scratch, this factory starts with a pile of scrap metal (random noise) and gradually refines it into a perfect car. This allows them to work on many parts of the car at the same time (parallel processing), which is much faster.

The Problem:
The current "Diffusion Factory" (called Block Diffusion) has a clever trick: it builds cars in batches (blocks). However, it still has a bottleneck. It finishes one batch, puts it in storage (caching), and then starts the next batch. It's like a relay race where the runner must stop completely to hand off the baton before the next runner can even start running. This creates "waiting bubbles" where the factory sits idle.

The Solution: The "Multi-Block" Relay

The authors propose a new method called Multi-Block Diffusion (MBD).

The Analogy: The Overlapping Relay
Imagine a relay race where the runners don't wait for the previous runner to cross the finish line before they start.

  • Runner A is finishing their lap.
  • Runner B is already sprinting on the next lap.
  • Runner C is getting ready in the next lane.

They are all running at the same time! This is Multi-Block Diffusion. Instead of finishing one block of text before starting the next, the model refines several blocks of text simultaneously. This creates a "pipeline" where work is constantly happening, drastically speeding up the process.

The Hurdle: Training vs. Reality

There was a major problem with trying to do this.

  • The Training: The models were trained like a strict teacher (Teacher Forcing). The teacher showed the student: "Here is a perfect paragraph, now fix this one messy sentence." The student never practiced fixing multiple messy sentences at once.
  • The Reality: When the model tried to run the "Multi-Block" race (fixing 2 or 3 blocks at once), it stumbled because it had never practiced that specific scenario. It was like asking a student who only practiced single math problems to suddenly solve a complex equation with three variables at once.

The Fix: "Multi-Block Teacher Forcing" (MultiTF)

To fix this, the authors created a new training method called Multi-block Teacher Forcing (MultiTF).

The Analogy: The Simulation Drill
Instead of just showing the student one messy sentence, the teacher now shows them a whole row of messy sentences (a "noise group") and says, "Fix all of these at once."

  • They don't just make them messy in a predictable order; they make them messy in a chaotic, realistic way that matches what happens during the actual race.
  • This "drill" teaches the model how to handle multiple blocks of text simultaneously without getting confused.

The Engine: The "Block Buffer"

Even with a trained model, running this on a computer is tricky. Computers like to work with fixed sizes (like a tray with exactly 4 slots). If you try to add a new block dynamically, the computer has to stop and rearrange everything, which slows it down.

The Analogy: The Fixed Tray
The authors built a special "Block Buffer" mechanism.

  • Imagine a conveyor belt with 4 fixed slots.
  • Instead of adding a new slot when you need it, you just activate an empty slot that was already there.
  • When a block is finished, it slides off the belt into a "storage locker" (the cache), and a new empty slot slides in at the back.
  • This keeps the conveyor belt size exactly the same, allowing the computer to run at maximum speed without stopping to rearrange the belt.

The Results: Faster and Smarter

The paper tested this on math and coding tasks. Here is what they found:

  1. Speed: The new method (MBD) processes significantly more "tokens" (words/ideas) per second than the old method.
    • Analogy: If the old factory made 3 cars an hour, the new factory makes 6 cars an hour.
  2. Quality: Usually, when you try to go faster, you make more mistakes. However, because they trained the model specifically for this "Multi-Block" style (using MultiTF), the new factory didn't just go faster; it actually made fewer mistakes than the old factory.
  3. Compatibility: This new method works well with other speed-boosting tricks (like DMax) that were already being used, stacking up to make the system even faster.

Summary

The paper introduces a way to make AI text generators faster by having them work on multiple chunks of text at the same time. They solved the problem by:

  1. Training the AI to handle multiple chunks at once (MultiTF).
  2. Building a computer system that keeps the workload steady and efficient (Block Buffer).

The result is a text generator that is both faster and more accurate than previous versions.

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 →