Manuscript Offprint
arXiv:2610.21378DPA-MoE: A Runtime Precision Control Framework for MoE Inference
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
Mixture-of-Experts (MoE) models reduce computation by routing each token to a small set of experts, but each selected expert is still used at a fixed precision. We present DPA-MoE, a runtime precision control framework that makes routed experts any-precision. DPA-MoE encodes expert feed-forward weights as prefix-decodable chunks using SharedScale AnyBCQ, profiles per-expert reconstruction residuals offline, and allocates chunks at inference time using live router gate scores. This post-routing allocation lets a single encoded MoE checkpoint operate at multiple effective weight-memory budgets without retraining or re-encoding. Experiments on four MoE models spanning different scales, routing widths, and shared-expert configurations show that DPA-MoE consistently improves reconstruction fidelity over uniform chunk allocation and yields a better overall weight-size-quality frontier, with modest steady-state throughput overhead in our prototype.
1 Introduction
Large language models are used across increasingly diverse workloads, including interactive assistants, coding tools, document summarization, and retrieval-augmented question answering. These workloads vary in their latency, throughput, memory, and quality requirements, creating a need for multiple operating points from the same model. However, a conventional fixed-precision checkpoint exposes only one point on this resource-quality curve. Releasing or storing a separate quantized checkpoint for each operating point increases storage and deployment complexity. An attractive alternative is an any-precision model: a single encoded artifact whose effective weight size can be

Figure 1: DPA-MoE adds post-routing precision allocation to MoE: routing chooses which experts run, while DPA-MoE chooses how much of each selected expert is used.
adjusted at inference time (Yu et al., 2021; Park et al., 2024; Wang et al., 2025b; Park et al., 2026).
The need is sharpest for local inference, where the binding constraints change while the model is resident: memory shifts as other applications come and go and a user may want speed now and accuracy next. Adapting a fixed-precision checkpoint means swapping in a separately quantized artifact, which requires re-encoding or fetching another multi-gigabyte file; an any-precision artifact instead moves along the size-quality curve in place.
Mixture-of-Experts (MoE) models route each token to a small subset of experts rather than applying the full feed-forward parameter set (Shazeer et al., 2017; Lepikhin et al., 2021; Fedus et al., 2022; Du et al., 2022; Jiang et al., 2024; Dai et al., 2024; Muennighoff et al., 2025). This increases total capacity while keeping per-token computation small. However, MoE only controls which experts are activated: once selected, an expert is still evaluated at a fixed precision. Since expert FFN weights dominate modern MoE parameter counts (about
- Equal contribution
Corresponding author
95% in Qwen3-30B-A3B (Qwen Team, 2025)), the number of weight bits read inside each selected expert remains an important control point.
This paper makes selected experts any-precision. As shown in Figure 1, MoE chooses which experts are activated, while DPA-MoE chooses how much of each selected expert is used by assigning a variable number of precision chunks (Section 3.1) per routed activation. Throughout, precision means this chunk count k rather than a numeric bit-width: an expert at precision k is one reconstructed from its first k chunks. Smaller chunk budgets give lighter but less accurate reconstructions; larger budgets recover higher fidelity. This lets a single MoE checkpoint trace a fine-grained weight-size-quality frontier without retraining or maintaining multiple quantized variants.
A uniform any-precision MoE assigns the same chunk count to every activated expert, ignoring router-provided structure. Existing methods address memory and quality through post-training quantization (Frantar and Alistarh, 2024; Duanmu et al., 2025) or runtime adaptation using cache state, device constraints, or long-horizon activation statistics (Tang et al., 2024; Wang et al., 2025a; Chu et al., 2025). DPA-MoE instead combines offline quantization residuals with live gate scores, since experts differ both in current-token importance and reconstruction sensitivity.
We present DPA-MoE, a dynamic precision allocation framework for any-precision MoE models. DPA-MoE encodes expert FFN weights with SharedScale AnyBCQ, a prefix-decodable representation built on AnyBCQ (Park et al., 2026), profiles reconstruction residuals for each expert and chunk count, and combines those residuals with live router gate scores at inference time. The pretrained router and expert identities remain unchanged; DPA-MoE only controls how much precision each selected expert receives. It is not an end-to-end serving system, but a precision-allocation primitive complementary to systems such as DeepSpeed-MoE, HOBBIT, and D2MoE (Rajbhandari et al., 2022; Tang et al., 2024; Wang et al., 2025a).
On Qwen3-30B-A3B, DeepSeekMoE-16B-Chat, OLMoE-1B-7B-0125, and Qwen1.5-MoE-A2.7B (Qwen Team, 2025; Dai et al., 2024; Muennighoff et al., 2025; Qwen Team, 2024), DPA-MoE consistently reduces KL divergence relative to uniform chunk allocation and yields a better overall weight-size-quality frontier, with modest steady-state throughput overhead in our prototype. Sparse routing chooses the experts; DPA-MoE chooses how much of each selected expert to use.
Our contributions are:
• We formulate any-precision MoE, where sparse routing selects experts and a separate precision controller adjusts how many weight bits are read from each selected expert.
• We introduce SharedScale AnyBCQ, a prefix-decodable expert encoding built on AnyBCQ (Park et al., 2026) that lets a single MoE checkpoint expose multiple effective weight-memory budgets without retraining or re-encoding.
• We propose a two-stage allocation framework that combines offline residual profiling with live router gate scores to allocate precision chunks across routed expert activations.
• We show that DPA-MoE improves the weight-size–quality frontier over uniform chunk allocation, while incurring modest steady-state throughput overhead in a lightweight prototype.
Input-Adaptive Precision Methods. Recent work has begun to adapt expert precision beyond static assignment. Tang et al. (2024) serve cache-miss experts at lower precision, but the decision is binary and driven by cache state rather than token-level routing confidence. Chu et al. (2025) maintain a high-precision resident set based on long-horizon router traces, but rely on aggregate statistics that cannot reflect the importance of the current token to each expert. Wang et al. (2025a) insert a per-expert bit-width gate downstream of the unmodified router, but require training an additional adapter and bind precision to a learned policy rather than exposing it as a separable runtime variable.
Progressive and Multi-Precision Encodings. A complementary line of work encodes weights such that multiple precisions are accessible without re-encoding. Yu et al. (2021) introduce neural networks whose precision can be changed at runtime, Park et al. (2024) show that a single quantized model can support multiple bit-widths, Wang et al. (2025b) provide fine-grained model size control through stacked residual quantization, and Park et al. (2026) advance this through progressive bit-planes with negligible switching overhead. These encodings provide the representational substrate for runtime precision control, but do not specify how that control should be exercised across experts.
Positioning. Appendix D compares these methods on five axes: training-free, router left unchanged, token-aware, fine-grained budgets reachable, and no re-fetch on a precision upgrade. The closest is D MoE, whose nested Matryoshka quantization reuses already-loaded bits as our prefix-decodable encoding does, but it exposes only discrete tiers and needs a trained per-expert network to choose bit-widths. DPA-MoE is, to our knowledge, the only method that is simultaneously training-free, token-aware, and fine-grained in k while leaving the router untouched.
3 Background and Problem Formulation
3.1 Precision Chunks
DPA-MoE stores each expert weight tensor as an ordered sequence of chunks. A chunk is a single binary bitplane together with its per-group scale; a per-group offset is shared across chunks. Using the first k chunks appends bitplanes to a prefix that is already valid, so raising k never invalidates what has been read; and denote the smallest and largest supported chunk counts. Section 4.1 gives the reconstruction (Equation 1) and the encoding procedure. A chunk is thus the granularity at which expert precision can be spent.
3.2 MoE Routing
For token state x, an MoE layer selects experts and outputs . We assume each expert can support prefix reconstruction with chunk count k, where larger k uses more of the encoded expert weight and generally gives a more faithful reconstruction.
3.3 Problem Statement
Uniform precision is structurally mismatched with MoE routing. For a given token, the router does not activate experts equally: it assigns different gate scores to different selected experts, indicating that their contributions to the layer output are not symmetric. Across layers and experts, the reconstruction error introduced by using a shorter precision prefix also varies. Nevertheless, a uniform precision policy reads the same number of weight bits from every selected expert.
This wastes budget in two ways. First, low-contribution experts can receive the same precision as high-contribution experts. Second, experts that are already easy to reconstruct can receive the same precision as experts whose output is more sensitive to missing chunks. As a result, uniform precision can spend memory and bandwidth on expert activations with small marginal value while underserving the activations where additional precision matters most.
The problem addressed in this paper is therefore not to change the MoE router, retrain the model, or design a new serving scheduler. It is to remove this uniform-precision assumption inside the experts selected by the existing router, so that a single encoded MoE checkpoint can expose multiple weight-size-quality operating points more efficiently.
4 Method
4.1 Progressive Expert Encoding
DPA-MoE encodes each expert feed-forward weight tensor as an ordered sequence of precision chunks, where loading a longer prefix generally improves reconstruction fidelity. Following AnyBCQ (Park et al., 2026), each grouped weight tensor at precision k is approximated as
where is a binary bitplane, is a per-group scale, and is an optional per-group offset, with group size . The default precision range spans to chunks.
Standard AnyBCQ re-optimizes independently at each precision tier, producing per-tier

Figure 2: SharedScale AnyBCQ encoding and dynamic precision inference. Left (Progressive Expert Encoding): chunks are added sequentially, with all active planes jointly re-optimized at each step to produce a single shared scale table. Right (Dynamic Precision Inference): at inference time, selecting k chunks loads the first k bitplanes and scale columns from the shared table — no additional scale fetches are required when switching precision.
scale snapshots. Supporting the full 2–8 bit range therefore requires storing one scale set per tier, resulting in substantially larger per-expert storage overhead compared to a shared parameterization (Appendix A).
We therefore introduce SharedScale AnyBCQ, which fixes a single shared and table across all precision tiers during encoding. At inference time, moving from to chunks requires loading only the new bitplane and its scale ; previously loaded scales remain valid and unchanged. To compensate for the reduced per-tier flexibility, the encoding optimization objective is:
where
(3)
where is a weighting hyperparameter that balances reconstruction fidelity at full precision against quality preservation at intermediate precisions. Here denotes layer L evaluated with full-precision expert weights, and denotes the same layer with expert weights quantized at precision K, both evaluated on the same full-precision cached activation . This isolates the reconstruction error attributable to the current layer under calibration. minimizes the layer-level output error at full chunk count K, while explicitly protects reconstruction quality at all intermediate precisions . Hyperparameters and calibration details are provided in Table 10.
Figure 2 illustrates this process. During encoding, chunks are added one at a time; at each step, all active scales are jointly re-optimized via with signs B fixed, gradually refining the shared scale table to account for all intermediate precisions simultaneously. At inference time, selecting precision k loads the first k chunks, enabling precision switching without re-fetching previously loaded scales.
4.2 Two-Stage Framework
The encoding described in Section 4.1 converts expert precision into a runtime-controllable variable. The central question then becomes: given a fixed per-dispatch budget, how should chunks be allocated across active experts to best preserve output quality? A uniform allocation—assigning the same chunk count to every expert—ignores two sources of heterogeneity: the intrinsic quantization error of each expert, which varies across experts independently of routing, and the router's gate scores, which reflect each expert's relevance to the current token. We propose a two-stage framework that keeps these two sources strictly separate.
Stage A: Offline Residual Profiling. Prior to inference, we measure the reconstruction error incurred by each expert e in layer L at every precision level k. With the input distribution to experts in layer L, we define
where is the difference between the full-precision and k-chunk reconstruction of expert . In practice this expectation is approximated on a calibration set. Profiling is gate-free: it captures only each expert's intrinsic compression error. The result is a Residual LUT , computed once and stored alongside the model.
Stage A - Offline Residual Profiling

Figure 3: Two-Stage Precision Allocation. Offline profiling builds a residual table . At inference time, DPA combines this table with live gate scores and allocates a fixed chunk budget across routed experts.
Stage B: Online Precision Allocation. At inference time, for each MoE dispatch, the router provides live gate scores for the active experts. Together with the Residual LUT , these give the Dynamic Precision Allocator (DPA) everything it needs to choose per expert.
Objective Derivation. The two stages combine through the layer-level output error. For a token , let denote the reconstruction error of the MoE layer output. Expanding gives diagonal terms and cross terms . Dropping the cross terms gives
Although this approximation changes the absolute magnitude of the objective, it preserves allocation rankings: the exact and approximated objectives have Spearman correlation at least 0.999 across all precision levels (Appendix B).
Taking the expectation over the calibration distribution yields as the per-expert cost: a live per-dispatch coefficient times the offline LUT. Before allocation, we apply a monotone projection along to remove calibration noise, yielding with .
For batched prefill, we aggregate gate coefficients over the microbatch :
The same objective then applies with replaced by .
4.3 Dynamic Precision Allocator (DPA)
The DPA solves the following budgeted allocation problem at every MoE dispatch:
where is the active expert set, for single-token decoding and for batched prefill. The budget is , and . For decoding, ; for batched prefill, is the union of experts activated by tokens in the microbatch.
Multi-Choice Knapsack DPA. Equation 7 is a multi-choice knapsack problem (Kellerer et al., 2004). Let and define . Let be the minimum cost for the first experts under partial budget :
(8) with and for . The optimum is , and the selected chunk counts are recovered by backtracking. Since the DP enumerates all feasible chunk assignments under the budget, it returns the global optimum of Equation 7 with respect to the projected residual table .
Computational Cost. The DPA runs in time, where , , and . Equivalently, the cost is . For single-token decoding, is the top- routing count; for Qwen3-30B-A3B, , , and , giving at most candidate transitions per dispatch.
For batched prefill, can grow because is the union of experts selected by all tokens, but it remains bounded by the number of experts in the layer rather than by the number of token-expert pairs. In the worst case with , , and , the DP evaluates at most transitions per MoE layer dispatch. This cost is amortized over the microbatch: for tokens, the per-token cost scales as with . Thus, small batches have very small active sets, while large batches may activate more experts but divide the allocator cost across more tokens.
5 Experimental Setup
5.1 Models
We evaluate on four open-weight MoE language models, chosen to vary in scale, routing width, and shared-expert configuration: Qwen3-30B-A3B (Qwen Team, 2025), 8 of 128 experts, no shared experts; DeepSeekMoE-16B-Chat (Dai et al., 2024), 6 of 64 routed experts plus 2 shared; OLMoE-1B-7B-0125 (Muennighoff et al., 2025), 8 of 64, no shared experts; and Qwen1.5-MoE-A2.7B (Qwen Team, 2024), 4 of 60 routed experts plus 4 shared. The first two carry the full evaluation suite including inference speed; the latter two are evaluated on KL divergence and downstream accuracy.
5.2 Baselines
We compare DPA against two baselines. As static quantization references, we include Q2_K, Q5_K_M, and Q8_0 GGUF quantizations of all four models, representing fixed operating points at approximately 2-, 5-, and 8-bit compression. For Qwen3-30B-A3B and DeepSeekMoE-16B-Chat we use published GGUF artifacts (Unsloth AI, 2025; Mradermacher, 2024); the OLMoE-1B-7B-0125 and Qwen1.5-MoE-A2.7B artifacts are converted locally from the base checkpoints with llama.cpp. As a dynamic baseline, Uniform k serves all experts at a fixed chunk count , using the same encoding as DPA but without gate-aware allocation.
5.3 Evaluation
We evaluate reconstruction quality via mean KL divergence (KLD) between the quantized and full-precision output distributions, measured on 10 sequences of 4,096 tokens sampled from the WikiText-2 test set (Merity et al., 2017) with a fixed random seed. For downstream task performance, we report accuracy on four benchmarks: ARC-Challenge (Clark et al., 2018), ARC-Easy (Clark et al., 2018), WinoGrande (Sakaguchi et al., 2021), and PIQA (Bisk et al., 2020). We additionally report the macro-average across all four tasks as a single summary metric.
5.4 Inference Evaluation Setup
We evaluate inference throughput and latency under a controlled execution setting designed to compare the cost of materializing and computing different amounts of expert weight. All methods use the same model, implementation, and execution path; the only difference is the chunk allocation assigned to activated experts. In the Full-Memory setting used for the speed measurements, all encoded expert chunks are resident in GPU memory, so the measurement isolates precision allocation and variable-chunk execution rather than SSD, host-cache, or expert-offloading effects.
We compare DPA against Uniform-k at matched average chunk budgets . Uniform-k materializes the same number of chunks for every activated expert, while DPA redistributes the same total chunk budget according to gate-weighted residual costs. Thus, the comparison isolates the runtime and quality effect of non-uniform expert precision allocation under the same effective weight-memory budget.
We report generation throughput (TPS) and time-to-first-token (TTFT) averaged over 100 sequences from each of WikiText-2 (Merity et al., 2017), C4-en (Raffel et al., 2020), and the Korean split of mC4 (Xue et al., 2021).
Qwen3-30B-A3B

DeepSeekMoE-16B

Figure 4: Mean KL divergence vs. effective model weight (GB) for DPA (ours), Uniform-k allocation, and static quantization baselines on Qwen3-30B-A3B (left) and DeepSeekMoE-16B-Chat (right).
Qwen3-30B-A3B — Average Benchmark Score

DeepSeekMoE-16B — Average Benchmark Score

Figure 5: Macro-average benchmark accuracy (%) vs. effective model weight (GB) for DPA (ours), Uniform-k allocation, and static quantization baselines on Qwen3-30B-A3B (left) and DeepSeekMoE-16B-Chat (right).
6 Results
6.1 Reconstruction Quality
We adopt mean KL divergence (KLD) between the quantized and full-precision output distributions as our primary reconstruction metric. Unlike perplexity, KLD directly quantifies how much quantization distorts the model's predicted distribution at every token, providing a sensitive and task-agnostic measure of fidelity that captures both mode shifts and tail deformations in the output.
Figure 4 plots mean KLD against effective model weight for DPA and all baselines. On both models, the DPA curve lies consistently below the Uniform k curve across the full compression range, confirming that gate-aware allocation reduces output distortion at every matched memory budget. The gain is most pronounced in the mid-compression regime, where DPA reduces KLD by up to relative to Uniform k at matched size (DeepSeekMoE-16B-Chat, ), and recovers equivalent fidelity at 2–4 GB less memory across both models. Non-integer operating points (e.g., ) smoothly interpolate between integer anchors, enabling fine-grained memory–fidelity trade-offs that static quantization cannot provide.
6.2 Downstream Task Performance
Figure 5 reports macro-average accuracy across ARC-Challenge, ARC-Easy, WinoGrande, and PIQA as a function of effective model weight; per-task breakdowns are provided in Appendix C.
DPA consistently outperforms Uniform k at matched memory budgets on both models, with the largest gains at aggressive compression where uniform allocation is most wasteful. The accuracy improvements mirror the KLD reductions reported in Section 6.1, confirming that reduced output distortion translates to measurable downstream gains.
6.3 Generality across MoE Architectures
We repeat the same protocol on OLMoE-1B-7B-0125 and Qwen1.5-MoE-A2.7B, which bracket the shared-expert axis — OLMoE has none, Qwen1.5-
| Qwen3-30B-A3B | DeepSeekMoE-16B-Chat | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Avg Acc (%) | TPS | TTFT (s) | Avg Acc (%) | TPS | TTFT (s) | |||||||
| Uni | DPA | Uni | DPA | Uni | DPA | Uni | DPA | Uni | DPA | Uni | DPA | |
| 3 | 63.38 | 66.12 | 58.70 | 55.29 | 1.001 | 1.311 | 63.86 | 65.79 | 116.54 | 106.96 | 0.519 | 0.691 |
| 4 | 66.92 | 67.90 | 51.53 | 48.72 | 1.150 | 1.560 | 64.57 | 66.79 | 105.68 | 97.06 | 0.597 | 0.842 |
| 5 | 67.86 | 68.41 | 46.29 | 44.23 | 1.277 | 1.773 | 67.20 | 67.43 | 95.17 | 89.64 | 0.679 | 0.978 |
| 6 | 67.67 | 68.67 | 41.00 | 38.79 | 1.427 | 1.898 | 67.28 | 68.01 | 88.68 | 82.18 | 0.758 | 1.101 |
| 7 | 68.50 | 68.86 | 35.97 | 34.53 | 1.603 | 2.084 | 67.80 | 68.06 | 82.05 | 76.68 | 0.801 | 1.203 |
Table 1: Macro-average benchmark accuracy, generation throughput (TPS), and time-to-first-token (TTFT) on Qwen3-30B-A3B and DeepSeekMoE-16B-Chat under the Full-Memory setting.
MoE has four — and differ in routing width (8-of-64 versus 4-of-60); full sweeps are in Appendix E. On both, DPA reduces KL divergence relative to Uniform by 26–69% wherever the allocation is not forced, and improves accuracy at most matched budgets: the macro-average rises from 60.60% to 62.40% at on OLMoE, and from 62.04% to 63.45% at on Qwen1.5-MoE. The methods coincide at and , where admits one feasible assignment. Across all four models, the benefit of post-routing allocation is not confined to a particular routing design.
6.4 Inference Speed
Table 1 reports macro-average accuracy, generation throughput (TPS), and time-to-first-token (TTFT) for Uniform and DPA at matched values under the Full-Memory setting.
At the same , DPA incurs a generation throughput overhead of 4–6% on Qwen3-30B-A3B and 6–8% on DeepSeekMoE-16B-Chat relative to Uniform k, along with a TTFT increase of approximately 30–50%, both attributable to the per-dispatch knapsack allocation.
Because DPA consistently achieves higher accuracy at every , the more informative comparison is at matched quality. On Qwen3-30B-A3B, DPA at achieves 67.90% accuracy at 48.72 TPS, nearly matching Uniform k=5 in accuracy (67.86%) while delivering approximately 5% higher throughput than that Uniform setting (46.29 TPS). On DeepSeekMoE-16B-Chat, DPA at (66.79%, 97.06 TPS) similarly exceeds Uniform k=5 (67.20%, 95.17 TPS) in throughput while trailing by only 0.41 accuracy points. Across both models, DPA recovers the throughput cost of dynamic allocation by operating at a lower than its uniform counterpart at comparable quality.
6.5 Which Signal Drives the Gain?
Beating Uniform-k shows that non-uniform allocation helps, but not that our objective is the right one. We therefore isolate the two signals Equation 7 combines: Gate-only replaces the per-expert residual with a layer-wise average, , and Residual-only fixes the gate coefficient to a constant, . We report KLD, the metric tied most directly to the allocator's objective. This stands in for a head-to-head comparison against published methods, which we could not reproduce faithfully: the closest, , has no public implementation.
| Uniform -k | Residual -only | Gate -only | DPA (ours) | |
|---|---|---|---|---|
| 3 | 0.558387 | 0.514394 | 0.321453 | 0.306188 |
| 4 | 0.261631 | 0.249736 | 0.145686 | 0.137787 |
| 5 | 0.118282 | 0.113541 | 0.067866 | 0.064224 |
| 6 | 0.041207 | 0.041108 | 0.030344 | 0.028952 |
Table 2: Mean KL divergence on OLMoE-1B-7B-0125 with each allocation signal isolated. Lower is better.
Table 2 shows that DPA attains the lowest KLD at every budget. Gate-only accounts for most of the gain over Uniform-k (26.4–44.3%), while Residual-only contributes little (0.2–7.9%): a static sensitivity profile is a weak signal on its own. Combining the two still improves on Gate-only by 4.6–5.4% everywhere, so the offline residual is complementary rather than redundant — as the objective's structure implies, the gate coefficient scales the residual rather than replacing it.
7 Discussion
What does DPA-MoE show? DPA-MoE shows that, after the router selects the active experts, there is still a meaningful precision-allocation problem. Uniform-k assigns the same chunk count to every routed expert, but routed experts differ in two ways: their gate scores indicate different importance for the current token, and their residual profiles indicate different quantization sensitivity at each chunk count. DPA combines these two signals into a gate-weighted residual objective, allowing the same chunk budget to be used more effectively without modifying the pretrained router or training an additional policy. The consistent improvements over Uniform-k suggest that expert precision should be treated as a runtime allocation variable rather than a fixed property of the encoded checkpoint.
How should the runtime results be interpreted? DPA-MoE improves the weight-size–quality frontier, but it is not a free speedup at a fixed budget: at matched , per-dispatch allocation and non-uniform chunk materialization lower steady-state TPS and raise TTFT in our prototype. The benefit is clearer at matched quality, since DPA often reaches a larger Uniform-k budget's quality with fewer chunks, recovering part of that overhead at a smaller effective weight size. Its value is thus a better set of weight-size–quality operating points from one encoded model, not higher throughput at every fixed budget.
Where is DPA-MoE the right tool? For batched prefill A is the union of all tokens' selected experts, so the allocator cost of Section 4.3 grows with batch size while its benefit shrinks: inference turns compute-bound and each expert is reused across more tokens. DPA-MoE therefore suits memory-constrained, small-to-moderate batches — single-stream decoding, local serving — and a deployment should fall back to Uniform-k past the batch size where allocation stops paying for itself, a threshold set by the target device rather than by the method.
Scope and extensions. SharedScale AnyBCQ is one prefix-stable encoding substrate for this framework, not the only possible choice. The allocation method can be applied to other progressive encodings as long as their precision units can be treated as allocatable chunks with measurable residual profiles. Likewise, DPA-MoE exposes a runtime precision interface that could be used by higher-level policies such as phase-aware decoding, adaptive quality control, or speculative decoding. This paper focuses on the core allocation problem; optimized runtime integration and downstream system composition are left as directions for future work.
8 Conclusion
We presented DPA-MoE, a runtime precision control framework for any-precision MoE inference. Standard MoE routing determines which experts are activated for each token, but leaves the selected experts at a fixed precision. DPA-MoE adds a post-routing precision allocation step: given the experts selected by the pretrained router and a fixed chunk budget, it decides how many precision chunks each routed expert activation should receive.
To support this formulation, we introduced SharedScale AnyBCQ, a prefix-stable expert encoding that lets a single MoE checkpoint expose multiple effective weight-memory budgets without retraining or re-encoding. We then combined offline residual profiling with live router gate scores to allocate chunks according to gate-weighted reconstruction costs.
Experiments on four MoE models show that this allocation consistently improves reconstruction fidelity over uniform chunk allocation and yields a better overall weight-size–quality frontier. Runtime measurements further show that these gains come with modest steady-state throughput overhead in our current prototype.
Overall, DPA-MoE suggests that expert precision can be treated as a runtime allocation variable rather than a fixed property of a deployed checkpoint. By allowing a single encoded MoE checkpoint to trace a fine-grained weight-size–quality frontier at runtime, DPA-MoE establishes expert precision as a first-class inference-time variable—one that downstream systems, adaptive controllers, and deployment pipelines can optimize directly without maintaining separate model variants.
9 Limitations
DPA-MoE optimizes the weight-size–quality frontier of a single encoded MoE checkpoint, but effective weight size is a proxy, not a complete latency model. Actual serving performance also depends on kernel fusion, batching, dispatch overhead, and hardware-specific scheduling, none of which are modeled here.
Our runtime is a lightweight prototype built on top of llama.cpp (Gerganov et al., 2023). The allocator and variable chunk materialization are not fully fused with expert dispatch kernels, and no custom scheduler is used. The observed TTFT overhead and modest TPS reduction should therefore be interpreted as prototype costs rather than intrinsic costs of the method.
The allocation objective is a surrogate for downstream quality. DPA uses live router gate scores as a lightweight proxy for expert importance and offline residuals to estimate quality loss, but gate scores are imperfect and the objective ignores cross-expert residual interactions. Residual estimates are computed from finite calibration data and can contain small precision inversions, which we address via monotone projection. The dynamic program is therefore optimal for the projected surrogate, not necessarily for the true downstream loss.
Finally, our empirical scope covers four open-weight MoE models and a focused set of benchmarks, chosen to isolate the effect of non-uniform chunk allocation against a uniform baseline. They differ in scale, routing width, and shared-expert configuration, but we do not claim exhaustive generality across all MoE architectures, routing designs, hardware backends, or task domains. DPA-MoE also requires access to router gate scores, which may not be available in closed-weight deployments.
Ethical considerations
All experiments use public model and dataset artifacts: Qwen3-30B-A3B, DeepSeekMoE-16B-Chat, OLMoE-1B-7B-0125, Qwen1.5-MoE-A2.7B, WikiText-2, C4/mC4, ARC, WinoGrande, and PIQA. We did not collect new human-subject data, recruit annotators, or redistribute model weights or dataset contents. Web-derived text used for calibration and speed prompts may contain offensive content or personally identifying strings inherited from the source corpora; we use it only for aggregate evaluation and report only summary metrics.
AI assistants were used for coding support, documentation assistance, and editorial checks. The authors reviewed the resulting code, experiments, and manuscript text and are responsible for the correctness and originality of the submission.
Acknowledgments
This work was supported by Institute of Information & Communications Technology Planning & Evaluation (IITP) grants funded by the Korea government (MSIT) under Grant Nos. RS-2025-02218704 (Development of Chiplet-based DNN-SNN Hybrid Computing Processor for Large-Language-Models) and RS-2025-02218322 (Development of Semiconductor for Processing-In-Memory (PIM) Acceleration Using Multi-Hybrid Systems), each contributing 50%.
References
Yonatan Bisk, Rowan Zellers, Ronan Le Bras, Jianfeng Gao, and Yejin Choi. 2020. PIQA: reasoning about physical commonsense in natural language. In AAAI Conference on Artificial Intelligence, pages 7432–7439.
Kexin Chu, Dawei Xiang, Zixu Shen, Yiwei Yang, Zecheng Liu, and Wei Zhang. 2025. Dynamic expert quantization for scalable mixture-of-experts inference. CoRR, abs/2511.15015.
Peter Clark, Isaac Cowhey, Oren Etzioni, Tushar Khot, Ashish Sabharwal, Carissa Schoenick, and Oyvind Tafjord. 2018. Think you have solved question answering? try arc, the AI2 reasoning challenge. CoRR, abs/1803.05457.
Damai Dai, Chengqi Deng, Chenggang Zhao, R. X. Xu, Huazuo Gao, Deli Chen, Jiashi Li, Wangding Zeng, Xingkai Yu, Y. Wu, Zhenda Xie, Y. K. Li, Panpan Huang, Fuli Luo, Chong Ruan, Zhifang Sui, and Wenfeng Liang. 2024. Deepseekmoe: Towards ultimate expert specialization in mixture-of-experts language models. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 1280–1297.
Tim Dettmers, Mike Lewis, Younes Belkada, and Luke Zettlemoyer. 2022. LLM.int8(): 8-bit matrix multiplication for transformers at scale. In Advances in Neural Information Processing Systems, volume 35, pages 30318–30332.
Nan Du, Yanping Huang, Andrew M. Dai, Simon Tong, Dmitry Lepikhin, Yuanzhong Xu, Maxim Krikun, Yanqi Zhou, Adams Wei Yu, Orhan Firat, Barret Zoph, Liam Fedus, Maarten P. Bosma, Zongwei Zhou, Tao Wang, Yu Emma Wang, Kellie Webster, Marie Pellat, Kevin Robinson, et al. 2022. Glam: Efficient scaling of language models with mixture-of-experts. In International Conference on Machine Learning (ICML), volume 162 of Proceedings of Machine Learning Research, pages 5547–5569.
Haojie Duanmu, Xiuhong Li, Zhihang Yuan, Size Zheng, Jiangfei Duan, Xingcheng Zhang, and Dahua Lin. 2025. Mxmoe: Mixed-precision quantization for moe with accuracy and performance co-design. In International Conference on Machine Learning (ICML).
William Fedus, Barret Zoph, and Noam Shazeer. 2022. Switch transformers: Scaling to trillion parameter models with simple and efficient sparsity. Journal of Machine Learning Research, 23:120:1–120:39.
Elias Frantar and Dan Alistarh. 2024. QMoE: Sub-1-bit compression of trillion parameter models. In
Proceedings of Machine Learning and Systems, volume 6, pages 439–451.
Elias Frantar, Saleh Ashkboos, Torsten Hoefler, and Dan Alistarh. 2023. OPTQ: Accurate quantization for generative pre-trained transformers. In International Conference on Learning Representations (ICLR).
Georgi Gerganov et al. 2023. llama.cpp.
Ari Holtzman, Jan Buys, Li Du, Maxwell Forbes, and Yejin Choi. 2020. The curious case of neural text degeneration. In International Conference on Learning Representations (ICLR).
Quzhe Huang, Zhenwei An, Nan Zhuang, Mingxu Tao, Chen Zhang, Yang Jin, Kun Xu, Liwei Chen, Songfang Huang, and Yansong Feng. 2024. Harder task needs more experts: Dynamic routing in moe models. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 12883–12895.
Albert Q. Jiang, Alexandre Sablayrolles, Antoine Roux, Arthur Mensch, Blanche Savary, Chris Bamford, Devendra Singh Chaplot, Diego de Las Casas, Emma Bou Hanna, Florian Bressand, Gianna Lengyel, Guillaume Bour, Guillaume Lample, Lélio Renard Lavaud, Lucile Saulnier, Marie-Anne Lachaux, Pierre Stock, Sandeep Subramanian, Sophia Yang, et al. 2024. Mixtral of experts. CoRR, abs/2401.04088.
Hans Kellerer, Ulrich Pferschy, and David Pisinger. 2004. Knapsack problems. Springer.
Dmitry Lepikhin, HyoukJoong Lee, Yuanzhong Xu, Dehao Chen, Orhan Firat, Yanping Huang, Maxim Krikun, Noam Shazeer, and Zhifeng Chen. 2021. Gshard: Scaling giant models with conditional computation and automatic sharding. In International Conference on Learning Representations (ICLR).
Ji Lin, Jiaming Tang, Haotian Tang, Shang Yang, Wei-Ming Chen, Wei-Chen Wang, Guangxuan Xiao, Xingyu Dang, Chuang Gan, and Song Han. 2024. AWQ: activation-aware weight quantization for on-device LLM compression and acceleration. In Conference on Machine Learning and Systems (MLSys).
Stephen Merity, Caiming Xiong, James Bradbury, and Richard Socher. 2017. Pointer sentinel mixture models. In International Conference on Learning Representations (ICLR).
Mradermacher. 2024. deepseek-moe-16b-chat-GGUF.
Niklas Muennighoff, Luca Soldaini, Dirk Groeneveld, Kyle Lo, Jacob Morrison, Sewon Min, Weijia Shi, Evan Pete Walsh, Oyvind Tafjord, Nathan Lambert, Yuling Gu, Shane Arora, Akshita Bhagia, Dustin Schwenk, David Wadden, Alexander Wettig, Binyuan Hui, Tim Dettmers, Douwe Kiela, et al. 2025. Olmoe: Open mixture-of-experts language models. In International Conference on Learning Representations (ICLR).
Gunho Park, Jeongin Bae, Beomseok Kwon, Byeongwook Kim, Se Jung Kwon, and Dongsoo Lee. 2026. AnyBCQ: Hardware efficient flexible binary-coded quantization for multi-precision LLMs. In International Conference on Learning Representations (ICLR).
Yeonhong Park, Jake Hyun, SangLyul Cho, Bonggeun Sim, and Jae W. Lee. 2024. Any-precision LLM: low-cost deployment of multiple, different-sized llms. In International Conference on Machine Learning (ICML), volume 235 of Proceedings of Machine Learning Research, pages 39682–39701.
Qwen Team. 2024. Qwen1.5-MoE: Matching 7B model performance with 1/3 activated parameters.
Qwen Team. 2025. Qwen3 technical report. CoRR, abs/2505.09388.
Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, and Peter J. Liu. 2020. Exploring the limits of transfer learning with a unified text-to-text transformer. Journal of Machine Learning Research, 21:140:1–140:67.
Samyam Rajbhandari, Conglong Li, Zhewei Yao, Minjia Zhang, Reza Yazdani Aminabadi, Ammar Ahmad Awan, Jeff Rasley, and Yuxiong He. 2022. Deepspeed-moe: Advancing mixture-of-experts inference and training to power next-generation AI scale. In International Conference on Machine Learning (ICML), volume 162 of Proceedings of Machine Learning Research, pages 18332–18346.
Keisuke Sakaguchi, Ronan Le Bras, Chandra Bhagavatula, and Yejin Choi. 2021. Winogrande: an adversarial winograd schema challenge at scale. Communications of the ACM, 64(9):99–106.
Noam Shazeer, Azalia Mirhoseini, Krzysztof Maziarz, Andy Davis, Quoc V. Le, Geoffrey E. Hinton, and Jeff Dean. 2017. Outrageously large neural networks: The sparsely-gated mixture-of-experts layer. In International Conference on Learning Representations (ICLR).
Peng Tang, Jiacheng Liu, Xiaofeng Hou, Yifei Pu, Jing Wang, Pheng-Ann Heng, Chao Li, and Minyi Guo. 2024. HOBBIT: A mixed precision expert offloading system for fast moe inference. CoRR, abs/2411.01433.
Unsloth AI. 2025. Qwen3-30B-A3B-GGUF.
Haodong Wang, Qihua Zhou, Zicong Hong, and Song Guo. 2025a. D2moe: Dual routing and dynamic scheduling for efficient on-device moe-based LLM serving. In Annual International Conference on Mobile Computing and Networking (MobiCom), pages 574–588.
Xinghao Wang, Pengyu Wang, Bo Wang, Dong Zhang, Yunhua Zhou, and Xipeng Qiu. 2025b. Bitstack: Any-size compression of large language models in variable memory environments. In International Conference on Learning Representations (ICLR).
Guangxuan Xiao, Ji Lin, Mickaël Seznec, Hao Wu, Julien Demouth, and Song Han. 2023. Smoothquant: Accurate and efficient post-training quantization for large language models. In International Conference on Machine Learning (ICML), volume 202 of Proceedings of Machine Learning Research, pages 38087–38099.
Linting Xue, Noah Constant, Adam Roberts, Mihir Kale, Rami Al-Rfou, Aditya Siddhant, Aditya Barua, and Colin Raffel. 2021. mt5: A massively multilingual pre-trained text-to-text transformer. In Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 483–498.
Zhewei Yao, Reza Yazdani Aminabadi, Minjia Zhang, Xiaoxia Wu, Conglong Li, and Yuxiong He. 2022. Zeroquant: Efficient and affordable post-training quantization for large-scale transformers. In Advances in Neural Information Processing Systems (NeurIPS).
Haichao Yu, Haoxiang Li, Humphrey Shi, Thomas S. Huang, and Gang Hua. 2021. Any-precision deep neural networks. In AAAI Conference on Artificial Intelligence, volume 35, pages 10763–10771.
A Storage Overhead: AnyBCQ vs. SharedScale AnyBCQ
To support any-precision inference across the full 2–8 bit range at runtime, both AnyBCQ and Shared-Scale AnyBCQ must store all bitplanes and their associated scale parameters simultaneously. Although the two encodings require the same eight bitplanes, they differ substantially in how many scale sets must be retained.
In AnyBCQ, scales are jointly re-optimized at every precision tier, so each tier maintains its own independent scale set. Supporting the full 2–8 bit range therefore requires storing scale sets in total. In SharedScale AnyBCQ, a single scale set is fixed per bitplane and shared across all tiers, so only 8 scale sets are needed regardless of the supported precision range.
| Enc. | Bits | Scale | Total | % |
|---|---|---|---|---|
| AnyBCQ | 4,608 | 2,520 | 7,128 | 35.4 |
| SS-AnyBCQ | 4,608 | 576 | 5,184 | 11.1 |
Table 3: Per-expert storage breakdown in KB for full 2–8 bit support on Qwen3-30B-A3B.
Table 3 quantifies this difference for a single expert in Qwen3-30B-A3B (hidden=2048, intermediate=768, group size=128, Up+Gate+Down matrices). Each bitplane occupies 576 KB and each scale set occupies 72 KB under this architecture.
The scale overhead in AnyBCQ is larger than in SharedScale AnyBCQ, increasing total per-expert storage by . More critically, this asymmetry compounds at runtime. In DPA-MoE, expert precision is reallocated on every token where routing confidence changes. Each upward precision transition in AnyBCQ requires materializing all accumulated scale sets for the target tier, since they are not shared across tiers. In SharedScale AnyBCQ, only a single new bitplane and its associated scale set must be materialized per transition, regardless of the current precision level. The storage savings in Table 3 therefore translate directly into reduced materialization overhead per transition, which accumulates across the full generation sequence.
B Cross-Term Analysis
To validate the diagonal approximation used in Section 4.2, we measure the relationship between the exact squared reconstruction error and its diagonal approximation at each precision level . For each MoE dispatch, we compute:
and report their ratio, the relative cross-term contribution, and rank correlations across dispatches, averaged over 10 sequences of 4,096 tokens from the WikiText-2 test set on Qwen3-30B-A3B (Table 4).
| k | diag/ex. | cross/ex. | Pearson | Spearman |
|---|---|---|---|---|
| 2 | 0.402 | 0.598 | 0.987 | 0.999 |
| 3 | 0.881 | 0.119 | 0.972 | 1.000 |
| 4 | 0.916 | 0.084 | 0.980 | 1.000 |
| 5 | 0.733 | 0.268 | 0.972 | 1.000 |
| 6 | 0.831 | 0.169 | 0.955 | 1.000 |
| 7 | 0.871 | 0.129 | 0.979 | 1.000 |
| 8 | 1.000 | 0.000 | 0.999 | 1.000 |
Table 4: Cross-term analysis per precision level .
At , cross terms contribute substantially (59.8%), but this precision level represents the minimum chunk count to which every expert defaults, so no allocation decision is made in this regime.
For , cross terms contribute at most 27% of the true error. Critically, the Spearman rank correlation between the exact and diagonal objectives exceeds 0.999 across all precision levels and Pearson exceeds 0.95. Since the knapsack allocator optimizes relative costs across experts rather than absolute magnitudes, the near-perfect rank preservation confirms that the diagonal approximation reliably guides allocation toward near-optimal chunk assignments in practice. Separability also makes the allocation a knapsack problem at all: with cross terms, one expert's cost would depend on every other expert's assignment.
C Per-Task Benchmark Results
Figures 6 and 7 report per-task accuracy across ARC-Challenge, ARC-Easy, WinoGrande, and PIQA for Qwen3-30B-A3B and DeepSeekMoE-16B-Chat respectively. DPA consistently outperforms Uniform k at matched memory budgets across all four tasks on both models, with the largest gains at aggressive compression.
D Comparison with Dynamic Expert-Precision Methods
Table 5 expands the positioning discussion in the Related Work section into a per-axis comparison.
MxMoE assigns mixed precision per expert, but the allocation is fixed before deployment, is independent of the current input, and does not support runtime switching. HOBBIT selects a substitute precision for cache-miss experts only; the mechanism is gated by cache state rather than by the gate score, and it does not apply to cache-hit experts. DynaExq promotes and demotes experts between high- and low-precision resident sets using long-horizon expert hotness estimated from router traces, so it relies on aggregate statistics rather than each expert's importance to the current token. D MoE uses a nested Matryoshka quantization in which higher bit-widths encapsulate lower ones, so upgrading precision reuses already-loaded bits — a property it shares with our prefix-decodable design. It nonetheless supports only discrete tiers, offers no non-integer interpolation, and requires training a separate per-expert plug-in network to decide bit-width. DPA-MoE is, to our knowledge, the only method that is simultaneously training-free, token-aware, and fine-grained in k while leaving the router untouched.
We do not report a head-to-head empirical comparison against these methods. D MoE is the closest in capability, but we are not aware of a public implementation, and its per-expert plug-in networks would have to be trained before any comparison could be run. The main comparison in the paper is therefore against Uniform-k, and the signal ablation of Section 6.5 isolates the contribution of each allocation signal in place of a cross-method baseline.
E Additional MoE Architectures
Table 6 gives the full budget sweep behind Section 6.3 for OLMoE-1B-7B-0125 and Qwen1.5-MoE-A2.7B, using the same protocol as the two models in the main text. DPA and Uniform-k necessarily coincide at and , where the budget admits only one feasible allocation. The static quantization rows are reference points at the nearest bit-width, not matched-budget comparisons.
The reduction in KL divergence is consistent across the interior of the sweep on both models. On OLMoE the mean KLD falls from 0.564 to 0.328 at , from 0.260 to 0.148 at , and from 0.119 to 0.069 at ; on Qwen1.5-MoE it falls from 0.107 to 0.042, from 0.052 to 0.016, and from 0.020 to 0.007 at the same three budgets. Downstream accuracy improves at most matched budgets, the largest gains being +1.80 points at on OLMoE and +1.41 points at on Qwen1.5-MoE. The one budget where Uniform-k is ahead is on OLMoE, by 0.31 points, even though DPA attains the lower KLD there.
The two models were chosen to differ from the main-text pair on the axes most likely to interact with post-routing allocation: the presence of always-on shared experts, of which OLMoE has none and Qwen1.5-MoE has four, and routing scale, 8-of-64 against 4-of-60 plus four shared. Together with Qwen3-30B-A3B and DeepSeekMoE-16B-Chat, the four models cover both settings on each axis, which is the basis for the generality claim in Section 6.3.

Qwen3-30B-A3B — ARC-E

Qwen3-30B-A3B — WinoGrande
Qwen3-30B-A3B — PIQA

Effective Model Weight (GB)

Effective Model Weight (GB)
Figure 6: Per-task benchmark results for Qwen3-30B-A3B.
DeepSeekMoE-16B — ARC-C

DeepSeekMoE-16B — ARC-E

DeepSeekMoE-16B — WinoGrande
DeepSeekMoE-16B — PIQA

Effective Model Weight (GB)

Effective Model Weight (GB)
Figure 7: Per-task benchmark results for DeepSeekMoE-16B-Chat.
| Method | Training-free | Router intact | Token-aware | Fine-grained | No re-fetch on upgrade |
|---|---|---|---|---|---|
| MxMoE (Duanmu et al., 2025) | ✓ | ✓ | ✕ | ✕ | ✕ |
| HOBBIT (Tang et al., 2024) | ✓ | ✓ | △ | ✕ | ✕ |
| DynaExq (Chu et al., 2025) | ✓ | ✓ | ✕ | ✕ | ✕ |
| (Wang et al., 2025a) | ✕ | ✓ | ✓ | ✕ | ✓ |
| DPA-MoE (ours) | ✓ | ✓ | ✓ | ✓ | ✓ |
Table 5: Comparison with existing dynamic and mixed expert-precision methods. △: HOBBIT switches precision only for cache-miss experts, so the decision is gated by cache state rather than by the gate score itself.
| Config | OLMoE-1B-7B-0125 | Qwen1.5-MoE-A2.7B | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| GB | Mean KLD | Avg Acc (%) | Config | GB | Mean KLD | Avg Acc (%) | |||||
| Uni | DPA | Uni | DPA | Uni | DPA | Uni | DPA | ||||
| 2.42 | 1.06908 | 1.06908 | 54.63 | 54.63 | 6.30 | 0.25540 | 0.25540 | 60.98 | 60.98 | ||
| 3.33 | 0.56371 | 60.60 | 7.93 | 0.10721 | 62.60 | ||||||
| 4.23 | 0.26034 | 63.34 | 9.56 | 0.05210 | 62.04 | ||||||
| 5.14 | 0.11913 | 64.52 | 11.19 | 0.01953 | 62.63 | ||||||
| 6.05 | 0.04293 | 64.57 | 12.83 | 0.00611 | 63.66 | ||||||
| 6.95 | 0.02145 | 64.62 | 14.46 | 0.00323 | 63.70 | ||||||
| 7.86 | 0.01048 | 0.01048 | 65.39 | 65.39 | 16.09 | 0.00148 | 0.00148 | 64.46 | 64.46 | ||
| Q2_K | 2.58 | 0.600 | 61.66 | Q2_K | 5.49 | 0.288 | 58.97 | ||||
| Q5_K_M | 4.93 | 0.026 | 64.58 | Q5_K_M | 10.09 | 0.008 | 63.88 | ||||
| Q8_0 | 7.36 | 0.006 | 64.52 | Q8_0 | 14.18 | 0.001 | 64.31 | ||||
Table 6: Mean KL divergence and macro-average benchmark accuracy versus effective weight-memory budget on the two additional MoE architectures.
F Composing with Dynamic Top-k Routing
The experiments in the main text assume a fixed top-k active expert count. The budget of Section 4.3 is however already defined with respect to whatever the router produces at each dispatch, so nothing in the formulation requires to be constant. We verify this directly. Following Huang et al. (2024), we emulate dynamic-k routing by applying a nucleus (Holtzman et al., 2020) cutoff to the already-computed expert distribution of OLMoE-1B-7B-0125-Instruct at inference time. The router itself is untouched and no retraining is performed; the cumulative-probability threshold is applied post hoc. At the router activates 4.0 experts per token on average.
DPA composes with dynamic routing. Table 7 compares DPA against Uniform- on the same routing trajectory and chunk budget. DPA improves PIQA accuracy by +0.37 percentage points on average across the budget sweep, without any retraining or routing-specific loss design. The gain is not uniform — it is largest at and and slightly negative at — but the method trans- fers without modification.
| DPA (%) | Uniform- (%) | ||
|---|---|---|---|
| 3 | 72.48 | 72.22 | +0.26 |
| 4 | 73.10 | 73.08 | +0.02 |
| 5 | 73.44 | 73.54 | -0.10 |
| 6 | 74.45 | 73.78 | +0.67 |
| 7 | 74.23 | 73.25 | +0.98 |
| Avg | 73.54 | 73.17 | +0.37 |
Table 7: PIQA accuracy under dynamic top- routing (, average 4.0 active experts per token) on OLMoE-1B-7B-0125-Instruct, averaged over 5 runs.
| Series | Point | MB/token | PIQA (%) |
|---|---|---|---|
| top- + Q8_0 | 213.9 | 61.92 | |
| 427.8 | 74.27 | ||
| 631.1 | 76.44 | ||
| top- + DPA | 239.1 | 70.99 | |
| 465.6 | 77.49 | ||
| 692.1 | 78.30 |
Table 8: Accuracy at matched memory read per token on OLMoE-1B-7B-0125-Instruct. The top- rows activate on average 2.0, 4.0, and 6.0 experts respectively. Reducing the number of routed experts and reducing per-expert precision are two ways to spend the same byte budget.
Precision and expert count are not interchangeable. Dynamic top-k routing and DPA both reduce the bytes read per token, so comparing them at matched memory read is a fair contrast. Table 8 sweeps both knobs. At the two closest points — top-p activating 4.0 experts at 8-bit (427.8 MB/token) and static top-8 routing with DPA at (465.6 MB/token) — DPA reads 8.8% more and scores 3.22 points higher. The ordering holds across the compression range we swept: at matched memory read, shortening every selected expert loses less than dropping experts wholesale.
The two axes compose. Under fixed top-8 routing, DPA already traverses the size-quality curve from to from a single encoding. Adding dynamic routing turns the previously fixed active expert count into a second adjustable axis, giving a two-dimensional operating range over — from a minimal-compute point to the full-fidelity point — still from one artifact.
G Detailed Experiment Configuration
Tables 9–12 summarize the reproducibility-critical settings used in the paper. Table 9 lists which checkpoints were encoded and on what hardware, Table 10 how they were encoded and profiled, and Tables 11 and 12 how the resulting artifacts were measured for quality and for speed. We identify models by public Hugging Face repository IDs and source revision hashes, and report only the budgets and runtime knobs that affect the reported quality and speed numbers; all random seeds are fixed to 0 unless stated otherwise. The operating-point rows list the full sweeps that were run, not only the points quoted in the main text.
H Artifact, License, and Reproducibility Notes
Tables 13 and 14 summarize the external artifacts used in the experiments, their public source identifiers, and how they are used in this work. Model weights, datasets, and generated outputs are not redistributed with the supplementary package; the package contains source code, scripts, and configuration files. Users who reproduce the experiments should obtain external artifacts from their original sources and follow the corresponding model-card or dataset-card terms.
The reported experiments use only public model and dataset artifacts. For web-derived text sources such as C4 and mC4, we use the corpora only as prompts or calibration text and report aggregate metrics. We do not publish raw sampled prompts, generated answers, or any newly collected human-subject data.
What each artifact is needed for. Reproducing the encoded weights needs only the base checkpoints of Table 13 and the encoder settings of Table 10. The static GGUF rows serve the fixed-precision baselines, and the Instruct checkpoint only the dynamic top-k study of Appendix F.
| Scope | Field | Value |
|---|---|---|
| Models | Qwen3-30B-A3B | 48 layers; top-8 routing over 128 experts. |
| DeepSeekMoE-16B-Chat | 28 layers; top-6 routing over 64 routed experts plus 2 shared experts. | |
| OLMoE-1B-7B-0125 | 16 layers; top-8 routing over 64 experts; no shared experts. | |
| Qwen1.5-MoE-A2.7B | 24 layers; top-4 routing over 60 routed experts plus 4 shared experts. | |
| Artifacts | Base HF checkpoints | Qwen/Qwen3-30B-A3B@ad44e77; deepseek-ai/deepseek-moe-16b-chat@eefd8ac; allenai/OLMoE-1B-7B-0125@9b0c1aa; Qwen/Qwen1.5-MoE-A2.7B@1a758c5. |
| Instruct checkpoint | allenai/OLMoE-1B-7B-0125-Instruct@b89a7c4; used only for the dynamic top-k study of Appendix F. | |
| Static GGUF artifacts | unsloth/Qwen3-30B-A3B-GGUF@d5b1d57; mradermacher/deepseek-moe-16b-chat-GGUF@fe95dea; the OLMoE-1B-7B-0125 and Qwen1.5-MoE-A2.7B artifacts are converted locally from the base checkpoints with llama.cpp. | |
| DPA encoded weights | Generated from the base HF checkpoints above; no separate pretrained checkpoint is used. | |
| Compute | Hardware | NVIDIA RTX PRO 6000 Blackwell Server Edition GPUs; 96 GiB VRAM per GPU; 1228 GiB host memory. |
| Budget | Below 1,000 GPU-hours across encoding, profiling, KLD, benchmark, and speed experiments. |
Table 9: Models, source artifacts, and compute.
| Scope | Field | Value |
|---|---|---|
| Encoding | Target tensors | Expert FFN weights only; non-expert tensors use RTN Q8_0. |
| Encoding | SharedScale AnyBCQ with prefix-decodable chunks. | |
| Chunk range | . | |
| Quantization shape | Group size 128; asymmetric reconstruction; learned ; no any-precision . | |
| Optimization | FP32 reconstruction; Adam learning rates ; 20 optimization iterations. | |
| Initialization Calibration | 20 rounds of alternating refinement per BCQ sign bitplane. | |
| 512 samples; batch size 2; sequence length 2048; WikiText-2 training text plus held-out calibration text. | ||
| Profiling | Target | Per-layer, per-expert, per-chunk residual lookup table. |
| Data | WikiText-2 training text. | |
| Length | Sequence length 2048. | |
| Limits | Maximum 16,384 profiled tokens; maximum 256 samples per expert. | |
| Postprocess | Monotone-projected LUT for reported Qwen3 KLD, benchmark, and speed runs. |
Table 10: Encoding and residual-profiling configuration.
| Scope | Field | Value |
|---|---|---|
| KLD | Metric | Mean KL divergence against the BF16 reference. |
| Dataset | WikiText-2 raw test text. | |
| Input | 10 sequences; 4096 tokens per sequence. | |
| Runtime | Context 4096; batch 1; microbatch 1. | |
| Operating points | Static Q2_K/Q5_K_M/Q8_0; Uniform ; DPA . | |
| Execution | Full pinned expert chunks; CUDA capture where available; VRAM caps: 40 GB for Qwen3, 30 GB for DeepSeekMoE. | |
| Benchmark | Metric | Multiple-choice accuracy. |
| Tasks | ARC-Challenge, ARC-Easy, PIQA, and WinoGrande. | |
| Runtime | llama.cpp multiple-choice perplexity path; context 4096; batch 2048; microbatch 512. | |
| Decoding controls | One parallel request; temperature 0; reasoning budget 0. | |
| Operating points | Static Q2_K/Q5_K_M/Q8_0; Uniform ; DPA . | |
| Execution | Full pinned expert chunks; CUDA capture where available; VRAM caps match KLD. |
Table 11: Reconstruction-fidelity and downstream benchmark configuration.
| Scope | Field | Value |
| Workload | Metrics Datasets Samples Input/output Repetitions | Generation TPS and time-to-first-token. WikiText-2, C4-en, and C4-ko. 100 sampled prompts per dataset. 1024-token prompts; 256 generated tokens. 6 warm-up runs and 1 measured run per sample. |
| Runtime | Batching Decoding controls Operating points Execution Kernels | Context 4096; batch 2048; microbatch 256. Greedy decoding; EOS ignored; prompt cache disabled. Uniform and DPA . Pinned expert chunks; 40 GB VRAM cap; no host cache; CUDA capture disabled. Optimized mixed-mode kernels with GPU planner enabled. |
Table 12: Inference-speed measurement configuration.
| Artifact | Source / Version | Terms | Use in this paper |
|---|---|---|---|
| Qwen3-30B-A3B | Qwen/Qwen3-30B-A3B@ad44e77 | Model-card terms; Apache-2.0 at access. | Base MoE checkpoint used for encoding and evaluation; weights are not redistributed. |
| Qwen3 GGUF | unsloth/Qwen3-30B-A3B-GGUF@d5b1d57 | Inherited model-card terms. | Static Q2_K/Q5_K_M/Q8_0 comparison; artifacts are downloaded separately. |
| DeepSeekMoE-16B | deepseek-ai/deepseek-moe-16b-chat@eefd8ac | DeepSeek model-card terms. | Base MoE checkpoint used for encoding and evaluation; weights are not redistributed. |
| DeepSeekMoE GGUF | mradermacher/deepseek-moe-16b-chat-GGUF@fe95dea | Inherited model-card terms. | Static Q2_K/Q5_K_M/Q8_0 comparison; artifacts are downloaded separately. |
| OLMoE-1B-7B | allenai/OLMoE-1B-7B-0125@9b0c1aa | Model-card terms at access. | Base MoE checkpoint for the additional-architecture sweep; weights are not redistributed. |
| OLMoE-1B-7B Instruct | allenai/OLMoE-1B-7B-0125-Instruct@b89a7c4 | Model-card terms at access. | Router trajectory for the dynamic top-k study; weights are not redistributed. |
| Qwen1.5-MoE-A2.7B | Qwen/Qwen1.5-MoE-A2.7B@1a758c5 | Model-card terms at access. | Base MoE checkpoint for the additional-architecture sweep; weights are not redistributed. |
| OLMoE / Qwen1.5-MoE GGUF | Converted locally from the base checkpoints with llama.cpp | Inherited model-card terms. | Static Q2_K/Q5_K_M/Q8_0 comparison; produced from the base checkpoints listed above, not redistributed. |
Table 13: Model artifacts, versions, terms, and intended use.
| Artifact | Source / Version | Terms | Use in this paper |
|---|---|---|---|
| WikiText-2 | Raw train/test splits (Merity et al., 2017) | Dataset/source terms. | Calibration, profiling, KLD, and speed prompts. |
| C4 / mC4 | C4-en (Raffel et al., 2020); Korean mC4 (Xue et al., 2021) | Web-derived dataset/source terms. | Speed prompts only; possible inherited web-text risks are discussed in Ethical considerations. |
| ARC, PIQA, WinoGrande | Standard evaluation splits (Clark et al., 2018; Bisk et al., 2020; Sakaguchi et al., 2021) | Dataset/source terms. | Multiple-choice downstream evaluation; no new labels or human-subject collection. |
| llama.cpp | ggml-org/llama.cpp (Gerganov et al., 2023) | MIT. | Prototype runtime substrate; upstream notices are retained in the supplementary package. |
| AnyBCQ | Reference code (Park et al., 2026) | Apache-2.0. | Encoding substrate and kernel reference; upstream notices are retained in the supplementary package. |
Table 14: Dataset and software artifacts, terms, and intended use.