ACM Transactions on Mathematical Software· 2026Q1
How to grade the accuracy of the BLAS
- 5citations
- Q1SCImago
- 2026year
Short summary
A new metric grades matrix multiplication accuracy from 'A' (classic bound) to 'C' (Strassen-like bound), with accompanying ungameable tests to verify claimed accuracy.
AI-generated from the title and abstract; the full text is not read.
Key points
- Introduces a grading system ('A' to 'C') for matrix multiplication accuracy.
- Proposes 'ungameable' tests to verify claimed accuracy levels.
- Demonstrates the impact of accuracy grades on applications like Cholesky decomposition.
- Addresses the trade-offs between performance and accuracy in lower-precision matrix multiplication.
AI-generated from the title and abstract; the full text is not read.
Abstract
Motivated by accelerating machine learning (ML), many computer vendors are building accelerators for matrix multiplication, which save time and energy by operating in lower precisions needed for ML. This has in turn motivated many efforts to use these accelerators to provide faster matrix multiplication implementations with the higher precision required by many other linear algebra applications. Motivated by the large design space of algorithms for approximating higher precision, with significant performance/accuracy tradeoffs, we provide a metric to “grade the accuracy” of a matrix multiplication implementation (or the BLAS more generally), ranging from an “A” for attaining the classic floating point error bound, to a “C” for attaining a weaker but still useful bound, that is satisfied by Strassen-like algorithms. We also propose “ungameable” tests that vendors or users can run to verify their promised accuracy, and describe how these different grades impact the accuracy of applications like Cholesky decomposition. Our test code is publicly available, and we plan to publicly release all our test results. Future work includes expanding our testing and grading to other BLAS routines, nonsquare matrices, use of higher internal precision, complex arithmetic, consistent exception handling, underflow handling, and other high level routines like LU and QR.
The authors' abstract, as published at the source. ACM Transactions on Mathematical Software, 2026 · DOI ↗
Continue with a free account
Ask the paper: 5 free questions a day about this paper; save it, get its citation, new summaries every day for your field. Takeaways are Premium.
Continue free on the webSign in with Google or Apple; no card needed. You come back to this paper.
On your phone:
Field: Computational Theory and Mathematics
Computational Theory and MathematicsComputer Science