NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

An Improved Algorithm for Adversarial Linear Contextual Bandits via Reduction

Tim van Erven, Jack Mayo, Julia Olkhovskaya, Chen-Yu Wei

Abstract

This paper presents a computationally efficient algorithm for the adversarial linear contextual bandit problem where action sets are drawn stochastically. By reducing the contextual problem to a misspecification-robust linear bandit, the authors achieve a regret bound of $\tilde{O}(d^2\sqrt{T})$. Crucially, this bound scales polynomially with the number of constraints defining the action space rather than the number of actions, providing a significant breakthrough for combinatorial problems such as shortest-path routing and bipartite matching.

Introduction

In the standard contextual bandit framework, a learner observes a context (e.g., a user profile) and must select an action (e.g., an advertisement) to minimize a loss. While much of the literature assumes either stochastic losses or fixed action sets, real-world applications often involve a "hybrid" regime: losses are adversarial (chosen by an opponent), but the available action sets are stochastic (drawn from an unknown distribution).

A primary bottleneck in this setting is computational efficiency. In combinatorial scenarios, the number of possible actions $K$ can be exponentially large relative to the feature dimension $d$. Previous algorithms often suffered from runtimes scaling with $K$, making them impractical for complex tasks. This research addresses whether it is possible to achieve low regret in polynomial time relative to the dimension $d$ and the number of constraints $C$, independent of $K$.

Problem Setting: Adversarial Losses and Stochastic Contexts

The authors focus on Adversarial Linear Contextual Bandits with Stochastic Action Sets. In each round $t$, an environment generates a hidden loss vector $\theta_t$ in an adversarial manner. Simultaneously, a set of available actions $\mathcal{A}_t$ is drawn from a fixed but unknown distribution $\mathcal{D}$. The learner's goal is to minimize the cumulative regret against the best fixed policy in hindsight.

The challenge is twofold:

  1. Unknown Distribution: The learner does not know $\mathcal{D}$ and must learn the structure of the action space on the fly.
  2. Combinatorial Explosion: When actions represent paths in a graph or matchings, $K$ is too large to enumerate, requiring an algorithm that interacts with the action set through linear programming oracles.

Methodology: The Reduction Framework

The core contribution of this work is a reduction scheme that transforms the contextual problem into a standard, non-contextual linear bandit problem over a specialized feasible set $\Omega$.

The Mean Action Space ($\Omega$)

The authors define $\Omega$ as the set of all possible "mean actions" a policy can take, given the distribution $\mathcal{D}$. Since $\mathcal{D}$ is unknown, the algorithm constructs an empirical estimate, $\hat{\Omega}$, using a sample of previously observed action sets. This allows the learner to treat the problem as a linear bandit over $\hat{\Omega}$.

Handling Misspecification

Because $\hat{\Omega}$ is an approximation, the feedback received by the learner is inherently biased or "misspecified." To counter this, the authors utilize a Misspecification-Robust algorithm. They adapt the Continuous Exponential Weights algorithm by incorporating a specific bonus term. This term incentivizes exploration in directions where the empirical estimate $\hat{\Omega}$ is most likely to be inaccurate, ensuring the learner is not misled by the bias.

Geometric and Computational Efficiency

To maintain polynomial runtime, the algorithm avoids explicit enumeration of actions. Instead, it leverages linear programming tools, such as separation oracles and Minkowski sums, to navigate the action space. This ensures the complexity remains $poly(d, C, T)$, even when the number of actions $K \approx 2^d$.

Theoretical Results

The paper successfully resolves the open question of whether $poly(d)\sqrt{T}$ regret is achievable in polynomial time without dependence on $K$.

  • Regret without a Simulator: The algorithm achieves $\tilde{O}(\min\{d^2\sqrt{T}, \sqrt{d^3 T \log K}\})$. This is the first result to achieve polynomial scaling in $d$ for combinatorial action sets in this setting.
  • Regret with a Simulator: If the learner has access to a simulator (an oracle providing infinite context samples), the regret improves to $\tilde{O}(d\sqrt{L^*})$, where $L^*$ is the cumulative loss of the optimal policy. This matches minimax optimal rates.
  • The Doubling Trick: To manage the growing knowledge of the context distribution, the authors employ a "doubling trick," restarting the estimation of $\hat{\Omega}$ at exponential intervals (2, 4, 8... rounds) to refine the space and reduce misspecification error.

Discussion and Limitations

While the algorithm provides a theoretical breakthrough, several areas for future work remain. The current computational overhead, though polynomial, is more intensive than some semi-bandit alternatives. Additionally, a small gap exists between the achieved $d^2\sqrt{T}$ bound and the near-optimal $d\sqrt{T}$ bound; closing this gap without a simulator remains an open challenge.

Finally, the authors suggest that extending this reduction framework to "semi-bandit" feedback models—where the learner observes more granular information about the loss vector—could yield even tighter regret bounds and broader applicability to real-world reinforcement learning tasks.

Summary updated

BibTeX
@inproceedings{erven2025improved,
  author = {Tim van Erven and Jack Mayo and Julia Olkhovskaya and Chen-Yu Wei},
  title = {{An Improved Algorithm for Adversarial Linear Contextual Bandits via Reduction}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=MfhFiU28hv},
}
Figure