Simple, Faster (min, +) Matrix Multiplication and APSP
Abstract: In this note, we provide a deterministic algorithm that computes the -Matrix Product of two matrices and with polynomially bounded integer entries in time, improving upon the exponent of time obtained in the recent breakthrough by Anthropic (Alman and Vassilevska Williams, 2026). Our algorithm uses a phased approach first proposed by Bringmann, Grandoni, Saha, and Vassilevska Williams in 2016. The phased approach produces an approximation of in truly subcubic time such that the number of remaining triples $(i,k,j): A_{i,k}+B_{k,j} < \tilde{C}(i,j)$ is truly subcubic. This provided strong evidence that a truly subcubic -Matrix Product and therefore, a truly subcubic algorithm for All Pairs Shortest Paths (APSP) may exist. However, to find the remaining triples in subcubic time, a sparse certificate is needed whose construction was not known. We use the thin matrix product theorem of the recent breakthrough to provide such a certificate. This gives a simple modular subcubic algorithm for APSP.
Paper Prompts
Sign up for free to create and run prompts on this paper.
Top Community Prompts
Explain it Like I'm 14
论文的主要主题
这篇论文研究了一类很重要的矩阵运算,叫做 矩阵乘法,以及一个和它密切相关的问题:全点对最短路径(All-Pairs Shortest Paths,简称 APSP)。
全点对最短路径问题是指:给定一个有很多顶点的网络,找出每一对顶点之间的最短距离。例如,在地图中,它可以表示“任意两个城市之间的最短路线”。
传统方法大约需要 的时间。论文提出了一种更快的方法,运行时间约为:
这里的 是矩阵的大小,也可以理解为图中顶点的数量。这个数字比 $3$ 略小,因此它被称为真正的次立方时间。
研究目标和问题
论文主要想解决以下问题:
- 能不能比传统的 时间更快地计算 矩阵乘法?
- 能不能把这种更快的矩阵运算用于更快地解决全点对最短路径问题?
- 能不能设计一种既有效又容易理解的算法?
- 能不能让算法不依赖随机选择,也就是设计出完全确定性的版本?
论文最后给出了两个主要结果:
- 一个随机算法,平均运行时间约为 ;
- 一个确定性算法,也能达到约为 的运行时间。
“随机算法”会使用随机选择,但能够保证期望的运行速度;“确定性算法”则每次运行都按照固定规则进行,不需要依赖随机性。
什么是 矩阵乘法?
普通矩阵乘法使用“乘法加法”:
而 矩阵乘法使用“加法取最小值”:
可以把它想象成寻找路线:
- 表示从地点 到中间地点 的距离;
- 表示从地点 到地点 的距离;
- 两段路线的总长度是 ;
- 我们尝试所有中间地点 ,然后选择最短的那一条。
所以,这种矩阵乘法天然适合处理最短路径问题。
研究方法:算法是怎样工作的?
论文的方法可以分成几个主要步骤。
1. 先得到一个大概答案
算法不会一开始就精确计算每个答案,而是先通过“缩小和四舍五入”等方法,得到一个比较接近的估计值。
这就像先在地图上估计两座城市之间的距离,而不是马上检查每一条可能的道路。
有了这个估计后,算法就能排除大量明显不可能成为最短路线的选项。
2. 把可能的中间点分成小组
对于每一对位置 ,算法需要寻找一个中间点 ,使得:
其中 是我们想验证的答案。
算法把所有可能的中间点 分成许多小组,也叫作“块”。如果某个小组中存在合适的 ,这个小组就叫作一个候选块。
这样,算法不必立刻检查所有中间点,而是先判断哪些小组值得进一步检查。
3. 使用模运算筛掉错误候选
论文使用了模运算,也就是计算一个数除以某个数后的余数。
例如:
- $17$ 除以 $5$ 的余数是 $2$;
- $32$ 除以 $5$ 的余数也是 $2$。
如果一个小组中真的存在正确的中间点,那么它一定会通过模运算检查。
如果这个小组中没有正确的中间点,那么它通常会被模运算排除。论文通过随机选择一些大质数作为除数,让错误候选很难一直蒙混过关。
这有点像给每个候选答案做多次“指纹检查”:
- 正确答案每次都能通过;
- 错误答案可能偶尔通过一次,但很难连续通过很多次。
4. 使用“稀疏证明”减少检查数量
论文的一个关键想法是构造一个稀疏证明。
“稀疏”在这里表示:虽然原本可能有非常多的候选组合,但经过筛选后,只剩下少量候选需要真正检查。
例如,原来可能要检查一百万种可能性,算法先用快速测试排除绝大多数,只保留几千种真正值得检查的情况。
论文使用了一种称为 thin matrix product 的技术来完成这一点。它的作用是:
- 不必计算整个矩阵乘积;
- 只计算少数真正需要的位置;
- 因此节省大量时间。
可以把它想象成:老师不批改整本练习册,而是只检查最容易出错、最关键的题目。
5. 找到真正的答案
筛选出候选块以后,算法才会检查其中的每一个中间点。
如果找到某个 满足:
就说明找到了真正的证据,也叫作一个 witness(见证者)。
如果所有候选都检查完仍然没有找到这样的 ,就说明当前的 不是正确答案。
随机算法和确定性算法的区别
随机算法
随机算法会随机选择一些质数。
对于错误的候选块,每次检查都有一定概率将其排除。进行多次独立检查后,错误候选继续留下来的概率会变得非常小。
这种方法速度快,而且实现相对简单,但它的运行时间是“期望”意义上的。
确定性算法
确定性算法不随机选择质数,而是通过计算找出“好质数”。
论文设计了一个评分方法,用来估计每个质数能排除多少错误候选,然后选择评分最好的质数。
它还使用了分层搜索:
- 先检查较大的块;
- 如果某个大块可能有答案,就把它分成更小的块;
- 继续深入检查;
- 最后检查具体的中间点。
这种方法类似于在图书馆找一本书:
- 先找到正确的书架;
- 再找到正确的书柜;
- 最后找到具体的那本书。
主要结果
论文得到的最重要结果如下:
| 结果 | 含义 |
|---|---|
| 更快的 矩阵乘法 | 运行时间约为 |
| 随机版本 | 使用随机质数,期望达到上述速度 |
| 确定性版本 | 不使用随机性,也达到类似速度 |
| 更快的 APSP | 由于 APSP 和 矩阵乘法关系密切,因此可以改进全点对最短路径算法 |
| 可应用于其他问题 | 还可能帮助解决替代路径、第二短路径、加权树编辑距离等问题 |
虽然 $2.9963432$ 和 $3$ 看起来只差一点点,但在理论计算机科学中,这种改进很重要。因为它第一次真正突破了传统的立方时间界限。
当 非常大时,即使指数只减少一点,节省的计算量也可能很可观。
为什么这些结果重要?
全点对最短路径是计算机科学中的基础问题。它可以用于:
- 地图导航和路线规划;
- 网络中的数据传输;
- 交通系统分析;
- 社交网络中的关系距离计算;
- 研究其他算法问题的难度。
过去,很多研究者猜测,对于一般图来说,全点对最短路径可能很难明显快于 时间。论文使用的新技术说明:这个猜测至少在某种程度上是不正确的。
这项工作的重要性还不只在于速度提高。论文还把复杂的技术分成了比较清楚的模块:
- 先近似;
- 再筛选候选;
- 使用模运算减少错误;
- 最后精确验证。
这种模块化设计可能帮助其他研究者进一步改进算法。
研究的影响和未来方向
这篇论文表明,许多看似必须花费 时间的问题,其实可以通过更聪明的筛选和矩阵技术来加速。
它的潜在影响包括:
- 让大型图上的最短路径计算更加高效;
- 改进一批与 矩阵乘法有关的算法;
- 为未来突破 提供基础;
- 推动对快速矩阵乘法和稀疏证明技术的研究。
不过,这个改进目前主要针对整数矩阵,而且整数大小需要受到限制。论文也指出,未来可以继续研究:
- 能否进一步降低运行时间的指数;
- 能否更快地完成 thin matrix product;
- 能否把方法推广到实数矩阵;
- 能否让算法在实际程序中同样有效。
简单来说,这篇论文的核心思想是:
不要检查所有可能的答案,而是先用快速的数学测试排除绝大多数错误答案,再仔细检查少数剩下的候选答案。
正是这种“先筛选、后验证”的策略,让作者能够比传统的 方法更快地解决最短路径相关问题。
Knowledge Gaps
Knowledge gaps, limitations, and open questions
- The deterministic algorithm is not fully established in the provided text. The proof of the deterministic running-time bound ends abruptly during the analysis of the depth-first search, so the claimed deterministic algorithm requires a complete query-count and parameter-optimization proof.
- Several central statements contain malformed or incomplete notation. Examples include missing set and matrix dimensions, undefined or corrupted inequalities, incomplete equations, and inconsistent expressions for matrix-product costs. It remains necessary to reconstruct and formally verify the intended statements before the results can be independently checked.
- The parameter optimization leading to the exponent $2.9963432$ is not fully justified. The paper instantiates , , and , but does not provide the complete derivation from the thin matrix product theorem or verify all constraints simultaneously, including at every deterministic-search level.
- The dependence of on and is left implicit. Since the thin matrix product theorem only asserts the existence of a suitable , the numerical exponent cannot be independently reproduced without the explicit parameter mapping from the cited result.
- The treatment of logarithmic factors and the input magnitude is incomplete. The stated theorems claim running times of , while intermediate bounds include factors depending on and powers of . The precise model under which these factors are absorbed into the claimed complexity should be stated.
- The algorithm is restricted to polynomially bounded integer entries. Its behavior for arbitrary integer magnitudes, exponentially large values, or values represented by succinct encodings is not analyzed.
- Extension to real-valued matrices remains unresolved. The paper explicitly leaves open whether the exponent improvement can be transferred to real-valued matrix multiplication and real-weight APSP using known reductions.
- The applicability of the modular-prime method to real-valued inputs is unclear. The candidate-witness test relies on nonzero integer differences having few prime divisors; no replacement for this argument is provided for real numbers.
- The robustness of the approach under negative edge weights is not fully discussed. The paper states that entries can be shifted to positive integers, but does not detail how this transformation interacts with APSP instances containing negative cycles or with the detection of undefined shortest-path distances.
- Negative-cycle handling is omitted from the APSP implications. It is not specified whether the claimed APSP reductions assume graphs without negative cycles, and no method is given for reporting or detecting negative cycles.
- The claimed equivalence between matrix multiplication and all-pairs shortest paths is used without detailing the precise reduction. The effects on running time, bit complexity, negative weights, and output representation are not quantified.
- The randomized algorithm’s Las Vegas guarantee is not fully formalized. The paper gives an expected running-time analysis based on false candidates but does not explicitly specify the verification, restart, or certification mechanism needed to ensure zero error under all random choices.
- The probability analysis for candidate blocks is only sketched. The union bound is applied using bounds on the number of prime divisors, but the required lower bounds on and the range of valid , , and block sizes should be stated precisely, including small-instance cases.
- The use of independently sampled primes is not reconciled with the notation involving . The false-candidate probability calculation appears to contain inconsistent expressions, making it unclear whether the intended bound is or another quantity.
- The construction cost for all residue-class matrices is not fully validated. The bounds involving , the number of residue values, and the number of blocks need a detailed accounting to confirm that no additional factor in or has been omitted.
- The thin matrix product theorem is treated as a black box without clarifying its computational model. The paper does not explain whether the theorem supports the Boolean or ring-valued matrix products used in the construction, how arithmetic costs are counted, or how integer entries are encoded.
- The deterministic prime-selection procedure requires stronger implementation details. Although the potential-function argument proposes selecting primes by minimizing an estimator , the cost of constructing and evaluating all such estimators, especially over polynomial rings, is not independently verified in the provided text.
- The polynomial-ring multiplication analysis may be insufficiently justified. The claim that multivariate polynomial multiplication costs for monomials is model-dependent and may require additional logarithmic or coefficient-size factors.
- The deterministic data-structure construction may have substantial hidden preprocessing costs. The number of block, prime, and residue-specific matrix pairs is large, and the paper does not fully demonstrate that their total construction and storage fit within the claimed time and space bounds.
- The choice of search depth and level-dependent parameters is not fully optimized. The deterministic algorithm introduces , , and , but the provided text does not show how these parameters are selected to balance preprocessing, query, and leaf-enumeration costs.
- The relationship between the randomized and deterministic certificates is not completely characterized. It remains unclear whether the deterministic hierarchy achieves the same sparsity bounds as the randomized method at every level or whether additional losses are hidden in the potential-function construction.
- No empirical evaluation is provided. The practical behavior of the algorithm, including crossover points against Floyd–Warshall, Williams-style algorithms, or prior APSP implementations, is unknown.
- The algorithm’s constants and memory requirements are not reported. Even a small asymptotic improvement may be impractical if the thin-product subroutine, prime enumeration, residue matrices, or polynomial representations have very large constants.
- The method’s potential for further exponent improvements is not quantified. The paper suggests improving the thin matrix product theorem but does not derive how improvements in , , or the query trade-off would translate into an APSP exponent.
- It is unclear whether the framework can exploit additional matrix structure. The paper removes structural assumptions such as monotonicity and bounded differences, but does not determine whether combining those structures with thin matrix multiplication yields stronger bounds.
- The reductions to related problems are asserted rather than analyzed individually. The effects of the new matrix-multiplication bound on Replacement Paths, Second Shortest Simple Path, Weighted Tree Edit Distance, Metricity, and 2D Maximum Subarray are not stated with precise input-size and bit-complexity guarantees.
- No lower-bound or conditional-hardness implications are developed. The paper does not examine whether the new algorithm changes known fine-grained hardness conjectures for the related problems or whether further improvements are constrained by existing barriers.
- The role of external AI-generated ideas is not independently reproducible from the manuscript. Because the deterministic approach is attributed partly to ChatGPT and its proof is incomplete in the supplied text, a fully formal, independently checkable derivation of the claimed result remains an open verification task.
Practical Applications
Immediate Applications
- Exact shortest-path computation for large weighted graphs — software and network analysis
- The paper gives deterministic and Las Vegas algorithms for the matrix product, a primitive reducible to All-Pairs Shortest Paths (APSP).
- A research implementation could be integrated into graph-analysis libraries to compute exact distances in dense weighted graphs, including transportation, communication, dependency, and social-network models.
- The same framework can support related graph tasks identified in the paper: Negative Triangle, Replacement Paths, Second Shortest Simple Path, Metricity testing, and verification.
- Feasibility assumptions: The strongest stated guarantees apply to polynomially bounded integer weights. The asymptotic improvement is extremely small—approximately instead of —so the method is primarily relevant to very large, dense instances or as a research prototype. Hidden constants, memory usage, and the specialized thin-matrix-product subroutine may dominate for ordinary graph sizes.
- Benchmarking and evaluation of fine-grained algorithms
- The modular decomposition into additive approximation, modular filtering, sparse-certificate construction, and witness verification provides a concrete benchmark pipeline for future APSP and min-plus algorithms.
- Researchers can implement each component independently and compare:
- randomized prime sampling versus deterministic prime selection;
- different block sizes ;
- alternative thin matrix-product routines;
- different integer-weight ranges and graph densities.
- Feasibility assumptions: The claimed running-time advantage depends on the availability of the cited thin matrix-product theorem and its parameter choices. Practical performance must be measured rather than inferred from the exponent alone.
- Teaching and research training in advanced algorithm design
- The paper offers a reusable example of combining:
- reductions between optimization and verification;
- additive approximation;
- hashing or modular fingerprinting;
- sparse certificates;
- fast algebraic matrix multiplication;
- Las Vegas randomization and derandomization.
- These ideas can be used in graduate courses, reading groups, and doctoral training on fine-grained complexity, graph algorithms, and algebraic algorithms.
- Feasibility assumptions: The manuscript contains notation and typesetting inconsistencies in the supplied text, so educational use would require careful verification and editorial cleanup.
- Exact optimization over min-plus semirings
- The algorithm can serve as a general-purpose research primitive for problems expressible as
- Potential users include researchers working on dynamic programming, weighted automata, parsing, sequence alignment, scheduling, and shortest-path formulations. - A software tool could expose min-plus multiplication as an API, with separate implementations for integer inputs, randomized execution, and deterministic execution. - Feasibility assumptions: The paper directly supports polynomially bounded integer entries. Applications involving arbitrary real values require additional reductions or new analysis, which the authors explicitly leave as future work.
Weighted tree edit distance and related dynamic programs
- The paper states that known reductions transfer the min-plus improvement to Weighted Tree Edit Distance and 2D Maximum Subarray.
- In academia and specialized software, the method could be used to accelerate exact experiments involving structured sequence, tree, or image-like data.
- Feasibility assumptions: These are reduction-based applications rather than direct empirical demonstrations in the paper. The end-to-end benefit depends on reduction overhead, input structure, weight ranges, and whether the resulting instances are large and dense enough.
- Algorithm verification and reproducibility workflows
- The Las Vegas algorithm can be incorporated into a verification workflow in which randomized filtering is followed by exact witness checking. Because incorrect candidates are explicitly tested, the result can be made reliable despite the randomized prime-selection phase.
- A practical workflow could include:
- 1. generate an approximate or candidate solution;
- 2. use modular tests to discard most impossible witnesses;
- 3. verify surviving witnesses exactly;
- 4. repeat or log prime choices for reproducibility.
- Feasibility assumptions: The expected-time guarantee depends on the probability analysis for sampled primes. Implementations should use cryptographically or statistically adequate prime generation and report failures or retries.
Long-Term Applications
- Large-scale routing and transportation planning
- A more practical APSP implementation could support exact travel-time computation across dense road, transit, logistics, or airline networks.
- Possible products include route-planning back ends, multimodal transport optimizers, and network-resilience dashboards that repeatedly compute alternate or replacement paths.
- Dependencies: Real transportation graphs often have millions of vertices, dynamic or real-valued weights, sparsity, and time dependence. The paper’s dense-matrix formulation and integer-weight assumption would need to be adapted, and the improvement would need to overcome substantial preprocessing and memory costs.
- Communication, datacenter, and distributed-network optimization
- Exact all-pairs distances and replacement paths could help analyze latency, bottlenecks, fault tolerance, and routing policies in datacenter or communication networks.
- A future system could combine min-plus multiplication with graph monitoring to identify links whose failure causes the largest increase in network distance.
- Dependencies: The approach assumes static edge weights and centrally available matrices. Distributed execution, changing network conditions, and sparse graph representations require additional engineering and algorithmic work.
- Robotics and motion planning
- Min-plus products arise in shortest-path planning, waypoint optimization, and dynamic programming over discretized state spaces.
- A future robotics planner could use faster min-plus multiplication to evaluate transitions between large collections of configurations, particularly for multi-stage navigation or manipulation tasks.
- Dependencies: Robotic costs are often real-valued, continuous, uncertain, and dynamically updated. The paper does not establish applicability to these settings; discretization, numerical robustness, and real-valued extensions would be necessary.
- Dynamic programming for speech, language, and computational biology
- Many parsing, alignment, segmentation, and sequence-comparison algorithms use min-plus-style recurrences. Faster min-plus multiplication could potentially accelerate batched versions of these computations.
- Possible tools include weighted parsing engines, large-scale sequence alignment systems, and exact cost-minimization libraries.
- Dependencies: The benefit depends on whether the target recurrence can be reduced without excessive overhead and whether its matrices are sufficiently dense. Real-valued scores, affine penalties, numerical precision, and memory bandwidth are unresolved issues.
- Energy-system and supply-chain optimization
- APSP and replacement-path computations can support contingency analysis in power grids, transportation systems, and supply-chain networks.
- Future decision-support software could use exact shortest-path and alternative-path calculations to evaluate failures, rerouting costs, or network upgrades.
- Dependencies: Operational systems require rapid updates, constraints beyond additive path costs, and often optimization under uncertainty. The paper provides a primitive, not a complete solver for these applications.
- Financial-network analysis
- The methods could eventually support exact analysis of weighted dependency, transaction, or exposure networks, including shortest exposure chains and sensitivity to removed edges.
- Related min-plus formulations may be useful for risk propagation and constrained path calculations.
- Dependencies: Financial applications require auditability, low latency, real-valued data, regulatory validation, and resistance to adversarial inputs. The theoretical integer-weight model and asymptotic expected-time guarantees are insufficient on their own for deployment.
- Improved exact algorithms for min-plus-complete problems
- The paper’s most important long-term implication is methodological: improving the thin matrix-product theorem could improve a broad family of problems through known reductions.
- Potential targets include:
- APSP;
- Negative Triangle;
- Replacement Paths;
- Second Shortest Simple Path;
- Metricity;
- min-plus verification;
- Weighted Tree Edit Distance;
- 2D Maximum Subarray.
- Dependencies: Each transfer requires preserving the relevant weight model, sparsity, and dimensional parameters. Some reductions may incur logarithmic or polynomial overhead that eliminates the practical gain.
- Extension to real-valued and high-precision inputs
- A mature version of the framework could handle real-valued weights through scaling, discretization, symbolic perturbation, or reductions such as those referenced by the authors.
- This would expand applicability to scientific computing, robotics, finance, scheduling, and physical-network optimization.
- Dependencies: Exactness, approximation error, bit complexity, and numerical stability must be proved. The paper explicitly identifies real-valued matrices as an open direction.
- Hardware-accelerated min-plus computation
- The modular structure could motivate GPU, FPGA, or specialized-processor implementations:
- residue encoding could be vectorized;
- Boolean matrix products could use bit packing;
- block witness checks could be parallelized;
- sparse candidate certificates could reduce memory traffic.
- Such systems might make the theoretical algorithm competitive for large dense instances.
- Dependencies: The thin matrix-product component must have a practical implementation, and the many intermediate matrices may impose prohibitive memory and data-movement costs. Hardware acceleration would require a careful reformulation rather than a direct transcription of the proof.
- New sparse-certificate methods beyond min-plus multiplication
- The paper demonstrates a general pattern: use modular tests to eliminate most false candidates, then apply a specialized algebraic routine only to a sparse set of outputs.
- This could inspire algorithms for other witness-finding, constraint-checking, and combinatorial optimization problems where exact candidates are rare but naive enumeration is cubic.
- Dependencies: Generalization requires problem-specific hashing guarantees, a suitable thin or partial matrix-product primitive, and rigorous control of false positives. The current results do not establish such extensions automatically.
Glossary
- Additive approximation: An approximation that differs from the target value by a bounded additive amount. “This additive approximation is used to perturb the entries of and so that many entries of and become small.”
- All-Pairs Shortest Paths (APSP): The problem of finding shortest-path distances between every ordered pair of vertices in a graph. “All-Pairs Shortest Paths (APSP), which asks given an -vertex graph to compute the distance between all pairs of vertices”
- Bounded Difference matrix: A matrix whose entries satisfy a bounded-difference condition, typically between neighboring or related indices. “The works of \cite{bringmann2019truly, gu2021faster, chi2022faster, jin2026deterministic} show such sparse certificate exists for various structured matrices such as bounded difference and monotone matrices.”
- Candidate block witness: A matrix-index block that may contain an exact witness based on a modular congruence test. “For a block and prime , we say is a candidate block witness with respect to for if there exists satisfying”
- Certificate: A compact collection of information that allows an algorithm to verify a property without examining all possible cases. “However, to find the remaining triples in subcubic time, a sparse certificate is needed whose construction was not known.”
- Derandomization: The conversion of a randomized algorithm into a deterministic one, usually while preserving similar efficiency. “Next, we discuss how to derandomize \Cref{thm:faster-min-plus}.”
- Depth-first search: A traversal strategy that explores one branch completely before moving to another branch. “We proceed to search blocks in a depth-first order.”
- Deterministic algorithm: An algorithm whose behavior and output are fully determined by its input, without random choices. “Our second result shows that the same exponent can be achieved deterministically.”
- Entropy: A function measuring the uncertainty or combinatorial complexity associated with a probability distribution. “For , we use to denote entropy.”
- Fine-grained complexity: The study of precise computational-time bounds, including the exact exponents in running times. “All-Pairs Shortest Paths (APSP) ... is one of the central problems in fine-grained complexity.”
- Floyd–Warshall algorithm: A dynamic-programming algorithm for computing all-pairs shortest paths in a weighted graph. “Classical algorithms for APSP, such as the Floyd–Warshall algorithm, achieve a running time.”
- Infimum: The greatest lower bound of a set of values. “We use to denote the matrix multiplication exponent, i.e. the infimum over all constants such that two matrices can be multiplied in time.”
- Las Vegas algorithm: A randomized algorithm that always returns a correct result but whose running time is random. “Our first result is an improved randomized algorithm.”
- Matrix multiplication exponent: The limiting exponent governing the fastest known asymptotic multiplication of square matrices. “We use to denote the matrix multiplication exponent”
- Metricity: The property of a weighted distance function or matrix satisfying the metric axioms, especially the triangle inequality. “including APSP, Negative Triangle, Replacement Paths, Second Shortest Simple Path, Metricity”
- Modular arithmetic: Arithmetic involving remainders with respect to a modulus. “Subsequent work ... combine the perturbation and sparse certification steps through modular arithmetic over primes.”
- Monotone matrix: A matrix whose entries obey a prescribed monotonicity relation across rows or columns. “The works of \cite{bringmann2019truly, gu2021faster, chi2022faster, jin2026deterministic} show such sparse certificate exists for various structured matrices such as bounded difference and monotone matrices.”
- Negative Triangle: The problem of determining whether a weighted graph contains a triangle whose total edge weight is negative. “including APSP, Negative Triangle, Replacement Paths, Second Shortest Simple Path”
- Polynomially bounded: Bounded above by a polynomial function of the input-size parameter. “with polynomially bounded integer entries”
- Prime Number Theorem: A theorem describing the asymptotic density of prime numbers. “Our algorithm makes use of the prime number theorem.”
- Randomized algorithm: An algorithm that uses random choices during execution. “We present the proof of \Cref{thm:faster-min-plus}.”
- Replacement Paths: The problem of finding shortest paths that remain valid after deleting individual edges or vertices from a given shortest path. “including APSP, Negative Triangle, Replacement Paths, Second Shortest Simple Path”
- Residue: The remainder obtained when an integer is divided by a modulus. “For , let $W_{r} := #1 {(i, j) s.t. C[i, j] \equiv r \mod p}$.”
- Sparse certificate: A small subset of candidate information sufficient to verify the desired matrix-product or witness property. “We develop on the modular approach of \cite{bringmann2019truly,gu2021faster, chi2022faster,jin2026deterministic} and utilize Theorem 25 of the recent breakthrough \cite{alman2026truly} to provide a sparse certificate in truly subcubic time without any structural assumptions.”
- Subcubic time: Running time asymptotically smaller than cubic time, usually for some . “This provided strong evidence that a truly subcubic -Matrix Product and therefore, a truly subcubic algorithm for All Pairs Shortest Paths (APSP) may exist.”
- Thin matrix product: A matrix product in which the shared dimension is substantially smaller than the outer dimensions, together with an algorithm exploiting that structure. “We use the thin matrix product theorem of the recent breakthrough to provide such a certificate.”
- Union bound: A probability inequality stating that the probability of at least one event is at most the sum of their individual probabilities. “A union bound ensures that for any with probability at most .”
- Verification problem: A decision problem that checks whether a proposed output satisfies the required condition. “The -Witness Equality problem asks to check for all , whether there exists such that .”
- Witness: An index or object certifying that a claimed matrix-product equality or minimum is attained. “The phased approach produces an approximation of in truly subcubic time such that the number of remaining triples is truly subcubic.”
- matrix product: Matrix multiplication over the min-plus semiring, where multiplication is replaced by addition and addition by minimum. “The product of two matrices , defined ”
- notation: Asymptotic running-time notation that suppresses polylogarithmic factors. “with polynomially bounded integer entries in time”