硬件原生的万亿参数专家混合稀疏量化
Hardware-Native Joint Sparse-Quantization for Trillion-Scale Mixture-of-Experts
Kwanhee Lee · Namhoon Lee · Dan Alistarh
中文摘要
专家混合(MoE)架构使前沿语言模型能够扩展到数万亿参数,但其部署受到巨大内存占用和内存带宽限制的约束。尽管现代加速器提供稀疏张量核心(SpTCs)通过低精度半结构化稀疏性来减少权重存储和提高吞吐量,但由于严重的模型质量下降和缺乏分组稀疏GEMM原语,利用它们进行MoE仍然具有挑战性。我们提出了一个端到端的硬件-软件协同设计框架,将专家权重压缩成硬件原生的低精度稀疏表示,并在SpTCs上加速执行。在算法上,我们的框架通过连续重参数化放松了离散半结构化支持选择,使得在路由器加权重建目标下可进行可微分的联合优化,并实现可扩展的专家并行压缩。我们开发了一种针对低精度稀疏MoE推理而定制的分组稀疏GEMM内核。在30亿到1万亿参数的MoE模型上,我们的框架将最先进的联合稀疏量化精度提高了4.35个百分点,同时保留96.09%的原始模型性能。在NVIDIA B200 GPU上,我们的内核比厂商基线性能提升1.65倍,吞吐量提升1.18倍,端到端延迟降低4.03倍。这些结果确立了硬件-软件协同设计作为实现可扩展且高效的MoE部署的实用路径。
关键要点
- 01问题:MoE模型参数量达万亿级,部署受限于巨大内存占用和内存带宽限制
- 02方法:通过连续重参数化放松半结构化稀疏支持选择,实现可微分联合稀疏量化优化
- 03方法:开发针对低精度稀疏MoE推理的分组稀疏GEMM内核,适配NVIDIA SpTCs
- 04结果:在30亿到1万亿参数MoE上,精度比SOTA提升4.35个百分点,保留96.09%原始性能
- 05结果:在NVIDIA B200上性能提升1.65倍,吞吐量1.18倍,延迟降低4.03倍
解读
尚无解读。
原始英文摘要
arXiv:2610.02241v1 Announce Type: cross Abstract: Mixture-of-Experts (MoE) architectures allow frontier language models to scale to trillions of parameters, but their deployment is constrained by massive memory footprints and memory-bandwidth limitations. Although modern accelerators provide Sparse Tensor Cores (SpTCs) that reduce weight storage and increase throughput through low-precision semi-structured sparsity, exploiting them for MoEs remains challenging because of substantial model-quality degradation and the lack of grouped sparse GEMM primitives. We present an end-to-end hardware-software co-design framework that compresses expert weights into hardware-native, low-precision sparse representations and accelerates their execution on SpTCs. Algorithmically, our framework relaxes discrete semi-structured support selection through continuous reparameterization, enabling differentiable joint optimization with quantized weights under a router-weighted reconstruction objective and scalable expert-parallel compression. Systemically, we develop a custom grouped sparse GEMM kernel tailored to low-precision sparse MoE inference on SpTCs. Across MoE models ranging from 30 billion to one trillion parameters, our framework improves state-of-the-art joint sparse-quantization accuracy by up to 4.35 percentage points while preserving 96.09% of the original model's performance. On NVIDIA B200 GPUs, our kernel outperforms the vendor baseline by up to $1.65\times$, increasing serving throughput by $1.18\times$ and reducing end-to-end latency by up to $4.03\times$. These results establish hardware-software co-design as a practical path toward scalable and efficient MoE deployment.
同方向论文 · cs.AR
查看全部 →面向 Verilog 生成的搜索引导推理轨迹整理
2610.37706FIGFLEX:面向低位宽 LLM 量化协同设计的混合精度 FP-INT GEMM 加速器
2610.30480VHDLBench:面向 VHDL 芯片设计的大语言模型评测与微调
2610.286763D-MoE:面向 3D 堆叠近存处理器的 MoE 解码互补性引导软硬件协同设计
2610.26991qGAMMA:面向多精度加速器的最优 DNN 映射框架
2610.23222内存带宽而非 FLOPs:边缘 GPU 上基于查询的分割解码器剖析与加速
2610.22377