Skip to main content
QUICK REVIEW

[Paper Review] Nonparametric Stochastic Contextual Bandits

Melody Y. Guan, Heinrich Jiang|arXiv (Cornell University)|Jan 5, 2018
Advanced Bandit Algorithms ResearchDecision Sciences19 references5 citations
TL;DR

This paper proposes a nonparametric stochastic contextual bandit algorithm using k-NN regression with theoretical guarantees, achieving a sublinear regret of $\widetilde{O}(T^{(1+D)/(2+D)})$ where $D$ is the context dimension. It adapts to the intrinsic dimension $d$ of the data, enabling faster convergence on low-dimensional manifolds, and provides consistent topological structure recovery of top-arm regions with minimal assumptions.

ABSTRACT

We analyze the $K$-armed bandit problem where the reward for each arm is a noisy realization based on an observed context under mild nonparametric assumptions. We attain tight results for top-arm identification and a sublinear regret of $\widetilde{O}\Big(T^{\frac{1+D}{2+D}}\Big)$, where $D$ is the context dimension, for a modified UCB algorithm that is simple to implement ($k$NN-UCB). We then give global intrinsic dimension dependent and ambient dimension independent regret bounds. We also discuss recovering topological structures within the context space based on expected bandit performance and provide an extension to infinite-armed contextual bandits. Finally, we experimentally show the improvement of our algorithm over existing multi-armed bandit approaches for both simulated tasks and MNIST image classification.

Motivation & Objective

  • Address the challenge of learning optimal context-to-arm mappings in contextual bandits with arbitrary, non-linear reward functions.
  • Overcome the curse of dimensionality in nonparametric bandit learning by adapting to the intrinsic dimension of the data manifold.
  • Provide theoretical guarantees for top-arm identification and regret minimization without strong parametric assumptions on reward functions.
  • Recover the topological structure of context space—such as connected components where a given arm is optimal—using uniform consistency.
  • Extend the framework to infinite-armed contextual bandits and validate performance on real-world image classification tasks.

Proposed method

  • Use k-NN regression to estimate the mean reward function for each arm, leveraging local neighborhood information in the context space.
  • Design a modified UCB algorithm (k-NN-UCB) that balances exploration and exploitation using confidence bounds derived from k-NN regression error rates.
  • Apply theoretical results from nonparametric statistics to bound the uniform deviation of k-NN estimates, ensuring strong consistency under mild assumptions.
  • Leverage the fact that the effective dimensionality is the intrinsic dimension $d$ rather than the ambient dimension $D$, enabling faster convergence when data lies on a low-dimensional manifold.
  • Use uniform consistency of k-NN estimates to identify regions in the context space where a given arm is optimal, enabling topological structure recovery.
  • Extend the framework to infinite-armed bandits by modeling the arm space as a continuous function over context, using k-NN to estimate optimal actions dynamically.

Experimental results

Research questions

  • RQ1Can nonparametric methods achieve tight regret bounds in stochastic contextual bandits without assuming linearity in the reward function?
  • RQ2How does the algorithm's performance depend on the ambient versus intrinsic dimension of the context space?
  • RQ3Can the algorithm recover the topological structure of the context space, such as connected components where a specific arm is optimal?
  • RQ4Does k-NN-based UCB outperform linear baselines like LinUCB in settings with complex, non-linear decision boundaries?
  • RQ5Can the method be extended to infinite-armed contextual bandit problems with continuous action spaces?

Key findings

  • The k-NN-UCB algorithm achieves a sublinear regret bound of $\widetilde{O}(T^{(1+D)/(2+D)})$, where $D$ is the ambient context dimension, under mild Lipschitz and sub-Gaussian noise assumptions.
  • When the data lies on a low-dimensional manifold of intrinsic dimension $d < D$, the regret improves to $\widetilde{O}(T^{(1+d)/(2+d)})$, demonstrating automatic adaptation to the effective dimension.
  • k-NN regression significantly outperforms Ridge regression in top-arm identification, reducing test error from 0.065 to 0.002 in the Quintic Function case and achieving near-zero error in the Smiley and Bullseye cases.
  • In MNIST image classification, k-NN-UCB achieved a test regret of 5.8%, compared to 17.5% for LinUCB, demonstrating superior performance on real-world data with complex, non-linear decision boundaries.
  • The method successfully recovers the connected components of the context space where a given arm is optimal, with uniform consistency guarantees, even when shapes and relative positions are arbitrary.
  • The algorithm requires no preprocessing of data and automatically adapts to the underlying geometry of the context space, making it suitable for high-dimensional real-world data with low intrinsic dimensionality.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.