The Cambrian Explosion of Mixed-Precision Matrix Multiplication for Quantized Deep Learning Inference
Not on the map. Why?
Abstract (arXiv)
Recent advances in deep learning (DL) have led to a shift from traditional 64-bit floating point (FP64) computations toward reduced-precision formats, such as FP16, BF16, and 8- or 16-bit integers, combined with mixed-precision arithmetic. This transition enhances computational throughput, reduces memory and bandwidth usage, and improves energy efficiency, offering significant advantages for resource-constrained edge devices. To support this shift, hardware architectures have evolved accordingly, now including adapted ISAs (Instruction Set Architectures) that expose mixed-precision vector units and matrix engines tailored for DL workloads. At the heart of many DL and scientific computing tasks is the general matrix-matrix multiplication gemm, a fundamental kernel historically optimized using axpy vector instructions on SIMD (single instruction, multiple data) units. However, as hardware moves toward mixed-precision dot-product-centric operations optimized for quantized inference, these legacy approaches are being phased out. In response to this, our paper revisits traditional high-performance gemm and describes strategies for adapting it to mixed-precision integer (MIP) arithmetic across modern ISAs, including x86_64, ARM, and RISC-V. Concretely, we illustrate novel micro-kernel designs and data layouts that better exploit today's specialized hardware and demonstrate significant performance gains from MIP arithmetic over floating-point implementations across three representative CPU architectures. These contributions highlight a new era of gemm optimization-driven by the demands of DL inference on heterogeneous architectures, marking what we term as the "Cambrian period" for matrix multiplication.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 12 of its 34 references that are in the map. First posted on arXiv 13 Jun 2025.
Builds on
12 of 34 references.
References · 12
- 2017Attention Is All You Needcited by 60,361
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2022SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Modelscited by 1,386
- 2022LLM.int8(): 8-bit Matrix Multiplication for Transformers at Scalecited by 906
- 2017Efficient Processing of Deep Neural Networks: A Tutorial and Surveycited by 434
- 2016Quantized Neural Networks: Training Neural Networks with Low Precision Weights and Activationscited by 426
- 2019Fighting Quantization Bias With Biascited by 30
- 2024Understanding Large Language Models in Your Pockets: Performance Study on COTS Mobile Devicescited by 10
- 2024Hello SME! Generating Fast Matrix Multiplication Kernels Using the Scalable Matrix Extensioncited by 5
- 2025SparAMX: Accelerating Compressed LLMs Token Generation on AMX-powered CPUscited by 3
- 2025PQS (Prune, Quantize, and Sort): Low-Bitwidth Accumulation of Dot Products in Neural Network Computationscited by 1
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2023M4BRAM: Mixed-Precision Matrix-Matrix Multiplication in FPGA Block RAMs
- 2024Mixed-precision Neural Networks on RISC-V Cores: ISA extensions for Multi-Pumped Soft SIMD Operations
- 2021A Deep Learning Inference Scheme Based on Pipelined Matrix Multiplication Acceleration Design and Non-uniform Quantization
- 2026W4A16 Mixed-Precision Matrix Multiplication on Decoupled Architecture: Kernel Design and Memory Bottleneck Analysis for Ascend NPUs
- 2025MaRVIn: A Cross-Layer Mixed-Precision RISC-V Framework for DNN Inference, from ISA Extension to Hardware Acceleration
- 2025PacQ: A SIMT Microarchitecture for Efficient Dataflow in Hyper-asymmetric GEMMs
- 2022FullPack: Full Vector Utilization for Sub-Byte Quantized Inference on General Purpose CPUs
- 2026Mixed-Precision Training and Compilation for RRAM-based Computing-in-Memory Accelerators