← Latest papers
💬 NLP

Pruning and Distilling Mixture-of-Experts into Dense Language Models

This paper introduces a novel framework that converts trained Mixture-of-Experts (MoE) models into standard dense architectures by scoring, selecting, and grouping experts followed by knowledge distillation, demonstrating that this approach significantly outperforms traditional dense-to-dense pruning in accuracy and training efficiency.

Original authors: Junhyuck Kim, Jihun Yun, Haechan Kim, Gyeongman Kim, Joonghyun Bae, Jaewoong Cho

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

Original authors: Junhyuck Kim, Jihun Yun, Haechan Kim, Gyeongman Kim, Joonghyun Bae, Jaewoong Cho

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 Problem: The "All-Hands-On-Deck" Bottleneck

Imagine a massive, high-end restaurant kitchen (the MoE model) designed to cook incredibly complex meals. This kitchen has 128 different specialist chefs (experts) on staff. However, for any single order, the head chef (the router) only calls on 8 of them to work. The other 120 chefs stand idle, waiting for their turn.

This setup is great for cooking speed and variety, but it has a huge problem: To open the kitchen, you must hire and pay all 128 chefs. Even if you only use 8 at a time, you need enough space (memory) and money (compute) to keep all 128 on the payroll. This makes it impossible to open a small branch of this restaurant in a tiny shop (like a phone or a single computer) because there isn't enough room for all the staff.

Current solutions try to fire some chefs to make the kitchen smaller, but you still have to keep the remaining chefs on separate, specialized stations. You still need to load everyone into the building.

The Solution: The "Master Chef" Transformation

The authors of this paper propose a radical new recipe. Instead of just firing chefs, they want to merge the best 8 chefs into one super-chef who can do everything the team did, but without needing the extra space.

They take the trained team of 128 specialists and turn them into a standard, dense kitchen (a Dense model) that fits in a small shop but still cooks like a master.

How They Did It: The Three-Step Process

The paper outlines a three-step process to transform the "MoE Kitchen" into a "Dense Kitchen."

1. Scoring: Finding the "Star" Chefs

First, they need to decide which chefs to keep. They can't just pick the ones who show up the most often (frequency), because those might be the "generalists" who do everything okay but nothing great.

  • The Old Way: Pick the chefs who are called the most. (Like picking the most popular employees).
  • The New Way (Diversity-Aware Scoring): The authors invented a new metric called DO-ACP. Imagine you are picking a sports team. You don't just pick the 8 players who play the most games; you pick the 8 players who have the most different skills and are the best at those specific skills.
    • If Chef A is great at baking and Chef B is great at grilling, you want both.
    • If Chef C and Chef D are both great at grilling, you only need one of them.
    • The new method mathematically ensures the selected chefs cover the widest range of "flavors" (knowledge) without redundancy.

2. Grouping & Merging: Building the Super-Chef

Once they pick the top 8 chefs (or a few more to be safe), they need to combine them.

  • Pure Pruning (The Winner): In most cases, the best result came from simply copying the top 8 chefs directly into the new kitchen without mixing their recipes. It turns out, having 8 distinct, high-quality specialists working side-by-side is better than trying to blend their recipes into one average recipe.
  • Merging: If they had to pick more than 8, they would blend the recipes of similar chefs together, weighted by how good they were.

3. Knowledge Distillation: The "Taste Test" Training

Now they have a new kitchen with 8 chefs (the Student), but it's not perfect yet. It's like a new restaurant that has the right staff but hasn't learned the secret family recipes.

They put the new kitchen to work alongside the original 128-chef kitchen (the Teacher).

  • The Teacher cooks a dish.
  • The Student tries to cook the exact same dish.
  • The Teacher corrects the Student: "No, you added too much salt," or "You missed the subtle spice."
  • The Student learns from these corrections. This process is called Knowledge Distillation.

The Results: Why This Matters

The authors tested this on several massive AI models (like Qwen3, DeepSeek, and GPT-OSS). Here is what they found:

  1. Picking the Right Chefs is Everything: The method used to score the chefs mattered more than how they were grouped. Their new "Diversity-Aware" scoring was the clear winner, beating all previous methods by a significant margin.
  2. Don't Blend, Just Select: Surprisingly, the best strategy was to pick exactly 8 chefs and not blend them at all. Just having the 8 best, most diverse experts working together was better than averaging them out.
  3. Beating the Competition: They compared their "MoE-to-Dense" method against the old way of making small models (taking a big dense model and cutting it down).
    • The Result: Their new method produced a student model that was 6.3% more accurate on average tasks.
    • Speed: It was also 1.6 times faster to train because the original "Teacher" kitchen was more efficient to run during the training process.

The Bottom Line

Think of this paper as a blueprint for downsizing a massive corporate headquarters into a small, efficient startup office without losing any of the company's brainpower.

Instead of just firing people to save rent, they carefully selected the most diverse and talented 8 employees, gave them a new, compact office, and had them learn the company's secrets from the original big team. The result? A small office that performs just as well as the big one, but fits in a much smaller space.

Key Takeaway: You don't need to keep the whole massive team to get the results; you just need to pick the right 8, keep them distinct, and teach them well.

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 →