AI Post Transformers · mcgrof
This episode examines PagedMoE, a system for running a huge mixture-of-experts model (Qwen3.5-397B-A17B) on a single PC with expert weights stored on an SSD. Cache misses leave decoding stalled on storage nearly half the time, and giving each token a different bit-width per expert would normally make that worse. Treating every expert-and-precision pair as its own cache object drops the hit rate from 57% to 35%. The paper's fix is to store each expert as nested refinement units, so a resident low-precision copy can be topped up with only the missing bits, or reused with no I/O at all. The discussion separates this idea from the prior work it borrows from (Matryoshka Quantization, Any-Precision LLM, SliceMoE, HOBBIT). It also splits the reported 1.56x speedup into the part from requesting fewer bits and the part from sharing cached bits across precisions. Listeners get a clear walk through the binary-tree codebook construction, the quantization-error numbers, and the limits of the evidence, such as a single-layer headroom study and no head-to-head comparison with SliceMoE. Sources: 1. PagedMoE: Cross-Precision Expert Caching for Token-Level Dynamic Precision in SSD-Resident MoE Inference — Yutong Lin, Yingdi Shan, Shaoyuan Chen, Yuanyong Chen, Yongwei Wu, Mingxing Zhang, 2026 http://arxiv.org/abs/2611.03173 2. Fast Inference of Mixture-of-Experts Language Models with Offloading — Artyom Eliseev, Denis Mazur, 2023 https://scholar.google.com/scholar?q=Fast+Inference+of+Mixture-of-Experts+Language+Models+with+Offloading 3. MoE-Infinity: Efficient MoE Inference on Personal Machines with Sparsity-Aware Expert Cache — Leyang Xue, Yao Fu, Zhan Lu, Luo Mai, Mahesh Marina, 2024 (arXiv; later revisions) https://scholar.google.com/scholar?q=MoE-Infinity%3A+Efficient+MoE+Inference+on+Personal+Machines+with+Sparsity-Aware+Expert+Cache 4. EdgeMoE: Empowering Sparse Large Language Models on Mobile Devices — Rongjie Yi, Liwei Guo, Shiyun Wei, Ao Zhou, Shangguang Wang, Mengwei Xu, 2023 https://scholar.google.com/scholar?q=EdgeMoE%3A+Empowering+Sparse+Large+Language+Models+on+Mobile+Devices 5. LLM in a Flash: Efficient Large Language Model Inference with Limited Memory — Keivan Alizadeh, Iman Mirzadeh, et al. (Apple), 2023 https://scholar.google.com/scholar?q=LLM+in+a+Flash%3A+Efficient+Large+Language+Model+Inference+with+Limited+Memory 6. HOBBIT: A Mixed Precision Expert Offloading System for Fast MoE Inference — Peng Tang, Jiacheng Liu, Xiaofeng Hou, et al., 2024 https://scholar.google.com/scholar?q=HOBBIT%3A+A+Mixed+Precision+Expert+Offloading+System+for+Fast+MoE+Inference 7. Mixture Compressor for Mixture-of-Experts LLMs Gains More (MC) — Wei Huang, Yue Liao, Jianhui Liu, et al., 2024 https://scholar.google.com/scholar?q=Mixture+Compressor+for+Mixture-of-Experts+LLMs+Gains+More+%28MC%29 8. GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers — Elias Frantar, Saleh Ashkboos, Torsten Hoefler, Dan Alistarh,...
0:01[Hal Turing] Alrighty! Thanks for tuning in! Hello AI world! I am your host, Hal Turing, and my co-host is Dr. Ada Shannon.
0:07[Hal Turing] Today's paper is "PagedMoE: Cross-Precision Expert Caching for Token-Level Dynamic Precision in SSD-Resident MoE Inference," by Yutong Lin, Yingdi Shan, Mingxing Zhang and colleagues at Tsinghua University, posted to arXiv in November 2026. The headline is a 1.56x decoding speedup on a single PC, with a giant mixture-of-experts model whose weights live on an SSD.
0:35[Dr. Ada Shannon] The question is whether giving each token a different number of bits per expert can coexist with a cache. Naively it can't, and that's the interesting part. I'd also say the 1.56x needs decomposing, because it bundles two different effects. We'll do that in a bit.
0:51[Hal Turing] Start with the setup. A mixture-of-experts layer has many expert networks, and a router picks a few per token, with weights that sum to one. Qwen3.5-397B-A17B picks 10 of 512 experts per layer. So only about 7.55 billion parameters are active per token, out of 386.55 billion routed-expert parameters. Sparse compute, but the storage isn't sparse.
1:19[Dr. Ada Shannon] Right, because the next token may pick any expert. So the local setup is this. The GPU runs attention, dense layers and routing. The CPU runs the selected experts. The full expert pool sits on an NVMe SSD, and host DRAM caches recently used ones. Batch size one, a single user. A cache miss means reading from the SSD while the token waits.
1:42[Hal Turing] And a good cache doesn't fix that?
1:43[Dr. Ada Shannon] Not enough. Their fixed-4-bit runtime has a 24 GiB cache, and it still reads 1.53 GiB from the SSD per token. That's about 87 milliseconds of exposed stall, 49.28% of decode latency, at 5.65 tokens per second. Nearly half of every token is spent waiting on storage. The exact-object hit rate there is 57.08%.
2:06[Hal Turing] So the obvious lever is fewer bits. And I assume it's not uniformly fewer.
2:11[Dr. Ada Shannon] Right, that's token-level dynamic precision. Different experts get different bit-widths on different tokens, under an average-bit budget. Two variations make that worthwhile. Routing weights vary by token, so a lightly weighted expert tolerates more error. And experts differ in how sensitive they are to quantization. The authors ran a headroom study on one layer, layer 30. Uniform allocation gives about 14.56% output error, and the best per-token choice from a restricted candidate set gives 10.59%. That's an estimate of potential, not a deployable result, and it's one layer.
2:48[Hal Turing] Okay, so where does it break?
2:50[Dr. Ada Shannon] In the cache. The usual implementation treats each layer, expert and bit-width as its own object. Expert 17 at 2 bits and expert 17 at 4 bits are unrelated cache entries, so a resident 2-bit copy can't help a later 4-bit request. Storing 1 to 8 bit variants separately would cost 36 bits per weight, nine times one 4-bit copy. And in their simulation, the exact-object hit rate falls from 57.08% for fixed 4-bit to 35.15% for dynamic precision at the same four-bit average. Fewer bytes per request, but far less reuse.
3:28[Hal Turing] So the loss isn't in the bits. It's in what the cache considers the same thing.
3:32[Dr. Ada Shannon] Yes. Their principle is that precision is refinement depth, not a version of the expert. Store one shared state per expert, as ordered refinement units. A precision is a prefix of it. If 2 bits are resident and a request needs 4, you fetch only the missing part. If 6 are resident and a request needs 3, there's no I/O at all. Think progressive JPEG: a base layer plus enhancement layers. The analogy stops at the fact that here the layers are bits of weight precision, which needs custom compute kernels.
4:06[Hal Turing] Is the nested bit representation itself new?
4:08[Dr. Ada Shannon] No, and the framing matters. Matryoshka Quantization, by Pranav Nair and colleagues at Google DeepMind, ICML 2025, trains nested int8, int4 and int2 slices with SGD and distillation. Any-Precision LLM, by Yeonhong Park and colleagues, ICML 2024, is the closest prior work: bitplanes plus nested codebooks, for dense models. So the nested representation is borrowed. What's new is applying it per expert, in an SSD cache, with per-token allocation.