Dynamic Maximal Independent Set

Morteza MonemizadeharXiv 2019

Abstract

Maintaining a Maximal Independent Set (MIS) in a dynamic graph—where edges are continuously inserted or deleted—is a fundamental problem in graph algorithms. This paper introduces a randomized algorithm that achieves an amortized update time of $O(\log^3 n)$, where $n$ is the number of vertices. This represents the first polylogarithmic solution for the dynamic MIS problem, significantly improving upon previous bounds that were polynomial in the size of the graph.

Introduction

A Maximal Independent Set (MIS) is a subset of vertices $S \subseteq V$ such that no two vertices in $S$ are connected by an edge, and every vertex in $V \setminus S$ is adjacent to at least one vertex in $S$. While finding an MIS in a static graph is a classic greedy exercise, the dynamic setting is far more complex. In a dynamic graph, the edge set $E$ changes over time via a stream of updates. The goal is to maintain a valid MIS while minimizing the time spent updating the set after each edge insertion or deletion.

Historically, the best-known algorithms for this problem were stuck with update times proportional to a root of the number of vertices or edges (e.g., $O(\sqrt{n})$ or $O(m^{1/3})$). This paper breaks this "polynomial barrier," providing a major theoretical leap forward by reaching $O(\log^3 n)$ amortized time.

Algorithmic Framework

The proposed algorithm avoids the cost of full recomputation by employing a hierarchical structure and randomized sampling. The approach can be broken down into several key components:

1. Hierarchical Leveling and Sparsity

The algorithm organizes vertices into $O(\log n)$ levels. At each level, it maintains a partial independent set. The critical insight is the use of subset sampling: vertices are sampled with a probability inversely proportional to the average degree of the graph at that level. This ensures that the induced subgraphs remain sparse enough to be processed efficiently using greedy techniques.

2. Amortized Analysis of Updates

The algorithm differentiates between light updates and heavy updates. Light updates are local changes that do not require significant restructuring of the MIS. Heavy updates involve more substantial recomputations but are mathematically proven to be rare. By spreading the computational cost of these rare heavy updates over a long sequence of edge changes, the algorithm maintains a low average (amortized) complexity.

3. Parallelism and Query Budgeting

Because the algorithm relies on randomization, there is a risk that a specific sequence of random choices could lead to poor performance. To mitigate this, the system runs $O(\log n)$ independent instances of the algorithm in parallel. Each instance is given a "query budget"—a maximum amount of work it is allowed to perform. If an instance exceeds this budget, it is discarded. This "safety valve" ensures that at least one instance will successfully and efficiently maintain the MIS with high probability.

Key Results and Impact

The primary contribution of this work is the $O(\log^3 n)$ amortized update time. This result shifts the complexity of the dynamic MIS problem from polynomial to polylogarithmic, a significant milestone in the field of dynamic graph algorithms.

Algorithm Type Complexity
Previous Deterministic Best $O(m^{2/3})$
Previous Randomized Best $\tilde{O}(\sqrt{n})$ or $\tilde{O}(m^{1/3})$
This Work (Randomized) $O(\log^3 n)$

Limitations and Future Directions

While this paper represents a breakthrough, it leaves several open questions:

  • Amortized vs. Worst-Case: The $O(\log^3 n)$ bound is amortized. Developing an algorithm with polylogarithmic worst-case update time remains a challenge.
  • Derandomization: The current approach is inherently randomized. Whether a deterministic algorithm can achieve similar performance is currently unknown.
  • Practicality: The use of multiple parallel instances and hierarchical levels introduces constant factors that may affect performance in real-world implementations for smaller graphs. Future work could focus on simplifying the structure for practical use cases.

Summary updated

BibTeX
@misc{monemizadeh2019dynamic,
  author = {Morteza Monemizadeh},
  title = {{Dynamic Maximal Independent Set}},
  year = {2019},
  eprint = {1906.09595},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1906.09595},
}
Figure