logo
Kurashizu Blogwhere ideas flow
  • Home
  • News
  • Blog
  • About
  • Home
  • News
  • Blog
  • About

© 2026 Kurashizu. All rights reserved.

Admin·New Post·Service Status
Powered by Cloudflare·30.10.26
← Back to news

Subquadratic 3SUM and Subcubic APSP

Original article
arxiv.org|35 points|14 comments|by mauriziocalo|Oct 6, 2026

Breakthroughs in Computational Complexity: Subquadratic 3SUM and Subcubic APSP

This technical report summarizes the findings of the paper "Truly Subquadratic 3SUM and Truly Subcubic APSP via Triangles in Sparse Lopsided Graphs," authored by Josh Alman and Virginia Vassilevska Williams.

🚀 The Core Achievement

The authors have achieved the first-ever polynomial improvements over the standard "textbook" algorithms for two fundamental problems in computer science: 3SUM and All-Pairs Shortest Paths (APSP).

Performance Benchmarks

The following table outlines the new deterministic time complexities achieved for these problems:

ProblemConstraintsNew Time Complexity
3SUMnnn integers of polynomial sizeO(n1.9992)O(n^{1.9992})O(n1.9992)
APSPDirected nnn-vertex graphs, polynomially bounded weightsO(n2.9995)O(n^{2.9995})O(n2.9995)

📉 Impact on Theoretical Hypotheses

By leveraging established reductions, this research effectively validates refutes several long-standing conjectures and hypotheses. The following are no longer held as absolute bounds:

  • The real-valued 3SUM hypothesis
  • The real-valued APSP hypothesis
  • The Exact Triangle hypothesis
  • Zero-Weight kkk-Clique hypotheses
  • Three rectangular hinted Online Matrix--Vector conjectures (proposed by van den Brand, Nanongkai, and Saranurak)

Note: These results also provide polynomial speedups for a wide array of other related computational problems.


🛠️ The Technical Engine: Thin Matrix Products

The foundation of these breakthroughs is a novel algorithm designed for thin matrix products.

Mathematical Definition

Let's define the parameters of the operation:

  • Let XXX be an integer matrix of size N×DN \times DN×D.
  • Let YYY be an integer matrix of size D×ND \times ND×N.
  • Constraint: D≤N1/18D \le N^{1/18}D≤N1/18.
  • Let WWW be a set of target positions where ∣W∣≤N2/D|W| \le N^2/\sqrt{D}∣W∣≤N2/D​.

The algorithm computes the entries (XY)[I,J](XY)[I,J](XY)[I,J] for all (I,J)∈W(I,J) \in W(I,J)∈W with a complexity of: Time=O(N2D0.063)\text{Time} = O\left(\frac{N^2}{D^{0.063}}\right)Time=O(D0.063N2​)

This is significantly more efficient than the naive approach of computing N2/DN^2/\sqrt{D}N2/D​ individual inner products or simply writing out the entire resulting matrix XYXYXY.

Implementation Logic

The authors developed this by adapting a specific variant of Coppersmith's rectangular matrix multiplication. Specifically, they utilized:

  1. A ten-multiplication identity derived from Schönhage.
  2. A modification to ensure the algorithm only performs operations essential for the entries specified in WWW.
# Conceptual representation of the target computation
def compute_thin_product(X, Y, W):
    # X: N x D, Y: D x N, W: set of (i, j)
    # Optimized via modified Coppersmith/Schönhage identity
    results = {}
    for (i, j) in W:
        results[(i, j)] = optimized_inner_product(X[i], Y[:, j])
    return results

🕸️ Graph Theory Interpretation

When viewed through the lens of graph theory, this algorithm solves the All-Edges Sparse Triangle problem in truly subquadratic time. This applies specifically to sparse lopsided tripartite graphs meeting these criteria:

  • Two partitions contain nnn vertices.
  • One partition contains nεn^{\varepsilon}nε vertices.
  • The exponent ε\varepsilonε must be <0.12< 0.12<0.12.

Reduction Pipeline

The logical flow of the discovery can be visualized as follows:


📦 Additional Contributions

Beyond the primary algorithms, the authors introduce a data structure version of their work. This allows for the querying of single entries of the product XYXYXY without requiring the set WWW to be known in advance.

Document Metadata

  • arXiv ID: 2610.06783
  • Submission Date: October 5, 2026
  • Length: 76 pages
  • Categories: cs.DS (Data Structures and Algorithms), cs.CC (Computational Complexity)

License