Differentiable Greedy Submodular Maximization: Guarantees, Gradient Estimators, and Applications

Shinsaku SakauearXiv 2020

Introduction

Submodular maximization is a cornerstone of discrete optimization, with applications ranging from sensor placement and dataset summarization to influencer marketing. The classic greedy algorithm is the standard approach for these problems, offering a robust $(1 - 1/e)$ approximation guarantee and high computational efficiency.

However, the greedy algorithm's discrete nature poses a significant challenge for modern machine learning pipelines. Its output is a step function of its input parameters: small changes in parameters like click-through rates or sensor reliability either result in no change to the output or cause a discontinuous "jump" to a different subset. This lack of differentiability prevents the use of gradient-based methods for sensitivity analysis or "decision-focused learning," where a model is trained end-to-end to optimize the final decision quality rather than intermediate prediction accuracy.

The Smoothed Greedy Framework

To bridge this gap, this work introduces SMOOTHED GREEDY, a framework that transforms the discrete greedy selection into a differentiable probabilistic process.

Algorithm 1: The Smoothed Greedy framework replaces the hard argmax with a probabilistic selection based on regularized marginal gains.

The core innovation lies in Randomized Smoothing. Instead of selecting the element with the absolute highest marginal gain at each step, the algorithm computes a probability distribution over feasible elements. This is achieved by adding a regularization function (such as entropy or a quadratic term) to the marginal gains.

Crucially, the authors prove that this randomization preserves theoretical performance. For cardinality constraints, the algorithm recovers an expected approximation ratio of $(1 - 1/e) - \delta K$, where $\delta$ represents the smoothing strength. This theoretical recovery extends to more complex $\kappa$-extensible systems, ensuring that differentiability does not come at the cost of solution quality.

To implement this efficiently, the framework utilizes a score-function gradient estimator (akin to REINFORCE). This allows for the computation of unbiased gradients of the expected output without the prohibitive computational costs associated with previous differentiable submodular optimization techniques. Baseline correction techniques are further employed to reduce the variance inherent in sampling-based gradient estimation.

Experimental Evaluation

The framework was evaluated across several domains, demonstrating its versatility and performance.

Sensitivity Analysis

On synthetic bipartite graphs, the framework was used to quantify how small perturbations in edge probabilities $\theta$ affect the likelihood of selecting specific nodes. This provides practitioners with a powerful tool to identify which model parameters most critically influence the final optimization outcome.

Sensitivity analysis on a bipartite graph: The framework computes gradients of the selection probability with respect to edge parameters $\theta$.

Decision-Focused Learning

In a decision-focused learning task using the MovieLens 100K dataset, the goal was to train a neural network to predict movie-user link probabilities such that the selected subset of movies maximizes expected influence. The variance-reduced Smoothed Greedy (VR-SG-100) significantly outperformed standard "two-stage" learning—which separates prediction from optimization—and surpassed existing continuous relaxation methods in both objective value and speed. Specifically, Smoothed Greedy was approximately 2x faster than continuous relaxation approaches while achieving superior results.

Discussion and Future Work

The primary insight of this work is that discrete algorithms can be smoothed for differentiability without sacrificing their core theoretical guarantees. By smoothing the algorithm itself rather than relaxing the problem into a continuous space, the framework remains efficient and performant.

However, challenges remain. While the gradient estimator is unbiased, it can exhibit high variance, occasionally leading to sub-optimal local optima during training. Additionally, the smoothing parameter $\delta$ introduces a trade-off between gradient smoothness and step optimality, currently requiring manual tuning. Future research may focus on automated hyperparameter scheduling and extending the theoretical guarantees to non-differentiable objective functions.

Summary updated

BibTeX
@misc{sakaue2020differentiable,
  author = {Shinsaku Sakaue},
  title = {{Differentiable Greedy Submodular Maximization: Guarantees, Gradient Estimators, and Applications}},
  year = {2020},
  eprint = {2005.02578},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2005.02578},
}
Figure