Faster Dynamic Graph Clustering with Hierarchical Contraction
Suranjan De, Steinar Laenen, He Sun
NeurIPS 2026
TL;DR. We design a provably efficient algorithm for dynamic spectral clustering.
Abstract. We study clustering algorithms for dynamic evolving graphs , in which new edges (and potentially new vertices) are added into a graph, and the underlying cluster structure of the graph gradually changes over time. By designing a hierarchical data structure for dynamically maintaining the cluster structure of , we prove that the cluster structure of can be maintained with amortised update time and amortised query time, for an arbitrary large constant . This significantly improves the previous state-of-the-art (Laenen and Sun, ICML 2024), which requires update time and amortised query time. We further demonstrate this improvement with experiments on both synthetic and real-world datasets.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:44 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
This paper is about spectral clustering for dynamically changing graphs; at each point in time, a new edge arrives, possibly leading to a vertex not seen before. The authors' algorithm follows the paradigm of earlier work by Laenen-Sun '24, which is based upon the notion of cluster-preserving sparsification of graphs and which introduced much of the technical machinery. The present paper suggests modifications -- in particular, using a hierarchy of these contracted graphs, at different levels of compression -- that give better update and query times.
The paper is borderline; acceptance would depend heavily on addressing reviewer questions carefully. For instance,
-
Can the authors give some guidance for selecting the hierarchy level d? Is it possible for d to grow with n (why or why not)?
-
Questions about the various "constants" in the theorem statements.
-
In the experiments, is it possible to get a sense of the structural gap? There are also some questions about experimental results under noisier conditions.
Final justification
The detailed author response and discussion between authors and reviewers have addressed most of the reviewers' concerns. The disposition of the paper is now (borderline) accept.
Read meta-review
Meta-review
This paper is about spectral clustering for dynamically changing graphs; at each point in time, a new edge arrives, possibly leading to a vertex not seen before. The authors' algorithm follows the paradigm of earlier work by Laenen-Sun '24, which is based upon the notion of cluster-preserving sparsification of graphs and which introduced much of the technical machinery. The present paper suggests modifications -- in particular, using a hierarchy of these contracted graphs, at different levels of compression -- that give better update and query times.
The paper is borderline; acceptance would depend heavily on addressing reviewer questions carefully. For instance,
-
Can the authors give some guidance for selecting the hierarchy level d? Is it possible for d to grow with n (why or why not)?
-
Questions about the various "constants" in the theorem statements.
-
In the experiments, is it possible to get a sense of the structural gap? There are also some questions about experimental results under noisier conditions.
Final justification
The detailed author response and discussion between authors and reviewers have addressed most of the reviewers' concerns. The disposition of the paper is now (borderline) accept.
1 comment
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- theory
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper studies a clustering algorithm for dynamic evolving graphs and the underlying cluster structure of the graph gradually changes over time. The main idea is to maintain compact graph representations that approximately preserve the cluster structure of the evolving graph. They prove that the cluster structure of can be maintained with amortised update time and amortised query time, for an arbitrarily large constant .
Strengths and weaknesses
Strengths
- The problem is well motivated.
- The paper clearly positions the contribution as an improvement over this dynamic spectral clustering framework.
Weaknesses
- The empirical evaluation could be strengthened by adding more baselines and a more complete experimental design, such as sensitivity studies on the number of clusters and memory usage.
Questions
- The empirical evaluation could be strengthened by adding more baselines and a more complete experimental design, such as sensitivity studies on the number of clusters and memory usage.
- Could the authors provide additional experimental results using different clustering-quality metrics, such as NMI, clustering accuracy, in addition to ARI?
- The manuscript would benefit from careful proofreading to fix typos, such as the notation in Lemma 2.1.
Limitations
Could the authors discuss whether the theoretical assumptions are satisfied on the real-world datasets used in the experiments, and provide empirical result?
Final justification
I am satisfied with the authors’ response and will maintain my positive score.
Formatting concerns
No
2 comments
Rebuttal
We thank the reviewer for the constructive assessment and helpful suggestions for strengthening the empirical evaluation. We address each point below.
Question/Weakness 1 We selected Laenen and Sun (LS24) as the primary baseline because it is the closest prior method operating under the same dynamic model and providing comparable theoretical guarantees. Many other incremental spectral-clustering methods assume a fixed vertex set or do not provide guarantees in our setting. We will clarify this choice and add full spectral clustering on the current graph as an accuracy and runtime reference. We will also add experiments varying the number of clusters while controlling graph size and density. To evaluate memory usage, we will report the sizes of the maintained representations and their peak memory consumption for LS, Semi-Contracted, and Hierarchy.
We added a dynamic SBM experiment with , and 1,000 vertices per cluster, , and . Starting with clusters, we introduce the final 1,000-vertex cluster in five batches. All methods receive the same updates. We compare Semi and against Full SC and LS24.
The table reports mean ARI across query times and peak incremental memory in MiB:
| Full SC ARI | LS24 ARI | Semi ARI | ARI | |
|---|---|---|---|---|
| 4 | 0.9998 | 0.9998 | 0.9998 | 0.9998 |
| 8 | 0.9996 | 0.9996 | 0.9996 | 0.9996 |
| 12 | 0.9996 | 0.9996 | 0.9996 | 0.9996 |
| Full SC | LS24 | Semi | ||
|---|---|---|---|---|
| 4 | 53.63 | 154.20 | 170.70 | 175.11 |
| 8 | 165.59 | 442.60 | 481.61 | 530.32 |
| 12 | 297.27 | 891.27 | 971.23 | 1070.32 |
The results are averaged over three independent runs. All methods maintain essentially the same clustering quality as and the graph size increases. Memory grows with the number of vertices and edges. The dynamic methods use more memory than Full SC because they maintain additional sparsifiers and contraction mappings.
Question/Weakness 3 We thank the reviewer for identifying the notation issue in Lemma 2.1. We will replace the constant with the simpler notation and carefully proofread the manuscript for further notation and typographical issues.
Limitation
Theoretical assumptions on real-world datasets.
The experimental section already evaluates our runtime and clustering-quality claims on real datasets. However, we agree that we did not empirically report whether the dynamic gap is preserved. We therefore added the following experiment.
We use all available images in the MNIST and EMNIST -NN graphs. For MNIST, we start with five classes and add one class. For EMNIST, we start with ten classes and add one class. Each class is introduced in five equal batches. We report the consecutive eigengap
For , we measure at query times when , so both eigenvalues are defined. All representations are evaluated at the same update time.
| Dataset | ||||||
|---|---|---|---|---|---|---|
| MNIST | 0.0173 | 0.0171 | 0.0151 | 0.0182 | 0.1902 | |
| Semi | 0.0212 | 0.0223 | 0.0154 | 0.0125 | 0.1788 | |
| 0.0212 | 0.0204 | 0.0376 | 0.0153 | 0.4702 | ||
| EMNIST | 0.0011 | 0.0007 | 0.0007 | 0.0004 | 0.1324 | |
| Semi | 0.0049 | 0.0248 | 0.0164 | 0.0116 | 0.1501 | |
| 0.0049 | 0.0119 | 0.0059 | 0.0081 | 0.3041 |
The above table shows that our data structures approximately preserves the spectral gap during these edge/vertex updates certifying the theory.
**Question/Weakness 2 **
Q2: Additional clustering-quality metrics. We thank the reviewer for this helpful suggestion. We added a small supplementary evaluation using NMI and clustering accuracy (ACC), in addition to ARI.
We use the same dynamic SBM experiments as in the paper, with a medium-scale graph of -nodes. In the merge-cluster setting, the graph contains 3 large clusters of 3000 nodes and 10 small clusters of 100 nodes, with 5 merge steps. In the new-cluster setting, the initial graph contains 10 clusters of 1000 nodes, and each step introduces a new 100-node cluster. In both settings, we use , , , 3 independent runs, and the same algorithmic parameters as in the original experiments. We report both the average over all query points and the final query point. Values are mean (standard deviation).
Average over all query points.
| Setting | Method | ARI | NMI | ACC |
|---|---|---|---|---|
| Merge clusters | LS24 | 0.5863 (0.2579) | 0.7257 (0.1782) | 0.5643 (0.2660) |
| Merge clusters | Semi | 0.5863 (0.2580) | 0.7254 (0.1788) | 0.5666 (0.2661) |
| Merge clusters | 0.4993 (0.2263) | 0.6499 (0.1738) | 0.4935 (0.2205) | |
| New clusters | LS24 | 0.9987 (0.0007) | 0.9972 (0.0015) | 0.9990 (0.0006) |
| New clusters | Semi | 0.9985 (0.0007) | 0.9969 (0.0015) | 0.9988 (0.0006) |
| New clusters | 0.9830 (0.0118) | 0.9756 (0.0164) | 0.9855 (0.0101) |
Final query point.
| Setting | Method | ARI | NMI | ACC |
|---|---|---|---|---|
| Merge clusters | LS24 | 0.9998 (0.0001) | 0.9993 (0.0003) | 0.9999 (0.0001) |
| Merge clusters | Semi | 0.9998 (0.0002) | 0.9995 (0.0005) | 0.9999 (0.0001) |
| Merge clusters | 0.7732 (0.1359) | 0.8422 (0.0775) | 0.7874 (0.0837) | |
| New clusters | LS24 | 0.9978 (0.0007) | 0.9954 (0.0015) | 0.9983 (0.0006) |
| New clusters | Semi | 0.9978 (0.0004) | 0.9955 (0.0008) | 0.9982 (0.0004) |
| New clusters | 0.9865 (0.0003) | 0.9810 (0.0007) | 0.9888 (0.0003) |
The additional metrics support the similar qualitative conclusion as ARI. We will add these extra metrics for all of our experiments in the next version of the paper.
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 4/4
- Contribution type
- theory
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The authors propose new algorithms for maintaining a clustering of a graph in a dynamic setting, which is restricted to inserting edges with at most one new end-vertex. The dynamic model and the algorithmic approach build on Laenen and Sun (2024), and the paper improves upon their query-time bounds. The main idea is to maintain a hierarchy of graph representations in which some parts of the graph are contracted. In these semi-contracted graphs, queries can be answered much faster than in the original graph. The paper also contains experiments on synthetic instances that empirically support the theoretical improvements.
Strengths and weaknesses
Strengths: (S1) Dynamic graph clustering is highly relevant.
(S2) The idea of the contraction hierarchy is novel for clustering
(S3) It seems that this paper and the one by Laenen and Sun, is among the few papers that provide guarantees on the quality of the output of spectral clustering in this dynamic setting
(S4) The improvement over the previous query-runtime bounds is substantial.
Weaknesses: (W1) The authors consider a restricted dynamic setting, in which only certain edge insertions are allowed (incident with at least one existing node) and no edge deletions.
(W2) My main concern is the modelling assumption. The quality guarantees and the runtime bounds need to have a so-called dynamic gap assumption under which, within every window of updates, there exists some time step at which the graph satisfies a strong spectral clusterability condition. This is a rather specific assumption.
(W3) It took me a lot of time to understand Theorems 2 and 3, and I still have problems in interpreting it (see questions below).
(W4) Theorem 3 (Main result) uses a constant : \emph{for some constant }; it does not become clear that will be determined by the assumption in Appendix Lemma D.5. The statement should make this dependency explicit.
(W5) Is is also unclear what is meant by the assumption in Theorem 3: \emph{at query time the graph contains clusters.} Does this mean that the theorem only applies to query times at which itself satisfies the dynamic gap condition? If so, this seems stronger than the model assumption, which only requires that such a condition holds at some time step within every sufficiently long update window.
(W6) The experimental evaluation is not convincing, since the synthetic experiments are done on graphs with a very clear cluster structure (edge probabilities are very large within the clusters and much smaller between the clusters), and a whole cluster is added at every time step (different from the theoretical part in which only one edge is added).
Questions
(Q1) What is meant by the assumption in Theorem 3: \emph{at query time the graph contains clusters}. Does this mean that the theorem only applies to query times at which itself satisfies the dynamic gap condition?
(Q2) The quality guarantees and the runtime bounds need to have a dynamic gap assumption under which, within every window of updates, there exists some time step at which the graph satisfies a strong spectral clusterability condition. This is a rather specific assumption. Can you motivate this assumption? Do you expect that there are areal applications obeying this assumption?
(Q3) The dynamic gap assumption uses the constants and . Please clarify the quantitative meaning of this assumption? Is the exponent merely a proof artifact needed to absorb losses across the hierarchy levels, or does it have algorithmic significance?
(Q4) Theorem 3 (Main result) uses a constant : \emph{for some constant }; is it correct that will be determined by the assumption in Appendix Lemma D.5. The statement should make this dependency explicit. Are there dependencies between and the hierarchy depth ?
(Q5) Can the hierarchy depth grow with , or is it essential for the analysis that is a fixed constant? In particular, what breaks if one chooses (this would formally suggest polylogarithmic or even constant query time)?
(Q6) How essential is it to model also deletions or adding edges with two new end vertices?
(Q7) The experiments are based on synthetic and on k-NN graphs in which new classes (clusters) are introduced gradually. Could the authors report empirical values for the dynamic gap condition over time?
(Q8) How robust is the method when the dynamic process is noisier, when clusters evolve more gradually, or when the graph temporarily deviates substantially from the assumed clusterable structure? Can you add additional experiments?
Limitations
No. The authors state that they discuss the dynamic gap assumption, but it does not sufficiently discuss its practical restrictiveness, the apparent need for the gap condition at query time (if so), or the fact that the experiments are quite aligned with those assumptions.
Final justification
The rebuttal and the additional experiments substantially improved my assessment of the paper. In particular, the ogbn-arxiv and Reddit experiments address my main concern about the practical relevance of the method beyond the clean synthetic setting of the original submission. The per-checkpoint evaluation also resolves my concern about the previously large pooled standard deviations and shows that tracks Full SC and LS24 closely at most query points.
The remaining transient drops during class insertion are relevant for the intended dynamic setting, but the authors have committed to quantifying their frequency and recovery time, and to including 10-seed runs and full per-query figures in the revision. I consider these remaining issues appropriate for revision rather than acceptance-critical.
Overall, my main concerns about practical relevance and empirical robustness have been addressed sufficiently, and I therefore raise my score to 4 (Borderline Accept).
Formatting concerns
I did not find major issues.
8 comments
Rebuttal
We thank the reviewer for the careful and constructive assessment of our manuscript and for recognizing the novelty and significance of our contributions. We address the reviewer’s questions and suggestions below.
Q1/W5: Does the guarantee require the query graph itself to satisfy the gap condition? For a guarantee on the conductance of the returned clusters we do require the graph itself to satisfy some gap condition. Note that this is also a requirement for spectral clustering in the static setting. A sufficient heuristic to check whether the query graph satisfies the gap condition is by computing the spectral gap between and . If no such a gap exists, then our algorithm has no guarantee on the conductance of the output clusters, which is equivalent to results in the static setting.
Notice that there are two different gap assumptions. Firstly, as stated in Section 2.3, a dynamic gap assumption is imposed at reference time , when the data structure is rebuilt: $ \lambda_{k+1}(L_{G_t})=\Omega(1)$ and $\rho_{G_t}(k)=O\left(k^{-(18+5d)}\log^{-\gamma}(n_t)\right). $ Secondly, for a query during the following updates, we allow the weaker condition $ \lambda_{\ell+1}(L_{G_T})=\Omega(1)$ and $\rho_{G_T}(\ell)=O\left(\ell^{-\alpha}\log^{-\epsilon}(n_T)\right), $ where . Since may be smaller than , is a weaker assumption. Therefore, “ contains clusters” means only that has some identifiable cluster structure at query time; it does not mean that must satisfy the original strong gap assumption. We will make this distinction more explicit in Theorem 3.
Q2/W2: Motivation and practical scope of the dynamic-gap assumption. Our dynamic-gap assumption follows the framework introduced by Laenen and Sun (2024) [7]. Provable guarantees for spectral clustering require a clusterability condition. The two components of our assumption have standard spectral-clustering interpretations. The upper bound on ensures an -partition with small outer conductance, while rules out an additional low-conductance component. Together, they describe a graph with exactly well-separated clusters. The dynamic part is weaker than requiring clusterability at every time: it permits transition periods, lasting up to updates, in which communities merge or split. This is intended to model networks that repeatedly return stable community states between transitions. We agree, however, that this requirement does not hold for all dynamic graphs. However, since the number of vertices and edges in the underlying graph might grow in our setting, we believe that this model covers many practical applications (e.g., social network analysis) during which new clusters could be generated over time.
Q3: Meaning of , , and the exponent . The parameter is the hierarchy depth, while controls the strength of the gap assumption: a larger requires smaller cluster conductance and hence more clearly separated clusters as the graph grows. The exponent arises from the analysis rather than the algorithm itself. Each contraction level incurs an loss in Lemma D.7, so the initial factor is the accumulated loss across levels and leaves at the deepest level. The algorithm does not use or estimate this exponent.
Q4/W4: What is , and how does it depend on ? The parameter is introduced in Lemma D.5 to express the conductance of the small clusters considered at each contraction level: $ \Phi(C)\leq \ell^{-\alpha}\log^{-\epsilon}(n_T). $ Thus, is not determined by Lemma D.5 or used by the algorithm; it simply parameterizes the conductance of these small clusters. There is no assumed relationship between and : describes cluster conductance, whereas is the chosen hierarchy depth. They interact only in the final guarantee because each contraction level incurs an loss, producing after levels. Because Theorem 3 appears before the formal distinction between large and small clusters, this role of was not sufficiently clear. We will revise the theorem to explain it explicitly.
Q5: Can the hierarchy depth(d) grow with ? We thank the reviewer for this insightful question. Our analysis requires to be a fixed constant. If , the dynamic-gap assumption would require $ \rho_G(\ell) = O(\ell^{-(18+5d)}\log^{-\gamma}n) = n^{-\Theta(1)}\log^{-\gamma}n $ for fixed . For , this requirement becomes . In a connected unweighted simple graph, however, every cut has conductance at least . Thus, this condition cannot generally hold in the unweighted setting. Moreover, increasing raises the update time to and drives the output exponent toward zero, eventually making the conductance guarantee uninformative. Therefore, one cannot set in our theorem to obtain constant query time; the result applies only to fixed constant .
Q6/W1: Deletions and edges with two new endpoints. These restrictions are needed for our current analysis, although they are not necessary to the general hierarchical-contraction idea. Deletions break the monotonicity of degrees and cluster volumes used by the sparsifier, unfolding rules, and amortized analysis. Supporting deletions would therefore require a fully dynamic sparsifier and new mechanisms for handling decreasing volumes and re-contraction. An edge with two new endpoints creates a component that is initially disconnected from the maintained graph, whereas our model preserves connectivity by introducing each new vertex through an edge to an existing vertex. Note that for disconnected graphs, the spectral gap is infinite, and as such many aspects of our theoretical analysis don’t hold anymore. We view both extensions, particularly deletions, as important future work and will state these more clearly.
Q7: Empirical dynamic-gap values over time. We thank the reviewer for this suggestion. We evaluated the gap during gradual cluster introduction on both synthetic and -NN graphs.
For the synthetic experiment, we start with four clusters of 2,500 vertices (, ) and gradually add one 100-vertex cluster with external edges. We use , , and three independent runs. We report
| 6.99 | 36.48 | 65.93 | 95.34 | 124.72 | 154.05 | |
| Semi | 7.77 | 40.61 | 73.40 | 106.16 | 138.87 | 171.52 |
| 7.77 | 49.08 | 88.99 | 128.86 | 168.65 | 193.70 |
Across all runs, remains at least , , and for , Semi, and , respectively. Their empirical five-way conductance decreases from to .
For the real-world -NN experiments, we use . We initialize MNIST with five classes and EMNIST with ten classes, and then introduce one additional class to each dataset in five equal batches. We report the consecutive eigengap:
For , we measure at query times when , so both eigenvalues are defined. All representations are evaluated at the same update time.
| Dataset | ||||||
|---|---|---|---|---|---|---|
| MNIST | 0.0173 | 0.0171 | 0.0151 | 0.0182 | 0.1902 | |
| Semi | 0.0212 | 0.0223 | 0.0154 | 0.0125 | 0.1788 | |
| 0.0212 | 0.0204 | 0.0376 | 0.0153 | 0.4702 | ||
| EMNIST | 0.0011 | 0.0007 | 0.0007 | 0.0004 | 0.1324 | |
| Semi | 0.0049 | 0.0248 | 0.0164 | 0.0116 | 0.1501 | |
| 0.0049 | 0.0119 | 0.0059 | 0.0081 | 0.3041 |
The above two tables show that our data structures approximately preserve the spectral gap during edge and vertex insertions, providing empirical support for our theoretical analysis.
Q8: Robustness to noisy and weakly clusterable graphs. We thank the reviewer for this suggestion. We added a dynamic SBM experiment with five clusters of 2,000 vertices each. The initial graph uses within-cluster probability and cross-cluster probability , and is connected. We then gradually increase by inserting uniformly random cross-cluster edges. The graphs are nested, and every method receives exactly the same updates. We use hierarchy depth and report mean ARI (standard deviation) over five independent runs.
| Full SC | LS24 | Semi | ||
|---|---|---|---|---|
| 0.0010 | 1.000 (0.000) | 1.000 (0.000) | 1.000 (0.000) | 1.000 (0.000) |
| 0.0073 | 1.000 (0.000) | 1.000 (0.000) | 1.000 (0.000) | 0.999 (0.000) |
| 0.0104 | 0.997 (0.001) | 0.988 (0.002) | 0.990 (0.002) | 0.937 (0.005) |
| 0.0135 | 0.920 (0.001) | 0.778 (0.003) | 0.776 (0.003) | 0.557 (0.006) |
| 0.0166 | 0.390 (0.010) | 0.054 (0.010) | 0.047 (0.014) | 0.004 (0.002) |
| 0.0198 | 0.002 (0.001) | 0.001 (0.000) | 0.001 (0.000) | 0.000 (0.000) |
All methods remain highly accurate through . Under stronger noise, degrades earlier, consistent with its more aggressive compression. At , even Full SC drops to , and by the planted cluster structure is too weak for spectral clustering on the full graph. So, by the above table we can say the clustering quality is approximately preserved by our data structures under this noisy model.
Thanks you for your response. Many of my questions have been answered. I also like your new experiments with noise. However, also they were done on initially synthetic graphs, in which you kept the number of clusters fixed. Also the MNIST and the EMNIST graphs are small, but dynamic algorithms only make sense if the runtime of initial clustering takes long. My concern still is that your method will have only restricted impact in practice, since most instances will not fulfill your dynamic gap condition. Your experiments with adding noise show that indeed if this condition is no more fulfilled, the approach does not work anymore for th instances you tested. But maybe it is different for instances that are more practical. Have you tested your approach with other benchmark sets for clustering, such as ogbn-arxiv (growing fields, this should have some natural clustering structure, too; but maybe will not fulfill your condition), com-DBLP (here, you could show if there is a runtime advantage with your incremental approach),
We thank the reviewer for these insightful suggestions. Our new experiments show that while the dynamic gap assumption is needed for our theoretical analysis, in practice our algorithm also works when this assumption is not satisfied.
We added experiments on two substantially larger real-world benchmarks: ogbn-arxiv [2] and the Reddit GraphSAGE benchmark [1]. We did not use com-DBLP because its communities overlap: an author may belong to multiple communities, which violates the single ground-truth label assumption of ARI/NMI metrics. Instead, we use the Reddit GraphSAGE benchmark, which has substantially more edges(57M+) than com-DBLP(1M+) and provides 41 fixed, non-overlapping classes. This allows us to evaluate both runtime and clustering quality on a large-scale graph.
For all experiments, we report each metric as mean (standard deviation). ARI and NMI are calculated using all queries from all runs, while total runtime is averaged over the three runs.
ogbn-arxiv
ogbn-arxiv is originally a directed citation graph. We convert it into an undirected graph by replacing each directed citation with an undirected edge. We initialize the graph with all papers published through 2014 and then insert papers chronologically in five batches: 2015, 2016, 2017, 2018, and 2019+. Within each year, we use the following insertion order: papers and their original incident edges are added only when they keep the active graph connected. We do not create any additional edges. We query 10 times per batch, giving 50 queries in total. The final graph contains 169,343 vertices and 1,157,799 undirected edges, with 40 subject labels used as ground truth.
| Method | ARI | NMI | Total time |
|---|---|---|---|
| Full SC | s | ||
| LS24 | s | ||
| Semi | s | ||
| s |
The main graph is relatively sparse relative to its size and has weak community structure with respect to its subject labels, as reflected by the moderate performance of Full SC. More importantly, the normalized-Laplacian eigengap is small: its minimum, mean, and maximum over the all queries are , , and , respectively which does not satisfy our dynamic-gap assumption. Still, achieves an ARI of , compared with for Full SC, while reducing total mean runtime from s to s. This directly demonstrates useful empirical performance outside the theoretical regime.
The Reddit GraphSAGE graph contains 232,965 vertices, 52,307,946 undirected edges, and 41 classes. It has substantially more edges than ogbn-arxiv and exhibits a clear cluster structure. Because timestamps are unavailable, we turn this graph into a dynamic graph as follows: we initialize the graph with 38 random classes and then insert three held-out classes sequentially keeping the evolving graph connected. We split each class arrival into 10 incremental batches and query after each batch, giving nine query checkpoints per run. We repeat the experiment over three runs.
| Method | ARI | NMI | Total time |
|---|---|---|---|
| Full SC | s | ||
| LS24 | s | ||
| Semi | s | ||
| s |
Full SC obtains an ARI of and an NMI of , confirming that there is a strong cluster structure. While obtains an ARI of and an NMI of . Moreover, it reduces total mean runtime from s to s, corresponding to a speedup, and is also substantially faster than LS24 and Semi.
Together, with these experiments we try to address both aspects of the reviewer’s concern. The ogbn-arxiv results show that the strong dynamic-gap assumption is not necessary for empirical performance, while Reddit GraphSAGE demonstrates a substantial runtime advantage with limited loss in clustering quality at a large scale. We will add these experiments to the revised paper to demonstrate the practical effectiveness of our algorithm.
References
[1] Hamilton, W. L., Ying, R., & Leskovec, J. (2017). Inductive representation learning on large graphs. In Advances in Neural Information Processing Systems (NeurIPS) (pp. 1024-1034).
[2] Hu, W., Fey, M., Zitnik, M., Dong, Y., Ren, H., Liu, B., Catasta, M., & Leskovec, J. (2020). Open graph benchmark: Datasets for machine learning on graphs. In Advances in Neural Information Processing Systems (NeurIPS) (pp. 22118-22133).
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper studies dynamic spectral clustering for evolving graphs where edges and potentially vertices are inserted over time. The main contribution is a semi-contracted graph representation that keeps stable clusters compressed and the hierarchical graph contraction scheme that reduces the query cost. Under cluster-separation assumptions, authors provide theoretical results showing that proposed algorithms improve the amortized query time significantly over prior work while maintaining comparable clustering quality.
Strengths and weaknesses
The paper tackles the dynamic spectral graph clustering. The proposed methods are clearly motivated, and the theoretical analysis appears solid. Specifically, the semi-contracted graph representation and the hierarchical graph contraction scheme are original and significant from a computational perspective, improving query efficiency for large evolving graphs.
The main weakness is that the paper could provide more explanation and interpretation to improve clarity and practical usability. For example,
-
After Theorem 3, the paper should more explicitly discuss the trade-off between hierarchy depth and clustering accuracy. While deeper hierarchies improve query efficiency, the theoretical bound contains depth-dependent terms, suggesting that the hierarchy level may also affect approximation quality.
-
The paper would benefit to provide practical guidance on hyperparameter tuning, especially how to choose the hierarchy level for a new real-world dataset. Adding discussion about the practical implementation of proposed method enlarge the method impact in real applications.
-
The ARI trajectory of the hierarchy method in Figure 2 appears somewhat unexpected. Additional explanation of this behavior would help readers better understand the practial performance of the algorithm.
Questions
-
Can the semi-contracted and hierarchical contraction ideas be applied to other spectral clustering variants beyond the standard k-means procedure? If so, what assumptions should be modified and what properties of the clustering method are needed for the theoretical guarantees to hold?
-
The current theoretical analysis is stated for undirected weighted graphs, while the SBM in simulations generate unweighted binary graphs. Could the authors clarify this connection and, if feasible, add a small experiment on weighted dynamic graphs to demonstrate the range of applicability?
Limitations
yes
Formatting concerns
It may be better for visualization to have larger legends in plots.
2 comments
Rebuttal
We thank the reviewer for the thoughtful feedback and positive assessment of our approach. We address the questions and suggestions below.
Weakness 1: Hierarchy depth: efficiency–accuracy trade-off: Increasing the hierarchy depth improves the amortized query time to , but increases the amortized update time to . It also weakens the theoretical conductance guarantee through the depth-dependent factors and . Thus, deeper hierarchies lead to better query time, while shallow hierarchies lead to better update times and stronger approximation guarantees on the returned clusters. We will discuss this trade-off explicitly after Theorem 3.
Weakness 2: In practice, should remain a small constant. A shallow hierarchy is preferable for update-heavy or accuracy-sensitive workloads, whereas a deeper hierarchy is more useful when queries are frequent and expensive. We use as a practical default in our experiments. In practice, can be set on a validation set of the data which minimises total run time, while maintaining a desired clustering guarantee. We will add this practical guidance to the paper.
Weakness 3: ARI trajectory in Figure 2. Figure 2 evaluates a graph whose cluster structure changes over time. New clusters are gradually added, or existing clusters are merged, through batches of edge insertions. During these transitions, the graph may not yet contain enough information to clearly represent the new clustering. The hierarchical method may also show temporary changes in ARI because its deeper levels are more compressed and are updated periodically. As more edges arrive and the hierarchy is refreshed, the clustering quality recovers. We will clarify this behavior in the discussion of Figure 2.
Question 1: The semi-contracted and hierarchical representations are not inherently tied to -means. However, our theoretical analysis requires the clustering subroutine to satisfy two main properties: Under the assumed spectral clusterability condition, it needs to return a partition with bounded outer conductance. Its output also needs to have sufficient volume overlap with the target clusters so that stable clusters can be safely contracted. Therefore, another clustering procedure could replace -means if it provides analogous approximation and stability guarantees. Without these properties, the contraction framework may still be applied algorithmically, but our theoretical analysis would not transfer automatically.
Question 2: An unweighted graph is a special case of our weighted formulation, obtained by assigning weight to every present edge. Thus, our theoretical results cover the unweighted SBM experiments. Weighted graphs are more challenging because a single high-weight insertion can abruptly change the cluster structure - e.g. adding one edge with weight would lead to a new cluster after one update. Our guarantees continue to apply whenever the resulting graph satisfies the stated clusterability condition; if a heavy edge destroys this structure, no query-time quality guarantee is claimed. We will clarify this scope and add a weighted experiment with bounded edge weights to illustrate the weighted setting.
Experiment on weighted graph: To demonstrate the weighted setting empirically, we compare weighted and unweighted versions of the same dynamic SBM. The graph has five clusters of 2,000 vertices, with and . We initialize the graph with four clusters and introduce the fifth cluster in five equal batches. Both settings use exactly the same graph topology and update sequence. In the unweighted setting, ; in the weighted setting, each edge receives a fixed independent weight . We use , and report mean ARI (sample standard deviation) over five query times and two independent runs.
| Edge weights | Full SC | LS24 | Semi | |
|---|---|---|---|---|
| 0.9816 (0.0054) | 0.9816 (0.0054) | 0.9816 (0.0054) | 0.9816 (0.0054) | |
| 0.9701 (0.0008) | 0.9701 (0.0007) | 0.9701 (0.0008) | 0.9701 (0.0010) |
In the above table the ARI values for weighted and unweighted graphs are almost similar. These results demonstrate that the proposed methods apply effectively to weighted dynamic graphs as well as unweighted graphs.
Thank you to the authors for the detailed response. I believe the point-by-point response has addressed all of my concerns and questions. Since my initial assessment was already positive, I would like to keep my current score unchanged.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
We thank the Area Chair for the thoughtful summary. Throughout the discussion, we have tried to respond to every concern as clearly and thoroughly as possible, including conducting the additional experiments requested by the reviewers. As a summary for the questions posed:
The choice of d gives a trade-off between query time, update time, and clustering quality. Increasing d reduces the query cost to O(n1/d), but increases the update cost by an O(d) factor and weakens the clustering guarantee. Our depth-arbitration experiment in the paper demonstrates this trade-off. We use d=4 as a practical default. For query-heavy tasks, a larger constant d can reduce total runtime; for update-heavy or accuracy-sensitive tasks, a smaller constant d>2 is preferable.
Our theorem requires d to be a fixed constant independent of n. Although the algorithm can technically be run with growing d, the assumptions become increasingly stronger and the guarantee becomes weak. For fixed ℓ≥2, choosing d=Θ(logn) would require
ρG(ℓ)=O(ℓ−(18+5d)log−γn)=n−Θ(1)log−γn.
For example, if d=log2n, then ℓ−5d≤n−5, making the required conductance o(1/n2). However, every nontrivial cut in a connected unweighted simple graph has conductance at least Ω(1/n2). Hence, this requirement cannot generally hold. This is why our theoretical results treat d as a small fixed constant rather than allowing it to grow with n.
We apologize for the confusion. The constant mentioned by Reviewer 37cU is α, which currently appears in Theorem 3. This constant comes from the theoretical analysis of the hierarchy, where α is used to express the conductance of small clusters in the form
The parameter α is not used or estimated by the algorithm; it is only an auxiliary exponent in the proof. We will revise the theorem statement to make this role explicit.
The other constants mentioned by the reviewers are d and γ, which are used in our dynamic-gap assumption. The parameter d is the hierarchy depth, while γ>0 controls the strength of the gap assumption: a larger γ requires smaller cluster conductance and hence more clearly separated clusters as the graph grows.
Please see our responses to Questions 7 and 8 from Reviewer 37cU, and our additional experiments on ogbn-arxiv, where we provide gap measurements and results on additional noisy synthetic and real-world graphs.