Fully Dynamic Adversarially Robust Correlation Clustering in Polylogarithmic Update Time

Vladimir Braverman, Prathamesh Dharangutte, Shreyas Pai, Vihan Shah, Chen Wang

This paper presents a significant breakthrough in dynamic graph algorithms, specifically for the problem of correlation clustering. The authors introduce the first randomized algorithm that maintains a constant-factor approximation to the optimal clustering in polylogarithmic update time, even when facing an adaptive adversary.

TL;DR

The authors provide a randomized algorithm for fully dynamic correlation clustering that achieves an $O(1)$-approximation with $O(\log^2 n)$ amortized update time. Crucially, this is the first result to maintain efficiency and accuracy against an adaptive adversary who can change edge labels based on the algorithm's previous outputs.

What Problem Does This Paper Address?

Correlation clustering is a classic unsupervised learning task. Given a complete graph where every edge is labeled either positive (+) for similarity or negative (-) for dissimilarity, the goal is to partition vertices into clusters to minimize "disagreements." A disagreement occurs if a (+) edge connects different clusters or a (-) edge connects vertices within the same cluster.

In many real-world scenarios, like social networks or document streams, these relationships are dynamic—they change over time. While previous work addressed "oblivious" adversaries (where updates are fixed in advance), they struggled with "adaptive" ones. An adaptive adversary can observe the current clustering and strategically flip edge labels to force the algorithm into a poor state. Standard approaches, like the "Pivot" algorithm, rely on a random permutation of vertices that an adaptive adversary can eventually "learn" and exploit.

Methods

The core technical contribution is a dynamic version of sparse-dense decomposition. This technique partitions a graph into "almost-cliques" (dense regions with few missing internal edges and few outgoing edges) and "sparse" vertices.

Key components of their approach include:

  • Local Updates: Instead of recomputing the entire clustering, the algorithm monitors the degree of each vertex. When a vertex $u$'s degree changes by a significant factor ($\epsilon \cdot \text{deg}(u)$), the algorithm triggers a local sparse-dense decomposition on its neighborhood $N[u]$.
  • Validity Testing: Because a local view can be misleading, the algorithm uses subroutines to verify if a vertex truly belongs in an almost-clique globally.
  • Amortization: By only triggering expensive re-decompositions after a sufficient number of edge updates have occurred for a specific vertex, the authors prove that the average (amortized) cost per update remains low ($O(\log^2 n)$).
  • Robustness Subroutines: They introduce specific algorithms to "peel off" vertices that become sparse and "merge" vertices that become dense, ensuring the decomposition remains a good approximation of the optimal clustering.
An illustration of the discrepancy between local and global views. A vertex might look dense in a local neighborhood but be sparse in the global graph.

Datasets

The authors evaluated their algorithm on both synthetic and real-world datasets:

  • Synthetic: Stochastic Block Models (SBM) with $n=250$ and $n=2000$ vertices, varying the number of clusters ($k=4, 10$).
  • Real-World (from SNAP):
    • email-Eu-core: A communication network ($n=1005$, $m=25571$).
  • ca-HepTh: A collaboration network ($n=9877$, $m=25998$).
  • Update Simulation: They tested both random edge updates and "targeted" updates designed to simulate an adversarial attack by destroying existing cluster structures.

Key Insights and Ideas

  • The Power of Locality: The "aha moment" is that you don't need to fix the whole graph to fix a cluster. By focusing on the neighborhood of changed vertices, you can maintain a globally good solution with very little work.
  • Independence of Randomness: To defeat an adaptive adversary, the algorithm's randomness in each step is independent of past realizations. This prevents the adversary from gaining useful information about the algorithm's internal state from its output.
  • Handling "Pull-outs": A major challenge is when an almost-clique loses many vertices, making the remaining ones sparse. The algorithm tracks these removals and "dismantles" the clique if it loses more than an $\epsilon$ fraction of its vertices, ensuring the $O(1)$-approximation guarantee holds.

Key Results

  • Theoretical: Proven $O(1)$-approximation with $O(\log^2 n)$ amortized update time.
  • Empirical Stability: In experiments, the proposed algorithm (Dynamic SDD) showed much more stable clustering costs across updates compared to the Pivot baseline, especially under targeted adversarial updates.
  • Performance: On SBM datasets, the algorithm consistently maintained lower disagreement costs than the Pivot algorithm, which often produced costs worse than a simple "singleton" clustering (where every vertex is its own cluster).

Limitations and Future Work

  • Vertex Updates: The current model focuses on edge label flips. While related work exists for vertex updates, achieving $O(1)$-approximation with polylog update time under adversarial vertex deletions remains an open problem.
  • Deterministic Algorithms: The majority of efficient correlation clustering algorithms rely on randomization. The authors suggest exploring whether a deterministic $O(1)$-approximation is possible in the dynamic setting.
  • Memory Constraints: The current dynamic model assumes the entire graph is in memory. Adapting these robust techniques to the streaming setting (where memory is limited) is a promising future direction.

Summary updated

BibTeX
@inproceedings{braverman2025fully,
  author = {Vladimir Braverman and Prathamesh Dharangutte and Shreyas Pai and Vihan Shah and Chen Wang},
  title = {{Fully Dynamic Adversarially Robust Correlation Clustering in Polylogarithmic Update Time}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2025},
  url = {https://openreview.net/forum?id=Zqoq7L7o2E},
}
Figure