Stochastic Bandits with ReLU Neural Networks

Kan Xu, Hamsa Bastani, Surbhi Goel, Osbert Bastani
5/12/2024
cs.LGcs.DSstat.ML

No official code found. Best implementation: kanxu526/ReLUBandit (2 stars, MIT, last commit 2025-12-08).

Abstract

We study the stochastic bandit problem with ReLU neural network structure. We show that a $\tilde{O}(\sqrt{T})$ regret guarantee is achievable by considering bandits with one-layer ReLU neural networks; to the best of our knowledge, our work is the first to achieve such a guarantee. In this specific setting, we propose an OFU-ReLU algorithm that can achieve this upper bound. The algorithm first explores randomly until it reaches a linear regime, and then implements a UCB-type linear bandit algorithm to balance exploration and exploitation. Our key insight is that we can exploit the piecewise linear structure of ReLU activations and convert the problem into a linear bandit in a transformed feature space, once we learn the parameters of ReLU relatively accurately during the exploration stage. To remove dependence on model parameters, we design an OFU-ReLU+ algorithm based on a batching strategy, which can provide the same theoretical guarantee.

View on arXivView PDF

Code Implementations(1)

kanxu526/ReLUBanditCommunity100%
MIT
21Python, Jupyter NotebookMay 6, 202410 months agoMIT

Similar Papers

Cite this paper

@article{xu2024stochastic,
  title  = {Stochastic Bandits with ReLU Neural Networks},
  author = {Kan Xu and Hamsa Bastani and Surbhi Goel and Osbert Bastani},
  year   = {2024},
  eprint = {2405.07331},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2405.07331v1},
  journal = {ICML 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2405.07331.svg)](https://codeofpaper.com/paper/2405.07331)

Discussion