paper-with-me

홈 › Papers

CodeQuant: Unified Clustering and Quantization for Enhanced Outlier Smoothing in Low-Precision Mixture-of-Experts

2026-04-12 · Xiangyang Yin, Xingyu Liu, Tianhua Xia, Bo Bao, Vithursan Thangarasa, Valavan Manohararajah, Eric Sather, Sai Qian Zhang 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 \textit{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\times$ 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.

📄 PDF Abstract BibTeX arXiv:2604.10496

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Outlier-Aware Training for Low-Bit Quantization of Structural Re-Parameterized Networks

2024-02-11 · Muqun Niu, Yuan Ren, Boyu Li, Chenchen Ding

Lightweight design of Convolutional Neural Networks (CNNs) requires co-design efforts in the model architectures and compression techniques. As a novel design paradigm that separates training and inference, a structural …

Quantization

A Unified View of Attention and Residual Sinks: Outlier-Driven Rescaling is Essential for Transformer Training

2026-01-30 · Zihan Qiu, Zeyu Huang, Kaiyue Wen, Peng Jin 외 arxiv

We investigate the functional role of emergent outliers in large language models, specifically attention sinks (a few tokens that consistently receive large attention logits) and residual sinks (a few fixed dimensions wi…

MosaicQuant: Inlier-Outlier Disaggregation for Unified 4-Bit LLM Quantization

2026-06-14 · Yangjia Hu, Haodong Wang, Zicong Hong, Qianli Liu 외 arxiv

4-bit quantization significantly reduces the memory footprint and accelerates the inference of large language models (LLMs). However, its limited bit-width representation struggles to faithfully capture both dense common…

A Unified Framework of DNN Weight Pruning and Weight Clustering/Quantization Using ADMM

2018-11-05 · Shaokai Ye, Tianyun Zhang, Kaiqi Zhang, Jiayu Li 외

Many model compression techniques of Deep Neural Networks (DNNs) have been investigated, including weight pruning, weight clustering and quantization, etc. Weight pruning leverages the redundancy in the number of weights…

ClusteringModel CompressionQuantization

OSC: Hardware Efficient W4A4 Quantization via Outlier Separation in Channel Dimension

2026-04-14 · Zhiyuan Zhang, Yanzhao Li, Zhiqiang Zou, Bai Du 외 arxiv

While 4-bit quantization is essential for high-throughput deployment of Large Language Models, activation outliers often lead to significant accuracy degradation due to the restricted dynamic range of low-bit formats. In…