pith. sign in

arxiv: 1907.07982 · v2 · pith:HIMKYP4Mnew · submitted 2019-07-18 · 💻 cs.DS

Sensitive Distance and Reachability Oracles for Large Batch Updates

Pith reviewed 2026-05-24 19:29 UTC · model grok-4.3

classification 💻 cs.DS
keywords sensitive distance oraclebatch updatesdynamic graphspolynomial matrixkernel basis decompositiondirected graphsreachability
0
0 comments X

The pith

Sensitive distance oracles can now handle batches of at least logarithmic edge updates with subquadratic time.

A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.

The paper develops data structures for answering distance queries in directed graphs after a batch of f edge insertions or deletions. It provides the first algorithm capable of handling f at least logarithmic in n, using algebraic methods on polynomial matrices. This improves over prior work limited to constant or small f, achieving truly subquadratic update and query times when f is omega(1) and W is constant. A sympathetic reader would care because it opens the door to dynamic graph algorithms that scale to larger change batches without quadratic blowup.

Core claim

The authors present a sensitive distance oracle with preprocessing time Õ(W n^{ω+(3-ω)μ}), update time Õ(W n^{2-μ} f² + W n f^ω), and query time Õ(W n^{2-μ} f + W n f²) for parameter μ in [0,1], which is the first to support f ≥ log n updates by applying kernel basis decomposition to polynomial matrices.

What carries the argument

Kernel basis decomposition of polynomial matrices applied to the graph's distance or adjacency matrix.

If this is right

  • When f = ω(1) and W = Õ(1), update and query times are o(n²), improving polynomially over prior subquadratic but not truly subquadratic bounds.
  • The structure requires O(W n^{2+μ} log n) bits of memory.
  • It also applies to the easier sensitive reachability oracle problem.
  • The technique marks the first use of symbolic computation methods from polynomial matrices in graph algorithms.

Where Pith is reading between the lines

These are editorial extensions of the paper, not claims the author makes directly.

  • If the algebraic technique generalizes, it could lead to faster fully dynamic algorithms for distances.
  • Testing on real-world graphs with batch updates could validate practical speedups.
  • Extending to undirected graphs or other query types might follow similar algebraic reductions.

Load-bearing premise

The kernel basis decomposition technique for polynomial matrices can be applied to the distance matrix or adjacency matrix of the input graph without introducing hidden polynomial factors that would invalidate the stated Õ bounds.

What would settle it

An explicit family of graphs where the kernel basis computation for the associated polynomial matrix requires super-Õ(W n^{ω+(3-ω)μ}) time would falsify the preprocessing bound.

read the original abstract

In the sensitive distance oracle problem, there are three phases. We first preprocess a given directed graph $G$ with $n$ nodes and integer weights from $[-W,W]$. Second, given a single batch of $f$ edge insertions and deletions, we update the data structure. Third, given a query pair of nodes $(u,v)$, return the distance from $u$ to $v$. In the easier problem called sensitive reachability oracle problem, we only ask if there exists a directed path from $u$ to $v$. Our first result is a sensitive distance oracle with $\tilde{O}(Wn^{\omega+(3-\omega)\mu})$ preprocessing time, $\tilde{O}(Wn^{2-\mu}f^{2}+Wnf^{\omega})$ update time, and $\tilde{O}(Wn^{2-\mu}f+Wnf^{2})$ query time where the parameter $\mu\in[0,1]$ can be chosen. The data-structure requires $O(Wn^{2+\mu} \log n)$ bits of memory. This is the first algorithm that can handle $f\ge\log n$ updates. Previous results (e.g. [Demetrescu et al. SICOMP'08; Bernstein and Karger SODA'08 and FOCS'09; Duan and Pettie SODA'09; Grandoni and Williams FOCS'12]) can handle at most 2 updates. When $3\le f\le\log n$, the only non-trivial algorithm was by [Weimann and Yuster FOCS'10]. When $W=\tilde{O}(1)$, our algorithm simultaneously improves their preprocessing time, update time, and query time. In particular, when $f=\omega(1)$, their update and query time is $\Omega(n^{2-o(1)})$, while our update and query time are truly subquadratic in $n$, i.e., ours is faster by a polynomial factor of $n$. To highlight the technique, ours is the first graph algorithm that exploits the kernel basis decomposition of polynomial matrices by [Jeannerod and Villard J.Comp'05; Zhou, Labahn and Storjohann J.Comp'15] developed in the symbolic computation community. [...]

Editorial analysis

A structured set of objections, weighed in public.

Desk editor's note, referee report, simulated authors' rebuttal, and a circularity audit. Tearing a paper down is the easy half of reading it; the pith above is the substance, this is the friction.

Referee Report

2 major / 2 minor

Summary. The paper introduces sensitive distance and reachability oracles for directed graphs with n nodes and integer edge weights in [-W, W]. It claims the first data structures supporting batches of f ≥ log n edge insertions/deletions, with preprocessing Õ(W n^{ω+(3-ω)μ}), update Õ(W n^{2-μ} f² + W n f^ω), query Õ(W n^{2-μ} f + W n f²) (distance) where μ ∈ [0,1] is a free parameter, O(W n^{2+μ} log n) bits of space, and analogous (faster) bounds for reachability. The approach reduces the problem to kernel basis decomposition of polynomial matrices, citing techniques from the symbolic computation literature.

Significance. If the central reduction preserves the stated exponents, the result would be significant: it extends sensitive oracles beyond the f ≤ 2 regime of prior work (Demetrescu et al., Bernstein-Karger, etc.) and the f = O(log n) regime of Weimann-Yuster, achieving truly subquadratic update/query times for f = ω(1) when W = Õ(1). The explicit use of kernel basis decomposition as the first graph application of those symbolic methods is a clear strength, and the μ-parameterized trade-off is useful. The work supplies concrete, falsifiable time bounds expressed in terms of the matrix-multiplication exponent ω.

major comments (2)
  1. [Abstract / Main theorem] Abstract and the main theorem statement: the claimed Õ(W n^{ω+(3-ω)μ}) preprocessing, Õ(W n^{2-μ} f² + W n f^ω) update, and Õ(W n^{2-μ} f + W n f²) query times rest on applying the cited kernel-basis results (Jeannerod-Villard, Zhou-Labahn-Storjohann) to a polynomial matrix whose size and degree are derived from the n-node, W-weight graph. The manuscript must explicitly bound the degree of this matrix and the bit complexity of its entries to confirm that no additional n^ε or W^ε factors arise that would invalidate the Õ notation or the explicit W multipliers.
  2. [Algorithm description / Reduction] The reduction step that constructs the polynomial matrix from the adjacency or distance matrix (presumably in the section describing the algorithm) is load-bearing for all three time bounds. Without a concrete accounting of how the graph weights and batch updates translate into matrix degree and coefficient size, it is impossible to verify that the external matrix-decomposition complexity directly yields the stated exponents.
minor comments (2)
  1. [Space analysis] The memory bound O(W n^{2+μ} log n) bits should be cross-checked against the space required to store the kernel basis output for the chosen μ.
  2. [Reachability section] Notation for the reachability variant should be stated with the same level of detail as the distance variant, including any simplifications when W = Õ(1).

Simulated Author's Rebuttal

2 responses · 0 unresolved

We thank the referee for the careful reading, positive assessment of significance, and specific suggestions for strengthening the presentation. We address both major comments below by agreeing to add the requested explicit bounds and accounting. These details were present in our internal derivations but omitted from the submitted manuscript; the revision will make them fully explicit without altering any claimed exponents.

read point-by-point responses
  1. Referee: [Abstract / Main theorem] Abstract and the main theorem statement: the claimed Õ(W n^{ω+(3-ω)μ}) preprocessing, Õ(W n^{2-μ} f² + W n f^ω) update, and Õ(W n^{2-μ} f + W n f²) query times rest on applying the cited kernel-basis results (Jeannerod-Villard, Zhou-Labahn-Storjohann) to a polynomial matrix whose size and degree are derived from the n-node, W-weight graph. The manuscript must explicitly bound the degree of this matrix and the bit complexity of its entries to confirm that no additional n^ε or W^ε factors arise that would invalidate the Õ notation or the explicit W multipliers.

    Authors: We agree that the manuscript should contain an explicit lemma bounding matrix degree and coefficient bit length. The polynomial matrix is constructed over the ring of polynomials with coefficients in [-poly(nW), poly(nW)], with degree exactly 2W (one factor of W for the absolute weight value and one for the sign-encoding shift). Coefficient bit length is O(log(nW)). These parameters are derived directly from the input graph and are independent of the free parameter μ and of f. In the revision we will insert a new Lemma (in the reduction section) stating these bounds and verifying that they introduce no extra n^ε or W^ε factors beyond those already absorbed by the Õ notation when the cited kernel-basis algorithms are invoked. revision: yes

  2. Referee: [Algorithm description / Reduction] The reduction step that constructs the polynomial matrix from the adjacency or distance matrix (presumably in the section describing the algorithm) is load-bearing for all three time bounds. Without a concrete accounting of how the graph weights and batch updates translate into matrix degree and coefficient size, it is impossible to verify that the external matrix-decomposition complexity directly yields the stated exponents.

    Authors: The reduction (detailed in Section 3) builds an n × n polynomial matrix M(x) whose (i,j) entry is a polynomial of degree at most 2W whose coefficients encode the weight of edge (i,j) (or 0 if absent) via a base-(2W+1) representation that handles negative weights. A batch of f updates corresponds to changing at most f entries of M(x), which is realized by a rank-O(f) perturbation. The kernel-basis routine is then applied to the updated matrix; the f-dependent terms in the update and query bounds arise from the cost of this low-rank modification plus the subsequent matrix-vector multiplications needed for distance queries. We will expand Section 3 with a new subsection that walks through this translation step-by-step, citing the precise degree and bit-size bounds from the new lemma, so that the reduction to the symbolic-computation results is fully verifiable. revision: yes

Circularity Check

0 steps flagged

No circularity: algorithm reduces to externally cited kernel basis decomposition results

full rationale

The paper derives its time bounds by reducing the batch-update distance/reachability problem to kernel basis decomposition of a polynomial matrix whose dimensions and degree are linear in the input graph parameters (n, W, f). This reduction is justified by citing independent prior work (Jeannerod-Villard J.Comp'05; Zhou-Labahn-Storjohann J.Comp'15) whose complexity statements are taken as black-box external benchmarks. No parameter is fitted inside the paper and then renamed as a prediction; no self-citation is load-bearing; the central claims are not self-definitional. The derivation chain is therefore self-contained against the cited external results and receives the default non-circularity finding.

Axiom & Free-Parameter Ledger

1 free parameters · 2 axioms · 0 invented entities

The central claim rests on the correctness of applying the cited kernel basis decomposition to graph distance problems and on the standard matrix-multiplication exponent ω; no new entities are postulated and the only tunable parameter is the explicit trade-off μ.

free parameters (1)
  • μ
    User-chosen parameter in [0,1] that trades preprocessing time against update and query time; appears in all three bounds.
axioms (2)
  • standard math Matrix multiplication can be performed in n^ω time for the known exponent ω < 2.373
    Invoked in the update and query time expressions.
  • domain assumption The kernel basis decomposition of polynomial matrices runs in the time stated by Jeannerod-Villard and Zhou-Labahn-Storjohann
    The paper states that this is the first graph algorithm to exploit that decomposition.

pith-pipeline@v0.9.0 · 5955 in / 1494 out tokens · 23918 ms · 2026-05-24T19:29:51.979449+00:00 · methodology

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.