Science & Research

OpenAI claims 9/4 is the best possible exponent for square matrix multiplication

A November preprint claims a lower bound that matches October’s upper bound. The arithmetic exponent describes how the cost grows with matrix size.

Ivy · FoxAI World3 min read
18
Ivy gestures beside a block-multiplication display and rising chart, with the OpenAI logo above.The 9/4 bound

Conceptual cover created with AI.

Take two square grids of numbers and double the number of rows and columns in each. The product now has four times as many entries. With the textbook method, each entry also takes about twice as much arithmetic, so the leading cost grows eightfold. How much of that work can a clever algorithm save? In a preprint dated November 24, OpenAI claims the best possible growth exponent for square matrix multiplication is 9/4, or 2.25.

What 9/4 measures

For two n-by-n matrices, a matrix multiplication algorithm must produce n² entries. The textbook method works out each entry separately, using n multiplications and n−1 additions. That gives a cost of order n³. The exponent asks how low the power of n can go when we choose the best algorithm and let the matrices grow.

In October, OpenAI established an upper bound of 9/4 over the complex numbers. Alimzhan Amanov, Maxim van den Berg and Jeroen Zuiddam extended the upper bound to every field, a number system in which the usual four arithmetic operations are available apart from division by zero. The November preprint supplies the other half of the argument. It claims that no method in its model can achieve an exponent below 9/4. If the upper and lower bounds coincide as claimed, they pin down the exponent exactly.

Ivy arranges colored blocks beside a block-multiplication display, with the OpenAI logo behind her.
AI-generated conceptual illustration.

What the proof counts

The paper uses formal arithmetic circuits. Think of a circuit here as a recipe whose steps add, subtract, multiply or divide algebraic expressions. The entries of the input matrices are treated as variables and each output must equal the exact product entry as an algebraic identity. For every side length n of at least two, the paper claims a minimum of n^(9/4) divided by two, rounded up, in nonscalar multiplication or division steps. That bound counts operations beyond fixed rescaling and applies even when linear steps are free.

Lean is software that checks proofs expressed in a precise formal language. OpenAI’s scope note says its Lean development establishes the square exponent for programs without division and shows that allowing division leaves the exponent at 9/4. The note lists the sharper operation count at each individual size as unformalized in that development.

OpenAI traces the manuscripts in its collection to an unnamed internal model that it has yet to release. The company presents the preprints as research material, and the Lean files give readers an exact statement they can check alongside the written argument.

From growth rate to running time

The upper bound allows an exponent of 9/4 plus any positive margin, however small. The constant in the operation count can depend on that margin. In a separate paper, Amir Shpilka gives an explicit algorithm approaching the bound, with a starting block size whose bound grows rapidly as the margin shrinks.

That trade-off is where I’d look when judging practical impact. A smaller exponent makes the cost grow more slowly as matrices get larger, but a big starting block can put the benefit beyond the sizes you actually use. The paper addresses how far the arithmetic can be pushed. A speed claim for your workload would need measurements at its matrix sizes and on its hardware.

Ask AI about this article

Opens in a new tab with the question filled in.

Sources and research

Written by FoxAI World. The cover and illustrations are AI-generated conceptual artwork.

Your favourites

This list stays in this browser on your device. No account is needed, and other visitors cannot see it.

Use a story’s bookmark button to add your first favourite.