← Latest papers
🤖 machine learning

DisagMoE: Computation-Communication overlapped MoE Training via Disaggregated AF-Pipe Parallelism

DisagMoE is a novel Mixture-of-Experts training system that enhances efficiency on large-scale clusters by disaggregating attention and feed-forward layers into separate GPU groups with a multi-stage pipeline, effectively overlapping communication and computation to overcome all-to-all communication bottlenecks and achieve up to 1.8x training speedup.

Original authors: Zhichen Zeng, Chi-Chih Chang, Jiayi Wang, Zezhou Wang, Ningxin Zheng, Zheng Zhong, Cesar A. Stuardo, Dongyang Wang, Mohamed S. Abdelfattah, Haibin Lin, Banghua Zhu, Ang Li, Ziheng Jiang

Published 2026-05-13
📖 4 min read☕ Coffee break read

Original authors: Zhichen Zeng, Chi-Chih Chang, Jiayi Wang, Zezhou Wang, Ningxin Zheng, Zheng Zhong, Cesar A. Stuardo, Dongyang Wang, Mohamed S. Abdelfattah, Haibin Lin, Banghua Zhu, Ang Li, Ziheng Jiang

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 running a massive, high-speed factory that builds giant "thinking machines" (AI models). This factory has two main types of workers:

  1. The "Context" Team (Attention): These workers are like detectives. They look at the whole story so far to understand what's happening. They are very good at thinking, but they don't need to move around much.
  2. The "Specialist" Team (Experts/FFN): These are the actual builders. There are thousands of them, but for any single task, only a few are needed. They are great at doing the heavy lifting, but they are scattered all over the factory floor.

The Problem: The Traffic Jam

In the old way of running this factory (called Expert Parallelism), the Context Team and the Specialist Team were stuck in the same room.

Here's what happened:

  1. The Context Team finished their thinking.
  2. They had to shout across the room to the Specialists: "Hey, you, you, and you! Come here and work on this!"
  3. The Specialists did their work.
  4. They had to shout back: "Here is the result!"

The problem? The "shouting" (sending data between computers) was slow, especially when the factory got huge and the workers were on different floors (different server nodes). The specialists often sat idle, waiting for the Context Team to finish shouting, and vice versa. The factory was stuck in a traffic jam, spending more time talking than working.

Previous attempts to fix this were like trying to tell the workers to "talk while they work." But because the Context Team takes a long time to think (especially with long stories) and the Specialists are quick to build, the timing never quite matched up. There was always leftover shouting time that couldn't be hidden.

The Solution: DisagMoE (The Disaggregated Factory)

The authors of this paper, DisagMoE, decided to stop trying to make the two teams work in the same room. Instead, they built a two-stage assembly line.

1. Separate the Teams (Disaggregation)
They moved the Context Team to one set of machines and the Specialist Team to a completely different set of machines.

  • Team A (Context): All the "detective" layers are on one group of computers.
  • Team B (Specialists): All the "builder" layers are on another group.

2. The New Assembly Line (AF-Pipe)
Instead of a chaotic shout-out, they created a smooth, one-way conveyor belt system:

  • The Context Team finishes a batch of thinking and slides the work down the belt to the Specialists.
  • While the Specialists are working on Batch #1, the Context Team is already starting Batch #2.
  • While the Specialists finish Batch #1 and send the results back, the Context Team is already working on Batch #3.

This is called pipelining. It's like a relay race where the baton is passed so smoothly that no runner ever stops running.

3. The Smart Manager (Adaptive Allocation)
Here is the clever part. The paper realized that the Context Team and the Specialist Team have different needs.

  • The Context Team is like a heavy thinker; they need powerful brains (computing power) but don't need a fast internet connection as much.
  • The Specialist Team is like a runner; they need a super-fast highway (network bandwidth) to get their data to the right person quickly.

In the old factory, everyone got the same amount of internet and computing power. In DisagMoE, the manager is smart. If the story is very long, they give more "internet lanes" to the Specialists and more "brain power" to the Context Team. They constantly adjust the resources to make sure neither team is ever waiting for the other.

The Results

By separating the teams and letting the manager adjust the resources, the factory stopped wasting time waiting for messages.

  • Speed: They found that this new system made the training 1.8 times faster than the old standard methods.
  • Efficiency: They reduced the time the computers spent just "talking" (waiting for data) by up to 88%.

The Big Takeaway

The paper argues that you can't just throw more internet bandwidth at a problem to make it faster. You have to look at the specific job each part of the AI is doing. By splitting the "thinking" from the "building" and giving each team exactly the right amount of resources they need, you can build these giant AI models much, much faster.

In short: They stopped trying to force a square peg into a round hole by separating the workers, building a better conveyor belt, and hiring a manager who knows exactly how to balance the workload.

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 →