Fast and accurate algorithms for matrix multiplication using fused multiply-add and their rounding error analysis
Abstract We propose a numerical algorithm for accurate matrix multiplication. When standard floating-point arithmetic fails to deliver sufficient accuracy, high-precision techniques such as pair arithmetic and double-word arithmetic are typically employed, although at the expense of considerable computational cost. The proposed algorithms attain high accuracy by efficiently exploiting Fused Multiply-Add (FMA) operations, which are less computationally expensive than conventional high-precision methods. Numerical experiments confirm the effectiveness of the proposed algorithms. In particular, the proposed algorithms are especially effective in environments where dedicated floating-point adder units are available. Although its accuracy is slightly inferior to that of pair arithmetic or double-word arithmetic, numerical experiments have demonstrated that it achieves about two to three times higher speed. Comparative evaluations with accurate GEMM-based algorithms are conducted on both CPUs and GPUs, and rounding error analyses of the proposed algorithms are also provided.
Authors
- Katsuhisa Ozaki (ORCID: https://orcid.org/0000-0003-0431-6232)
- Toru Koizumi (ORCID: https://orcid.org/0000-0003-0990-1916)
Institutions
- Shibaura Institute of Technology (JP)
- Nagoya Institute of Technology (JP)
Publication Details
- Journal
- Japan Journal of Industrial and Applied Mathematics
- Published
- 2026-08-26
- DOI
- https://doi.org/10.1007/s13160-026-00816-8
- Primary Topic
- Numerical Methods and Algorithms
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Japan Society for the Promotion of Science