Min-cuts and Shortest Cycles in Planar Graphs in O(n log log n) Time

Jakub Lacki, Piotr Sankowski

Abstract

We present a deterministic $O(n \log \log n)$ time algorithm for finding shortest cycles and minimum cuts in planar graphs. The algorithm improves the previously known fastest algorithm by Italiano et al. in STOC'11 by a factor of $\log n$. This speedup is obtained through the use of dense distance graphs combined with a divide-and-conquer approach.

Introduction

Finding the minimum cut and the shortest cycle (girth) are fundamental tasks in graph theory with applications ranging from network reliability to computer vision. While general graphs often require randomized algorithms for optimal efficiency, the structural properties of planar graphs—those that can be embedded in a 2D plane without crossing edges—allow for faster deterministic solutions.

In planar graphs, these two problems are dual to each other: a shortest cycle in the primal graph corresponds exactly to a minimum cut in its dual graph. This paper presents a deterministic algorithm that achieves a complexity of $O(n \log \log n)$ for both problems in weighted planar graphs, significantly narrowing the gap toward linear time.

Algorithmic Framework

The core of the proposed algorithm is a refinement of the "CFN" divide-and-conquer framework. The standard approach involves three primary steps:

  1. Dividing: Identifying a cycle that partitions the graph into two subgraphs of roughly equal size.
  2. Recursing: Finding the shortest cycle contained entirely within either the "inside" or "outside" partition.
  3. Conquering: Finding the shortest cycle that crosses the dividing cycle.

To optimize the conquering step, the authors introduce several technical innovations that reduce the computational overhead of traditional max-flow and distance queries.

Dense Distance Graphs and r-Divisions

The algorithm utilizes $r$-divisions to partition the graph into smaller pieces. For each piece, a Dense Distance Graph (DDG) is constructed. A DDG is a complete graph on the boundary vertices of a piece, where edge weights represent the shortest path distances within that piece. By working with these compact representations, the algorithm avoids redundant processing of internal vertices.

Amortized Re-initialization

A major bottleneck in previous algorithms was the cost of re-initializing complex data structures at every level of the recursion. The authors overcome this by performing re-initialization only every $\log \log n$ levels. This "lazy" bookkeeping allows the high setup costs of the data structures (adapted from the work of Fakcharoenphol and Rao) to be amortized over many cheaper queries, leading to the logarithmic speedup.

Skeleton Graphs

To maintain efficiency at deeper recursion levels, the algorithm employs "skeleton graphs." These graphs track only the essential boundary vertices and division edges, preventing the algorithm from re-processing the entire graph structure at every step. This ensures that the number of vertices handled at any given level remains manageable.

Key Results

Static Complexity Improvement

The primary result is a deterministic $O(n \log \log n)$ time algorithm for min-cut and shortest cycle in weighted planar graphs. This represents a $\log n$ factor improvement over the previous state-of-the-art $O(n \log^2 n)$ or $O(n \log n \log \log n)$ algorithms. It effectively closes the complexity gap between the general min-cut problem and the more specific $st$-min-cut problem in planar graphs.

Dynamic Algorithms

In addition to the static result, the paper provides the first dynamic algorithm for these problems in weighted planar graphs. The algorithm supports edge insertions, deletions, and min-cut queries in $O(n^{5/6} \log^{5/3} n)$ time per operation. This is a significant milestone for maintaining connectivity information in evolving planar networks.

Discussion and Future Work

While the algorithm provides a theoretical breakthrough, it relies heavily on planar duality and $r$-divisions, making it inapplicable to non-planar graphs. Furthermore, the constant factors associated with the underlying data structures are likely large, meaning that simpler $O(n \log n)$ algorithms might still be more practical for smaller datasets.

Future research may focus on reducing the exponent in the dynamic algorithm's complexity or exploring whether a true $O(n)$ linear-time algorithm is achievable for these fundamental planar graph problems.

Summary updated

BibTeX
@inproceedings{lacki2011min,
  author = {Jakub Lacki and Piotr Sankowski},
  title = {{Min-cuts and Shortest Cycles in Planar Graphs in O(n log log n) Time}},
  booktitle = {ESA},
  year = {2011},
  url = {https://openreview.net/forum?id=IzE3yJDeL8l},
}
Figure