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

Other Useful Business Software
$300 Free Credits for Your Google Cloud Projects Icon
$300 Free Credits for Your Google Cloud Projects

Start building on Google Cloud with $300 in free credits. No commitment, no credit card required until you're ready to scale.

Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Start Free Trial
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