Artificial Intelligence 8 min read

AlphaTensor: DeepMind’s AI System for Discovering Faster Matrix Multiplication Algorithms

DeepMind’s AlphaTensor, built on AlphaZero and reinforcement learning, automatically discovers novel, provably correct matrix multiplication algorithms that outperform classic methods like Strassen’s, demonstrating how modern AI can automate algorithm discovery and significantly accelerate computations across many fields.

Sohu Tech Products
Sohu Tech Products
Sohu Tech Products
AlphaTensor: DeepMind’s AI System for Discovering Faster Matrix Multiplication Algorithms

DeepMind has introduced AlphaTensor, an AI system built on the AlphaZero architecture and reinforcement learning, designed to automatically discover efficient matrix multiplication algorithms.

Historically, algorithms for basic operations have evolved from ancient Egyptian methods to modern breakthroughs such as Strassen’s algorithm, which showed that the standard matrix multiplication is not optimal.

AlphaTensor treats the search for faster algorithms as a single‑player game where a three‑dimensional tensor represents the current state of an algorithm; the agent makes moves that modify the tensor, aiming to reduce it to zero, which corresponds to a correct multiplication algorithm.

Training from scratch, AlphaTensor rediscovered known fast algorithms (e.g., Strassen) and uncovered new ones that require fewer scalar multiplications—for example, reducing the count for a 4×5 by 5×5 multiplication from 100 to 76 multiplications.

The system also found algorithms that improve upon Strassen’s method over finite fields and generated thousands of diverse algorithms for various matrix sizes, some of which are optimized for specific hardware such as Nvidia V100 GPUs or Google TPU v2, yielding 10‑20% speedups on large‑scale multiplications.

These results demonstrate that AI‑designed algorithms can surpass human‑crafted ones, offering insights into the richness of the algorithmic space and promising efficiency gains for graphics, communication, neural‑network training, and scientific computing.

DeepMind envisions extending this approach to other fundamental computational problems, using AI to tackle some of the most challenging mathematical and scientific questions.

AIreinforcement learningmatrix multiplicationalgorithm discoveryAlphaTensorDeepMind
Sohu Tech Products
Written by

Sohu Tech Products

A knowledge-sharing platform for Sohu's technology products. As a leading Chinese internet brand with media, video, search, and gaming services and over 700 million users, Sohu continuously drives tech innovation and practice. We’ll share practical insights and tech news here.

0 followers
Reader feedback

How this landed with the community

login Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.