Combinatorial Neural Bandits

Taehyun Hwang, Kyuwook Chai, Min-hwan Oh

Abstract

We consider a contextual combinatorial bandit problem where a learning agent selects a subset of arms and receives feedback based on their scores, which are unknown functions of arm features. By approximating these functions with deep neural networks, we propose two novel algorithms: Combinatorial Neural UCB (CN-UCB) and Combinatorial Neural Thompson Sampling (CN-TS). We prove that CN-UCB achieves regret bounds of $\tilde{\mathcal{O}}(\tilde{d} \sqrt{T})$ or $\tilde{\mathcal{O}}(\sqrt{\tilde{d} T K})$, where $\tilde{d}$ is the effective dimension of a neural tangent kernel matrix. For CN-TS, we introduce an optimistic sampling technique to ensure the optimism of the selected combinatorial action, achieving a frequentist regret of $\tilde{\mathcal{O}}(\tilde{d} \sqrt{TK})$. These represent the first combinatorial neural bandit algorithms with rigorous regret guarantees, with CN-TS being the first Thompson sampling variant to achieve such guarantees for general contextual combinatorial problems.

Introduction

In many modern decision-making environments, an agent does not select a single action but rather a super arm—a subset of available options. Examples include a streaming service recommending a playlist of five movies or a GPS system selecting a route composed of multiple road segments. This is the essence of the combinatorial bandit problem.

Existing solutions typically rely on linear assumptions, where the reward of an item is a linear function of its features. However, real-world preferences are often complex and non-linear. While deep neural networks are ideally suited to model these complexities, providing theoretical "regret guarantees"—proof that the agent will eventually learn the optimal strategy—has remained an open challenge for combinatorial actions. This paper bridges that gap by leveraging the Neural Tangent Kernel (NTK) framework to provide the first neural-based algorithms with frequentist regret bounds.

Methodology

Neural Approximation and the NTK Framework

Both proposed algorithms utilize a deep ReLU neural network to approximate the unknown score function of each arm. To analyze the learning dynamics, the authors employ the Neural Tangent Kernel (NTK), which allows the behavior of overparameterized neural networks to be approximated by a linear model in a high-dimensional feature space.

Combinatorial Neural UCB (CN-UCB)

CN-UCB follows the "Optimism in the Face of Uncertainty" principle. It maintains an estimate of the score function and adds an exploration bonus (an offset term) based on the uncertainty of the neural network's prediction. By selecting the subset of arms that maximizes the sum of these upper confidence bounds, the agent balances the exploitation of known high-reward arms with the exploration of uncertain ones.

Combinatorial Neural Thompson Sampling (CN-TS)

The most significant innovation of this work is the adaptation of Thompson Sampling for combinatorial settings. Standard Thompson Sampling (TS) often fails in set-based selection because the probability that an entire set of sampled arms is "optimistic" (i.e., the samples exceed their true means) decreases exponentially as the set size $K$ increases. This is known as the "optimism gap."

To solve this, the authors introduce multiple sampling. Instead of drawing a single random score for each arm, the agent draws $M$ samples and selects the maximum (most optimistic) value among them. The paper proves that setting $M \approx \log K$ is sufficient to guarantee a constant probability of optimism, enabling the algorithm to achieve sub-linear regret in the worst-case frequentist setting.

Experimental Evaluation

Setup

The algorithms were evaluated using synthetic datasets designed to test various functional forms of rewards:

  1. Linear ($h_1$): A baseline to ensure neural models can match linear performance.
  2. Quadratic ($h_2$): A non-linear function testing the limits of linear baselines.
  3. Cosine ($h_3$): A periodic non-linear function.

The experiments involved choosing $K=4$ arms from a pool of $N=20$, with context vectors in dimensions $d \in \{40, 80, 120\}$.

Key Findings

  • Superiority in Non-Linear Environments: In tasks involving quadratic or cosine reward functions, linear baselines (CombLinUCB and CombLinTS) suffered from high, linear regret, failing to learn the underlying patterns. CN-UCB and CN-TS successfully maintained sub-linear regret, demonstrating their ability to adapt to complex reward landscapes.
  • Generalization Power: Interestingly, the neural algorithms often outperformed linear models even on purely linear tasks. This suggests that the overparameterization of neural networks provides a generalization advantage that helps the agent converge more quickly.
  • Theoretical Alignment: The empirical results validated the theoretical regret bounds, showing that the algorithms scale effectively as the context dimension $d$ and time horizon $T$ increase.

Conclusion and Future Work

This research provides the first theoretical foundation for using neural networks in contextual combinatorial bandits. By introducing the multiple-sampling technique for CN-TS, the authors have solved a long-standing issue regarding the optimism of Thompson Sampling in combinatorial spaces.

While the current work relies on the NTK framework—which requires computationally intensive matrix inversions and very wide networks—it sets the stage for more practical implementations. Future research may focus on reducing the computational overhead of these methods and testing their performance on large-scale, real-world recommendation datasets where non-stationary environments and noisy feedback are prevalent.

Summary updated

BibTeX
@inproceedings{hwang2023combinatorial,
  author = {Taehyun Hwang and Kyuwook Chai and Min-hwan Oh},
  title = {{Combinatorial Neural Bandits}},
  booktitle = {International Conference on Machine Learning},
  year = {2023},
  url = {https://openreview.net/forum?id=LdU3nD28vP},
}
Figure