This is a game changer! (AlphaTensor by DeepMind explained)
#alphatensor #deepmind #ai
Matrix multiplication is the most used mathematical operation in all of science and engineering. Speeding this up has massive consequences. Thus, over the years, this operation has become more and more optimized. A fascinating discovery was made when it was shown that one actually needs less than N^3 multiplication operations to multiply to NxN matrices. DeepMind goes a step further and creates AlphaTensor, a Deep Reinforcement Learning algorithm that plays a single-player game, TensorGame, in order to find even more optimized algorithms for matrix multiplication. And it turns out, there exists a plethora of undiscovered matrix multiplication algorithms, which not only will make everything from computers to smart toasters faster, but also bring new insights into fundamental math and complexity theory.
Sponsor: Assembly AI
Link:
OUTLINE:
0:00 - Intro
1:50 - Sponsor: Assembly AI (link in description)
3:25 - What even is Matrix Multiplication?
6:10 - A very astounding fact
8:45 - Trading multiplications for additions
12:35 - Matrix Multiplication as a Tensor
17:30 - Tensor Decompositions
20:30 - A formal way of finding multiplication algorithms
31:00 - How to formulate this as a game?
39:30 - A brief primer on AlphaZero / MCTS
45:40 - The Results
48:15 - Optimizing for different hardware
52:40 - Expanding fundamental math
53:45 - Summary & Final Comments
Paper:
Title: Discovering faster matrix multiplication algorithms with reinforcement learning
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 AlphaZero1 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 ago2. 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.
Authors: Alhussein Fawzi, Matej Balog, Aja Huang, Thomas Hubert, Bernardino Romera-Paredes, Mohammadamin Barekatain, Alexander Novikov, Francisco J. R. Ruiz, Julian Schrittwieser, Grzegorz Swirszcz, David Silver, Demis Hassabis & Pushmeet Kohli
Links:
Homepage:
Merch:
YouTube:
Twitter:
Discord:
LinkedIn:
If you want to support me, the best thing to do is to share out the content :)
If you want to support me financially (completely optional and voluntary, but a lot of people have asked for this):
SubscribeStar:
Patreon:
Bitcoin (BTC): bc1q49lsw3q325tr58ygf8sudx2dqfguclvngvy2cq
Ethereum (ETH): 0x7ad3513E3B8f66799f507Aa7874b1B0eBC7F85e2
Litecoin (LTC): LQW2TRyKYetVC8WjFkhpPhtpbDM4Vw7r9m
Monero (XMR): 4ACL8AGrEo5hAir8A9CeVrW8pEauWvnp1WnSDZxW7tziCDLhZAGsgzhRQABDnFy8yuM9fWJDviJPHKRjV4FWt19CJZN9D4n
13 views
3
1
2 weeks ago 00:55:23 1
What Did Charles Hall Discover About TALL WHITES Alien Residents?
2 weeks ago 00:33:06 1
Leave It In God’s Hands, Trust God To Work It Out (Christian Motivation and Blessings)
2 weeks ago 01:06:01 1
THE SCARIEST VIDEOS That Psychiatrists Doesn’t Want To Watch
2 weeks ago 01:41:51 1
The Son of Monte Cristo (1940) Swords Flash in the Night! Romance Rides With Danger!
2 weeks ago 00:36:09 1
Why Fun Projects Are the Key to Saving This Building
2 weeks ago 00:06:46 1
Do You Want to Leave Me, too? | WMSCOG, Church of God
2 weeks ago 00:03:49 1
Battling a Dead Battery? TOPDON BT100 is Your Ultimate Weapon! - YouTube
2 weeks ago 00:02:35 1
8 Ball Pool Hack iOS & Android - UPDATED 8 Ball Pool MOD APK with Aim Tool App 2025
2 weeks ago 00:20:45 1
The BEST Smartphones of 2024!
2 weeks ago 00:01:54 2
[4K USA] Red Mesh Transparent Dresses Try on Haul with Blondy Bella
2 weeks ago 00:18:02 2
Occult Hollywood // Cinema as Ritual Magic
2 weeks ago 00:03:17 1
Freeze? Nah, Not Today! Zippo HeatBank 9s: Your Pocket-Sized Warmth Wizard - YouTube
2 weeks ago 00:24:48 2
Jim Caviezel on Darkness, the Devil, Hollywood, and Sacrifice
2 weeks ago 01:00:10 1
Kasablanca: Group Therapy 600 live at Hipódromo de las Américas, Mexico City (Official) #ABGT600
2 weeks ago 00:08:17 2
ufo sightings worldwide: 3 Super ufos caught on camers over Phoenix sky
2 weeks ago 00:32:17 2
The Dark World of Megachurches
2 weeks ago 01:06:31 1
Trump arrive : L’heure de vérité pour l’Europe, l’Ukraine et le Moyen-Orient (Mondoscopie 54)
2 weeks ago 01:29:07 5
L’état réel de l’économie russe : du mythe à la réalité C. Galactéros reçoit Jacques Sapir
2 weeks ago 00:02:32 2
Dragon Ball Legends Hack/MOD APK iOS & Android - How to Get Unlimited Chrono Crystals in 2025
2 weeks ago 00:00:20 1
ЧИПСЫ моего детства 🥔 Кто знает помнит?
2 weeks ago 02:00:00 2
TRANS: The Path to YOURSELF 🔆 the Healing power of shamanic drumming 🔆 Spiritual tribal music
2 weeks ago 00:14:08 2
U.S. Nightmare Became a REALITY: Russia Took Iran Under Its Military and Economic Protection