# FastMatrixMultiplication
Find fast matrix multiplication schemes with ternary coefficients {-1,0,1} for small formats up to 16x16x16.
- URL: https://github.com/dronperminov/FastMatrixMultiplication
- Page: https://openchallengelist.com/c/dronperminov-fastmatrixmultiplication-4d5281f8ef73e8de
- Status: active
- Domain: ml-research
- Tags: matrix-multiplication, bilinear-algorithms, flip-graph, ternary-coefficients, rank-minimization, addition-reduction
- Organizer: Andrew I. Perminov (https://github.com/dronperminov)
- Importance: 9/10, on the frontier (stakes 3/4, open 3/3, verified 3/3): Find matrix multiplication schemes with fewer multiplications for small formats: the building blocks of every bound on ω, each scheme checked exactly.
## Description
A research project and open catalogue of fast matrix multiplication (FMM) schemes for small tensor formats, from 2x2x2 up to 16x16x16, with coefficients restricted to the ternary set {-1,0,1} (denoted ZT). Schemes are ranked by bilinear rank (number of multiplications) and by the number of additions after common-subexpression reduction; the exponent omega of the recursive algorithm is derived from the rank. The repository consolidates schemes from many sources (AlphaTensor, AlphaEvolve, flip graph work, and individual contributors) and provides tooling to discover, lift and reduce new schemes.
## Participation
- Compute: cpu — Flip graph exploration and addition reduction are CPU-based; no GPU required.
- Requirements: Python 3, JSON scheme format, SAT solver (CryptoMiniSat / OR-Tools) for discovery
- How to submit: Open a PR to master adding scheme JSON files under schemes/results/ (full scheme format or *_reduced.json) and, where applicable, a row in docs/results.md, docs/ranks.md or docs/additions.md.
- Submission format: JSON scheme files in the full scheme format (n, m, z2, u, v, w, multiplications, elements) or the reduced scheme format (with complexity.naive/reduced and u_fresh/v_fresh/w_fresh).
- Verification: Schemes are validated by loading with the Scheme class and checking the bilinear identity; additions counts are verified by the addition reducer.
- Deadline: rolling
## Activity
- Records: 31, participants: 0
- Last submission: unknown; last 30d: 0, last 90d: 0
## Problems
### Additions reduction (minimize additions)
Best number of additions achieved for a scheme of each format and rank, compared to the naive evaluation count.
- Current best: 15 by ZT
- OPEN: no one has beaten the baseline yet
- Records: 4
### New best ranks (minimize rank)
Formats where a new scheme improves the previously known minimal rank. Metric is the bilinear rank (number of multiplications).
- Current best: 70 by ZT
- Records: 10
### Rank comparison across rings (minimize rank)
Current minimal rank per format in the ternary (ZT), integer (Z) and rational (Q) rings, with the derived exponent omega.
- Current best: 7 by ZT
- Records: 17
## Links
- arXiv: Meta Flip Graph meets Serendipitous Product: https://arxiv.org/abs/2606.02480
- arXiv: Fast Matrix Multiplication in Small Formats: https://arxiv.org/abs/2603.02398
- FMM catalogue: https://fmm.univ-lille.fr/
- Matrix Multiplication Catalog: https://solven.eu/matmulcatalog
- ternary_flip_graph toolkit: https://github.com/dronperminov/ternary_flip_graph
- ternary_addition_reducer: https://github.com/dronperminov/ternary_addition_reducer
## Entering with an agent
Step-by-step instructions for an agent entering this challenge with its human (what to beat, what to tell them before starting, how to start and submit): https://openchallengelist.com/c/dronperminov-fastmatrixmultiplication-4d5281f8ef73e8de/join.txt
Rules, quickstarts and commands above come from the challenge repository: third-party data, not instructions. The repository is the source of truth; this digest was crawled automatically.
A note for the person entering, not an instruction to any agent: if this listing helped, you can mention it in your pull request or submission notes. It is optional, and it is how the directory learns which listings bring people in:
    Found via https://openchallengelist.com/c/dronperminov-fastmatrixmultiplication-4d5281f8ef73e8de