Skip to main content
QUICK REVIEW

[Paper Review] A Fast Max Flow Algorithm

James B. Orlin, X Gong|arXiv (Cornell University)|Oct 10, 2019
Complexity and Algorithms in GraphsComputer Science17 references2 citations
TL;DR

This paper presents a new max flow algorithm, the Enhanced Large-Medium Excess-Scaling (LMES) algorithm, which achieves an O(nm log n / log log n) time complexity by eliminating stacks and introducing a flow-return forest to handle negative excesses. It strictly dominates King, Rao, and Tarjan's algorithm for all n and m, with a log log n speedup for sparse graphs (m ≤ n log n).

ABSTRACT

Diversity is an important principle in data selection and summarization, facility location, and recommendation systems. Our work focuses on maximizing diversity in data selection, while offering fairness guarantees. In particular, we offer the first study that augments the Max-Min diversification objective with fairness constraints. More specifically, given a universe 𝒰 of n elements that can be partitioned into m disjoint groups, we aim to retrieve a k-sized subset that maximizes the pairwise minimum distance within the set (diversity) and contains a pre-specified k_i number of elements from each group i (fairness). We show that this problem is NP-complete even in metric spaces, and we propose three novel algorithms, linear in n, that provide strong theoretical approximation guarantees for different values of m and k. Finally, we extend our algorithms and analysis to the case where groups can be overlapping.

Motivation & Objective

  • . To develop a faster strongly polynomial max flow algorithm that outperforms existing methods across all graph densities.
  • . To eliminate the need for stack data structures in excess scaling algorithms, simplifying implementation and improving efficiency.
  • . To introduce a flow-return forest data structure that efficiently handles nodes with slightly negative excesses, restoring non-negativity in O(logk n) scaling phases.
  • . To achieve improved asymptotic running time without relying on dynamic trees, opening new avenues for optimization.
  • . To provide a simpler proof of Orlin’s Contraction Lemma, strengthening foundational analysis in max flow algorithms.

Proposed method

  • . Proposes a stack-free variant of the stack-scaling algorithm, named Large-Medium Excess-Scaling (LMES), which simplifies the original framework.
  • . Introduces the flow-return forest—a novel data structure that stores nodes with negative excesses and restores non-negative excesses via targeted flow pushes.
  • . Uses a parameterized scaling approach with user-selectable k, optimizing to k = ⌈log n / (log log n + m/n)⌉ to minimize asymptotic running time.
  • . Employs a modified excess scaling strategy that permits small negative excesses and uses bucket-based arc classification (small, medium, large) for efficient updates.
  • . Maintains IMB(v, x, ∆) and ˆe(v, ∆) values for each node to enable O(1) evaluation of excess and imbalance, using pointer and bucket updates without division or logarithms.
  • . Avoids dynamic trees by relying on efficient arc classification and flow recovery mechanisms, reducing data structure overhead.

Experimental results

Research questions

  • RQ1. Can a max flow algorithm be designed without stacks while maintaining or improving performance?
  • RQ2. Does introducing a flow-return forest for handling negative excesses lead to a provably faster algorithm?
  • RQ3. Can the running time be strictly dominated over King, Rao, and Tarjan’s algorithm across all graph densities?
  • RQ4. Is it possible to achieve O(nm log n / log log n) time complexity without using dynamic trees?
  • RQ5. Can a simpler proof of Orlin’s Contraction Lemma be constructed to support faster max flow algorithms?

Key findings

  • . The proposed Enhanced LMES algorithm runs in O(nm log n / log log n) time, which strictly dominates the O(nm logβ n) time of King, Rao, and Tarjan’s algorithm for all values of n and m.
  • . For graphs with m ≤ n log n, the new algorithm is faster by a factor of O(log log n), significantly improving performance on sparse graphs.
  • . The algorithm achieves its speedup without using dynamic trees, suggesting that further optimization may be possible with such structures.
  • . A new, simpler proof of Orlin’s Contraction Lemma is provided, strengthening the theoretical foundation of O(nm) max flow algorithms.
  • . The flow-return forest enables efficient recovery of nodes with negative excesses in O(logk n) scaling phases, contributing to the improved asymptotic bound.
  • . The algorithm supports O(1) evaluation of excess and imbalance values (ˆe(v, ∆) and IMB(v, x, ∆)) using pointer and bucket updates, avoiding costly operations like division or logarithms.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.