English

Near-Optimal Fully Dynamic Densest Subgraph

Data Structures and Algorithms 2020-03-12 v2

Abstract

We give the first fully dynamic algorithm which maintains a (1ϵ)(1-\epsilon)-approximate densest subgraph in worst-case time poly(logn,ϵ1)\text{poly}(\log n, \epsilon^{-1}) per update. Dense subgraph discovery is an important primitive for many real-world applications such as community detection, link spam detection, distance query indexing, and computational biology. We approach the densest subgraph problem by framing its dual as a graph orientation problem, which we solve using an augmenting path-like adjustment technique. Our result improves upon the previous best approximation factor of (14ϵ)\left(\frac{1}{4} - \epsilon\right) for fully dynamic densest subgraph [Bhattacharya et. al., STOC `15]. We also extend our techniques to solving the problem on vertex-weighted graphs with similar runtimes. Additionally, we reduce the (1ϵ)(1-\epsilon)-approximate densest subgraph problem on directed graphs to O(logn/ϵ)O(\log n/\epsilon) instances of (1ϵ)(1-\epsilon)-approximate densest subgraph on vertex-weighted graphs. This reduction, together with our algorithm for vertex-weighted graphs, gives the first fully-dynamic algorithm for directed densest subgraph in worst-case time poly(logn,ϵ1)\text{poly}(\log n, \epsilon^{-1}) per update. Moreover, combined with a near-linear time algorithm for densest subgraph [Bahmani et. al., WAW `14], this gives the first near-linear time algorithm for directed densest subgraph.

Keywords

Cite

@article{arxiv.1907.03037,
  title  = {Near-Optimal Fully Dynamic Densest Subgraph},
  author = {Saurabh Sawlani and Junxing Wang},
  journal= {arXiv preprint arXiv:1907.03037},
  year   = {2020}
}

Comments

Updated version. Accepted at STOC '20

R2 v1 2026-06-23T10:13:38.480Z