← Latest papers
🤖 machine learning

SlimQwen: Exploring the Pruning and Distillation in Large MoE Model Pre-training

This paper systematically investigates structured pruning and knowledge distillation for compressing large-scale Mixture-of-Experts (MoE) models during pretraining, demonstrating that pruning offers superior initialization, gradual compression schedules outperform one-shot methods, and combining language modeling with multi-token prediction distillation yields competitive performance in a significantly smaller model.

Original authors: Shengkun Tang, Zekun Wang, Bo Zheng, Liangyu Wang, Rui Men, Siqi Zhang, Xiulong Yuan, Zihan Qiu, Zhiqiang Shen, Dayiheng Liu

Published 2026-05-12
📖 5 min read🧠 Deep dive

Original authors: Shengkun Tang, Zekun Wang, Bo Zheng, Liangyu Wang, Rui Men, Siqi Zhang, Xiulong Yuan, Zihan Qiu, Zhiqiang Shen, Dayiheng Liu

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 have a massive, super-intense library of knowledge (a huge AI model) that is incredibly expensive to run and slow to read. You want to shrink it down to a pocket-sized version that still knows almost everything, without having to rebuild the library from scratch.

This paper, titled "SlimQwen," is a guidebook on how to do exactly that for a specific type of AI architecture called Mixture-of-Experts (MoE). Think of an MoE model not as a single brain, but as a giant team of specialists. Some are math geniuses, some are coding wizards, and some are language experts. Usually, only a few specialists are called in to answer any given question.

The researchers asked: How do we shrink this giant team of experts into a smaller, faster team without losing their collective genius?

Here is the breakdown of their findings using simple analogies:

1. The "Used Car" vs. "Building from Scratch" Analogy

The Question: Is it better to buy a used, slightly modified car (pruning a big model) or build a new car from scratch using the same amount of money?
The Finding: Buying the "used" car wins every time.
The paper shows that if you take a giant, pre-trained model and cut it down (prune it) to a smaller size, that smaller model starts with a massive head start. It's like taking a seasoned chef and giving them a smaller kitchen; they can cook great meals immediately. If you try to train a new chef in that small kitchen from day one, they take much longer to learn and never catch up to the seasoned chef, even if you give them the same amount of practice time.

2. The "Filing Cabinet" Analogy (Expert Compression)

The Question: When you shrink the team of experts, how do you decide who to fire and who to keep? Should you just fire the ones who talk the least?
The Finding: It doesn't matter too much how you pick the initial cuts, as long as you let the team "retrain" afterward.
The researchers tried different ways to pick which experts to keep (like firing the ones who speak the least, or the ones with the lowest scores). They found that after the smaller team gets a lot of new practice (continual pretraining), they all end up performing almost the same.
The Secret Sauce: However, they found a trick called "Partial Preservation." Imagine you have 100 experts and need to keep 50. Instead of just picking the top 50 and firing the rest, they kept the top 25 exactly as they were, and then took the remaining 25 spots by merging the "fired" experts into the "kept" ones. This is like keeping your star players intact while having the bench players merge their skills into the starters. This specific strategy made the final team slightly smarter than just picking the top 50 randomly.

3. The "Tutor" Analogy (Distillation)

The Question: How do we teach the small team to think like the big team?
The Finding: Don't just tell them the right answer; let them listen to the big team's "thought process" while they also learn from the textbook.
Usually, when shrinking a model, you use a technique called Knowledge Distillation, where the small model tries to copy the big model's answers. The paper found that the best method is a hybrid approach:

  • The Textbook: Let the small model learn from the actual correct answers (Standard Language Modeling).
  • The Tutor: Let it also listen to the big model's "soft" guesses (Distillation).
    Doing both together works better than just copying the big model.

The New Trick (MTP Distillation): They also introduced a new way of teaching called Multi-Token Prediction.

  • Normal teaching: "Here is a sentence. What is the next word?"
  • MTP teaching: "Here is a sentence. What is the next word, AND the one after that, AND the one after that?"
    This helps the small model learn to plan ahead, making it faster and more accurate when it's actually generating text later.

4. The "Staircase" vs. "The Cliff" Analogy (Progressive Pruning)

The Question: Should we cut the model down all at once (one-shot), or should we cut it down slowly in steps?
The Finding: The staircase is better.
If you take a giant model and instantly chop off 75% of its size, it's like jumping off a cliff. The model gets confused and loses knowledge.
Instead, the researchers found that Progressive Pruning works best. Imagine walking down a staircase:

  1. Cut the model a little bit (e.g., remove some layers).
  2. Let it practice and stabilize.
  3. Cut it a little more.
  4. Let it practice again.
    This gradual transition allows the model to "re-learn" how to function at each new, smaller size, resulting in a much smarter final product than the "cliff jump" method.

The Final Result: SlimQwen

By combining all these tricks—starting with a pruned model, using a smart "partial preservation" strategy for experts, mixing textbook learning with tutor guidance, and shrinking the model down a staircase rather than a cliff—they successfully compressed a massive 80-billion-parameter model into a tiny 23-billion-parameter model.

Despite being nearly 4 times smaller, this "SlimQwen" model still performs competitively on hard tasks like math, coding, and general knowledge, proving you don't need a giant brain to do smart things if you know how to shrink it properly.

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 →