Discovering faster matrix multiplication algorithms with reinforcement learning
Open accessThe DOI matches its Crossref record; 51 of the 51 references it cites were found in a registry or an index.
Abstract
Improving the efficiency of algorithms for fundamental computations can have a widespread impact, as it can affect the overall speed of a large amount of computations. Matrix multiplication is one such primitive task, occurring in many systems—from neural networks to scientific computing routines. The automatic discovery of algorithms using machine learning offers the prospect of reaching beyond human intuition and outperforming the current best human-designed algorithms. However, automating the algorithm discovery procedure is intricate, as the space of possible algorithms is enormous. Here we report a deep reinforcement learning approach based on AlphaZero 1 for discovering efficient and provably correct algorithms for the multiplication of arbitrary matrices. Our agent, AlphaTensor, is trained to play a single-player game where the objective is finding tensor decompositions within a finite factor space. AlphaTensor discovered algorithms that outperform the state-of-the-art complexity for many matrix sizes. Particularly relevant is the case of 4 × 4 matrices in a finite field, where AlphaTensor’s algorithm improves on Strassen’s two-level algorithm for the first time, to our knowledge, since its discovery 50 years ago 2 . We further showcase the flexibility of AlphaTensor through different use-cases: algorithms with state-of-the-art complexity for structured matrix multiplication and improved practical efficiency by optimizing matrix multiplication for runtime on specific hardware. Our results highlight AlphaTensor’s ability to accelerate the process of algorithmic discovery on a range of problems, and to optimize for different criteria.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Figures









Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
The source backs part of the claim, not all of it — or backs it for a different population, condition or comparison.
In the citing paper
“Despite being general-purpose, AlphaEvolve goes beyond [26], improving the SOTA for 14 matrix multiplication algorithms”
From AlphaEvolve: A coding agent for scientific and algorithmic discovery (2025) · cites this paper as [26]
Experimental — accuracy not yet measured
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Mastering the game of Go with deep neural networks and tree search
Silver, D., Huang, A., Maddison, C. J., Guez, A., Sifre, L., van den Driessche, G., Schrittwieser, J., Antonoglou, I., Panneershelvam, V., Lanctot, M., et al. (2016) · Nature · doi:10.1038/nature16961 · Cited by 15,612
Self-citationTensorFlow: A system for large-scale machine learning
Abadi, M., Barham, P., Chen, J., Chen, Z., Davis, A., Dean, J., Devin, M., Ghemawat, S., Irving, G., Isard, M., et al. (2016) · arXiv (Cornell University) · doi:10.48550/arxiv.1605.08695 · Cited by 11,822
Tensor Decompositions and Applications
Kolda, T. G., & Bader, B. W. (2009) · SIAM Review · doi:10.1137/07070111x · Cited by 10,301
International Conference on Learning Representations (ICLR 2013)
松尾, 豊. (2013) · 人工知能学会誌 = Journal of Japanese Society for Artificial Intelligence · Cited by 6,286
A general reinforcement learning algorithm that masters chess, shogi, and Go through self-play
Silver, D., Hubert, T., Schrittwieser, J., Antonoglou, I., Lai, M., Guez, A., Lanctot, M., Sifre, L., Kumaran, D., Graepel, T., et al. (2018) · Science · doi:10.1126/science.aar6404 · Cited by 3,562 · cited 8×
“, n(2) do (4) c w m w m i R 1 i i R (1) ( ) ← + + return C”
BackgroundMethodInfluentialSelf-citationGaussian elimination is not optimal
Strassen, V. (1969) · Numerische Mathematik · doi:10.1007/bf02165411 · Cited by 2,509 · cited 5×
“, R do (2) ← + + + + m u a u a v b v b ( ) ( ) r n n 1 1 r n r r n r 1 ( ) ( ) 1 ( ) ( ) 2 2 2 2”
InfluentialPlanning chemical syntheses with deep neural networks and symbolic AI
Segler, M. H. S., Preuss, M., & Waller, M. P. (2018) · Nature · doi:10.1038/nature25978 · Cited by 1,847
Deep reinforcement learning for de novo drug design
Popova, M., Isayev, O., & Tropsha, A. (2018) · Science Advances · doi:10.1126/sciadv.aap7885 · Cited by 1,182
Most Tensor Problems Are NP-Hard
Hillar, C. J., & Lim, L.-H. (2013) · Journal of the ACM · doi:10.1145/2512329 · Cited by 1,099
Powers of tensors and fast matrix multiplication
Le Gall, F. (2014) · Proceedings of the 39th International Symposium on Symbolic and Algebraic Computation · doi:10.1145/2608628.2608664 · Cited by 856
Research works printed but not linked: 10
- Bürgisser, P., Clausen, M. & Shokrollahi, A. Algebraic Complexity Theory Vol. 315 (Springer Science & Business Media, 2013).
- Zhang, W. & Dietterich, T. G. A reinforcement learning approach to job-shop scheduling. In International Joint Conferences on Artificial Intelligence Vol. 95, 1114–1120 (Morgan Kaufmann Publishers, 1995).
- Vaswani, A. Attention is all you need. In International Conference on Neural Information Processing Systems Vol 30, 5998–6008 (Curran Associates, 2017).
- Loshchilov, I. & Hutter, F. Decoupled weight decay regularization. In International Conference on Learning Representations (ICLR) (2019).
- Elser V A network that learns Strassen multiplication J. Mach. Learn. Res. 2016 17 3964 3976
- Tschannen, M., Khanna, A. & Anandkumar, A, StrassenNets: deep learning with a multiplication budget. In International Conference on Machine Learning 4985–4994 (PMLR, 2018).
- Bunel, R., Desmaison, A., Kohli, P., Torr, P. H. & Kumar, M. P. Learning to superoptimize programs. In International Conference on Learning Representations (ICLR) (2017).
- Schmidhuber, J. Evolutionary Principles in Self-Referential Learning. On Learning now to Learn: The Meta-Meta-Meta...-Hook. Diploma thesis, Technische Univ. Munchen (1987).
- Kaliszyk, C., Urban, J., Michalewski, H. & Olšák, M. Reinforcement learning of theorem proving. In International Conference on Neural Information Processing Systems 8836–8847 (Curran Associates, 2018).
- Bansal, K., Loos, S., Rabe, M., Szegedy, C. & Wilcox, S. HOList: an environment for machine learning of higher order logic theorem proving. In International Conference on Machine Learning 454–463 (PMLR, 2019).
Cited by
Items 601–622 of 622
SPBS: Surrogate-guided Pareto Beam Search of Gene Growth Trees for Swarm ControlPreprint
Zhu, C., Zhang, M., Fu, Y., & Zhu, C. (2026) · SSRN Electronic Journal · doi:10.2139/ssrn.7460683
AI boosts publication output more at non-elite institutions: Evidence from AlphaFold
Pan, T., & Li, J. (2026) · Journal of Informetrics · doi:10.1016/j.joi.2026.101859
Fast Matrix Multiplication in fp8: Certified Coefficient Optimization and Measured ErrorPreprint
Xie, S., Xie, S., Cao, Y., Ran, D., Yang, W., & Xie, T. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2609.26077
“Re-basing each library realization to its Φ -minimizing form lowers fp32-emulated fused-blk128 error in all 20 tested decom-6 Preprint Figure 2: Prediction and intervention over twenty AlphaTensor shapes, using an fp32 emulator of fused block-scaled fp8 with blk128 blocks on one signed-uniform synthetic operand family.”
InfluentialAI-driven cross-disciplinary idea generation: A multi-agent framework with world café simulation
Chen, J.-Y., & Ning, D.-J. (2026) · Applied Soft Computing · doi:10.1016/j.asoc.2026.116517
Xenoid Intelligence: AGI, Technological Cognition, and the Governance of Non-Human Cognitive Form
Chaib-draa, B. (n.d.) · PhilPapers (PhilPapers Foundation)
Can AI Scientists Change Their Minds? Prior-Evidence Conflict in Synthetic UniversesPreprint
Chauhan, K. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2609.36726
“Systems such as FunSearch and AlphaTensor illustrate the value of objective evaluators: open-ended generation becomes useful when outputs can be tested externally [Romera-Paredes et al., 2024, Fawzi et al., 2022].”
Change the Product, Keep the Parameters: Associative Algebra Layers for TransformersPreprint
Koziev, I., & Oseledets, I. (2026) · arXiv (Cornell University)
Beyond Accuracy: Prefix-Invariant Realizations of Low-Precision Fast Matrix MultiplicationPreprint
Xie, S., Xie, S., Cao, Y., Ran, D., Yang, W., & Xie, T. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2609.39816
Sharp displacement constants for fixed-point-free shift maps on the unit balls of ℓp spaces
Akram, M., Ishtiaq, U., Ahmad, K., & Popa, I. (2026) · Results in Control and Optimization · doi:10.1016/j.rico.2026.100829
Tarek, Z., Kazem, H. A., Alnowaiser, K., & Hassan, E. (2026) · Emerging Science Journal · doi:10.28991/esj-2026-010-05-028
“Moreover, many studies depend on expensive electroluminescence (EL) imaging or high-resolution imagery [12-14], limiting scalability in large solar plants.”
Big AI-Based Mathematics and the Redistribution of Epistemic Labor
Friedman, M., & Bar-On, K. K. (2026) · Social Studies of Science · doi:10.1177/03063127261482050
EPOCH: Reliable Discovery through Evidence-Governed SearchPreprint
Guo, B., Mo, A., Li, R., & Deng, X. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2610.06986
“…this potential across games, program synthesis, tensor decompositions, geometric constructions, formal proofs, and scientific screening (Silver et al., 2018; Schrittwieser et al., 2020; Li et al., 2022; Fawzi et al., 2022; Trinh et al., 2024; Hubert et al., 2025; Merchant et al., 2023).”
Generative Sprachmodelle in der qualitativen Sozialforschung – eine Einführung
Schäffer, B., Lieder, F. R., & Krämer, F. (2026) · Springer eBooks · doi:10.1007/978-3-658-53148-5_2
Lehre, P. K. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2610.35595
“Related approaches in highly restricted problem domains where correctness can be checked without formal proofs include AlphaTensor, which optimises matrix multiplication algorithms via reinforcement learning (Fawzi et al., 2022).”
Xu, X., Loera, J. A. D., Fang, E. X., Lu, J., & Xu, L. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2610.33259
“…2021], policy–value-guided tree search from AlphaZero [Silver et al., 2018], its task-specific adaptation to algorithm discovery in AlphaTensor [Fawzi et al., 2022], Transformer-guided search [Charton et al., 2024], and LLM program evolution [Romera-Paredes et al., 2024, Novikov et al., 2025].”
Guanoluisa, E. X. E., Guamani, R. D. G. G. R. D. G., Chancusig, A. F. L., Vallejo, G. M. R., & Loor, M. J. P. (2026) · Sage Sphere of Technology Sciences Discoveries And Society · doi:10.63688/95dv3370
Why AI Starves Without Human Creativity: Measuring and Renewing the Epistemic Commons
Kopczewski, T., Potocki, T., Jaworski, N., Lisicki, J., & Okhrimenko, K. (2026) · Working Papers. · doi:10.33138/2957-0506.2026.42.536
Energy-efficient floating-point matrix equation solver using memristive neural networks
Jiancong, L. I., Zhili, C. U. I., Xue, Y., Yi, L. I., & Xiangshui, M. I. A. O. (2026) · Chinese Journal of Semiconductors · doi:10.3724/cjos.2025.020
TCSExam: Evaluating Frontier LLMs on the Full Range of TCS ResearchPreprint
Luo, Y., Liu, Z., Yuan, Y., Yang, Z., & Yao, A. C.-C. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2611.07962 · Cited by 1
Artificial intelligence-based automated algorithm discovery: A systematic literature review
Tasarsu, M., Tokmak, A. V., & Catal, C. (2026) · Applied Soft Computing · doi:10.1016/j.asoc.2026.116823
Metadata
- Authors
- Fawzi, A., Balog, M., Huang, A., Hubert, T., Romera-Paredes, B., Barekatain, M., Novikov, A., R. Ruiz, F. J., Schrittwieser, J., Swirszcz, G., Silver, D., Hassabis, D., & Kohli, P.
- Affiliations
- Google DeepMind (United Kingdom) (GB)
- Corresponding author
- Fawzi, Alhussein
- ORCID
- Venue
- Nature
- Published
- 2022-10-05
- Volume
- 610
- Issue
- 7930
- Pages
- 47-53
- ISSN
- 0028-0836 (ISSN-L)
- 1476-4687
- PMC
- PMC9534758
- OpenAlex
- W4302010773
- Semantic Scholar
- 442ab95eb9cfbc03bb17a27b52313b5d25eaa738
- Cited by
- 478
- References
- 40
- Citations by year
- 2026: 69 · 2025: 115 · 2024: 136 · 2023: 148 · 2022: 7
- FWCI
- 54.92
- Type
- journal article
- Language
- en
- Open access
- hybrid
- doi.org
- Licence
- cc-by
- creativecommons.org/licenses/by/4.0 (tdm)
- creativecommons.org/licenses/by/4.0 (vor)
- Locations
- Nature (publishedVersion, cc-by)
- PubMed Central (publishedVersion, cc-by)
- PubMed (publishedVersion)
- RePEc: Research Papers in Economics (submittedVersion)
- Funders
- DeepMind
- Topics
- Physical Sciences › Computer Science › Computational Theory and Mathematics › Complexity and Algorithms in Graphs
- Physical Sciences › Computer Science › Artificial Intelligence › Artificial Intelligence Applications
- Physical Sciences › Computer Science › Computational Theory and Mathematics › Polynomial and algebraic computation
- Keywords
- matrix multiplication, algorithm discovery, AlphaZero, deep reinforcement learning, tensor decomposition, Strassen's algorithm, computational complexity
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.