Zenaique

Which checks must pass before pruning two experts that see under 1% of traffic?

Multi-select·Medium·4.0 · 0·~1 min·Asked atCrewaiEvenup
Attempt it
TL;DR

Validate the traffic sample, ablate with masking on domain-specific evals, stress tail inputs, and trace where renormalized router mass flows. Retraining and top-k changes are confounds, not preconditions.

Memory aid
Sign in to see the mnemonic that makes this stick.
Easy to grasp

Imagine a hospital with eight specialists. Two of them only see one patient out of every hundred, so you wonder if you can fire them to save money. Before you do, you should ask three questions. First, are those rare patients always among the visitors, or just absent this month? Second, when those specialists are out, who handles their cases and how well? Third, were those specialists the only ones who knew how to treat certain rare conditions? Until you answer all three, firing them is a guess. Rebuilding the hospital from scratch avoids the question instead of answering it. Asking more specialists to work overtime tells you nothing about whether the original two were necessary.

Key concepts

Concept explanation~2 min read

Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.

Pruning experts from a trained MoE is structurally different from pruning weights from a dense model. A weight is small or large. An expert is an entire specialized subnetwork. Removing a low-utilization expert removes a competence the model may need for tail inputs. The question is how to find out before you ship.

Risk 1: the utilization sample is unrepresentative

A 1% utilization figure is only as good as the traffic that produced it. A week of stats may exclude monthly batch jobs, seasonal traffic (tax-season financial queries, holiday-shopping conversational sessions), low-volume tenants who arrive in bursts, or rare but high-value query types.

The first check is to audit the sample against your documented production use cases. Ask: which tenants, languages, content types, and workload patterns appear in this week of data? Which do not? Are the missing ones rare or just bursty?

A practical version: bin traffic by tenant, by content type, by language and by hour of week. Then check that each bin appears in the sample with at least a defined floor (say, 1000 tokens per bin). Bins below the floor are blind spots, and the 1% figure says nothing about expert importance for those bins.

If the sample is unrepresentative, expand it before deciding anything else. Pruning based on bad utilization data is the most common cause of post-launch tail regressions.

Risk 2: aggregate metrics hide tail regressions
Risk 3: rare experts often own the tail
Risk 4: where the routing mass goes
Why the two wrong options are not preconditions
Sign in to unlock the full deep dive.

Situations where this technique stops working.

Sign in to see when this approach fails.

2–4 min · Everything important, quickly.

Sign in to see the quick scan of the deep dive.

Real products, models, and research that use this idea.

  • Lu et al. (ACL 2024) pruned Mixtral 8x7B from 8 to 6 experts per layer. With general C4 calibration data, 5-shot GSM8K accuracy fell from 58.61 to 41.02. With math calibration data, it fell only to 51.25.
  • Lu et al. (ACL 2024), "Not All Experts are Equal", study expert pruning and skipping on Mixtral-class MoE LLMs
Sign in to see more production examples.

What an interviewer would ask next. Try answering before peeking at the approach.

QIf routing renormalizes badly after pruning, can you fix it with a short adapter pass?
A

A small LoRA on the gate (or on the experts inheriting the load) can re-anchor routing for the displaced tokens. But you still need the ablation evals to know what to fix.

1 more follow-up an interviewer would ask next. Sign in to reveal them.

Red flags & common mistakes

The phrases that signal junior thinking. Click to expand.

Most common mistake

Using average utilization as a proxy for expert importance. Low-traffic experts often own the tail distribution that aggregate metrics hide.

Sign in to see all red flags and common mistakes.

60 second bullets to scan on the way to the call.

  • Why utilization alone is an insufficient signal for expert importance

  • How to construct a domain-stratified evaluation for ablation

Sign in to unlock the revision sheet.

Primary sources. Browse if you want the original framing.

Similar questions

Same topic, related formats. Practice these next.

4 curated
Next question
Name the three components that replace a dense FFN in MoE
Flashcard·Easy