Kauers and Moosbauer turned the search for multiplication schemes into a walk on a graph. Its vertices are correct schemes for one tensor; an edge rewrites two products so that the scheme stays correct.
Figure 2 · The two moves
Figure 2. Written for products in the order a, b, c; the shared factor can sit in any position.
Walking on schemes
A walk starts from a known scheme, usually the naive one, and applies random flips. Flips keep the rank but reshape the products until two of them share two factors; then a reduction removes one product. The walk goes on at the new rank, and when it stalls, a plus transition may raise the rank by one to escape.
Coefficients
Over the fields 𝔽₂ or 𝔽₃ each flip is a few bit operations. A scheme found there is lifted to the integers or rationals by Hensel lifting and rational reconstruction; alternatively the walk runs directly over ℤ with coefficients −1, 0, 1.
Our results
Search tree: one GPU search for the sw4 product drawn as a tree, from the naive 64 products to the record 33.
How the search runs: thousands of walks on one GPU, restarts, lifting and checking.
M. Kauers, J. Moosbauer, “Flip graphs for matrix multiplication”, ISSAC 2023, 381–388. arXiv:2212.01175
Y. Arai, Y. Ichikawa, K. Hukushima, “Adaptive flip graph algorithm for matrix multiplication”, ISSAC 2024. arXiv:2312.16960
K. Khoruzhii, P. Gelß, S. Pokutta, “Faster algorithms for structured matrix multiplication via flip graph search”, ISSAC 2026, 227–236. arXiv:2511.10786
A. Fawzi et al., “Discovering faster matrix multiplication algorithms with reinforcement learning”, Nature 610 (2022) 47–53. doi:10.1038/s41586-022-05172-4