CodeQuant: Unified Clustering and Quantization for Enhanced Outlier Smoothing in Low-Precision Mixture-of-Experts
On the map: Mixture-of-experts → MoE large language models
Abstract (arXiv)
Outliers have emerged as a fundamental bottleneck in preserving accuracy for low-precision large models, particularly within Mixture-of-Experts (MoE) architectures that are increasingly central to large-scale language modeling. Under post-training quantization (PTQ), these outliers induce substantial quantization errors, leading to severe accuracy degradation. While recent rotation-based smoothing techniques alleviate the problem by redistributing outlier magnitudes, residual errors remain and continue to impede reliable low-precision deployment. In this work, we tackle this challenge by introducing CodeQuant, a unified quantization-and-clustering scheme that contains smoothing activation outliers via learnable rotation and absorbing weight outliers into fine-tuned cluster centroids for MoE. This design reduces the influence of extreme values by fitting them within cluster centroids, thereby lowering quantization error while maintaining expressive capacity. Coupled with a dedicated kernel design for GPU and CPU, CodeQuant achieves up to 4.15× speedup while delivering significantly higher accuracy than state-of-the-art quantization approaches across diverse MoE models. Our results highlight CodeQuant as a promising direction for efficient and accurate deployment of MoE-based large language models under low-precision constraints. Our code is available at https://github.com/SAI-Lab-NYU/CodeQuant.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in MoE large language models, one of 12 directions in Mixture-of-experts. Builds on 45 of its 57 references that are in the map. First posted on arXiv 12 Apr 2026.
Builds on
45 of 57 references.
Closest ancestors · 5
Same direction, newest first
- 2025Unveiling Super Experts in Mixture-of-Experts Large Language Models31 Jul
- 2025Qwen3 Technical Report14 May
- 2025MoEQuant: Enhancing Quantization for Mixture-of-Experts Large Language Models via Expert-Balanced Sampling and Affinity Guidance2 May
- 2024A Closer Look into Mixture-of-Experts in Large Language Models26 Jun
- 2024DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Model7 May
Other references · 40
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
- 2016Pointer Sentinel Mixture Modelscited by 3,096
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
- 2015Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Codingcited by 2,329
- 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,218
- 2022GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformerscited by 1,919
- 2024Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phonecited by 1,917
- 2022SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Modelscited by 1,386
- 2023AWQ: Activation-aware Weight Quantization for LLM Compression and Accelerationcited by 1,298
28 more
- 2022LLM.int8(): 8-bit Matrix Multiplication for Transformers at Scalecited by 906
- 2024QuaRot: Outlier-Free 4-Bit Inference in Rotated LLMscited by 634
- 2024SpinQuant: LLM quantization with learned rotationscited by 471
- 2023QuIP: 2-Bit Quantization of Large Language Models With Guaranteescited by 414
- 2024QuIP#: Even Better LLM Quantization with Hadamard Incoherence and Lattice Codebookscited by 378
- 2024Massive Activations in Large Language Modelscited by 294
- 2024DuQuant: Distributing Outliers via Dual Transformation Makes Stronger Quantized LLMscited by 167
- 2022LUT-GEMM: Quantized Matrix Multiplication based on LUTs for Efficient Inference in Large-Scale Generative Language Modelscited by 105
- 2022StableMoE: Stable Routing Strategy for Mixture of Expertscited by 100
- 2025OstQuant: Refining Large Language Model Quantization with Orthogonal and Scaling Transformations for Better Distribution Fittingcited by 97
- 2023OliVe: Accelerating Large Language Models via Hardware-friendly Outlier-Victim Pair Quantizationcited by 92
- 2024GPTVQ: The Blessing of Dimensionality for LLM Quantizationcited by 82
- 2020Efficient Riemannian Optimization on the Stiefel Manifold via the Cayley Transformcited by 80
- 2024Active-Dormant Attention Heads: Mechanistically Demystifying Extreme-Token Phenomena in LLMscited by 56
- 2024T-MAC: CPU Renaissance via Table Lookup for Low-Bit LLM Deployment on Edgecited by 55
- 2025Systematic Outliers in Large Language Modelscited by 33
- 2024Fast Matrix Multiplications for Lookup Table-Quantized LLMscited by 29
- 2018Deep Neural Network Compression with Single and Multiple Level Quantizationcited by 27
- 2024LUT Tensor Core: A Software-Hardware Co-Design for LUT-Based Low-Bit LLM Inferencecited by 18
- 2024HQ-DiT: Efficient Diffusion Transformer with FP4 Hybrid Quantizationcited by 17
- 2024DFRot: Achieving Outlier-Free and Massive Activation-Free for Rotated LLMs with Refined Rotationcited by 17
- 2025QSVD: Efficient Low-rank Approximation for Unified Query-Key-Value Weight Compression in Low-Precision Vision-Language Modelscited by 16
- 2024DiTAS: Quantizing Diffusion Transformers via Enhanced Activation Smoothingcited by 13
- 2023NF4 Isn't Information Theoretically Optimal (and that's Good)cited by 11
- 2023DeepGEMM: Accelerated Ultra Low-Precision Inference on CPU Architectures using Lookup Tablescited by 8
- 2025Not All Models Suit Expert Offloading: On Local Routing Consistency of Mixture-of-Expert Modelscited by 8
- 2025Improving Block-Wise LLM Quantization by 4-bit Block-Wise Optimal Float (BOF4): Analysis and Variationscited by 5
- 2024Expert-Token Resonance MoE: Bidirectional Routing with Efficiency Affinity-Driven Active Selectioncited by 3
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026MUXQ: Mixed-to-Uniform Precision MatriX Quantization via Low-Rank Outlier Decomposition
- 2024OutlierTune: Efficient Channel-Wise Quantization for Large Language Models
- 2026MosaicQuant: Inlier-Outlier Disaggregation for Unified 4-Bit LLM Quantization
- 2025Outlier Smoothing with Closed-Form Rotations for W4A4 Large Language Model Quantization
- 2026Theory-optimal Quantization Based on Flatness
- 2023SmoothQuant+: Accurate and Efficient 4-bit Post-Training WeightQuantization for LLM
- 2024Mitigating the Impact of Outlier Channels for Language Model Quantization with Activation Regularization
- 2023Rethinking Channel Dimensions to Isolate Outliers for Low-bit Weight Quantization of Large Language Models