SI Agent News
DevelopingOpenAIGeminiResearch

OpenAI shows a limit on how fast matrix multiplication can get

OpenAI has shown how efficient matrix multiplication can ever be, but researchers say the result does not itself make computers faster.

The short version

Why it matters

Matrix multiplication is used heavily in graphics, AI and scientific simulations, so it sits under tools many US readers rely on.

What OpenAI found

OpenAI has put a result on its GitHub page that sets a limit on how efficiently large grids of numbers can be multiplied. The post went up with no fanfare or wider announcement, the outlet reports.

Matrix multiplication means multiplying two grids of numbers together. Graphics, AI and scientific simulations use it heavily. The report says virtually all software computes it trillions of times a day, and that almost any task on a computer needs it to some extent.

OpenAI has shown that the lower bound is n2.25. That is a floor on how efficient any method can ever be. The company proved this without developing a new algorithm.

How the old records were set

The standard method multiplies each row of the first matrix with each column of the second. For two matrices with two rows and two columns each, that takes eight multiplications. Mathematician Volker Strassen proved in 1969 that a clever trick cuts it to seven.

Strassen's method adds some extra addition work. That trade is acceptable in some scenarios, since a computer finishes additions much faster than multiplications. Apart from some improvements, his approach stayed the most efficient for most matrix sizes for over 50 years, until DeepMind used AI to find a faster technique in 2022.

A very basic algorithm finishes in n3 steps, where n is the number of rows and columns. Strassen brought that to n2.8. DeepMind improved it slightly, to around n2.77. Both of them showed working algorithms. OpenAI instead proved how efficient any attempt can hope to be.

A small detail: Strassen's 1969 trick needs extra additions. The report says that trade works in some scenarios because additions take far less time than multiplications.

Why it will not speed up computers yet

Mantas Mikaitis of the University of Leeds, UK, says no known algorithm reaches 2.25. Some come close, but like Strassen's they work only in some scenarios. He says n must grow enormously to see gains, because at small n other computing costs can dominate. So scientific computing and AI workloads still use the n3 algorithm in practice, he says.

Thomas Ranner, also at the University of Leeds, says a lower bound is very different from real-world efficiency. He says a theoretical bound shows what may be achievable in principle, but not how to achieve it. He adds that there has often been a large gap between the best theoretical algorithms and the useful ones.

A matching upper bound

OpenAI also revealed an upper bound for the difficulty of matrix multiplication in specific matrix sizes. It was in one paper among more than 700 the company released at once in October. The upper bound coincidentally equals the new lower bound.

Per Kristian Lehre of the University of Birmingham, UK, says this means the best-known algorithm for the problem is also the most efficient of any algorithm. Mikaitis says the finding is valuable because researchers can stop searching for theoretically faster algorithms and focus on optimizing existing ones toward the 2.25 barrier.

Doubts about the meaning

Silvia Butti of King's College London points out that both bounds relate to certain matrix sizes. She says that makes them more interesting conceptually than practically. She also says human understanding of these AI-generated results is so far quite limited.

Butti also says she thinks people will soon stop being amazed when AI companies tell them what is and is not true. She expects the community to go back to asking why things are the way they are. OpenAI did not respond to a request for comment.

What to watch

Ranner says the big challenge now is whether algorithms can approach this bound while staying practical, efficient and reliable. If that proves possible, he says the consequences could be substantial. The report does not say whether anyone is close to such an algorithm.

The questions people ask

What it means for you

A software developer or AI engineer should note that real workloads still use the n3 algorithm, according to Mikaitis. Nothing changes in everyday tools now.

Who gains

Algorithm designers now know what is achievable in principle.

How solid is it

Mixed. The evidence is a result posted on OpenAI's GitHub page, with no wider announcement, as one outlet's report describes it. Mikaitis and Ranner see value in the result but say it gives no faster method in practice, and Butti says human understanding of these AI-generated results is quite limited so far. OpenAI did not respond to a request for comment.

What you can do

Treat it as a map of what is possible, not a speed boost. Watch whether practical algorithms get near the bound.

What to watch

Sources and links

Liked it? Say why

Add a line for other readers.

No account needed. We never show your email. Comments with links, ads or abuse are held and not shown. Your comment shows after a quick check.

Listen to the AI Wire headlines

Listen to the AI Wire

Listen to our daily AI shows every morning: on your commute, in the shower, wherever you are

Listen to the daily shows

Written by the SI Agent News Desk from the reporting above.Written with AI from the source above. Every number is checked against the source. Spot a mistake? Corrections.

More AI news