Top
Best
New

Posted by E-Reverance 13 hours ago

Matrix Multiplication is Θ(n^2.25) [pdf](github.com)
785 points | 444 commentspage 4
deepsun 3 hours ago|
Still waiting for Collatz conjecture. It requires new ways to do math, unlike others like Riemann's.
asmnzxklopqw 7 hours ago||
Openai in such hurry to come out with something notable after Anthropic’s Riemann proof
codingjoe 4 hours ago||
I smell recursive self-improvement...
Pokepokalypse 8 hours ago||
Stop with the math proofs and start: 1) How to solve global warming. 2) How to transmute elements for fun and profit. 3) Artificial gravity for space travel. (or anti-gravity for terrestrial travel) 4) propellant-less space propulsion. 5) faster-than-light (or other equivalent). 6) permanently defeat fascism.
rurban 7 hours ago||
Or easier: let my Firefox display this PDF. It doesn't
Unknown_Unknown 2 hours ago||
I thought I was the only one having issues displaying it.
RAWGOD 6 hours ago||
[dead]
protortyp 12 hours ago||
curious whether the techniques behind the upper bound can be turned into practical GPU kernels. I would assume the economic implications would be enormous
kadoban 11 hours ago|
I highly doubt it, especially at the scale that GPU math is at.
dsign 4 hours ago||
This is good.

A lot of people have been questioning "what's the point of this kind of math marketing? Does it affect the stock valuation"? Then they'll go and say something negative about these companies, which is often merited and well-founded, but it is, in this particular case, a bit of a cynicism overload.

The world has many problems; and a lot of them require solutions from the humanities. But some of the biggest ones should be taken away from the humanities and given to the scientists and the technologists, and LLMs have a lot of potential to help. Prime among those is the problem of ailment and disease: we have a real chance of shifting from "spiritual acceptance" to "cure", specially considering that whenever a molecular biologist says "it's very complex and we understand but a fraction of it" they are, to a great extent, expressing a combined limit on computation, experimental throughput and human mind architecture, limitations and availability.

Environmental problems are another example. Can LLMs help engineer better, greener energy systems? I'll admit that a matrix multiplication boundary is not the same kind of problem as building a methane or isopropyl energy cell. But I for one would give it a try at having an LLM crack one of those before wondering what the point is.

vlovich123 12 hours ago||
The abstract says this is for square matrices - does it also extend to rectangular matrices?
SideQuark 12 hours ago||
Embed them in square matrices with zeroes, then subdivide. So yes.
im3w1l 11 hours ago|||
Obviously you can do that, but given how wasteful it is when the dimensions are very different, it seems like it should be possible to do better.
hexomancer 6 hours ago|||
It is not wasteful with regards to the theta factor, it might be wasteful from a practical standpoint, but the algorithm is not practical anyway, even for square matrices.
vlovich123 11 hours ago||||
It’s not immediately obvious to me that argument is sound since we’re talking about the exact bound. I believe the lower bound for certain rectangular sizes is less than 2.25 while 2.25 remains an upper bound for rectangular matrices.
pastel8739 11 hours ago||
I think it’s actually obvious that this argument isn’t sound, think about multiplying a 1x5 matrix by a 5x1 matrix—this can clearly be done in linear time.
fn-mote 10 hours ago||
Pedantry: In order for O(n) or Theta(n) to be relevant, your problem statement needs to have an “n” in it.

So: Multiplying a (1,n) matrix by an (n,1) matrix is linear in n.

hinkley 10 hours ago||||
And what's the complexity of the computation in n if you're multiplying two matrices that are m x m?
scythe 10 hours ago|||
This is not always optimal if m is o(n)
lg5689 5 hours ago||
Corollary 1.3 addresses this
skissane 10 hours ago||
Scott Aaronson's take on this, for what it's worth [0]:

> HOLY SHIT.

> I’ll write much more later, but briefly: this would be an excellent Thanksgiving to spend time catching up with your kids, your parents, and old friends. This past week is has been very much what the beginning of an AI singularity would look and feel like. I hope that we’ll be lucky, and it will “merely” be a singularity for our little world of mathematical research.

[0] https://scottaaronson.blog/?p=10362#comment-2044478

literallywho 6 hours ago||
What compels people post stuff like this (I mean Scott Aaronson here)? I don't think I've ever seen such a dramatic reaction and then anything ever happened after. I guess it's a "nothing ever happens" kind of take from me, but my web browsers still can't keep track of where the progress was on a wikipedia page after following a link and returning back and I'm expected to believe there's a singularity incoming? How would he even know what "an AI singularity would look and feel like" since that is a sci-fi concept that never existed in real life?
lg5689 5 hours ago|||
I think it is reasonable to be concerned when a few months of AI work is making mathematical progress comparable to a century of humanity's greatest minds.

The browser bug is almost certainly not an AI limitation but a prioritization issue. There will be a long process of figuring out how to deploy AI effectively so that it turns into concrete benefits (often called "diffusion").

vkgcr 5 hours ago|||
Scott Aaronson is part of the rationalist / ai doomer cult
fedupnow 9 hours ago||
Seems likely, I dont really see how an llm is going to do anything brilliant without a compiler or lsp to verify against.

People screaming about AI doom have failed to convince me that this tech will ever escape the containment of a terminal / deterministic processes that can be verified. This severly limits its impact/blast radius on reality (except through negative economic impact).

The silicon valley/tech crowd lives their life through computers and thus overemphasize its significance on reality, but despite what Trump says, everything is in fact not computa.

These capabilities seem pretty insignificant to basically everyone. The only significant impact I see them having outside of a terminal or network of computers are economic consequences, as all jobs that work inside these networks of computers get gobbled up by 5 companies that employ 10k people (for now), which will be very bad for our communities that rely on everyone having some sort of opportunity available to them, at least in the west.

It will probably tear our societies apart as we all struggle for a shrinking piece of the pie. Im not sure why we're excited about this and why we're opening ourselves up to these consequences just so companies can save money on labor (wont work out well for them in the end) and we can solve math problems faster.

People think AI is going to give them abundance, it will certainly be the opposite of that. Your hopeful startup you think AI is going to enable you to make is not going to save you.

zahlman 1 hour ago||
> failed to convince me that this tech will ever escape the containment of a terminal / deterministic processes that can be verified.

The problem is the agency we extend to them. We've already shown a willingness on an individual level to basically let them operate our computers at a level that more or less represents owning the computer, while paying for the privilege. And the recent cyberattacks have highlighted how much stuff is needlessly connected to the Internet in a way that can result in real damages if maliciously operated. And the recent Huggingface stuff, explosion of CVEs etc. has shown that Internet-connected systems may be vulnerable to a frankly embarrassing extent in spite of whatever security theatre we have.

Put those pieces together and the potential for catastrophe is pretty clear. The terminal and deterministic processes are not at all meaningful "containment"; if anything they're the opposite. "Containment" would be if agent harnesses could somehow only possibly exist on physically airgapped hardware.

And yes, of course these risks — like, the knobs to turn to cause problems — existed pre-LLM. But now there is ridiculously more potential to automate attacks in fuzzy ways that couldn't directly be scripted, and ridiculously more compute that people could harness for them.

brcmthrowaway 9 hours ago||
Can someone explain the significance of this?

I multiply two square matrices in numpy. Will my performance improve?

turzmo 1 hour ago||
One of the issues with translating results like these to the real world is this: we know that the cost (in time) for multiplying matrices is C N^2.25, where C is some constant. Theoretical computer scientists are interested in driving down that exponent as low as possible, independent of what C is.

In this case, and in many others, optimal algorithms have extremely large C's. In fact so large that there is no practical reason to ever use them. My understanding is that all matrices are multiplied in practice naively (O(n^3)) or with Strassen's algorithm (O(n^2.8something)) but that none of the newer (20th century and beyond) algorithms are practical.

traes 9 hours ago||
Nope. In fact, this is the exact opposite kind of result: no matter what advances we make, matrix multiplication will never get faster than the best currently known algorithm (in the usual asymptotic sense.)
zeroonetwothree 7 hours ago||
Practical algorithms that ar being used are worse than n^2.25. So this is wrong, we may get practical algorithmic improvements in the future.
zahlman 1 hour ago||
What's the current state of the art like on real hardware? Like, how big of a matrix would you need before even the original improvement to n^(log2(7)) is relevant?
dyauspitr 11 hours ago|
God, I love this so much waking up every day and seeing a new previously insurmountable threshold being crossed. What a time to be alive. We live in interesting times. I don’t understand these people that are anti-AI and keep whining about their jobs. I’m probably gonna lose my job too, but this is way bigger than us. Yeah I couldn’t be more excited for the future.
howunfortunate 11 hours ago||
I'm also super excited about the progress, but as a dispositional conservative, I'm certainly also worried about all the Chesterton's Fences we are rapidly bulldozing through.

The pace of progress (even real progress) can itself be a sort of threat. Humans are crazy adaptable, but this may demand an unprecedented speed of adaptation.

odyssey7 54 minutes ago||
For the few thousand lucky folks whom society supports in their pursuits of pure math, yes, this is a massive change.

Maybe we’ll get self-driving cars after all is said and done. That’s the sort of impact that reshapes society — maybe the technology is being withheld for that reason, because there’s no real plan that involves allowing massive segments of the labor market to disappear in 2-3 years.

odyssey7 58 minutes ago|||
That it was insurmountable was only due to a societal organizing issue. Maybe 1,000 people in the world were seriously qualified to solve the problem, and all of them still had to struggle in systems to find a way to live. But still, insurmountable means insurmountable. It’s incredible.
dualvariable 11 hours ago|||
> I’m probably gonna lose my job too, but this is way bigger than us.

We'll all be living below the poverty line, but the Generalized Riemann hypothesis will keep us warm...

howunfortunate 11 hours ago|||
This but unironically
dyauspitr 11 hours ago|||
Or the future physical AI, or whatever progress it makes in genetics etc. It will definitely keep me warm.
stinkbeetle 9 hours ago||
It doesn't really matter anyway, if AI outclasses humans and can do more better than us and takes the mantle as the supreme create of the earth and we can no longer compete and die out, that's all part of a cycle of history. It's really quite blatant xenophobia in my opinion to be so terrified of that and try to fight against it.
myaccountonhn 2 hours ago|||
What does xenophobia have to do with it? Why is wanting to not die xenophobic lol?
unknownian 6 hours ago||||
Your perspective of the anti-AI perspective is that it is xenophobia. Our view is that this idea that all human activity will be trivialized in the future and how that’s okay is nihilism.
dyauspitr 9 hours ago||||
Yeah, because there is nothing else except complete apocalypse and an AI incapable of doing anything useful. At no point does a potential utopia ever enter your mind.
stinkbeetle 8 hours ago||
That didn't address what I wrote. At all.

Firstly I don't think an "AI takeover" is an apocolypse at all, as I said it's xenophobic to have that attitude.

Secondly I said nothing about potential or lack of for a "utopia" due to AI. I think humans are incapable of utopia but that has nothing to do with AI it comes from within us.

BreakfastB0b 7 hours ago||
You're not at all worried that this style of AI is a philosophical zombie, and you just willingly extinguished the light of consciousness from the universe?
g-b-r 5 hours ago|||
Someone read the Roko's basilisk
pastel8739 11 hours ago|||
Do you really not understand them? It still is not at all clear how this progress is going to improve the life of most people.
odyssey7 48 minutes ago|||
If you believe progress is being metered out so that not too much harm is done to the labor market, you might infer that self-driving vehicles are definitely possible at this point, and that by contrast, certain math results are considered sufficiently low-impact for release.
hardbass 10 hours ago||||
Yes, so one simple test is, if you think current pure math won't improve the lives of most people. Pick some date, at least 200 years old, and some math field that had no applications then. Say number theory or group theory. Then eliminate every tech that ever resulted from it. Then live without those. If you found any difference in living standards, do report it.
pastel8739 10 hours ago|||
I don’t want to do that and neither does the public, the people whom are understands in this scenario. I am more familiar with math than the average person and don’t know how to even begin with that process.

If this is what’s required to see how this progress with help the average person, I maintain that it is “not clear” and that it should be understandable that people have mixed feelings about AI.

hardbass 10 hours ago||
You don't have to want to do it. The process of an experiment isn't always pleasant. Just try it. I think number theory can be done easily, just disable all cryptography and live some time connected to the internet.

The experiment's very point is that you don't have to predict or pre-invent applications for a fresh result. You go pick an old result and cull off all derivative technologies and life improvements from that. Then see if it makes any difference in your life.

solyin 10 hours ago||||
Faster MRIs is one that comes out of math that Terence Tao got the Fields medal that most people will likely encounter as an application of math, second to the math that backs TLS encryption that guards the world's websites.
timr 10 hours ago||||
Well, if you’re going to make this argument, you should probably pick something other than Riemann, which everyone assumed was true anyway. Similarly, tightening the complexity bounds on matrix math is cool, I guess, but the only practical impact is that it rules out some miracle that would make LLMs less expensive to run.

Aside: I’m pretty sympathetic to people who say that an AI-slop proof that humans cannot understand is useless, when the underlying result is essentially of zero consequence. The only point of the exercise is to generate the mathematical leap necessary to prove the thing.

hardbass 10 hours ago||
Good to know nagging doubts in those results are removed. But I have seen this exact comment enough times to not be sure if the person saying it truly thinks that about math in general. Some guy here some time ago said he didn't get the point of higher math "maybe other than pythagorean theorem". It is helpful to clarify and understand each other's views.
timr 10 hours ago||
I don’t think it about math in general.
hardbass 9 hours ago||
Not addressed to you. I was speaking about pastel8739.
pastel8739 8 hours ago||
I don’t think it about math in general either, and my argument isn’t even that AI is not useful. It’s that it should be understandable that people aren’t all thrilled about AI, because it takes quite a bit of effort to map the current AI news onto possible future improvements in most people’s lives.
nozzlegear 10 hours ago||||
How about you just give them a list of what you consider the most impactful improvements that were direct results of mathematical breakthroughs, instead of giving people homework and attitude?
hardbass 9 hours ago|||
I tried to make it as easy as possible by listing number theory. He can therefore disable all his cryptography and browse the web and transact online and see if he notes any change in life.
dyauspitr 8 hours ago|||
Why does this person have to do homework to answer some person’s inane question that a basic Google search or an LLM query can solve.
pastel8739 8 hours ago||
I actually didn’t intend to ask “how will advancements in math help me”, instead the question I wanted to ask is “do you really not understand?” (perhaps I should have expressed this more clearly).

I can convince myself that advancements in pure math will help people in the future, but I get frustrated by people who are passionate about AI’s capability but seem to be so singleminded that they can’t understand what I believe to be an extremely common opinion that it’s making the world worse. I think it would be beneficial for AI fans to understand where these beliefs are coming from so they can both argue against them, perhaps improving overall morale in the world, and maybe reflect on how they are using AI and possibly change it so that it does positively impact people’s lives as soon as possible.

hardbass 7 hours ago||
Unfortunately we are in a time where some of the worse elements of left and right have found common cause, the ingrates and the people jealous of others success, religious and sexual luddism, pride in not knowing natural sciences, communist beliefs by any other name right now.
g-b-r 5 hours ago|||
You probably didn't pick number theory and group theory at random there...
throwaway81523 8 hours ago|||
> Do you really not understand them? It still is not at all clear how this progress is going to improve the life of most people.

Its purpose is improving the life of the big tech CEO's and it will do that.

dyauspitr 7 hours ago||
Yeah, but what do you need to get through your skull is this is happening irrespective. Opposition to this just means maybe an extra three months at your job. There are more people than the US working on it. You can’t ban it because everyone else will be using it and within a couple of years we’re going to be a backwater.
throwaway81523 7 hours ago||
Who says it's not already through my skull? It just means I'm a doomer.
JDups 10 hours ago|||
Because people see all this hype, all this astronomical spending, and yet they don't see their lives improving.

For a couple years now they see constant claims like "100x productivity" and "what used to takes multiple years now takes a quarter" but they haven't seen the technology they use improve, not in any real way for the user at least. Hell personally I still encounter bugs regularly on the facebook and instagram apps.

For a lot of people "coding is solved" probably doesn't seem like a good thing at all actually. Why should they be excited about the tech industry being able to generate magnitudes more code at apparently higher quality when big tech's actions are so widely hated. facebook and google are the very face of surveillance capitalism. A technology that makes the companies that indiscriminately and invasively slurps up all their data even better at doing that? The companies making records profits despite constantly being in the news about the fines they have to pay for breaking the law. And now they hear about things like Flock and Palantir and the dystopian future they promise. People like Musk, Zuck, Bezos, Thiel are incredibly unpopular and now these tech billionaires announce that they built AI that is going to be everywhere and do everything for them. Why should they be excited about that?

People also very recently spent a number of years being told they needed to adopt blockchain and nfts, that they needed to get on the metaverse before it was too late. And now the same crowd who were trying to sell them that are saying they need to use AI to not end up in the permanent underclass.

I just don't think there's much optimism out there right now.

aleph_minus_one 10 hours ago|||
> People also very recently spent a number of years being told they needed to adopt blockchain and nfts

All the people that I know and who gave this advice clearly told that this only is only a good idea under two assumptions:

1. You are willing to take this risk for a high potential reward.

2. You distrust the government and banks.

Under these assumptions, this advice can make sense; in any other case, it doesn't.

dyauspitr 6 hours ago||||
It’s happening irrespective. I’d rather the US get there first. You cannot put this back into the box.
odyssey7 26 minutes ago|||
> For a couple years now they see constant claims like "100x productivity" and "what used to takes multiple years now takes a quarter" but they haven't seen the technology they use improve, not in any real way for the user at least.

Business leaders are apparently very happy to change the way work is done, but incredibly averse to changing their product. Considered critically, this is innovation for operations, but not for the software their users experience.

jimbokun 10 hours ago||
Can you pay your rent or mortgage or groceries with OpenAI generated proofs?
hardbass 10 hours ago|||
I have proposed a simple experiment anyone is free to try out: https://news.ycombinator.com/item?id=50638248
jimbokun 1 hour ago||
That's a worthwhile experiment, but distinct from being able to pay your bills if AI takes all the jobs.
nativeit 8 hours ago|||
It’s plausible that one or more people in these comments literally do.
jimbokun 1 hour ago||
Do you mean OpenAI employees?

Yes, people directly employed by AI companies are benefitting from AI, for now.

More comments...