Parallel Submodular Function Minimization

Deeparnab Chakrabarty, Andrei Graur, Haotian Jiang, Aaron Sidford

Abstract

Submodular Function Minimization (SFM) is a fundamental problem in discrete optimization with wide-ranging applications in machine learning and computer vision. Historically, SFM algorithms have been inherently sequential, requiring a linear number of rounds relative to the number of elements. This paper presents two novel parallel algorithms that break this linear barrier by exploiting the range of the submodular function. We introduce a combinatorial 2-round algorithm for functions with small ranges and a continuous optimization approach that achieves $\tilde{O}(n^{1/3}M^{2/3})$ depth using $\ell_\infty$ geometry and Gaussian smoothing. These results establish new upper bounds for the parallel complexity of SFM and provide a framework for high-dimensional optimization in non-Euclidean spaces.

Introduction

Submodular functions, characterized by the property of diminishing marginal returns, serve as the discrete analog to convex functions. Minimizing these functions is a core task in various domains, including image segmentation, sensor placement, and data summarization. While polynomial-time algorithms for SFM have existed since the 1980s, the "sequential bottleneck"—the requirement for $O(n)$ rounds of queries—has limited their scalability in modern parallel computing environments.

The primary metric for parallel efficiency in this context is depth (or parallel complexity): the number of sequential rounds of queries required, assuming an arbitrary number of queries can be made in parallel within each round. This paper addresses the fundamental question: can we achieve sublinear depth for SFM?

The Role of Function Range

A key insight of this work is that the parallel complexity of SFM is intrinsically linked to the range of the function values. For an integer-valued submodular function $f: 2^V \to \{-M, \dots, M\}$, where $|V|=n$, the authors demonstrate that the parameter $M$ is a critical factor in determining how effectively the problem can be parallelized.

Combinatorial Parallelization: The 2-Round Algorithm

The first contribution is a remarkably simple combinatorial approach. The authors observe that for any submodular function, there exists an "anchor set" of size at most $M$ that can be used to identify the global minimizer.

By leveraging this property, the algorithm proceeds in just two rounds:

  1. Round 1: Query all sets of size up to $M$ in parallel to identify potential anchor sets.
  2. Round 2: For each candidate set, identify elements with non-positive marginal returns and "augment" the set to find the global minimum.

While this algorithm achieves a depth of 2, its query complexity is $n^{O(M)}$, making it highly efficient for constant $M$ but impractical as $M$ grows.

Continuous Optimization in $\ell_\infty$ Space

To handle larger ranges of $M$ with polynomial query complexity, the authors turn to convex optimization. They utilize the Lovász extension, a standard method to transform a discrete submodular function into a continuous convex function.

Gaussian Smoothing and $\ell_\infty$ Geometry

Traditional parallel optimization often relies on $\ell_2$ (Euclidean) geometry. However, the authors identify that the Lovász extension is Lipschitz-continuous specifically with respect to the $\ell_\infty$ norm. By convolving the Lovász extension with a Gaussian distribution, they create a smoothed version of the function that is easier to optimize in parallel.

The shift from $\ell_2$ to $\ell_\infty$ is transformative. In $\ell_2$ space, Gaussian smoothing introduces an error proportional to $\sqrt{n}$. In $\ell_\infty$ space, this error is reduced to $O(\sqrt{\log n})$. This logarithmic dependency allows for a much larger smoothing radius, which significantly reduces the number of optimization steps required to reach a solution.

Ball Acceleration

To further optimize the depth, the authors adapt "ball acceleration" techniques from recent stochastic convex optimization literature. This allows them to navigate the $\ell_\infty$ landscape more efficiently, resulting in a sublinear depth of $\tilde{O}(n^{1/3}M^{2/3})$.

Key Results

The paper provides two new trade-offs for a submodular function on $n$ elements with integer values in $[-M, M]$:

  • Ultra-Shallow Depth: A 2-round algorithm with $n^{O(M)}$ query complexity. This is optimal for constant $M$.
  • Sublinear Depth: An algorithm with $\tilde{O}(n^{1/3}M^{2/3})$ rounds and polynomial query complexity $\tilde{O}(n^2 M^2)$.
  • $\ell_\infty$ Optimization: As a side benefit, the authors developed the first highly-parallel algorithm for minimizing $\ell_\infty$-Lipschitz functions over a hypercube with near-optimal depth ($\tilde{O}(n^{1/3}/\epsilon^{2/3})$ rounds).

Discussion and Future Work

This work represents a major step forward in understanding the parallel limits of discrete optimization. However, several challenges remain. The current algorithms still exhibit a strong dependency on the range $M$. A significant open question is whether SFM can be solved in $o(n)$ rounds with only a polylogarithmic dependency on $M$. Furthermore, while the second algorithm is polynomial, the total query count remains high, suggesting a need for more query-efficient parallel methods.

Finally, the authors suggest that the depth for $\ell_\infty$ optimization might be further improvable from $1/\epsilon^{2/3}$ to $\log(1/\epsilon)$, which would represent a substantial theoretical advancement in the field of continuous optimization.

Summary updated

BibTeX
@inproceedings{chakrabarty2023parallel,
  author = {Deeparnab Chakrabarty and Andrei Graur and Haotian Jiang and Aaron Sidford},
  title = {{Parallel Submodular Function Minimization}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=iMfPFPMsZo},
}
Figure