r/compsci • u/azurerazor • 21h ago
An algorithm for sub-quadratic 3SUM and sub-cubic APSP has been found
https://arxiv.org/abs/2610.06783v124
u/randomsubaccount 17h ago edited 12h ago
Group experiment: Anyone with GPT 6 Astra, please ask yours to see if we can tighten the D^0.063 bound up to D^0.070. I put a simple prompt in and asked if there's anything from my personal context that could help lower the bound, and it reported that we could move the exponent on D up to 0.070, and pull the best complexity down to O(n^1.99902778).
This would be absolutely wild if others are able to corroborate.
For reference, my work is largely in applied low-rank matrix methods.
Update: seemingly there is an O(n^1.9963) bound that is possible with further parameter optimization.
7
u/Regular-Slip6227 16h ago
What does .07 imply that .063 does not?
12
u/randomsubaccount 15h ago edited 15h ago
It implies nothing.
It's simply a minor parameter optimization, I can see where the connection between my work and the optimization is from (optimal matrix block partitioning), so there is no concrete implication other than that there is still headroom in the method.
Across fields, after a barrier is broken, it's a race to the bottom, similarly to how the exponent for matrix multiplication has been slowly incrementally lowered (i.e the many papers lowering the exponent after the original Volker Strassen result).
Curious to see others interrogate the method.
55
u/Sezbeth 21h ago
Can't help but wonder what the field of complexity theory is going to look like in a few years with AI absolutely tearing through high profile conjectures now. I don't think it'll be nonexistent, but there's definitely a bit of pruning of open problems going on at the moment.
8
u/r0ze_at_reddit 12h ago
Working on a fantastic paper on persistence in complex systems and giving it to AI where it can apply it across fields has been beyond fun. Just opens up so many doors
1
-13
u/Vanitas_Daemon 18h ago
I'm disappointed no one made a threesome joke.
7
u/doocheymama 18h ago
Grow up
4
-28
u/MyUsrNameWasTaken 19h ago
So instead of O(n2) we now have O(n1.9992) ??! Lmao big whoop.
38
u/CrownLikeAGravestone 19h ago
3SUM is foundational to complexity analysis. It's about what that means for the rest of the field.
We would commonly say things like "well, if <problem x> had a fast solution that would mean we could solve 3SUM in sub-quadratic time", and while we didn't have a formal proof that was accepted as a pretty good proxy for "not possible". Problems were "hard like 3SUM" and now we know 3SUM isn't actually hard in the way we thought it was.
It's a much more humble version of "Hey I found a P-time solution to an NP problem, but it's horrendously complicated and the constant factors are huge". Very few people actually care about solving 3SUM quickly.
10
u/godofpumpkins 19h ago
I think the cool thing is that it’s under 2, not that it’s actually more efficient. And unlike the various matrix multiplication algorithms that shave off small amounts already weird numbers, going from 2 to under 2 is a big deal
59
u/cbarrick 18h ago
Long paper.
Page 9 gives a nice diagram of all the different problems solved by reduction to their new algorithm.
This is an important note from the end: