NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Deterministic Approximation for Submodular Maximization over a Matroid in Nearly Linear Time

Kai Han, Zongmai Cao, Shuang Cui, Benwei Wu

Submodular maximization is often considered the "Swiss Army knife" of combinatorial optimization, powering everything from viral marketing and sensor placement to document summarization. However, when the objective function is non-monotone (meaning adding more elements can sometimes decrease the total value) and subject to a matroid constraint, finding an efficient, deterministic solution has historically been a choice between "fast but weak" or "strong but glacial."

In this paper, researchers introduce TwinGreedy and TwinGreedyFast, algorithms that achieve the best-known deterministic approximation ratio while slashing running times from quartic to nearly linear.

TL;DR

The authors present the first deterministic algorithm to achieve a $1/4$ approximation ratio for non-monotone submodular maximization over a matroid in $\mathcal{O}(nr)$ time, alongside a "Fast" variant that runs in nearly-linear time. Their approach replaces the traditional "repeated greedy" search with a novel "simultaneous greedy" framework, outperforming state-of-the-art algorithms by orders of magnitude in speed while maintaining high solution quality.

What Problem Does This Paper Address?

Many real-world problems exhibit "diminishing returns," a property captured by submodular functions. If the function is non-monotone, the utility might peak and then drop. For example, in social network monitoring, adding too many sensors might lead to redundant information or excessive costs. A matroid constraint is a generalized way to represent limits on selections, such as "pick at most $k$ items" or "pick items from different categories."

Comparison of approximation ratios and time complexities for state-of-the-art algorithms.

The primary challenge in this domain has been the trade-off between the approximation ratio (how close the solution is to the theoretical optimum) and computational complexity. As shown in the comparison table above, the previous best deterministic ratio for this problem was $1/4 - \epsilon$, but it required a staggering $\mathcal{O}(n^4 \log n / \epsilon)$ time—largely unusable for modern large-scale datasets. Faster algorithms existed, but they either relied on randomization or provided much weaker guarantees (like a $1/6$ ratio).

Methods

The authors depart from the standard "repeated greedy" framework, where an algorithm builds one set, then another, and finally picks the best. Instead, they propose a "simultaneous greedy-search" framework:

Illustration of the simultaneous greedy-search mapping between the optimal set and the twin candidate sets $S_1$ and $S_2$.
  1. TwinGreedy: This algorithm maintains two disjoint candidate sets, $S_1$ and $S_2$ (the "twins"). At each step, it identifies an element that provides the maximum marginal gain to either $S_1$ or $S_2$ without violating the matroid constraint. By growing these sets together, the algorithm can better account for the "utility loss" that occurs when a greedy choice prevents a better future choice.
  2. TwinGreedyFast: To achieve nearly-linear time, the authors incorporate a thresholding technique. Instead of scanning the entire remaining ground set for the absolute best element, the algorithm only accepts elements that exceed a specific marginal gain threshold $\tau$. This threshold is gradually lowered, allowing the algorithm to skip unnecessary computations and achieve a running time of $\mathcal{O}(\frac{n}{\epsilon}\log\frac{r}{\epsilon})$.

Datasets

The authors evaluated their algorithms on two practical applications using both synthetic and real-world data:

  • Social Network Monitoring: Tested on synthetic Erdős–Rényi (ER) and Barabási–Albert (BA) random graphs.
  • Multi-Product Viral Marketing: Tested on two massive real-world social network datasets:
  • Flixster: 137,925 nodes and 2.5 million edges.
  • Epinions: 75,879 nodes and 508,837 edges.

Key Insights and Ideas

  • The Power of Twins: The core "aha moment" is that building two sets simultaneously allows for a more sophisticated mapping of the optimal solution's elements to the algorithm's choices. This mapping is the key to proving the $1/4$ deterministic bound.
  • Efficiency via Thresholding: By combining the simultaneous search with decreasing thresholds, they prove that you don't need to be "perfectly greedy" at every step to maintain a strong theoretical guarantee.
  • Generalization: The framework isn't just for matroids; the authors show it extends to $p$-set systems (a more general class of constraints), achieving a $1/(2p+2) - \epsilon$ ratio.

Key Results

  • Theoretical Breakthrough: They improved the best deterministic ratio to $1/4$ while reducing complexity from $\mathcal{O}(n^4)$ to $\mathcal{O}(nr)$.
  • Speed: In empirical tests, TwinGreedyFast was more than an order of magnitude faster than existing state-of-the-art algorithms like Fantom, SampleGreedy, and ResidualRandomGreedy.
  • Utility: Despite being much faster, TwinGreedyFast achieved utility (objective value) very close to the much slower Fantom algorithm and outperformed the fastest randomized algorithms in the literature.
  • Monotone Case: Interestingly, the authors found that for monotone functions, their algorithm naturally "rediscovers" the classical $1/2$ deterministic ratio.

Limitations and Future Work

  • The 0.385 Barrier: While $1/4$ (0.25) is the best deterministic ratio, randomized algorithms using complex "multilinear extensions" can reach 0.385. However, those randomized methods are currently too slow for very large datasets.
  • Constraint Complexity: While the paper covers matroids and $p$-set systems, future work could explore even more complex constraints, such as the intersection of multiple matroids or knapsack constraints, using this "simultaneous" framework.
  • Parameter Sensitivity: The "Fast" version depends on a parameter $\epsilon$. While the paper suggests $\epsilon = 0.1$ works well, the trade-off between speed and accuracy in highly specialized domains remains an area for further exploration.

Summary updated

BibTeX
@inproceedings{han2020deterministic,
  author = {Kai Han and Zongmai Cao and Shuang Cui and Benwei Wu},
  title = {{Deterministic Approximation for Submodular Maximization over a Matroid in Nearly Linear Time}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2020},
  url = {https://openreview.net/forum?id=CBRBU0qsbI},
}
Figure