arXiv(opens in a new tab)cs.LGAug 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2608.30564

Q-Strata: Hierarchical Bit Allocation for Mixed-Precision Quantization of Mixture-of-Experts LLMs

Deokjae Lee, Sihun Chu, Hyun Oh Song

Abstract

Mixed-precision quantization (MPQ) assigns a different bitwidth to each linear layer of a large language model (LLM) to minimize the quantization-induced quality loss under a fixed budget, but Mixture-of-Experts (MoE) models contain these layers in every expert of every MoE block, so the allocation space grows far larger than in a dense model. Existing methods either allocate within each block under a uniform per-block budget, or allocate across blocks through an additive proxy, and neither directly optimizes a model-level objective over the choices that couple the blocks. We propose Q-STRATA, a bi-level allocator that ranks within-block assignments with a cheap proxy and allocates across blocks with a model-level objective evaluated on the assembled quantized model. Its inner stage caches a Pareto frontier of candidates per block over finely spaced budgets, leaving the outer stage to set one budget per block instead of a bitwidth for every linear layer. With the search reduced to one budget per block, the outer stage optimizes this model-level objective directly, capturing the inter-block coupling that additive proxies miss. On Mixtral-8x7B-Instruct, Qwen1.5-MoE-A2.7B, and DeepSeek-V2-Lite, Q-STRATA consistently achieves lower WikiText2 perplexity than uniform-bitwidth GPTQ and the state-of-the-art MoE MPQ methods MxMoE and GEMQ in the low-bit regime. The code is available at https://github.com/snu-mllab/Q-Strata/tree/main.

1 Introduction

Mixture-of-Experts (MoE) models such as Mixtral, DeepSeek-V3, and Qwen3 have become a leading approach for scaling large language models (LLMs) across diverse tasks (Jiang et al., 2024; DeepSeek-AI et al., 2025; Yang et al., 2025). They route each token to a small subset of experts, which enables them to scale up model capacity without compromising compute efficiency. The trade-off of this design is a large memory footprint, since all experts must be stored even though only a few are active per token, so reducing this footprint is central to real-world deployment and calls for weight compression that exploits the MoE structure. In particular, we focus on weight-only post-training quantization (PTQ), which compresses the weights of a trained model with only a small calibration dataset and no retraining, reflecting practical deployment constraints (Frantar et al., 2023; Hubara et al., 2021).

Mixed-precision quantization (MPQ) assigns different bitwidths to the linear layers of a model to minimize the quality lost under a fixed budget, pushing the size-quality frontier of dense models beyond uniform quantization (Lee and Song, 2025). The task is naturally cast as minimizing this quality loss over a high-dimensional discrete space of bitwidth assignments. Existing methods take one of two routes. One approximates this loss as a linear sum of layer-wise proxy terms, typically from a Hessian approximation, and solves the allocation with integer linear programming (Dong et al., 2020; Chen et al., 2021). The other optimizes a model-level objective, evaluated on the assembled quantized model, in a black-box manner with model-based evolutionary search or reinforcement learning (Lee et al., 2025; Wang et al., 2020, 2019). The proxy route is suboptimal because it optimizes an approximate objective, whereas the black-box route works with the model-level objective directly and reaches higher quality at the cost of repeated model evaluations.

The problem becomes considerably harder for MoE LLMs. Each of the L MoE blocks holds E experts, and each expert contains three linear layers (gate, up, and down), so the MoE blocks alone hold 3LE linear layers, inducing a search space of ∣Q∣3LE|Q|^{3LE} assignments over the ∣Q∣|Q| candi-

∗^{*}Hyun Oh Song is the corresponding author.

(1) Inner stage (per-block)

Collect Pareto-optimal per-block assignments SlS_l for each budget level β(k)∈B\beta^{(k)} \in \mathcal{B} using proxy.

(2) Outer stage (global)

Solve how much budget βl\beta_l to allocate on each MoE block ll using the model-level objective.

Figure

β⋆=argminβ∈BL(L(x(β)):=L(x1⋆(β1),…,xL⋆(βL)))\beta^{\star}=\underset{\beta\in\mathcal{B}^{L}}{\mathrm{a r g m i n}}\left(\mathcal{L}(\mathbf{x}(\beta)):=\mathcal{L}(\mathbf{x}_{1}^{\star}(\beta_{1}),\ldots,\mathbf{x}_{L}^{\star}(\beta_{L}))\right)

subject to 1L∑l=1Lβl≤τ\frac{1}{L}\sum_{l=1}^{L}\beta_{l}\leq\tau

Get global assignment

x∗=x∗(β∗)=(x1∗(β1∗)⋯xL∗(βL∗)⋯xL∗(βL∗))\mathbf{x}^* = \mathbf{x}^*(\beta^*) = (\mathbf{x}_1^*(\beta_1^*) \cdots \mathbf{x}_L^*(\beta_L^*) \cdots \mathbf{x}_L^*(\beta_L^*))

Per-block candidate caches {Sl}l=1L\{S_l\}_{l=1}^L

Quantizer set Q

w1a16_g128_asym

w2a16_g128_asym

w3a16_g128_asym

w4a16_g128_asym

Block 1 assignment S1S_{1}

x1∗(β(1))x_{1}^{*}(\beta^{(1)})

1 2 3 4 5 6 7 8

Block l assignment SlS_{l}

x1∗(β(1))x_{1}^{*}(\beta^{(1)})

1 2 3 4 5 6 7 8

x1∗(β(2))x_{1}^{*}(\beta^{(2)})

1 2 3 4 5 6 7 8

x1∗(β(2))x_{1}^{*}(\beta^{(2)})

1 2 3 4 5 6 7 8

x1∗(β(3))x_{1}^{*}(\beta^{(3)})

1 2 3 4 5 6 7 8

Block L assignment SLS_{L}

xL∗(β(1))x_{L}^{*}(\beta^{(1)})

1 2 3 4 5 6 7 8

xL∗(β(2))x_{L}^{*}(\beta^{(2)})

1 2 3 4 5 6 7 8

xL∗(β(3))x_{L}^{*}(\beta^{(3)})

1 2 3 4 5 6 7 8

Figure 1: Overview of Q-STRATA. The inner stage uses the cheap per-block proxy score to cache, for each MoE block, a Pareto frontier of candidate assignments over the budget grid, one assignment per budget level. The outer stage selects one cached candidate per block, that is, one budget βl\beta_l per block, to minimize the model-level objective L\mathcal{L} directly under the average-bitwidth budget τ\tau, then assembles them into the global assignment. This reduces the search from a bitwidth per linear layer to one budget per block.

date quantizers, far more than in a dense model. For instance, within the Qwen3 family, the dense Qwen3-32B has 7×64=4487 \times 64 = 448 linear layers, whereas the similarly sized Qwen3-30B-A3B has 3×48×128=18,4323 \times 48 \times 128 = 18,432 linear layers in its MoE blocks alone, more than forty times as many. 1^{1} Under this high dimensionality, black-box search cannot be applied directly. MxMoE and MC-MoE instead use proxy scores to capture the differing contributions of the experts and linear layers within each MoE block, which improves over uniform quantization, but they keep every block’s budget uniform and do not allocate across blocks (Duanmu et al., 2025; Huang et al., 2025). GEMQ does allocate different budgets across blocks through a global assignment, but it still relies on an additive proxy for model quality, so it misses the dependencies that quantization creates between blocks (Deng et al., 2026). No existing quantization method for MoE LLMs directly optimizes a model-level objective over the choices that couple the blocks.

Our central observation is that bitwidth allocation comprises two distinct strata. Within a block, a low-cost proxy ranks candidate assignments reliably, as prior MoE methods demonstrate, whereas across blocks the assignments are coupled, so their joint effect shows up only in a model-level objective evaluated on the assembled quantized model. To optimize this model-level objective directly without searching the 3LE-dimensional assignment space, we propose Q-STRATA, a bi-level allocator that splits the allocation along these two strata (Figure 1). Its inner stage caches a Pareto frontier of candidates per block over finely spaced budgets, and its outer stage selects one cached candidate per block to minimize the model-level objective under the global budget, operating over only L per-block budgets rather than 3LE individual bitwidths. We solve this outer selection with a greedy descent that starts from the most expensive budgets and repeatedly lowers the budget of the block whose reduction raises the objective least, made affordable by a lazy evaluation scheme that recomputes only a few marginals per step (Minoux, 1978). Across Mixtral-8×7B-Instruct (Jiang et al., 2024), Qwen1.5-MoE-A2.7B (Qwen Team, 2024), DeepSeek-V2-Lite (DeepSeek-AI et al., 2024), and Qwen3-30B-A3B (Yang et al., 2025), Q-STRATA achieves the lowest WikiText2 perplexity among the compared methods in the low-bit regime, and its outer search also serves as a standalone allocator on dense models.

1^{1}The dense count includes all seven linear layers per block, whereas the MoE count includes only the three projections (up, gate, down) of each of the 128 experts across the 48 blocks, excluding attention and routing.

References (25)

  • Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challenge
  • Gurobi Optimizer Reference Manual
  • Xinlin Li, Timothy Chou, Josh Fromm, Zichang Liu, Yunjie Pan, and Christina Fragouli. 2026. Scalebits: Scalable bitwidth search for hardware-aligned mixed-precision llms. In arXiv.2602.17698. (opens arXiv in a new tab)
  • Keisuke Sakaguchi, Ronan Le Bras, Chandra Bhagavatula, and Yejin Choi. 2019. Winogrande: An adversarial winograd schema challenge at scale. In arXiv:1907.10641. (opens arXiv in a new tab)
  • Qwen3 Technical Report
  • We probe this on DeepSeek-V2-Lite, following ScaleBits (Li et al., 2026), which verifies the same property for MPQ at a different granularity
  • A chain starts at the top corner $\boldsymbol{\beta} = (\beta^{(K)}, \ldots, \beta^{(K)})$ and lowers a uniformly random block by one level at a time down to the bottom corner, a monotone path along which the
  • The loss increase $\delta_l$ the lazy heap caches therefore grows along the descent, so a value cached earlier at a higher budget underestimates its value later, exactly what the heap needs
  • We use Mixtral-8×7B-Instruct, Qwen1.5-MoE-A2.7B, and DeepSeek-V2-Lite, and, for Table 13, Qwen3-30B-A3B under the same protocol
  • Only expert-FFN linears are mixed-precision quantized
  • Every allocation is deployed with the final GPTQ pass and evaluated on the WikiText2 test set
  • GEMQ's proxy is computed from its own gradient-weighted statistics on the corresponding (unrotated or rotated) model
  • >Mixtral</td><td>Uniform GPTQ</td><td>24.8 (0.4)</td><td>0.1 (0.1)</td></tr><tr><td>MxMoE</td><td>38.2 (0.4)</td><td>0.8 (0.2)</td></tr><tr><td>Q-STRATA</td><td>42.7 (0.4)</td><td>3.7 (0.5)</td></tr><tr><td>BF16</td><td>70.3 (0.4)</td><td>63.5 (1.3)</td></tr><tr><td rowspan=
  • Standard errors in parentheses
  • The direct baseline is uniform GPTQ, which spends the identical total budget uniformly across all experts
  • The distance from the calibration distribution to the uniform distribution is given as a scale reference
  • Each trial draws the calibration data with a different random seed, and Trial 1 is the paper's run
  • We trace the per-(layer, expert) routing frequencies of the full-precision models and compare the calibration stream against the WikiText2 test set with the total-variation (TV) distance, the fraction of routing mass placed differently (Table 10)
  • The searched allocations reproduce the paper's per- plexity closely, with the three seeds agreeing within 0.08 perplexity at every budget, so the search outcome on this model is not sensitive to the particular calibration subset
  • >Uniform quantizer</td><td colspan=
  • Among the group-128 asymmetric quantizers that constitute our quantizer set, rotation consistently matches or improves the rotation-free results at 2, 3, and 4 bits, in line with the common expectation
  • >2.25</td><td>Uniform GPTQ</td><td>12.05</td></tr><tr><td>MxMoE</td><td>8.73</td></tr><tr><td>Q-STRATA</td><td>8.56</td></tr><tr><td rowspan=
  • $\dagger$ As in Table 1
  • One Stage-2 descent sweeps the entire budget range and emits the allocation at every target bitwidth, so each row is the total cost for all budgets of that model
  • >2.25</td><td>GEMQ</td><td>6.0 GB</td><td>173.7</td></tr><tr><td>Q-STRATA</td><td>6.0 GB</td><td>172.1</td></tr><tr><td rowspan=