NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Simple Algorithms for Fully Dynamic Edge Connectivity

Yotam Kenneth-Mordoch, Robert Krauthgamer

This paper, recently published by researchers at the Weizmann Institute of Science, tackles a classic problem in graph theory with a refreshing focus on simplicity and efficiency for dense networks.

TL;DR

The authors present two new randomized algorithms for maintaining the edge connectivity of a graph as it undergoes constant edge insertions and deletions. Their approach matches the best-known performance bounds with significantly simpler logic and provides the first sub-linear ($o(n)$) update time for graphs with high connectivity.

What Problem Does This Paper Address?

In graph theory, edge connectivity ($\lambda_G$) is the minimum number of edges you must remove to disconnect a graph. In many real-world scenarios—like communication networks or transport grids—graphs aren't static; they are "fully dynamic," meaning edges are constantly being added or removed.

The challenge is to update the value of $\lambda_G$ quickly after every single change. While we’ve had algorithms that can do this in $\tilde{O}(n)$ time (where $n$ is the number of vertices), these solutions are often mathematically dense and difficult to implement. Furthermore, for "dense" graphs (those with many edges and high connectivity), we lacked algorithms that could break the $O(n)$ "barrier" for worst-case update times.

Methods

The authors rely on a core technique called $\tau$-star contraction.

  1. Contraction: The algorithm randomly selects a set of "center" vertices. For every other vertex, it picks a random neighbor among these centers and "contracts" the edge between them. This merges vertices together, shrinking the graph significantly while—with high probability—preserving the original minimum cut value.
  2. Weighted Representation: Unlike previous approaches that struggled with "multigraphs" (graphs with multiple edges between the same two nodes), this paper treats the contracted graph as a weighted graph. This allows them to represent many parallel edges as a single edge with a weight, drastically reducing the amount of data the algorithm needs to process.
  3. Stable Sampling: To ensure the algorithm doesn't have to "re-roll" its random choices every time a single edge changes, they use a Stable Dynamic Uniform Sampler. This data structure ensures that the "center" assignments only change slightly when the graph is updated, keeping the update time low.
  4. Forest Packing: To actually calculate the connectivity on the now-shrunken graph, they maintain a "maximal $k$-packing of forests," a standard technique that allows them to ignore redundant edges that don't contribute to the graph's connectivity.

Datasets

Not discussed in the paper. As a theoretical computer science work, the authors focus on proving mathematical bounds on "worst-case" time complexity rather than benchmarking on specific empirical datasets.

Key Insights and Ideas

  • The Power of Simplicity: The authors show that by reinterpreting the contracted graph as weighted, they can bypass the complex "linear-sketching" techniques used in previous state-of-the-art papers ([GHN+23]).
  • Breaking the $O(n)$ Barrier: The second algorithm is parameterized by the minimum degree of the graph ($\delta_G$). Because $\delta_G$ is always at least as large as the edge connectivity, the algorithm gets faster as the graph gets more connected. For graphs where connectivity is larger than $\sqrt{n}$, this is the first algorithm ever to achieve sub-linear update and query times.
  • Adversarial Robustness: Interestingly, because edge connectivity is a deterministic property of a graph, the algorithm is "adversarially robust" when reporting the value of connectivity. Even if an attacker knows the algorithm is randomized, they can't easily "trick" it into giving a wrong answer just by choosing specific edges to delete.

Key Results

  • Algorithm 1: Achieves a worst-case update time of $\tilde{O}(n)$. This matches the current state-of-the-art but with a much simpler proof and implementation.
  • Algorithm 2: Achieves a worst-case update time of $\tilde{O}(n/\delta_G)$ and a query time of $\tilde{O}(n^2/\delta_G^2)$.
  • The "Dense" Breakthrough: For graphs with high connectivity ($\lambda_G = \omega(\sqrt{n})$), this provides the first-ever $o(n)$ update and query times.

Limitations and Future Work

  • The "Intermediate" Gap: While the paper solves the problem for very low connectivity and very high connectivity, there is still a "hole" in the middle. For graphs with intermediate connectivity (roughly between $n^{1/11}$ and $n^{1/2}$), we still don't have a $o(n)$ worst-case update algorithm.
  • Oblivious vs. Adaptive Adversaries: While the algorithm is robust when reporting the value of connectivity, it is only proven to work against an "oblivious" adversary (one who doesn't see the algorithm's internal random bits) when asked to list the specific edges that form the minimum cut.
  • Future Direction: The main open question remains: can we achieve $o(n)$ update time for all possible values of edge connectivity?

Summary updated

BibTeX
@inproceedings{kennethmordoch2026simple,
  author = {Yotam Kenneth-Mordoch and Robert Krauthgamer},
  title = {{Simple Algorithms for Fully Dynamic Edge Connectivity}},
  booktitle = {SOSA},
  year = {2026},
  doi = {10.1137/1.9781611978964.31},
}
Figure