Submodular Maximization beyond Non-negativity: Guarantees, Fast Algorithms, and Applications

Chris Harshaw, Moran Feldman, Justin Ward, Amin Karbasi

Abstract

It is generally believed that submodular functions—and the more general class of $\gamma$-weakly submodular functions—may only be optimized under the non-negativity assumption $f(S) \geq 0$. In this paper, we show that once the function is expressed as the difference $f = g - c$, where $g$ is monotone, non-negative, and $\gamma$-weakly submodular and $c$ is non-negative modular, then strong approximation guarantees may be obtained. We present an algorithm for maximizing $g - c$ under a $k$-cardinality constraint which produces a random feasible set $S$ such that $\mathbb{E} [ g(S) - c(S) ] \geq (1 - e^{-\gamma} - \epsilon) g(OPT) - c(OPT)$, whose running time is $O (\frac{n}{\epsilon} \log^2 \frac{1}{\epsilon})$, i.e., independent of $k$. We extend these results to the unconstrained setting by describing an algorithm with the same approximation guarantees and faster $O(\frac{n}{\epsilon} \log\frac{1}{\epsilon})$ runtime. Our algorithmic guarantees are complemented by a hardness result showing that no polynomial-time algorithm which accesses $g$ through a value oracle can do better.

Introduction

Submodular functions are often described as the discrete analogue of convex functions, characterized by the property of diminishing returns: adding an element to a small set yields a greater marginal gain than adding it to a larger one. This property makes them central to fields ranging from machine learning to economics. However, a significant limitation in existing discrete optimization literature is the reliance on the non-negativity assumption ($f(S) \geq 0$).

In many real-world scenarios, we are interested in profit maximization, where the objective is the difference between a submodular "revenue" $g(S)$ and a modular "cost" $c(S)$. Because costs can outweigh gains, the total objective $f(S) = g(S) - c(S)$ can easily become negative. Standard greedy algorithms fail in this regime; they are often too "short-sighted," selecting elements that look beneficial initially but prevent the selection of more efficient combinations later. This paper bridges this gap by providing the first strong approximation guarantees for the utility-minus-cost structure without requiring non-negativity.

The "Bad Element" Trap

The authors prove that a standard greedy approach can perform arbitrarily poorly—achieving an approximation ratio of only $O(1/k)$—when costs are involved. This occurs because the standard greedy choice is easily "tricked" by elements with high utility but disproportionately high costs. Once these elements are selected, the remaining budget (cardinality constraint $k$) is insufficient to recover the optimal solution. To overcome this, a mechanism is needed to prioritize cost-efficiency early in the selection process.

The Distorted Greedy Algorithm

The core innovation of this work is the Distorted Greedy algorithm. Rather than maximizing the objective $f(S) = g(S) - c(S)$ directly, the algorithm optimizes a surrogate objective $\Phi$ that evolves at each iteration $i$:

$$\Phi_i(T) = \left(1 - \frac{\gamma}{k}\right)^{k-i} g(T) - c(T)$$

Where:

  • $\gamma$ is the submodularity ratio (measuring how close the function is to being submodular).
  • $k$ is the cardinality constraint.

Why Distortion Works

This surrogate objective acts as a dynamic regularizer. Early in the process (when $i$ is small), the coefficient $(1 - \gamma/k)^{k-i}$ is at its smallest, making the algorithm extremely sensitive to costs. It will only select elements with very high utility relative to their cost. As the algorithm progresses and $i$ approaches $k$, the distortion fades, and the algorithm focuses more on the utility $g$. This prevents the algorithm from getting stuck in poor local optima caused by expensive, mediocre elements.

Theoretical and Computational Contributions

1. Tight Approximation Guarantees

The authors prove that Distorted Greedy returns a set $S$ such that: $$\mathbb{E}[g(S) - c(S)] \geq (1 - e^{-\gamma})g(OPT) - c(OPT)$$ This is a landmark result because the cost term $c(OPT)$ is subtracted without a fractional coefficient, a rarity in submodular optimization. Furthermore, the authors establish a hardness result showing that no polynomial-time algorithm can achieve a better approximation in the value oracle model, proving their algorithm is optimal.

2. Scalability via Stochasticity

To handle large-scale datasets, the authors introduce Stochastic Distorted Greedy. By sampling a small subset of the ground set at each step, they reduce the runtime from $O(nk)$ to $O(\frac{n}{\epsilon} \log^2 \frac{1}{\epsilon})$. This makes the algorithm's complexity independent of the constraint $k$, allowing it to scale to massive problems.

3. The $\gamma$-Sweep

In practice, the submodularity ratio $\gamma$ is often unknown. The authors provide a meta-algorithm that "guesses" $\gamma$ using a geometric sequence. This ensures that the algorithm remains effective even when the structural properties of the utility function are not fully characterized beforehand.

Empirical Evaluation

The researchers validated their approach on two distinct real-world tasks:

  • Bayesian A-optimal Design (Boston Housing Dataset): The goal was to select a subset of house features to minimize regression model variance at the lowest measurement cost. Distorted Greedy consistently found solutions with higher objective values than standard greedy heuristics, which frequently stalled in local maxima.
  • Directed Vertex Cover (Email EU Dataset): Using a graph of email communications, the algorithm was tasked with covering important nodes while minimizing selection costs. The results confirmed that the distorted objective successfully balances coverage and cost-efficiency in complex network structures.

Conclusion and Future Work

This paper provides a robust framework for submodular maximization beyond the non-negativity constraint. By introducing the concept of a distorted surrogate objective, the authors provide both theoretical optimality and practical efficiency for profit-maximization problems.

Future research may look to relax the monotonicity requirement of the utility component $g$ or explore more complex non-modular cost structures. Currently, the framework requires $c$ to be modular; extending these guarantees to submodular costs remains a significant open challenge in the field.

Summary updated

BibTeX
@inproceedings{harshaw2019submodular,
  author = {Chris Harshaw and Moran Feldman and Justin Ward and Amin Karbasi},
  title = {{Submodular Maximization beyond Non-negativity: Guarantees, Fast Algorithms, and Applications}},
  booktitle = {International Conference on Machine Learning},
  year = {2019},
}
Figure