dMoE: dLLMs with Learnable Block Experts
Sicheng Feng, Zigeng Chen, Gongfan Fang, Xinyin Ma, Xinchao Wang
NeurIPS page · OpenReview · Open on the map
Category: Efficient LLM Inference & Training › Efficient LLM Inference · Type: new method · Keywords: Mixture-of-Experts, block parallel decoding, diffusion LLMs, expert routing, memory efficiency
Areas: LLM Reasoning › Efficient Reasoning › Mixture-of-Experts; Model Architectures & Sequence Modeling › Language Model Architectures › Mixture of Experts Optimizations
Summary
dMoE introduces a block-level Mixture-of-Experts framework that aggregates token-level expert distributions to reduce the number of uniquely activated experts and memory usage while preserving the performance of diffusion LLMs.
Explained to a 5-year-old
Imagine a big robot that writes stories by putting letters together. It works on many letters at the same time, which is fast. But each letter also picks its own special helper to do part of the work. Because many letters pick different helpers, the robot needs a lot of memory to remember them all. This can make the robot slow and use a lot of energy. The new idea groups the letters into blocks and lets the block choose helpers together, so fewer helpers are needed.
Explained to a 5-year-old, longer
Imagine a big robot that writes stories by putting letters together. It works on many letters at the same time, which is fast. But each letter also picks its own special helper to do part of the work. Because many letters pick different helpers, the robot needs a lot of memory to remember them all. This can make the robot slow and use a lot of energy. The new idea groups the letters into blocks and lets the block choose helpers together, so fewer helpers are needed. This saves memory and makes the robot faster. The robot can still write good stories because the helpers still do their jobs well. It also uses less electricity, which is better for the environment. The improvement works on many different types of story-writing tasks. It helps researchers make bigger and better story-writing robots without needing huge computers. Overall, it makes the robot smarter about sharing work, so it can do more with less.
For a technical reader
The paper addresses a scalability issue in mixture-of-experts language models that use block-parallel decoding. Conventional token-level expert routing creates many distinct active experts per inference step, inflating memory usage. The proposed solution aggregates token-level expert probabilities within each decoding block to produce a unified block-level routing distribution, dramatically reducing the number of active experts. This reduction cuts memory consumption by roughly 78% and yields 1.1- to 1.7-fold latency improvements while preserving model accuracy. The approach is evaluated on multiple benchmarks, confirming its practical benefits for deploying large language models on constrained hardware.
Problem
When large language models use a mixture-of-experts architecture with block parallel decoding, each forward pass processes multiple tokens with bidirectional dependencies, but conventional MoE layers route each token independently, leading to many uniquely activated experts and high memory usage during inference.
Method
The approach aggregates token-level expert distributions within each decoding block into a unified block-level expert distribution, which guides expert routing to reduce the number of uniquely activated experts. This block-level routing is applied during inference to lower memory consumption while maintaining model performance.
Results
The approach reduces the number of uniquely activated experts from about 70 to about 15, retains 99.11% of original performance, cuts memory usage by roughly 78%, and speeds up end-to-end latency by 1.14× to 1.66×.
Contributions
It proposes a block-level expert routing scheme that aligns with parallel decoding, significantly lowering expert activation diversity and memory demands while preserving model accuracy. The work also provides empirical evidence of its efficiency gains across multiple benchmarks.
Research questions this paper is counted under
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