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

Zukang Xu, Zhixiong Zhao, Xing Hu, Zhixuan Chen, Dawei Yang

TL;DR

KBVQ-MoE is a novel quantization framework that enables ultra-low-bit (2-3 bit) compression for Mixture-of-Experts (MoE) models with almost no loss in accuracy. By extracting shared weight components across experts and correcting systematic output biases, it allows massive models like Mixtral and Qwen-MoE to run efficiently on resource-constrained edge devices.

What Problem Does This Paper Address?

Mixture-of-Experts (MoE) models are currently at the forefront of Large Language Model (LLM) architectures because they offer high capacity with relatively low inference costs—only a few "experts" are active for any given token. However, their total parameter count is astronomical, often requiring hundreds of gigabytes of VRAM.

To fit these models on consumer hardware, Post-Training Quantization (PTQ) is essential. While standard Scalar Quantization (SQ) works well at 4 bits, it degrades significantly at 2 or 3 bits. Vector Quantization (VQ)—which maps groups of weights to a shared "codebook"—is better suited for ultra-low bits but faces two unique hurdles in MoE architectures:

  1. Expert Redundancy: Different experts often learn very similar features. Quantizing them independently wastes limited codebook space on redundant information.
  2. Bias Amplification: Quantization introduces small errors. In MoEs, when multiple expert outputs are aggregated via a gating mechanism, these errors compound into significant distributional shifts, severely tanking the model's accuracy.

Methods

The authors introduce KBVQ-MoE, which tackles these issues through two lightweight, offline components:

1. Input-driven Redundancy Elimination (IDRE)

Instead of quantizing experts as-is, the authors first align expert weights with the statistics of the input data using a Karhunen–Loève Transform (KLT). They then stack these aligned weights and use Singular Value Decomposition (SVD) to extract the "dominant" components shared across all experts.

Expert similarity before and after applying KBVQ-MoE

The Twist: These shared components are kept in full precision (FP16). Because they represent a tiny fraction of the total parameters (e.g., 1/128th of the rank), the memory overhead is negligible, but the "foundation" of the weights remains perfectly intact. As shown above, this process significantly reduces the redundant similarity between experts, freeing up the quantization codebook to capture unique expert traits.

2. Bias-Corrected Output Stabilization (BCOS)

After removing the shared components, the remaining expert-specific "residuals" are quantized using VQ. To fix the resulting distributional shift, the authors apply a lightweight channel-wise affine compensation (a simple scale and shift). They prove mathematically that this correction is the Minimum Mean Square Error (MMSE) optimal way to align the quantized output's mean and variance with the original FP16 model.

Datasets & Evaluation

The researchers evaluated KBVQ-MoE across several prominent MoE families, including Qwen1.5-MoE-A2.7B, Qwen3-30B-A3B, Mixtral-8x7B, and DeepSeekV2-Lite. The models were calibrated using 256 samples from the Red_Pajama dataset. Benchmarks included perplexity on WikiText2 and accuracy across zero-shot tasks like HellaSwag, PIQA, Arc-Challenge, and WinoGrande, as well as advanced tasks like MMLU and GSM8K.

Key Insights

  • Redundancy as an Asset: Most quantization methods treat expert similarity as a nuisance. KBVQ-MoE treats it as an opportunity, "factoring out" the commonalities so the VQ codebook can focus exclusively on what makes each expert unique.
  • Input-Awareness Matters: Performing SVD in the "input coherence space" (via KLT) ensures that the shared components preserved are the ones that actually matter most for the data the model will see during inference.
  • Systematic Error Correction: The paper demonstrates that quantization error in MoEs isn't just random noise; it’s a systematic bias. A very "cheap" affine layer (less than 0.1% of total FLOPs) can effectively "undo" the damage of ultra-low-bit quantization.

Key Results

Average accuracy comparison of KBVQ-MoE against other quantization methods across various MoE models
  • Near-Lossless 3-bit Quantization: On Qwen1.5-MoE-A2.7B, the 3-bit version achieved 67.99% average accuracy, nearly identical to the 68.07% FP16 baseline.
  • Superior 2-bit Performance: At 2 bits, KBVQ-MoE outperformed standard VQ by massive margins. For Mixtral-8x7B, it achieved 75.69% accuracy, while standard VQ dropped to 59.22%.
  • Efficiency Gains: The method provides an inference speedup of 1.5x to 1.6x compared to FP16, with an 87% reduction in memory requirements.
  • Plug-and-Play: The IDRE and BCOS modules can be seamlessly integrated with other VQ baselines (like GPTVQ or VPTQ) to further boost their performance.

Limitations and Future Work

  • Heuristic Rank Selection: The number of shared components (the rank $k$ in SVD) is currently chosen empirically. An adaptive mechanism to choose this per-layer could optimize the trade-off further.
  • Architecture Scope: The study focused on decoder-only models. While the principles should apply to encoder-decoder or multimodal MoEs, they haven't been tested in those domains yet.
  • Extreme Bit-Widths: The authors haven't yet pushed the method to the "extreme" 1-bit or 1.5-bit regimes, which would likely require even more sophisticated codebook structures or bias correction.

Summary updated

BibTeX
@inproceedings{xu2026kbvq,
  author = {Zukang Xu and Zhixiong Zhao and Xing Hu and Zhixuan Chen and Dawei Yang},
  title = {{KBVQ-MoE: KLT-guided SVD with Bias-Corrected Vector Quantization for MoE Large Language Models}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=veFs5UfYq9},
}
Figure