AlphaTensor, developed by Google DeepMind, is the research codebase accompanying the 2022 Nature publication “Discovering faster matrix multiplication algorithms with reinforcement learning.” The project demonstrates how reinforcement learning can be used to automatically discover efficient algorithms for matrix multiplication — a fundamental operation in computer science and numerical computation. The repository is organized into four main components: algorithms, benchmarking, nonequivalence, and recombination. These contain implementations of the discovered matrix multiplication algorithms, tools to benchmark their real-world performance, proofs of nonequivalence among thousands of solutions, and methods for decomposing larger problems into smaller factorizations. Users can explore AlphaTensor’s discovered algorithms interactively using Colab notebooks or Python scripts.

Features

  • Implements algorithms for matrix multiplication discovered via reinforcement learning
  • Includes 14,000+ nonequivalent algorithms for 4×4 matrix multiplication problems
  • Provides Colab notebooks for interactive exploration and verification
  • Benchmarking scripts for performance evaluation on NVIDIA GPUs
  • Python tools for tensor recombination and algorithm decomposition
  • Reproducible experiments corresponding to the Nature 2022 publication

Project Activity

See All Activity >

Categories

Algorithms

License

Apache License V2.0

Follow AlphaTensor

AlphaTensor Web Site

You Might Also Like
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of AlphaTensor!

Additional Project Details

Operating Systems

Linux, Mac

Programming Language

Python

Related Categories

Python Algorithms

Registered

2025-10-09