Subquadratic submodular function minimization

Deeparnab Chakrabarty, Yin Tat Lee, Aaron Sidford, Sam Chiu-wai Wong

TL;DR

This paper breaks the long-standing "quadratic barrier" in Submodular Function Minimization (SFM). By combining stochastic subgradient descent with clever data structures, the authors provide the first algorithms that run in subquadratic time ($O(n^{5/3})$ for approximate solutions and nearly linear in $n$ for integer-valued functions), significantly outperforming previous $O(n^2)$ and $O(n^3)$ benchmarks.

What Problem Does This Paper Address?

Submodular functions are the "discrete version of convex functions." They appear everywhere—from image segmentation and speech analysis to economics and social network modeling—characterized by the property of diminishing returns: adding an element to a small set helps more than adding it to a large set.

Minimizing these functions (SFM) is a core optimization task. While we've known since the 1980s that SFM can be solved in polynomial time, the actual running times have been a bottleneck. Specifically, the "quadratic barrier" was a major hurdle: most state-of-the-art algorithms required at least $O(n^2)$ evaluations of the function (where $n$ is the size of the universe). Since each evaluation itself can be costly, making these algorithms scale to massive modern datasets was nearly impossible.

Methods

The authors achieve their speedup by shifting the perspective from discrete sets to continuous optimization using the Lovász extension. The Lovász extension is a way to turn a discrete submodular function into a continuous, convex one.

Standard approaches use subgradient descent on this extension. However, a single subgradient calculation usually takes $O(n)$ function evaluations, and you typically need at least $\Omega(n)$ steps to converge, leading back to the $O(n^2)$ barrier.

The Innovation: 1. Sublinear Updates: Instead of recomputing the entire subgradient from scratch at every step, the authors use data structures (specifically balanced Binary Search Trees) to update the subgradient in sublinear time. 2. Exploiting Sparsity: For integer-valued functions, they prove that subgradients are sparse (mostly zeros). They use this to find changes in the gradient much faster than checking every element. 3. Stochastic Sampling: For real-valued functions, they use a "batched" stochastic subgradient descent. They sample coordinates to estimate the gradient, balancing the variance of the estimate against the computational cost of the update.

Datasets

As a theoretical computer science paper, this work does not use empirical datasets for training or evaluation. Instead, it provides rigorous mathematical proofs of algorithmic complexity. The "evaluation" is done through asymptotic analysis (Big-O notation) to prove that these algorithms are faster than all previous known methods in the same regimes.

Key Insights and Ideas

  • The "Aha" Moment on Monotonicity: The authors discovered a crucial "Subgradient Monotonicity" property. If you move the current solution in a specific way, the gradients of the "untouched" coordinates only move in one direction. This allows them to use binary search-like techniques to find where the gradient changes.
  • Breaking the Oracle Barrier: Previously, the community thought $n^2$ queries were necessary because a non-deterministic proof of optimality requires $n^2$ queries. This paper shows that while proving you have the optimum might be hard, finding it can be done much faster.
  • Lower Bound Proof: The paper includes a proof that a large class of popular algorithms (like the Fujishige-Wolfe heuristic) must take at least $\Omega(n)$ subgradient calls, confirming that their new data-structure-driven approach is fundamentally different and necessary to beat the old limits.

Key Results

The paper introduces two landmark algorithms:

  • For Integer-Valued Functions: An algorithm running in $O(nM^3 \log n \cdot EO)$ time, where $M$ is the maximum value of the function and $EO$ is the evaluation time. This is the first nearly linear time algorithm in $n$ for any known regime.
  • For Real-Valued Functions: An $\epsilon$-additive approximate algorithm running in $\tilde{O}(n^{5/3} \cdot EO/\epsilon^2)$ time. This successfully breaks the $n^2$ barrier for general approximate SFM.
  • Sparse Minimizers: If the optimal set is known to be small (size $s$), the complexity improves further to $O((n + sM^3) \log n \cdot EO)$.

Limitations and Future Work

  • The $M$ Factor: For the exact algorithm, the complexity depends on $M^3$. If the function values are extremely large, this algorithm might be slower than "strongly polynomial" algorithms that don't depend on $M$.
  • The $\epsilon$ Factor: The approximate algorithm depends on $1/\epsilon^2$. For very high precision (very small $\epsilon$), the quadratic dependence on the error might become a bottleneck.
  • Practical Implementation: While theoretically superior, the data structures involved (BSTs with subtree sums) add overhead. Future work is needed to see how these perform in practice compared to simpler heuristics like Fujishige-Wolfe on real-world data.

Summary updated

BibTeX
@inproceedings{chakrabarty2017subquadratic,
  author = {Deeparnab Chakrabarty and Yin Tat Lee and Aaron Sidford and Sam Chiu-wai Wong},
  title = {{Subquadratic submodular function minimization}},
  booktitle = {STOC},
  year = {2017},
  doi = {10.1145/3055399.3055419},
}
Figure