Paperlane

no. 21 · Tuesday 24 November 2026

Neural Learning of Fast Matrix Multiplication Algorithms: a Geometric Perspective

Paolo Andreini, Alessandra Bernardi, Monica Bianchini, Barbara Toniella Corradini, Sara Marziali, Giacomo Nunziati and Franco Scarselli

math.AG · v2 · 38 pp

Abstract

We combine neural learning and geometric diagnostics to investigate the rank and border rank of the \(3\times3\) matrix-multiplication tensor \(M_3\). Using the Bhattacharya–Mesner product, we derive \textsc{MatMulNet}, a differentiable architecture encoding bilinear maps. Constrained refinement yields a length-\(23\) numerical solution with machine-precision full-tensor residual and bounded decomposition weight. Along the explored length-\(22\) branch, the residual instead decreases as the gauge-invariant weight grows. This contrast supports \(R_{\mathbb R}(M_3)=23\) as a working hypothesis. A Laurent-parametrised extension probes border rank, giving a tentative, protocol-dependent motivation to investigate \(r=19\) and the adjacent \(r=18\) case. For \(M_4\), the same diagnostics distinguish bounded numerical solutions recovered from perturbed known schemes, structured residual plateaus, and weight-growing approximations, revealing the dependence of the search on initialisation. Together, the experiments connect approximation accuracy with decomposition growth and identify concrete targets for exact or certified investigation.

comments
38 pages, 7 figures, 13 tables
fields
Algebraic Geometry