The Qwen3.6-35B-A3B model has 40 Mixture-of-Experts layers. Each layer has 256 experts. The router picks 8 of them for every token. That is 10,240 total experts in the model, and until last week, the assumption was that you needed all of them.
You do not. A new layer-wise sensitivity analysis shows that the late layers of that same model tolerate aggressive expert masking with almost no quality loss. Mask 50 percent of the experts in layers 35 through 39, and the model retains 419 out of 500 Good+Similar outputs. You just masked 640 of 10,240 experts and the model barely noticed.
This is not a theory. It is a measured result on a real production-scale model, and it points at a much bigger idea: most of the compute you spend serving an MoE model is subsidizing experts that do nothing. The engineering question is not how to build a bigger model. It is how to throw away the parts you do not need without breaking the parts you do.
The timing matters. Every frontier lab has moved to sparse activation because it is the only way to scale past the memory wall. But sparse activation created a new tax: you pay to hold the full expert set in VRAM even when most of it never fires. The industry has spent two years optimizing the router and the cache. Almost nobody has asked the obvious question, which is whether the model is carrying dead weight. This paper is the first clean answer, and it is a good one.
I wrote earlier that your router is the moat, not your model. Routing is the strategic layer in AI inference because it decides which experts fire for each token. This goes one layer deeper. The router decides which experts to activate per token. The pruning layer decides which experts to remove from the model entirely. Both are engineering decisions that cut your compute bill without touching the model's training pipeline.
What Makes Mixture-of-Experts Different
A standard transformer activates every parameter for every token. A Mixture-of-Experts model keeps most of its parameters asleep. For each token, a router selects a small subset of expert subnetworks, the top-k, and runs only those. The rest sit idle.
The advantage is scale. You can build a 35B-parameter model that only activates 3B parameters per token. You get the capacity of a large model with the inference cost of a small one. That is why Qwen, DeepSeek, and GLM have all moved to MoE architectures. The trade is that you are carrying the full weight of every expert in memory, even the ones that never fire.
The disadvantage is overhead. Every expert you load into memory costs VRAM whether it fires or not. At small batch sizes, the activation overhead dominates. You are paying memory and routing costs for 256 experts per layer when you only use 8. That is the gap DeaMoE attacks, and it is the gap this pruning technique closes from the other direction: remove the experts you do not need, and the overhead shrinks with the model.
To be precise about where the small-batch win comes from, it is not primarily about freeing raw VRAM capacity. It is about easing memory bandwidth saturation during token routing. At small batch sizes the GPU is not running out of capacity, it is stalling because the router must reach every resident expert on every token, and that bandwidth cost is paid whether the expert fires or not. Cutting experts reduces the number of weights the router must touch per token, which is a bandwidth win, not just a capacity win.
The overhead is not abstract. Every expert in memory is a block of weights that must be resident on the GPU, and the router must be able to reach any of them on any token. That constrains how you shard the model across devices and how much you can fit on a single card. When you cut 640 experts, you are not just saving a little VRAM. You are changing the shape of the deployment problem, which is often the real bottleneck in production.
Dropping expert density also reshapes how you parallelize across GPUs. Under Tensor Parallelism, the expert weights are sharded across devices and every device must hold a slice of every expert, so cutting experts shrinks the tensor-parallel footprint directly. Under Expert Parallelism, experts are distributed whole across devices and the router gathers from whichever device holds the chosen expert, so the win shows up as fewer experts to place and a smaller all-to-all communication set. Cluster operators should weigh which topology they run before assuming the savings land the same way.
The Depth Dependency Nobody Tested
The researchers ran a systematic layer-by-layer masking experiment on Qwen3.6-35B-A3B. They masked low-magnitude experts at each layer and measured how many outputs stayed in the Good+Similar quality band. The experiment ran across multiple prompt scales, and the pattern held.

The result was not uniform. Early layers, roughly 0 through 9, and middle layers, roughly 10 through 29, are fragile. Mask experts there and quality drops fast. Those layers handle foundational representation, and every expert matters. Flat all-layer masking at 30 percent retention dropped the model to 150 of 300 Good+Similar outputs. When you touch the foundation, the whole structure shakes.
Late layers, 30 through 39, are different. Mask 50 percent of the low-magnitude experts in the very-late band, layers 35 through 39, and the model retains 419 of 500 Good+Similar outputs. That is 83.8 percent quality retention while cutting 640 experts from the model. The late layers are doing work that is either redundant or low-impact, and the model routes around the missing experts without breaking.
This is why depth matters. In deep MoE models, early layers build the representations that everything downstream depends on. Late layers refine and specialize, and many of those refinements overlap. Removing a redundant specialist in layer 38 does not break the pipeline because layer 37 or 39 covers the same territory. The model's own depth creates the disposable layer. The same expert that is load-bearing in layer 5 is a luxury in layer 38.
The practical takeaway is that you should not treat your model as a uniform block. It is a stack of layers with very different failure tolerances, and the ones you can afford to cut are concentrated at the top. That is a useful mental model for anyone who has ever hesitated to touch a model because they assumed every parameter was load-bearing. Some are. Most of the late ones are not.
The Top-K Trim: Cutting From 8 to 6
The same analysis tested a second lever: reducing the number of active experts per token from 8 to 6. On the probe, the model produced no Good+Similar loss. The model was routing to 8 experts per token by default, but 6 was enough to produce the same outputs.
This matters for serving. Every active expert is a memory read, a compute kernel, and a routing decision. Cutting from 8 to 6 removes 2 of 8 active experts, a 25 percent reduction in per-token expert compute. For a model serving millions of tokens per second, that is a direct line-item reduction in GPU time.
One honest caveat from the paper: the top-k trim does not yet compose cleanly with aggressive expert masking. The two levers work separately today. Stacking them is the next research step, not a finished recipe. Treat the 25 percent as real, and treat the combination as an open problem you should test on your own workload.
Connect this to FreeBalance, the load-balancing paper from the same data drop. FreeBalance predicts which experts will be overloaded and adjusts routing proactively, overlapping expert migration with the computation that happens before routing. DeaMoE restructures the model for fast small-batch decoding. These are three different attacks on the same problem: MoE models waste compute on infrastructure overhead, not on intelligence. The fix is engineering, not more parameters.
What This Means for Your Serving Bill
If you are serving Qwen3.6-35B-A3B or a similar MoE model, your cost per token is driven by three things: the number of active experts per token (top-k), the total number of experts loaded in memory, and the batch size at which you serve.
The pruning technique attacks the second variable. Masking 640 of 10,240 experts reduces the memory footprint and the routing overhead. The top-k trim attacks the first variable, cutting per-token expert compute by 25 percent. DeaMoE attacks the third, making small-batch serving efficient enough for interactive use.
I wrote earlier that energy per request is the new AI cost moat. The real unit of AI economics is energy per request, not tokens. Pruning experts reduces the energy per request because fewer kernels fire per token. The MoE pruning layer is an energy optimization that does not require retraining, new hardware, or a different model. It requires knowing which experts to cut and which to keep.
The same logic explains why the inference-efficiency startups are multiplying. Kog is squeezing more throughput out of existing GPUs with serving and batching improvements. Writer is shipping harnesses that cut tokens per task. OpenAI is previewing a tier that runs GPT-5.6 Sol at up to 750 tokens per second on Cerebras. The frontier is racing on speed and cost, not just capability, and every one of those efforts is an engineering play on the same principle: the model is not the product, the efficiency of serving it is. Depth-aware pruning is the same fight, fought at the weight level.
What to Do Today
- Identify your MoE model's layer count and expert density. If you are running an MoE model, map the architecture: how many layers, how many experts per layer, what is your top-k routing value. You cannot prune what you have not measured.
- Run a depth-aware masking test. Take your model and mask low-magnitude experts in the last 20 percent of layers at 50 percent retention. Measure output quality against a held-out set. If quality holds above 80 percent, you have a disposable layer.
- Test a top-k reduction from 8 to 6. Run the same quality benchmark with two fewer active experts per token. If the scores do not move, you just cut per-token expert compute by 25 percent without retraining.
- Evaluate DeaMoE for small-batch workloads. If your inference traffic is interactive or low-concurrency, MoE activation overhead is killing your latency. DeaMoE restructures the model to cut that overhead.
- Combine the techniques. Pruning, top-k reduction, and load balancing are not mutually exclusive. Stack them. Each one attacks a different variable in the serving cost equation.
The Uncomfortable Question
You are paying to load 10,240 experts into memory for a model that only needs 9,600 of them. You are routing to 8 experts per token when 6 produces the same output. How much of your GPU bill is subsidizing experts that do nothing?
Get More Articles Like This
Getting your AI agent setup right is just the start. I'm documenting every mistake, fix, and lesson learned as I build PhantomByte.
Subscribe to receive updates when we publish new content. No spam, just real lessons from the trenches.
Build Real AI Infrastructure
PhantomByte teaches you to build real AI infrastructure yourself: local AI stacks, autonomous agents, multi-agent orchestration, web scraping, and custom tools. Step-by-step PDF tutorials you download, follow, and deploy. No subscriptions. No fluff. Just skills that ship.
