Abstract
Sub-cubic time matrix multiplication algorithms can be of practical use, provided that their arithmetic and communication costs are sufficiently small not only in the asymptotic sense, but already for useful input sizes. The alternative basis method has proved to be highly effective for reducing both costs in theory for all known feasible fast matrix multiplication algorithms. It has been tested and combined with other optimization techniques, such as the pebble game, only for Strassen's algorithm, demonstrating significant speedups in practice. The abundance of fast matrix multiplication algorithms and optimization techniques highlights the need for an automatic framework for accelerating the process of obtaining high performance code for them.We obtain an automatic framework for generating high-performance code for alternative basis fast matrix multiplication algorithms, utilizing various optimization techniques such as common subexpression elimination and a novel pebble game engine. These reduce the leading coefficients for arithmetic and communication costs by 20$ - 90%, and the memory footprint by approximately 50% - 70%. Using this framework, we optimize, implement, and benchmark a large set of algorithms, providing the first competitive high performance CPU implementations for many of them. The automatically generated code is typically faster than vendor-tuned GEMM, exceeding 50% in sequential configurations and 25% in parallel, and often outperforms the state-of-the-art code for Strassen's algorithm.
| Original language | English |
|---|---|
| Title of host publication | Proceedings of the 38th ACM Symposium on Parallelism in Algorithms and Architectures, SPAA 26 |
| Publisher | Association for Computing Machinery |
| Pages | 312-316 |
| Number of pages | 5 |
| ISBN (Electronic) | 9798400727610 |
| DOIs | |
| State | Published - 8 Jul 2026 |
| Event | 38th ACM Symposium on Parallelism in Algorithms and Architectures, SPAA 2026 - London, United Kingdom Duration: 6 Jul 2026 → 10 Jul 2026 |
Publication series
| Name | Annual ACM Symposium on Parallelism in Algorithms and Architectures |
|---|---|
| ISSN (Print) | 1548-6109 |
Conference
| Conference | 38th ACM Symposium on Parallelism in Algorithms and Architectures, SPAA 2026 |
|---|---|
| Country/Territory | United Kingdom |
| City | London |
| Period | 6/07/26 → 10/07/26 |
Bibliographical note
Publisher Copyright:© 2026 Copyright held by the owner/author(s).
Keywords
- alternative basis method
- automatic code generation
- fast matrix multiplication
- pebble game
Fingerprint
Dive into the research topics of 'Brief Announcement: An Automatic Framework for High Performance Alternative Basis Fast Matrix Multiplication'. Together they form a unique fingerprint.Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver