DPA-MoE: A Runtime Precision Control Framework for MoE Inference
Organizations: Agency for Defense Development · Yonsei University
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 budgets without retraining or re-encoding. Experiments on Qwen3-30B-A3B and DeepSeekMoE-16B show that DPA-MoE improves KL divergence and downstream accuracy over uniform chunk allocation at matched budgets, with modest steady-state throughput overhead in our prototype.
Figures & tables
| 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 |
| Uniform | Residual | Gate | DPA | |
| - | -only | -only | (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 |
Appendix figures & tables13 assets
Supplementary material from the paper’s appendix.
Appendix
| Enc. | Bits | Scale | Total | % |
| AnyBCQ | 4,608 | 2,520 | 7,128 | 35.4 |
| SS-AnyBCQ | 4,608 | 576 | 5,184 | 11.1 |
| 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 |
| 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 ) | ✓ | ✓ | ✗ | ✗ | ✗ |
| D 2 MoE ( Wang et al., 2025a ) | ✗ | ✓ | ✓ | ✗ | ✓ |
| DPA-MoE (ours) | ✓ | ✓ | ✓ | ✓ | ✓ |
| OLMoE-1B-7B-0125 | Qwen1.5-MoE-A2.7B | ||||||||||
| Mean KLD | Avg Acc (%) | Mean KLD | Avg Acc (%) | ||||||||
| Config | GB | Uni | DPA | Uni | DPA | Config | GB | 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 | 0.32776 | 60.60 | 62.40 | 7.93 | 0.10721 | 0.04213 | 62.60 | 62.78 | ||
| 4.23 | 0.26034 | 0.14780 | 63.34 | 64.17 | 9.56 | 0.05210 | 0.01630 | 62.04 | 63.45 | ||
| 5.14 | 0.11913 | 0.06908 | 64.52 | 64.67 | 11.19 | 0.01953 | 0.00694 | 62.63 | 63.52 | ||
| DPA (%) | Uniform- (%) | ||
| 3 | 72.48 | 72.22 | |
| 4 | 73.10 | 73.08 | |
| 5 | 73.44 | 73.54 | |
| 6 | 74.45 | 73.78 | |
| 7 | 74.23 | 73.25 | |
| Avg | 73.54 | 73.17 |
| 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- study of Appendix F . |
| 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 | 20 rounds of alternating refinement per BCQ sign bitplane. |
| 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. |
| Scope | Field | Value |
| Workload | Metrics | Generation TPS and time-to-first-token. |
| Datasets | WikiText-2, C4-en, and C4-ko. | |
| Samples | 100 sampled prompts per dataset. | |
| Input/output | 1024-token prompts; 256 generated tokens. | |
| Repetitions | 6 warm-up runs and 1 measured run per sample. | |
| Runtime | Batching | Context 4096; batch 2048; microbatch 256. |
| 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- study; weights are not redistributed. |
| 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 and others, 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. |
Mixture-of-Experts Inference
Mixture-of-experts inference studies how to run sparsely activated expert models efficiently while preserving their quality.
See all 172 papers