Fast and accurate algorithms for matrix multiplication using fused multiply-add and their rounding error analysis

Read full text
Authors: Katsuhisa Ozaki, Toru Koizumi
Cited by: 0

Abstract

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.

Fields of Study & Subjects

Numerical Methods and Algorithms Cryptography and Residue Arithmetic Polynomial and algebraic computation

Publication details

Journal / source
Japan Journal of Industrial and Applied Mathematics
Volume
43
Issue
3
Publication date
26 August 2026
Language
EN