Explainer
What is a galactic algorithm? Fast on paper, never run
A galactic algorithm is one that is faster than the methods everyone uses as the input grows without limit, but only overtakes them on inputs so large that no computer will ever see one. Matrix multiplication is the classic example: the methods behind the record bounds since 1990 are never used, while practical libraries use the schoolbook method and, at most, Strassen's trick of 1969. Several of 2026's AI-assisted claims, including OpenAI's claimed 9/4 upper bound for matrix multiplication, are asymptotic results of this kind.
Computer scientists compare algorithms by how their running time grows as the input grows: a method that takes about n^2 steps on an input of size n beats one that takes about n^3 steps once n is large enough. That comparison ignores constant factors and the point where one method overtakes the other. Usually this is a good simplification. Sometimes the crossover point is so large that the faster method is never the faster one in practice. The term galactic algorithm comes from the computer scientist Ken Regan; Richard Lipton described it in a blog post of October 23, 2010 as an algorithm that is wonderful in its asymptotic behavior but is never used to compute anything.
A made-up example
Suppose method A takes n^3 steps and method B takes 10^30 × n^2 steps. B grows more slowly, so in the usual language B is the faster algorithm. But B only wins once n is larger than 10^30, and a matrix with 10^30 rows has more entries than there are atoms in the Earth. For every input anyone will ever have, A is faster. B is galactic. Real galactic algorithms are like B, though their hidden costs are usually harder to see than a single constant.
Matrix multiplication, the classic example
Multiplying two n by n matrices the schoolbook way takes about n^3 multiplications. In 1969 Volker Strassen found a way to do it with about n^2.807, by multiplying 2 by 2 blocks with 7 multiplications instead of 8 and repeating the trick on smaller and smaller blocks (the explainer on the matrix multiplication exponent has the details). Since then the best known exponent has dropped to about 2.37 by 2020, with small further improvements since, and in October 2026 OpenAI claimed 9/4 = 2.25.
Only the first step of that history reaches real software. Strassen's method is practical: Nicholas Higham's 1990 analysis, written for use inside standard linear algebra routines, put the point where it becomes useful at dimensions of about 100. The later records are not used in practice, and the methods from Coppersmith and Winograd's of 1990 on are galactic. They work by taking very high powers of carefully built algebraic objects, and the savings only appear for matrices far larger than any computer could store. Lipton's 2010 post discusses Coppersmith and Winograd's work as an example. OpenAI's October manuscript says its theorem concerns the asymptotic exponent and does not give a matrix size at which its method becomes competitive.
Speed is not the only cost. Computers do arithmetic with rounding, and fast methods are more sensitive to it. Strassen's method has larger constants in its rounding-error bounds than the schoolbook method, bounds stated for the matrix as a whole, as James Demmel and Higham discussed in 1992. That is one reason mainstream numerical libraries mostly use the schoolbook method, carefully arranged for memory and for many processors, which in practice matters more than the exponent.
Why galactic results still matter
A galactic algorithm still answers a real question: how fast can this problem be solved in principle? A claimed result like ω ≤ 2.25 says that the cost of matrix multiplication grows more slowly than the exponents near 2.37 known before, and a lower bound says what no method can beat; OpenAI claims a matching one of 9/4. Ideas from galactic algorithms sometimes lead to practical ones later, and they can show that a widely believed limit is wrong. They should not be read as news about software. When a headline says an AI model has found a faster algorithm, the first question to ask is whether it is faster for inputs anyone will ever have.
Other 2026 claims of this kind
Several of this year's AI-assisted claims are asymptotic in the same way. The claimed refutations of the Exponential Time Hypothesis by Anthropic and OpenAI give an algorithm for 3-SAT whose running time grows more slowly than any exponential, and Anthropic says the result is purely asymptotic and says nothing about solving formulas in practice (What is the Exponential Time Hypothesis? has the details and the status). OpenAI's matrix multiplication claims, an upper bound in October and a matching lower bound on November 24, concern the exponent only; their status is on the status page. Every claim of this kind, with its status, is in the status tracker.
I use Claude, Anthropic's AI model, for my own research. I do not work for Anthropic.
Short answers
What is a galactic algorithm?
An algorithm that is asymptotically faster than the methods in use, meaning it wins as the input grows without limit, but only overtakes them on inputs far too large ever to occur. The term is credited to Ken Regan, and Richard Lipton wrote it up in a 2010 blog post.
Is Strassen's algorithm galactic?
No. Strassen's method of 1969 is practical for large matrices, and Nicholas Higham's 1990 analysis put the point where it becomes useful at dimensions of about 100. The later methods with lower exponents, from Coppersmith and Winograd on, are galactic.
Will the 9/4 matrix multiplication result speed up AI?
No. It concerns the exponent as matrices grow without limit. Practical libraries mostly use the schoolbook method, and OpenAI's October manuscript gives no size at which its method becomes competitive.
Why do people study galactic algorithms?
They answer how fast a problem can be solved in principle, they can show that a widely believed limit is wrong, and their ideas sometimes lead to practical methods later.
Did this make sense?
Was this helpful?
Get updates by email
Occasional email, only on the topics you pick. Confirm by email; unsubscribe anytime.