MBA: Efficient Hardware Accelerator for MXFP4 Quantization via Learnable Block-Wise Affine Transformation

  • Park, Sangki; 
  • Kim, Chanhoon; 
  • Rho, Soomin; 
  • Lee, Minyoung; 
  • Chung, Ki-Seok
Citations

WEB OF SCIENCE

0
Citations

SCOPUS

0

초록

Large language models (LLMs) have achieved remarkable performance across a wide range of natural language processing tasks; however, their rapidly growing model sizes pose critical challenges for energy-efficient inference, increasing the demand for low-bit quantization. Although transformation-based methods have shown superior performance in conventional low-bit formats, their efficacy degrades substantially under the MXFP4 format. This degradation arises because these transformations spread outliers across MX block boundaries, inadvertently introducing new outliers within individual blocks. Furthermore, applying these transformations to activations at runtime requires implementing high-precision arithmetic units that incur significant hardware design overhead in terms of area and power. To address these challenges, we propose MBA, a software-hardware co-design framework that enables hardware-efficient and accurate affine transformation-based MXFP4 quantization. MBA learns affine transformation matrices constrained to a block-diagonal structure aligned with the MX block size, and reduces both the number of parameters and computational complexity while maintaining high accuracy. We also implement a dedicated hardware accelerator featuring dual-mode processing elements (PEs) that efficiently support both BF16 and MXFP4 computations. Hardware evaluations on linear-layer matrix multiplication, including the online affine transformation, demonstrate that MBA achieves 2.66× higher TOPS/W and 1.9× higher TOPS/mm2 than the state-of-the-art MX accelerator. Additionally, in the LLaMA3-8B model, our method achieved an average of 65.69% on reasoning tasks, outperforming LATMiX by 2.72%p and demonstrating better performance compared to existing methods across various LLaMA models.

키워드

hardware acceleration; LLM quantization; Low-bit quantization; microscaling data formats; rotation quantization; Acceleration; Affine transforms; Artificial intelligence; Computational efficiency; Computer hardware; Data handling; Hardware-software codesign; Statistics
제목
MBA: Efficient Hardware Accelerator for MXFP4 Quantization via Learnable Block-Wise Affine Transformation
저자
Park, Sangki; Kim, Chanhoon; Rho, Soomin; Lee, Minyoung; Chung, Ki-Seok
DOI
10.1109/ACCESS.2026.3738900
발행일
2026-09
유형
Article
저널명
IEEE Access
권
14
페이지
152117 ~ 152133

파일 다운로드

Thumbnail