Neural Exploitation and Exploration of Contextual Bandits

Yikun Ban, Yuchen Yan, Arindam Banerjee, Jingrui He

TL;DR

Traditional neural contextual bandits rely on rigid, mathematically heavy statistical confidence bounds to balance exploration and exploitation. This paper introduces EE-Net, a novel framework that uses a dedicated exploration neural network to adaptively predict the "potential gain" (residual errors) of a primary exploitation network. This dual-network approach significantly cuts down on inference time and memory usage while delivering superior empirical performance and robust theoretical regret guarantees.

What Problem Does This Paper Address?

Contextual multi-armed bandits (MABs) are widely used in personalized recommendation systems and online advertising to solve the classic exploitation-exploration dilemma. While deep neural networks have recently been integrated into bandits to handle complex, non-linear reward functions (e.g., NeuralUCB, NeuralTS), they suffer from three major bottlenecks:

  1. One-Way Exploration: Traditional Upper Confidence Bound (UCB) methods always add a positive uncertainty radius to estimated rewards. If a model systematically overestimates an arm's reward, UCB-based approaches struggle to adjust downward efficiently.
  2. High Computational/Memory Overhead: To calculate statistical confidence intervals, existing algorithms must maintain and invert a massive matrix of gradient outer products ($\mathcal{O}(p^2)$ space complexity, where $p$ is the number of network parameters).
  3. Fragile Theoretical Assumptions: Existing proofs often rely on the assumption that arm contexts cannot be repeated, making them theoretically vulnerable to simple context duplication attacks.

The authors tackle these challenges by replacing traditional statistical confidence bounds with a purely deep-learning-driven exploration strategy.

Methods

EE-Net splits the bandit's responsibilities across two distinct neural networks:

  • Exploitation Network ($f_1$): This network maps the arm's context vectors to predicted rewards based on historical data.
  • Exploration Network ($f_2$): Instead of calculating a statistical bound, this network directly learns to predict the potential gain—the residual difference between the true observed reward and $f_1$'s prediction ($r - f_1$).
Figure 1: Exploration direction (right side): (1) "Upward" exploration should be performed when the model underestimates the arm’s reward; (2) "Downward" exploration should be performed when the model overestimates the arm’s reward. EE-Net (the proposed strategy), depicted in the left side, intends to adaptively make exploration according to the estimated potential gain of arm.

During each round, the algorithm feeds the gradient of $f_1$ into $f_2$. To keep things computationally efficient, the high-dimensional gradient vector is compressed into a lower-dimensional space using Locally Linear Embedding (LLE). The final arm selection is determined by maximizing the combined score: $f_1 + f_2$.

The training structure for both networks is cleanly summarized in the paper's architecture table:

Table 1: Structure of EE-Net (Round t).

Datasets

The authors evaluated EE-Net against standard linear and neural bandit baselines across four real-world datasets adapted into 10-armed bandit problems:

  • MNIST: The classic handwritten digit dataset, framed as an image classification bandit task.
  • Yelp & MovieLens: Recommendation tasks engineered to identify and filter out poorly rated restaurants and movies.
  • Disin: A fake news dataset from Kaggle where the bandit must successfully flag fake articles out of a pool of real ones.

Key Insights and Ideas

  • Adaptive Bi-directional Exploration: Because $f_2$ trains on raw residuals ($r - f_1$), it can output both positive and negative values. This allows for "upward exploration" when the exploitation network underestimates a reward, and "downward exploration" when it overestimates.
  • Ditching the Matrix Inversion: By treating exploration as a standard regression problem for $f_2$, EE-Net circumvents the need to store and invert massive gradient covariance matrices. This drops the space complexity from $\mathcal{O}(p^2)$ to a manageable $\mathcal{O}(p)$.
  • Attack-Resistant Regret Bounds: The authors provide an instance-dependent $\widetilde{\mathcal{O}}(\sqrt{T})$ regret upper bound. Crucially, their proof workflow doesn't require the Neural Tangent Kernel (NTK) matrix to be strictly positive-definite, meaning the theoretical guarantees hold up even if contexts are repeated.

Key Results

EE-Net consistently outperformed all baselines—including LinUCB, NeuralUCB, and NeuralTS—in cumulative regret reduction over 10,000 rounds:

  • Regret Reduction: EE-Net achieved a final cumulative regret reduction of 10.7% on MNIST, 8.9% on Disin, 6.4% on MovieLens, and 4.1% on Yelp compared to the next-best baseline.
  • Inference Speedup: Because evaluating $f_2$ only requires a single forward pass rather than a matrix inversion, EE-Net demonstrated 32% to 59% faster inference times than NeuralUCB and NeuralTS. This makes it highly suitable for latency-sensitive, real-world deployment.

Limitations and Future Work

Despite its inference efficiency, EE-Net incurs a 38%–46% higher computational cost during training because it has to optimize two neural networks simultaneously instead of one.

Additionally, because the exploration network ($f_2$) starts with random initialization, its initial potential gain estimates can be highly inaccurate, leading to suboptimal choices in the very early rounds of a deployment. The authors note that developing smarter initialization and phased training strategies for $f_2$ is a vital direction for future research.

Summary updated

BibTeX
@misc{ban2023neural,
  author = {Yikun Ban and Yuchen Yan and Arindam Banerjee and Jingrui He},
  title = {{Neural Exploitation and Exploration of Contextual Bandits}},
  year = {2023},
  eprint = {2305.03784},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2305.03784},
}
Figure