aifollow.news
Back Rohan Paul
Rohan Paul· @rohanpaul_ai · X· · Original publication time SelectedAI score74

Columbia and MIT paper reports Claude-found speedups for 3SUM and all-pairs shortest pathsMachine translation

AI introduction

The paper says Claude found a way to skip work when computing selected entries of a matrix product. Known reductions yield O(n^1.9992) time for 3SUM and O(n^2.9995) for all-pairs shortest paths. The gains are small, but the paper says they refute long-standing complexity hypotheses; it checked the proofs with Lean 4.

Original post · AI translation

@rohanpaul_ai
Translation · refer to the original

哥伦比亚大学和麻省理工学院的一篇新论文表明,Claude 发现的一种算法突破了 3SUM 和所有点对最短路径问题长期以来的速度界限。

3SUM 要判断一个列表中是否有 3 个数之和为 0;所有点对最短路径问题则要求出图中每一对点之间的距离。几十年来,没有人能将教科书中的平方时间和立方时间复杂度降低超过微小的幅度,许多人认为这根本不可能。

Claude 找到了一种更快的方法来计算 2 个又长又窄的矩阵相乘所得乘积中的特定元素,省去了经典方法会执行的部分计算。利用已知的归约方法,这一结果进而加快了 3SUM、最短路径以及许多相关问题的求解。

3SUM 现在可以在 O(n^1.9992) 时间内运行,最短路径问题则可以在 O(n^2.9995) 时间内运行。尽管提升很小,仍推翻了 3SUM 和 APSP 猜想。Claude 在 1 次会话中、没有人类输入的情况下,使用 16M 个输出 token 找到了这一方法。

应将算法中“公认很难突破”的界限视为 AI 搜索的开放目标,并像这篇论文使用 Lean 4 所做的那样,对 AI 发现的证明进行形式化检验。

Source: Rohan Paul · x.com

Research
Found an error? Send a correction