


On October 5, AlphaTensor was born, and DeepMind announced that it had solved an unsolved mathematical algorithm problem in the field of mathematics for 50 years, namely matrix multiplication. AlphaTensor becomes the first AI system to discover novel, efficient, and provably correct algorithms for mathematical problems such as matrix multiplication. The paper "Discovering faster matrix multiplication algorithms with reinforcement learning" also appeared on the cover of Nature.
However, AlphaTensor’s record only stood for a week before it was broken by human mathematicians.
In their latest work, researchers Manuel Kauers and Jakob Moosbauer from Johann Kepler University Linz, Austria, say they have broken AlphaTensor’s matrix multiplication record. They developed a method that performs a 5×5 matrix multiplication in 95 steps, one step less than AlphaTensor’s record of 96 steps and the previous record of 98 steps. A preprint of the paper was posted on arxiv on October 13.
##Paper address: https://arxiv.org/abs/2210.04045
The "FBHHRBNRSSSHK" in the title of the paper is actually the first letter of the last names of all the authors of the DeepMind paper. This naming method is also very interesting:
The exploration of mathematical problems never ends. As the author said, the DeepMind algorithm solution "still not the end of the story". However, their breakthrough this time is to stand on the shoulders of giants, that is, AI. The author said that the solution is to apply a series of transformations based on the DeepMind solution, thus eliminating one-step multiplication calculation.
1AlphaTensor 2 steps forward
Let’s first briefly review AlphaTensor’s results.Many mathematical tasks in computer science are handled through matrix multiplication, such as machine learning, creation of computer graphics, various simulations or data compression. Computers calculate multiplication much slower than addition, so even a small improvement in the efficiency of matrix multiplication will have a huge impact. For decades, mathematicians have been looking for more efficient matrix multiplication algorithms.
In 1969, German mathematician Volker Strassen developed an algorithm that for the first time reduced the solution of 4×4 matrix multiplication from 64 steps to 49 steps, shocking the mathematics world.
The AI system AlphaTensor released by Deepmind this time discovered a new algorithm that is faster than the Strassen algorithm. Demis Hassabis said the new algorithm has the potential to increase efficiency by 10% to 20% in trillions of calculations per day.
AlphaTensor is a leap from games to mathematics, based on AlphaZero, a general-purpose board game AI system released by Deepmind in 2018. To train AlphaTensor, the Deepmind research team transformed a matrix multiplication problem into a 3D board game, with each step yielding the building blocks of a new algorithm. AlphaTensor is rewarded for generating new algorithms in as few steps as possible by choosing among tens of thousands of moves each time. Deepmind calls this a “tensor game.”
In a 5×5 input matrix, AlphaTensor independently discovered Strassen’s algorithm and other known algorithms. Also, it has developed new algorithms that are more efficient than the old ones.
For example, 5×5 matrix multiplication (n=4) previously required 80 calculation steps, but AlphaTensor’s new algorithm only requires 76 steps; when n=5, AlphaTensor will solve the problem from the original 98 steps reduced to 96 steps. The 4×4 matrix multiplication is reduced to 49 steps by Strassen and optimized to 47 steps by AlphaTensor. This efficiency is achieved by more than 70 algorithms for matrix multiplication generated by AlphaTensor.
Note: The algorithm complexity discovered by AlphaTensor is compared with known matrix multiplication algorithms
In addition, AlphaTensor can also develop hardware-specific algorithms , for machine learning. It is said to currently run 20% faster than algorithms on Google TPUs and NVIDIA V100s.
It is difficult for humans to independently adjust the multiplication algorithm to adapt to the hardware, so AlphaTensor’s improvement of the Strassen algorithm creates a new upper limit for 4×4 matrix multiplication, which is the advancement of AI. A great testament to the help provided by other disciplines. It also shows that the AlphaZero system, originally developed for traditional games, can solve mathematical problems outside the domain.
2 Humankind takes another step forward
In the latest research by Manuel Kauers and Jakob Moosbauer, they mainly made two new discoveries, First, for the 4×4 matrix, they proposed another 47-step multiplication solution algorithm, but it was different from the previous solution; second, for the 5×5 matrix, they proposed a solution that required 95 multiplication steps for the first time.
In this article, the author briefly demonstrates the two matrix multiplication schemes. A formal paper will be published soon to introduce the search technology of the solution algorithm in more detail.
The new scheme for a 4 × 4 matrix contains a total of 47 multiplications, as follows:
#5 The 95-step multiplication scheme for a ×5 matrix (n=5) is as follows:
# Considering that the GPU performs trillions of matrix calculations every day, so from steps 98 to 96 and from 96 A seemingly small incremental improvement like step 95 can actually greatly improve computational efficiency and allow AI applications to run faster on existing hardware.
Introduction to the author:
Manuel Kauers, Professor of Algebra at Johannes Kepler University Linz, Head of the Institute of Algebra of the University people. His research interests are computer algebra, symbolic summation and integration, special function identities, etc.
Jakob Moosbauer is a PhD student at the Institute of Algebra, Johannes Kepler University Linz.
The above is the detailed content of Humans overtake AI: One week after DeepMind used AI to break the 50-year record for matrix multiplication calculation speed, mathematicians broke it again. For more information, please follow other related articles on the PHP Chinese website!

This article explores the growing concern of "AI agency decay"—the gradual decline in our ability to think and decide independently. This is especially crucial for business leaders navigating the increasingly automated world while retainin

Ever wondered how AI agents like Siri and Alexa work? These intelligent systems are becoming more important in our daily lives. This article introduces the ReAct pattern, a method that enhances AI agents by combining reasoning an

"I think AI tools are changing the learning opportunities for college students. We believe in developing students in core courses, but more and more people also want to get a perspective of computational and statistical thinking," said University of Chicago President Paul Alivisatos in an interview with Deloitte Nitin Mittal at the Davos Forum in January. He believes that people will have to become creators and co-creators of AI, which means that learning and other aspects need to adapt to some major changes. Digital intelligence and critical thinking Professor Alexa Joubin of George Washington University described artificial intelligence as a “heuristic tool” in the humanities and explores how it changes

LangChain is a powerful toolkit for building sophisticated AI applications. Its agent architecture is particularly noteworthy, allowing developers to create intelligent systems capable of independent reasoning, decision-making, and action. This expl

Radial Basis Function Neural Networks (RBFNNs): A Comprehensive Guide Radial Basis Function Neural Networks (RBFNNs) are a powerful type of neural network architecture that leverages radial basis functions for activation. Their unique structure make

Brain-computer interfaces (BCIs) directly link the brain to external devices, translating brain impulses into actions without physical movement. This technology utilizes implanted sensors to capture brain signals, converting them into digital comman

This "Leading with Data" episode features Ines Montani, co-founder and CEO of Explosion AI, and co-developer of spaCy and Prodigy. Ines offers expert insights into the evolution of these tools, Explosion's unique business model, and the tr

This article explores Retrieval Augmented Generation (RAG) systems and how AI agents can enhance their capabilities. Traditional RAG systems, while useful for leveraging custom enterprise data, suffer from limitations such as a lack of real-time dat


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

MantisBT
Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

Dreamweaver Mac version
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool

WebStorm Mac version
Useful JavaScript development tools