Skip to content
AI.info

Research

KBVQ-MoE: KLT-guided SVD with Bias-Corrected Vector Quantization for MoE Large Language Models

Overview Research area: Post-training quantization (PTQ) and model compression for Mixture-of-Experts (MoE) large language models, specifically vector quantization (VQ) at extremely low bit-widths (2–

KBVQ-MoE: KLT-guided SVD with Bias-Corrected Vector Quantization for MoE Large Language Models
arXiv
2602.11184
Published
2026-01-30
Authors
Zukang Xu, Zhixiong Zhao, Xing Hu, Zhixuan Chen, Dawei Yang

AI summary

Overview

  • Research area: Post-training quantization (PTQ) and model compression for Mixture-of-Experts (MoE) large language models, specifically vector quantization (VQ) at extremely low bit-widths (2–3 bits).
  • Technical level: Advanced. The paper assumes familiarity with singular value decomposition (SVD), the Karhunen–Loève Transform (KLT), covariance/eigen-decomposition, codebook-based vector quantization, and MoE gating and expert aggregation.
  • Scope: The paper introduces KBVQ-MoE, a VQ framework that combines KLT-guided SVD redundancy removal across experts with channel-wise bias correction, and evaluates it on four MoE LLMs at 2-bit and 3-bit quantization.

What This Paper Is About

MoE language models gain capability by activating only a few experts per token, but their full parameter sets are large enough to make deployment on limited hardware difficult (the paper notes Qwen3-Next-80B-A3B needs more than 160GB of GPU memory under FP16 inference). Vector quantization can compress weights to very low bit-widths by mapping weight vectors to entries in a shared codebook, but applying it directly to MoE models degrades accuracy badly for two reasons the authors identify: experts contain redundant, overlapping representations that waste codebook capacity, and quantization error accumulates and is amplified when experts are combined, shifting the output distribution. The goal of KBVQ-MoE is to remove that inter-expert redundancy before quantization and to correct the resulting output bias afterward.

Key Contributions

  1. Problem identification: The authors name two obstacles specific to applying VQ to MoE LLMs — wasted codebook resources caused by common redundant representation across experts, and cumulative output bias amplified by expert aggregation.
  2. Input-driven Redundancy Elimination (IDRE): A KLT-guided SVD procedure that maps expert weights into a shared "input coherence space," extracts dominant cross-expert components, and retains those shared components at full precision so only expert-specific (non-redundant) weights remain to be quantized.
  3. Bias-Corrected Output Stabilization (BCOS): Vector quantization applied only to the expert-specific representations, followed by channel-wise affine compensation (a per-channel scale and bias) that aligns the mean and variance of the quantized output with the full-precision output. The paper states this adds only 2·oc additional parameters per layer.
  4. Empirical and theoretical validation: Experiments across Qwen1.5-MoE-A2.7B, Qwen3-30B-A3B, Mixtral-8x7B, and DeepseekV2-Lite, plus ablation studies on the KLT guidance, the SVD truncation rank, and the compatibility of IDRE/BCOS as plug-ins for GPTVQ and VPTQ, along with theoretical derivations in the appendix.

Main Findings

  • Near-FP16 accuracy at 3 bits: On Qwen1.5-MoE-A2.7B, 3-bit KBVQ-MoE reaches an average accuracy of 67.99 versus an FP16 baseline of 68.07. On Mixtral-8x7B it reaches 78.35 versus FP16 78.57. On Qwen3-30B-A3B it reaches 69.09 versus FP16 70.24, and on DeepseekV2-Lite 68.73 versus FP16 70.68.
  • 2-bit results: Qwen3-30B-A3B obtains perplexity 11.87 and average accuracy 63.37; Qwen1.5-MoE-A2.7B obtains 9.61 and 62.78; Mixtral-8x7B obtains 5.39 and 75.69; DeepseekV2-Lite obtains 7.94 and 63.10. The abstract reports that 2-bit quantization on Qwen3-30B-A3B improves perplexity by 6 and raises average accuracy by nearly 10%.
  • Large margins over existing methods: At 2-bit, competing methods are far behind — for Qwen1.5-MoE-A2.7B, VQ gives perplexity 26.95 and average accuracy 47.84, GPTQ gives 12.69 and 49.07, and MoeQuant gives 583542 and 34.64, against KBVQ-MoE's 9.61 and 62.78.
  • IDRE is the primary source of gain: In the 3-bit Qwen3-30B-A3B ablation, no processing gives perplexity 18.72, IDRE alone gives 11.67, BCOS alone gives 14.32, and the full scheme gives 9.26 — a 50.5% reduction against the unprocessed baseline, 20.6% against IDRE-only, and 35.3% against BCOS-only. Improvements are also reported across ARC-E, ARC-C, HellaSwag, PIQA, and WinoGrande.
  • KLT guidance matters: On Qwen1.5-MoE-A2.7B at 2 bits, redundancy extraction with SVD+VQ gives perplexity 14.03 while KLT-SVD+VQ gives 11.87, a drop of more than 2 points.
  • Truncation rank trade-off: On Qwen3-30B-A3B at 2 bits, k/n = 0.0 gives perplexity 15.30, k/n = 1/128 gives 11.87, k/n = 1/64 gives 11.30, and k/n = 1/32 gives 11.01. Gains beyond 1/128 are marginal while average bit-width rises, so the authors recommend 1/128.
  • Works as a plug-in: On Qwen1.5-MoE-A2.7B, GPTVQ goes from perplexity 12.88 to 9.43 when combined with both IDRE and BCOS, and VPTQ goes from 10.17 to 8.78. The text describes a nearly 30% perplexity improvement for GPTVQ and more than a 15% gain for VPTQ (Table 5 is captioned as 2-bit, while the surrounding text refers to 3-bit for the GPTVQ case).
  • Speedup: In a decoder-stage speed test with 1k input tokens, Qwen1.5-MoE-A2.7B goes from 22.31 tokens/s in BF16 to 35.24 tokens/s quantized (1.58x), and Qwen3-30B-A3B from 10.85 to 17.37 tokens/s (1.60x).

Methodology in Plain English

The authors first ask whether MoE experts really need to be quantized independently, given that experts in the same layer produce highly similar outputs for identical inputs (shown in their Figure 2). They therefore separate each expert's weight matrix into two parts: a shared part that many experts have in common, and a specific part unique to that expert.

To find the shared part, they first look at the actual input activations flowing into the expert layer and compute their covariance matrix, then take its eigen-decomposition. This is the Karhunen–Loève Transform: it identifies which input directions carry the most energy. Weight matrices are projected into this "input coherence basis," so that weight structure is judged by how much it matters for the inputs the model actually sees. All experts' projected weights are then stacked along the output dimension into one tall matrix, and an SVD is applied to it. The top-k singular directions capture structure that is simultaneously high-energy in the input distribution and heavily used across experts — this shared component is kept at full precision. What remains is the expert-specific part, split using the right singular vectors partitioned per expert.

The expert-specific part is where vector quantization is applied: weight subvectors of length 4 are mapped to the nearest codeword in a codebook, with k-means++ initialization and 100 iterations for codebook construction. Because quantization still biases outputs, especially once several experts' outputs are weighted and summed, the authors add a per-channel correction: they rescale each output channel by the ratio of standard deviations between the full-precision and quantized outputs and shift it by the mean difference (derived from a minimum-mean-square-error argument in the appendix). The corrected output is (s+1)⊙(W_VQ·x)+b.

Experiments use calibration data sampled from Red_Pajama — 256 samples of sequence length 4096 with random seed 42 — on an NVIDIA RTX A6000 GPU. Perplexity is measured on WikiText2 at sequence length 4096, and accuracy is measured over 7 zero-shot datasets (ARC-Challenge, ARC-Easy, HellaSwag, LAMBADA-openai, LAMBADA-standard, PIQA, WinoGrande) using LM-Evaluation-Harness. The SVD truncated rank k is set to 1/128 of the full rank, and the paper reports the average parameter overhead from SVD redundancy extraction as only 0.12.

Why This Matters

This work is among the first to treat MoE structure as something quantization should exploit rather than ignore; prior VQ methods for LLMs were designed for dense models, and prior MoE compression methods (expert pruning, low-rank decomposition, routing-aware calibration) do not jointly use input activation statistics and output bias correction. It shows that near-FP16 accuracy is achievable at 2–3 bits on real, widely used MoE checkpoints, which shifts the practical boundary for how large a model can be served on fixed hardware.

Real-world applications:

  • Edge and on-device inference: The abstract explicitly frames the goal as efficient deployment on edge devices and other resource-constrained platforms, where an MoE model's full memory footprint would otherwise be prohibitive.
  • Cost reduction in hosted inference: Lower weight memory and bandwidth requirements per token can reduce the GPU count needed to serve a given MoE model.
  • Consumer or workstation deployment of large MoE checkpoints: The reported 1.58x–1.60x decoder speedups on Qwen1.5-MoE-A2.7B and Qwen3-30B-A3B indicate latency benefits as well as memory savings.
  • Compression pipelines for existing quantization tools: Because IDRE and BCOS work as plug-ins on GPTVQ and VPTQ, teams already using those methods could adopt the approach without replacing their stack.

Industry relevance: the authors are affiliated with Houmo AI and Nanyang Technological University, and the evaluation covers the Qwen series, Mixtral, and DeepseekV2-Lite — the model families most commonly deployed by practitioners. The paper also reports a decoder speed test, indicating attention to inference throughput, not only accuracy.

Future Directions

  1. Adaptive codebook design: The conclusion names adaptive codebook design as future work, which would let codebook capacity adjust rather than being fixed in advance.
  2. Expert pruning: Combining redundancy removal with removing experts entirely is listed as a next step, potentially stacking structural and numerical compression.
  3. Extending beyond the tested bit-widths and model families: The paper evaluates at 2 and 3 bits on four MoE models; behavior at other bit-widths and on newer or larger MoE architectures is not reported.
  4. Resolving reported inconsistencies and broadening baselines: Table 5's caption (2-bit) and the surrounding text's reference to 3-bit for the GPTVQ plug-in result do not match, and the paper does not report end-to-end memory footprints, wall-clock latency at other sequence lengths, or comparisons against MoE-specific low-rank methods such as D2-MoE and SubMoE, leaving these as open points for follow-up work.

Target Audience

Researchers and engineers working on LLM compression, quantization, and efficient inference — particularly those deploying MoE architectures under tight memory or latency budgets. It is also relevant to readers interested in how input activation statistics can be used to structure weight decomposition. Readers without a background in linear algebra (SVD, eigendecomposition, covariance) or quantization codebooks will find the method sections demanding.

Authors’ abstract

Mixture of Experts (MoE) models have achieved great success by significantly improving performance while maintaining computational efficiency through sparse expert activation. However, their enormous parameter sizes and memory demands pose major challenges for deployment in resource-constrained environments. Vector Quantization (VQ) offers a promising approach for ultra-low-bit compression in Large Language Models (LLMs) by leveraging a codebook, where weight vectors are mapped to the most similar discrete codewords. Yet, directly applying VQ to MoEs often leads to substantial performance degradation due to two critical obstacles: (1) redundant representations among experts cause VQ to repeatedly quantize similar representations for each expert, resulting in inefficient use of limited codebook capacity; and (2) cumulative output bias is amplified by expert aggregation in MoE layers, leading to distributional shifts in the quantized outputs. To address these issues, we propose KBVQ-MoE, a novel VQ framework to enhance extremely low-bit quantization for MoE-based LLMs. KBVQ-MoE integrates two techniques: (1) input-driven redundancy elimination, where a Karhunen-Loeve Transform (KLT) guided singular value decomposition (SVD) extracts dominant weight components and shares them across experts; and (2) bias-corrected output stabilization, where vector quantization is applied only to expert-specific (non-redundant) representations and the quantized outputs are corrected via channel-wise affine compensation. Experiments on various MoE LLMs demonstrate that KBVQ-MoE preserves accuracy substantially better than existing quantization methods. For example, 3-bit quantization of Qwen1.5-MoE-A2.7B achieves an average accuracy of 67.99, nearly identical to the FP16 baseline of 68.07, underscoring KBVQ-MoE's potential for efficient deployment on edge devices and other resource-constrained platforms.

Read the original paper