Time-Optimal APSP and Matrix Multiplication in Classes of Linear Neighborhood Complexity
arXiv:2608.25212
2026
Architecture
1 ideas extracted · analyzed Aug 29, 2026
What the math gives to ML
The paper identifies linear neighborhood complexity (LNC) as a structural condition under which an apparently dense graph operator admits an exact linear-time matrix-vector query after quadratic preprocessing. The transferable asset is not merely sparse graph processing: it is a data structure for repeatedly applying a fixed, potentially dense adjacency operator to arbitrary feature vectors in time proportional to the number of vertices. This can turn dense message passing on structured graphs into an exact O(nd) operation per layer, provided the graph is fixed and belongs to an LNC class. The most direct experiment is to replace dense adjacency aggregation in graph neural networks with the paper's preprocessed operator and measure amortized layer throughput and memory at identical outputs.
Ideas from this paper
△ Mechanism confirmed, baseline not beaten
2026
For a fixed structured graph, preprocess its adjacency matrix into the linear-time matrix-vector multiplication data structure guaranteed for classes of linear neighborhood complexity. Replace every dense aggregation Y=MX in a GNN by batched queries to this exact data structure, reducing a dense O(n^2d) aggregation to O(nd) after O(n^2) one-time preprocessing. This is especially useful for dense graphs from bounded-clique-width, bounded-expansion, minor-closed, twin-width, or related structured…
Useful7/10
Difficulty7/10
Novelty7/10