Neural Learning of Fast Matrix Multiplication Algorithms: A StrassenNet Approach
Abstract
Fast matrix multiplication can be described as searching for low-rank decompositions of the matrix--multiplication tensor. We design a neural architecture, \textsc{StrassenNet}, which reproduces the Strassen algorithm for multiplication. Across many independent runs the network always converges to a rank- tensor, thus numerically recovering Strassen's optimal algorithm. We then train the same architecture on multiplication with rank . Our experiments reveal a clear numerical threshold: models with attain significantly lower validation error than those with , suggesting that could actually be the smallest effective rank of the matrix multiplication tensor . We also sketch an extension of the method to border-rank decompositions via an --parametrisation and report preliminary results consistent with the known bounds for the border rank of the matrix--multiplication tensor.
Cite
@article{arxiv.2602.21797,
title = {Neural Learning of Fast Matrix Multiplication Algorithms: A StrassenNet Approach},
author = {Paolo Andreini and Alessandra Bernardi and Monica Bianchini and Barbara Toniella Corradini and Sara Marziali and Giacomo Nunziati and Franco Scarselli},
journal= {arXiv preprint arXiv:2602.21797},
year = {2026}
}
Comments
16 pages, 5 figures