arXiv:2611.03173cs.ARNov 2026

Manuscript Offprint

arXiv:2611.03173

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

Yutong Lin

Tsinghua University

Beijing, China

lin-yt21@mails.tsinghua.edu.cn

Yingdi Shan ∗^{*}

Tsinghua University

Beijing, China

shanyd@tsinghua.edu.cn

Shaoyuan Chen

Tsinghua University

Beijing, China

chensy20@mails.tsinghua.edu.cn

Yuanyong Chen

Tsinghua University

Beijing, China

yy-chen24@mails.tsinghua.edu.cn

Yongwei Wu

Tsinghua University

Beijing, China

wuyw@tsinghua.edu.cn

Mingxing Zhang ∗^{*}

Tsinghua University

Beijing, China

zhang_mingxing@mail.tsinghua.edu.cn

Abstract

Large Mixture-of-Experts (MoE) models are promising for local inference because sparse routing allows the routed-expert pool to reside on SSD while DRAM caches recently used experts. However, under practical DRAM cache capacities, substantial SSD I/O remains on the critical path despite I/O-computation overlap. Token-level dynamic expert precision offers a natural way to reduce this data demand by allocating bits according to expert importance and quantization sensitivity. Nevertheless, treating each bit-width of the same expert as an independent object prevents cross-precision cache reuse, causing overlapping data to be fetched repeatedly.

The key insight is that precision should instead denote the refinement depth of one shared expert state. Based on this insight, we present PagedMoE, which stores each expert once using a prefix-compatible tree codebook and bitplane layout. Lower-precision representations are valid prefixes of higher-precision ones, allowing cached data to be reused or extended by fetching only missing bitplanes. PagedMoE selects the required prefix length before I/O using current routing weights and offline expert-specific error profiles, and directly executes cached 1–8-bit prefixes without materializing full-precision experts.

At an average routed-expert precision of 2.5 bits, PagedMoE achieves quality close to GPTQ-INT4 on Qwen3.5-397B-A17B and to MXFP4 on most evaluated GLM5.2 tasks. With a 24 GiB expert cache, it reaches 8.89 tokens/s on Qwen3.5, 1.33× the throughput of the same dynamic requests using independent precision objects and 1.56× that of uniform 4-bit execution.

1 Introduction

Large Mixture-of-Experts (MoE) models combine a large parameter capacity with sparse per-token computation. A routed MoE layer may contain hundreds of experts, while each token activates only a small subset of them. This sparsity makes batch-size-one local inference possible even when the complete model cannot remain in GPU memory or host DRAM. Dense operators and attention can execute on the GPU, selected routed experts can execute on the CPU, and an SSD can provide capacity for the complete expert pool. Host DRAM then acts as a cache for recently used expert weights [2, 15, 31].

In this architecture, however, sparse computation does not imply sparse data movement. Successive tokens select different experts, so the complete expert pool must remain accessible. Temporal locality makes expert caching effective, but practical cache capacities do not eliminate SSD access. On Qwen3.5-397B-A17B, our optimized fixed-4-bit runtime serves 57.08% of requested expert bytes from a 24 GiB DRAM cache, yet still reads 1.53 GiB from SSD per generated token. Even after overlapping asynchronous I/O with expert computation, 87.16 ms/token of SSD-related stall remains exposed. This stall accounts for 49.28% of decode latency and limits throughput to 5.65 tokens/s. Thus, after caching and I/O-computation overlap have been optimized, the amount of expert data requested by each token remains a first-order bottleneck.

Reducing expert precision lowers both the bytes transferred on a cache miss and the DRAM footprint of a resident expert. Uniform quantization, however, assigns the same precision to every selected expert for every token. This ignores two forms of variation for MoE layers: routing weights vary across tokens, and experts obtain different quality benefits from additional precision. These variations create an opportunity to allocate a fixed bit budget nonuniformly across the experts selected for each token.

The central systems problem is that dynamic precision is not automatically cacheable. A straightforward implementation stores each supported precision as an independent expert object, giving different bit-widths of the same expert different cache identities. A cached 2-bit object then cannot contribute to a later 4-bit request, even on consecutive tokens. Dynamic precision can therefore reduce per-invocation bytes while destroying reuse across invocations. At a 24 GiB cache capacity, fixed 4-bit requests achieve a 57.08% exact-object hit rate on our trace, whereas dynamic requests with the same average 4-bit budget achieve only 35.15% when each precision is treated as an independent object. The problem is therefore not dynamic precision itself, but representing precision as a set of mutually disjoint states.

This loss of reuse is not inherent to dynamic precision. All supported bit widths approximate the same underlying weights, yet conventional formats encode those approximations independently. The key observation is that the precision levels can instead be constructed as a nested sequence: moving from b to b+1 bits adds refinement information to a coarser reconstruction. Exposing this nesting to the storage hierarchy allows a resident low-precision state to become the reusable prefix of a later higher-precision request, while a resident high-precision state can serve a lower-precision request directly.

This observation suggests a design principle: Precision should identify the refinement depth of one expert state, not the version of an expert object. Guided by this principle, we design PagedMoE. Each expert is stored once as an ordered sequence of refinement units, and its precision is determined by the length of the prefix used for execution. If a cached expert currently has an x-bit prefix and a later request requires b>xb > x bits, the runtime loads only the missing suffix. If b≤xb \le x, the resident state directly serves the request. All precision levels therefore share one SSD-resident representation, while precision changes reuse DRAM residency and preserve the work already performed to bring an expert into memory.

Prior work has established that a single checkpoint can expose multiple bit widths [18, 20] and that MoE systems can vary expert precision according to runtime importance [3, 13, 26, 29]. PagedMoE builds on these directions but addresses a distinct storage-hierarchy requirement: expert states at fine-grained precision levels must remain incrementally reusable from SSD through the DRAM cache, and directly consumable by execution, without materializing a dequantized expert copy. Its contribution is not the existence of multiple precisions, but an end-to-end design in which a precision change either extends one cached state or uses a shorter prefix of that state, rather than selecting a different expert object.

Making this abstraction practical requires three properties across the execution path. First, every prefix must reconstruct a valid expert, and each additional refinement must be independently addressable on SSD and in DRAM. Second, the target bit width must be chosen after routing but before expert loading, using only information available before the requested representations are fetched; otherwise, the system cannot know which refinements to load. Third, the selected prefix must be executed directly from its compact cached form. Reconstructing a complete BF16 expert or staging a separate compute-oriented representation would introduce additional memory traffic, negating much of the data-movement benefit of compact storage and caching.

PagedMoE realizes these properties through a co-designed representation, allocator, and runtime. A tree-structured codebook makes every prefix of a quantization index a valid reconstruction, and a bitplane layout stores each additional index bit as an independently loadable refinement unit. A pre-I/O allocator combines current routing weights with offline expert-specific output-error profiles to assign a target bit width to each selected expert under an average requested-bit budget. The DRAM cache maintains expert prefixes, loads only missing bitplanes, and evicts only suffixes. Finally, an AVX-512 CPU kernel reconstructs values from the requested bitplanes on the fly and immediately consumes them in GEMV, without materializing a full-precision expert.

Our evaluation separates the benefit of requesting fewer bits from that of cross-precision reuse. On Qwen3.5-397B-A17B, with a 24 GiB expert cache, uniform 4-bit execution reaches 5.71 tokens/s. Dynamic Avg2.5 without cross-precision reuse reaches 6.67 tokens/s, showing the benefit of requesting fewer bits alone. With the same expert requests and bit-width assignments, PagedMoE represents each expert's precision levels as prefixes of one shared progressive state and reaches 8.89 tokens/s, 1.33× that of the independent configuration and 1.56× that of uniform 4-bit execution. GLM5.2 shows the same trend. At an average routed-expert precision of 2.5 bits, PagedMoE remains close to GPTQ-INT4 on the evaluated Qwen3.5

tasks and to MXFP4 on most evaluated GLM5.2 tasks, although the quality cost is model- and task-dependent. In a complete-runtime comparison on Qwen3.5 under total-memory accounting, PagedMoE achieves 3.58× the throughput of ik_11ama.cpp while using less host memory.

This paper makes the following contributions:

  • A cache-centric formulation of dynamic expert precision. We show that reducing requested precision is insufficient when different bit widths are represented as independent objects: precision-specific objects can erase much of the locality available in the expert access stream. We formulate precision instead as the refinement depth of one shared, monotonically extendable expert state.

  • An end-to-end representation and runtime for cross-precision reuse. PagedMoE combines prefix-compatible tree-codebook quantization, independently addressable bitplanes, a prefix-preserving DRAM cache, incremental asynchronous SSD loading, and direct CPU execution. The same compact state is preserved across storage, caching, refinement, and computation.

  • Pre-I/O allocation and an evaluation that separates its system effects. PagedMoE assigns per-token, per-expert bit-widths from routing weights and offline error profiles. Experiments on two large MoE models quantify model quality, the benefit of requesting fewer bits, the additional benefit of cross-precision reuse, and the importance of preserving compactness through execution.

References (10)