REVIEW 2 major objections 5 minor 19 references
Approximate Spanning Tree Counting from Uncorrelated Edge Sets
T0 review · 2 major / 5 minor · reviewed 2026-08-07 · deepseek-v4-flash
Pith's one-line read The paper gives an O~(m^1.5 epsilon^-1) time algorithm for approximate spanning tree counting using recursive deletion of uncorrelated edge sets found via electrical-flow localization.
desk verdict A real runtime improvement and a genuinely new algorithmic idea, with a missing connectivity argument that is fixable and likely true. read the letter →
The pith
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
The reading
Extended reading notes
Core claim
Theorem 1 states that there is a routine ApproxSpanningTree(G, epsilon) that, for an undirected graph with n vertices, m edges, and polynomially bounded weights, outputs in O~(m^1.5 epsilon^-1) time a (1+epsilon) multiplicative approximation of the spanning tree count with high probability. If correct, this improves the previous best sparse-graph runtime from O~(m + n^1.875 epsilon^-7/4).
Load-bearing premise
After each recursive deletion step, the graph (V, E\F, w) remains connected, so that the spanning tree count and the Laplacian determinant are well-defined. The paper never states or proves this, and it is not an immediate consequence of the stated uncorrelated-edge conditions; the algorithm in Figure 1 step 6 recurses on (V, E\F, w) without addressing possible disconnection.
Signed reviews
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The paper presents an algorithm ApproxSpanningTree that approximates the spanning tree weight of an undirected weighted graph by repeatedly deleting sets of "uncorrelated" edges. For a graph with m edges, n vertices, and polynomially bounded weights, it claims a (1+epsilon) multiplicative approximation in O~(m^{1.5} epsilon^{-1}) time, improving on the previous O~(m + n^{1.875} epsilon^{-7/4}) bound for sparse graphs. The main technical machinery is a determinant identity relating log T(G\F) - log T(G) to a log-determinant of an |F|-by-|F| matrix whose off-diagonal entries are small for uncorrelated edge sets; such sets are found using the electrical flow localization theorem of Schild-Rao-Srivastava and standard leverage-score estimation. The paper gives detailed lemmas for estimating leverage scores, estimating weighted sums of leverage scores, and finding uncorrelated edge subsets, followed by a recursive algorithm and a phase-based variance analysis.
Significance. If correct, this is a notable improvement for sparse graphs and introduces a genuinely different approach to Laplacian determinant estimation. The proof is largely self-contained and builds on standard external tools (Laplacian solvers, leverage-score sketching, and l1-stable sketches), and the central claim is not circular: each estimator is derived from first principles, not from the theorem being proved. The main weaknesses are an unstated connectivity invariant for the recursive deletion step and a parameter regime (very small epsilon) that is not covered as written; both appear repairable, but they are load-bearing for the proof as presented.
major comments (2)
- [§5, Figure 1 / Lemma 5.2] The recurrence uses log T(G\F), which is only defined when G\F is connected, but the manuscript never states or proves that the deleted edge set F cannot disconnect G. This is load-bearing: if F contained all edges of a cut, the determinant identity of Section 3 would give det^+(L(G\F)) = 0, so log T(G\F) would be undefined and the recurrence would not approximate the spanning tree count. The gap is repairable: under the hypotheses of Lemma 5.2, the matrix A with entries A_{e,f} = w_e^{1/2} b(e)^T L(G)^† b(f) w_f^{1/2} has diagonal entries at most 0.88 and off-diagonal row sums at most rho <= 0.01, so ||A||_2 <= 0.89, det(I-A) > 0, and hence det^+(L(G\F)) > 0; for a Laplacian this positivity is equivalent to G\F being connected. Please insert this invariant explicitly before Lemma 5.2 and use it inductively in the proof of Theorem 1.
- [§5, Theorem 1] The theorem is stated for all 0 < epsilon < 1, but the algorithm in Figure 1 has no base case and calls GetUncorrelated with k = Theta(epsilon sqrt(m) / (log m)^3). For epsilon smaller than about (log m)^3 / sqrt(m), this k is less than 1, so Lemma 4.3 cannot be applied as stated. Additionally, Lemma 5.1 can reduce a connected graph to an empty graph, and the recursion needs a stopping rule. These issues are local but must be fixed for the theorem to hold in the stated range, for example by using exact determinant computation when epsilon is below a threshold (noting that the runtime is then within the claimed bound) or by defining k = max(1, Theta(epsilon sqrt(m)/(log m)^3)) and rederiving the error bound in the k = 1 regime.
minor comments (5)
- [§4.3, Lemma 4.3] In the proof, after two Markov inequalities the algorithm keeps at least 1.8k edges, not 1.9k (at most 0.1|F+| = 0.2k edges are discarded); the conclusion is unaffected because 1.8k >= k, but the number should be corrected.
- [§4.2, Lemma 4.2] The displayed chain ending in "= 2|F|rho^2" should be "<= 2|F|rho^2", and the proof uses theta_e <= 1 to drop the theta_e theta_f factors; please state explicitly that the lemma requires theta in [0,1]^F.
- [§4.3, Lemma 4.3] The lemma is stated as succeeding with high probability, but the proof only establishes a constant probability that at least k edges survive; please add the standard repetition argument (O(log n) independent trials) that upgrades the success probability.
- [§5, Figure 1] The recursion has no stated base case: when Lemma 5.1 reduces the graph to an empty graph or to a graph with no edges, steps 2-5 are undefined. Specify a stopping rule, e.g., compute the determinant exactly when m is below a constant.
- [§5, proof of Theorem 1] The phase analysis states that variance is additive over iterations; this is correct because each recursive call uses fresh randomness, but the proof should present the conditional-expectation argument: E[X_i | history] telescopes to the total log-ratio, while the conditional variances add.
Assumptions & free parameters
assumptions (7)
- standard math Kirchhoff's matrix tree theorem: T(G) = det^+(L(G))/n.
- standard math det(I - AA^T) = det(I - A^T A) for any matrix A.
- domain assumption Localization of electrical flows: the total correlation over any subset is O(||c||^2 log^2 n) (SRS18, Theorem 1.5).
- domain assumption Nearly-linear time Laplacian solver (Spielman-Teng, Lemma 2.1).
- domain assumption Leverage score estimation with multiplicative error (Spielman-Srivastava, Theorem 4).
- domain assumption L1-stable sketch with Cauchy random matrix (Indyk, Theorem 3).
- standard math Chernoff and Markov bounds.
Cite this review
Pith. "Pith review of Approximate Spanning Tree Counting from Uncorrelated Edge Sets." pith.science (2026). https://pith.science/paper/THIFGL3Z
@misc{pith2026250514666,
author = {Pith},
title = {Pith review of: Approximate Spanning Tree Counting from Uncorrelated Edge Sets},
year = {2026},
howpublished = {\url{https://pith.science/paper/THIFGL3Z}},
note = {Machine review of arXiv:2505.14666}
}
abstract
We show an $\widetilde{O}(m^{1.5} \epsilon^{-1})$ time algorithm that on a graph with $m$ edges and $n$ vertices outputs its spanning tree count up to a multiplicative $(1+\epsilon)$ factor with high probability, improving on the previous best runtime of $\widetilde{O}(m + n^{1.875}\epsilon^{-7/4})$ in sparse graphs. While previous algorithms were based on computing Schur complements and determinantal sparsifiers, our algorithm instead repeatedly removes sets of uncorrelated edges found using the electrical flow localization theorem of Schild-Rao-Srivastava [SODA 2018].
Figures
Reference graph
Works this paper leans on
-
[5]
Liu, Thatchaphol Saranurak, Aaron Sidford, Zhao Song, and Di Wang
[BLL+21] Jan van den Brand, Yin Tat Lee, Yang P. Liu, Thatchaphol Saranurak, Aaron Sidford, Zhao Song, and Di Wang. Minimum cost flows, mdps, andℓ1-regression in nearly linear time for dense instances. In Samir Khuller and Virginia Vassilevska Williams, editors, STOC ’21: 53rd Annual ACM SIGACT Symposium on Theory of Computing, Virtual Event, Italy, June ...
work page 2021
-
[6]
Bipartite matching in nearly-linear time on moderately dense graphs
[BLN+20] Jan van den Brand, Yin Tat Lee, Danupon Nanongkai, Richard Peng, Thatchaphol Saranurak, Aaron Sidford, Zhao Song, and Di Wang. Bipartite matching in nearly-linear time on moderately dense graphs. In Sandy Irani, editor,61st IEEE Annual Symposium on Foundations of Computer Science, FOCS 2020, Durham, NC, USA, November 16-19, 2020, pages 919–930. IEEE,
work page 2020
-
[7]
[Bro89] Andrei Z. Broder. Generating random spanning trees. In30th Annual Symposium on Foundations of Computer Science, Research Triangle Park, North Carolina, USA, 30 October - 1 November 1989, pages 442–447. IEEE Computer Society,
work page 1989
-
[11]
Preliminary version appeared in FOCS‘17, available at:https://arxiv.org/abs/1705.00985. [FGL+21] Sebastian Forster, Gramoz Goranci, Yang P. Liu, Richard Peng, Xiaorui Sun, and Mingquan Ye. Minor sparsifiers and the distributed Laplacian paradigm. In62nd IEEE Annual Symposium on Foundations of Computer Science, FOCS 2021, Den- ver, CO, USA, February 7-10, ...
work page Pith review arXiv 2021
-
[12]
Minor Sparsifiers and the Distributed Laplacian Paradigm
Available at:https: //arxiv.org/abs/2012.15675. 12 [GLP21] Yu Gao, Yang P. Liu, and Richard Peng. Fully dynamic electrical flows: Sparse maxflow faster than goldberg-rao. In62nd IEEE Annual Symposium on Foundations of Computer Science, FOCS 2021, Denver, CO, USA, February 7-10, 2022, pages 516–527. IEEE,
work page Pith review arXiv 2012
-
[13]
Fully Dynamic Electrical Flows: Sparse Maxflow Faster Than Goldberg-Rao
Available athttps://arxiv.org/abs/2101.07233. [Ind06] Piotr Indyk. Stable distributions, pseudorandom generators, embeddings, and data stream computation.J. ACM, 53(3):307–323,
-
[17]
An almost-linear time algorithm for uniform random spanning tree generation
Available at:https://arxiv.org/abs/1711.06455. [SRS18] Aaron Schild, Satish Rao, and Nikhil Srivastava. Localization of electrical flows. In Artur Czumaj, editor,Proceedings of the Twenty-Ninth Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2018, New Orleans, LA, USA, January 7-10, 2018, pages 1577–1584. SIAM,
work page Pith review arXiv 2018
-
[18]
Localization of Electrical Flows
Available at:https://arxiv.org/abs/1708.01632. [SS11] Daniel A. Spielman and Nikhil Srivastava. Graph sparsification by effective resistances. SIAM J. Comput., 40(6):1913–1926,
work page Pith review arXiv 1913
Show all 19 references
-
[1989]
Modified log-sobolev inequalities for strongly log-concave distributions
[CGM19] Mary Cryan, Heng Guo, and Giorgos Mousa. Modified log-sobolev inequalities for strongly log-concave distributions. In David Zuckerman, editor,60th IEEE Annual Symposium on Foundations of Computer Science, FOCS 2019, Baltimore, Maryland, USA, November 9-12, 2019, pages ...
2019
-
[1993]
Spectral subspace sparsification
[LS18] Huan Li and Aaron Schild. Spectral subspace sparsification. In Mikkel Thorup, editor, 59th IEEE Annual Symposium on Foundations of Computer Science, FOCS 2018, Paris, France, October 7-9, 2018, pages 385–396. IEEE Computer Society,
2018
-
[2006]
Kelner and Aleksander Madry
[KM09] Jonathan A. Kelner and Aleksander Madry. Faster generation of random spanning trees. In50th Annual IEEE Symposium on Foundations of Computer Science, FOCS 2009, October 25-27, 2009, Atlanta, Georgia, USA, pages 13–21. IEEE Computer Society,
2009
-
[2014]
[V+13] Nisheeth K Vishnoi et al
Preliminary version appeared in STOC‘04, available at:http://arxiv.org/abs/cs/0607105. [V+13] Nisheeth K Vishnoi et al. Lx= b.Foundations and Trends®in Theoretical Computer Science, 8(1–2):1–141,
-
[2017]
[DPPR20] David Durfee, John Peebles, Richard Peng, and Anup B
Available at:https://arxiv.org/abs/1611.07451. [DPPR20] David Durfee, John Peebles, Richard Peng, and Anup B. Rao. Determinant-preserving sparsification of SDDM matrices.SIAM J. Comput., 49(4),
-
[2018]
Fast generation of random spanning trees and the effective resistance metric
[MST15] Aleksander Madry, Damian Straszak, and Jakub Tarnawski. Fast generation of random spanning trees and the effective resistance metric. In Piotr Indyk, editor,Proceedings of the Twenty-Sixth Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2015, San Diego, CA, USA,...
2015
-
[2019]
Liu, and Thuy-Duong Vuong
11 [ALV22] Nima Anari, Yang P. Liu, and Thuy-Duong Vuong. Optimal sublinear sampling of span- ning trees and determinantal point processes via average-case entropic independence. In 63rd IEEE Annual Symposium on Foundations of Computer Science, FOCS 2022, Den- ver, CO, USA, Oc...
2022
-
[2020]
Domain spar- sification of discrete distributions using entropic independence
[ADVY22] Nima Anari, Michal Derezinski, Thuy-Duong Vuong, and Elizabeth Yang. Domain spar- sification of discrete distributions using entropic independence. In Mark Braverman, editor,13th Innovations in Theoretical Computer Science Conference, ITCS 2022, Jan- uary 31 - Februar...
2022
-
[2021]
Log-concave polynomials II: high-dimensional walks and an FPRAS for counting bases of a matroid
[ALGV19] Nima Anari, Kuikui Liu, Shayan Oveis Gharan, and Cynthia Vinzant. Log-concave polynomials II: high-dimensional walks and an FPRAS for counting bases of a matroid. In Moses Charikar and Edith Cohen, editors,Proceedings of the 51st Annual ACM SIGACT Symposium on Theory ...
2019
-
[2022]
Log-concave polynomials IV: approximate exchange, tight mixing times, and near-optimal sampling of forests
[ALG+21] Nima Anari, Kuikui Liu, Shayan Oveis Gharan, Cynthia Vinzant, and Thuy-Duong Vuong. Log-concave polynomials IV: approximate exchange, tight mixing times, and near-optimal sampling of forests. In Samir Khuller and Virginia Vassilevska Williams, editors,STOC ’21: 53rd A...
2021
-
[2023]
[DKP+17] David Durfee, Rasmus Kyng, John Peebles, Anup B
Preliminary version appeared in FOCS‘18, available at:https://arxiv.org/abs/1805.12051. [DKP+17] David Durfee, Rasmus Kyng, John Peebles, Anup B. Rao, and Sushant Sachdeva. Sam- pling random spanning trees faster than matrix multiplication. In Hamed Hatami, Pierre McKenzie, an...
2017 arXiv
Reviewed August 7, 2026 · model on record in the stance chip above.
Discussion (0). Continue with ORCID to comment.