On Submodular Contextual Bandits

Dean P. Foster, Alexander RakhlinarXiv 2021

Introduction

Standard contextual bandit frameworks typically focus on selecting a single optimal action per round. However, many real-world applications—such as product search, news recommendation, and warehouse stocking—require the selection of a subset of items. This transition from single-item selection to subset selection introduces significant mathematical and computational complexity. Specifically, the utility of items often exhibits diminishing returns, and the number of possible subsets grows exponentially with the size of the item catalog.

This paper addresses these challenges by introducing efficient algorithms for contextual bandits with submodular rewards under complex constraints, achieving sublinear regret against constant-factor approximations of the optimal subset.

The Problem: Diminishing Returns and Combinatorial Explosion

The authors identify three primary hurdles in the subset selection setting:

  1. Diminishing Returns: The utility of adding an item to a subset decreases if similar items are already present. This is mathematically modeled as a monotone submodular function.
  2. Combinatorial Explosion: Selecting $k$ items from a catalog of size $A$ results in $\binom{A}{k}$ possible actions. A naive bandit algorithm treating each subset as a distinct action would suffer prohibitive statistical and computational costs.
  3. Complex Constraints: Real-world systems often have specific rules (e.g., "show at most 2 items from the electronics category"). These are modeled as matroid constraints.

To solve these, the paper proposes moving away from global exploration of the subset space toward targeted exploration around local optima.

Proposed Algorithms

The authors assume access to an online regression oracle—a black-box model that sequentially estimates the reward of a subset given a context. They propose two distinct strategies based on the desired balance between approximation quality and learning speed.

1. SquareCB.Submodular

This algorithm uses the regression oracle to find a local optimum of the estimated reward function (a subset where swapping one item for another does not improve the estimated reward). It then explores by randomizing actions only around this local optimum using an Inverse Gap Weighting (IGW) strategy.

  • Performance: It achieves a cumulative regret of $\mathcal{O}(\sqrt{k(A-k) \cdot n \text{Reg}_{sq}(\mathcal{F}, n)})$ against a benchmark that is 1/2 of the optimal reward.

2. ε-Greedy with Surrogate Potentials

To achieve a tighter approximation, this method uses a surrogate potential function (a technique from offline submodular optimization). It requires a stronger oracle capable of evaluating subsets smaller than the target size $k$. It explores by sampling uniformly in the local neighborhood of the surrogate's local optimum.

  • Performance: It achieves a cumulative regret of $\mathcal{O}(n^{2/3} \text{Reg}_{sq}(\mathcal{F}, n)^{1/3})$ against a stronger benchmark that is $(1-e^{-1}) \approx 63.2\%$ of the optimal reward.

Key Insights

Local Exploration is Sufficient

A major contribution of this work is the proof that one does not need to explore the entire $\binom{A}{k}$ combinatorial space. By randomizing just around the local optima of the estimated function, the learner can guarantee performance relative to the true function's local optima. This is achieved through a proof technique motivated by no-internal-regret concepts in online learning.

The Approximation vs. Regret Tradeoff

The research highlights a fundamental tension:

  • Fast Learning: You can achieve $\mathcal{O}(\sqrt{n})$ regret but only guarantee a $1/2$ approximation of the best subset.
  • High Accuracy: If you require a $1-1/e$ approximation, you must explore more aggressively (evaluating smaller subsets), which degrades the regret rate to $\mathcal{O}(n^{2/3})$.

Efficient Oracle Implementation

The authors prove that the required oracles can be implemented efficiently in practice. They provide a GLMtron-style algorithm for a "Sum of GLMs" model that achieves $\mathcal{O}(\sqrt{n \log(1/\delta)})$ regression regret, demonstrating that the framework is computationally viable for specific model classes.

Limitations and Future Work

The theoretical guarantees rely on the realizability assumption—the premise that the true reward function belongs to a known model class $\mathcal{F}$ that the regression oracle can learn. Additionally, the algorithm achieving the superior $1-1/e$ approximation requires a strictly stronger regression oracle and suffers a worse dependence on the time horizon $n$.

Closing the gap to achieve $\mathcal{O}(\sqrt{n})$ regret with the $1-1/e$ approximation remains an open challenge for the field. Future research may also explore generalizing these results to time-varying action sets and multiple simultaneous matroid constraints.

Summary updated

BibTeX
@misc{foster2021submodular,
  author = {Dean P. Foster and Alexander Rakhlin},
  title = {{On Submodular Contextual Bandits}},
  year = {2021},
  eprint = {2112.02165},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2112.02165},
}
Figure