Faster Algorithms for Structured Matrix Multiplication via Flip Graph Search
Abstract
We give explicit low-rank bilinear non-commutative schemes for multiplying structured n × n matrices with 2 ≤ n ≤ 5, which serve as building blocks for recursive algorithms with improved multiplicative factors in asymptotic complexity. Our schemes are discovered over F2 or F3 and lifted to Z or Q. Using a flip graph search over tensor decompositions, we derive schemes for general, upper-triangular, lower-triangular, symmetric, and skew-symmetric inputs, as well as products of a structured matrix with its transpose. These schemes improve asymptotic constants for 13 of 15 structured formats. In particular, we obtain 4 × 4 rank-34 schemes for both multiplying a general matrix by its transpose and an upper-triangular matrix by a general matrix, improving the asymptotic factor from 8/13 (0.615) to 22/37 (0.595). Additionally, using F3 flip graphs, we discover schemes over Q that fundamentally require the inverse of 2, including a 2 × 2 symmetric-symmetric multiplication of rank 5 and a 3 × 3 skew-symmetric-general multiplication of rank 14 (improving upon AlphaTensor's 15).
Turn this paper into a full lesson
ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.