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

Sparsity-Agnostic Linear Bandits with Adaptive Adversaries

Tianyuan Jin, Kyoungseok Jang, Nicolò Cesa-Bianchi

In the realm of sequential decision-making, linear bandits serve as a foundational model. Consider a recommendation system deciding which articles to display based on user and item features. Typically, as the number of features ($d$) grows, the problem becomes exponentially harder. The "regret"—the difference in payoff between the algorithm's choices and the optimal choices—usually scales with $d$.

However, in many practical applications, only a small subset of features ($S$) genuinely influences the outcome. If an algorithm knows which features matter, it can filter out the noise and learn efficiently. But what happens when the number of relevant features is unknown, and the environment actively adapts to thwart the learner?

This paper introduces the first algorithms for sparse linear bandits capable of operating when the true sparsity ($S$) is unknown and the available actions are generated by an adaptive adversary. By randomizing over a hierarchy of confidence sets, the authors achieve regret bounds that scale with the true sparsity, demonstrating strong theoretical and empirical performance.

The Curse of Dimensionality in Adversarial Settings

Standard linear bandit algorithms, such as OFUL (Optimism in the Face of Uncertainty for Linear bandits), suffer from regret that grows with the total feature dimension $d$. If the underlying reward function is sparse (only $S$ features are non-zero), the regret should ideally depend on $S$ rather than $d$.

Most existing "sparse" bandit algorithms require prior knowledge of $S$ to tune their exploration parameters—specifically, the radius of their confidence sets. Furthermore, many rely on benign environments where actions are drawn from a fixed distribution. This paper addresses the much harder sparsity-agnostic setting under adaptive adversaries, where the action set in each round can be maliciously tailored based on the learner's history.

Proposed Algorithms: Randomization and Adaptation

To tackle this, the authors propose two novel algorithms:

  1. SparseLinUCB: Instead of attempting to estimate $S$ directly, this algorithm maintains a hierarchy of nested confidence sets with exponentially increasing radii. In each round, it samples an index from a fixed probability distribution, heavily weighting smaller radii. It then selects the most optimistic action within the chosen confidence set.
  2. AdaLinUCB: This variant replaces the fixed probability distribution with an adaptive mechanism. It leverages the Exp3 algorithm—a classic multi-armed bandit strategy—to dynamically learn which confidence radius yields the best rewards over time.

The technical foundation of these algorithms is an online-to-confidence set conversion. By utilizing a specialized regression algorithm (SeqSEW) designed for sparse data, the hierarchy guarantees that at least one confidence set is "safe" (contains the true parameters). The randomized selection ensures the algorithm spends sufficient time in these safe sets to bound the overall regret.

Key Results and Theoretical Breakthroughs

The authors provide the first sparse regret bounds for the agnostic, adversarial setting, achieving $\tilde{O}(S\sqrt{dT})$. When $S$ is known, their analysis recovers the state-of-the-art $\tilde{O}(\sqrt{SdT})$ bound.

Comparison of regret bounds across different linear bandit settings, highlighting the contributions of this paper.

As shown in the table above, the paper fills a critical gap in the literature. They also establish an instance-dependent bound that scales with $1/\Delta$ (where $\Delta$ is the gap between the best and second-best actions), proving the algorithm naturally adapts to the difficulty of specific problem instances.

Empirical Superiority

The researchers validated their approach on synthetic datasets ($d=16$, varying sparsity $S \in \{1, 2, 4, 8, 16\}$). AdaLinUCB consistently outperformed the standard OFUL baseline across all sparsity levels. Remarkably, even in non-sparse scenarios ($S=d$), AdaLinUCB's adaptive tuning allowed it to match or exceed the baseline's performance, effectively learning the optimal exploration radius on the fly.

Limitations and Future Directions

While a significant step forward, the paper outlines several areas for future exploration:

  • Tightening Lower Bounds: It remains an open question whether the $\tilde{O}(S\sqrt{dT})$ bound for the unknown $S$ setting is fundamental or if it can be tightened further to match the known $S$ case.
  • Computational Efficiency: The underlying SeqSEW regression algorithm is theoretically robust but computationally demanding. Developing a highly efficient, sparsity-aware implementation is a crucial next step for real-world deployment.
  • Closing the Theory-Practice Gap: AdaLinUCB exhibits the best empirical performance, yet its current theoretical regret bound is slightly worse than SparseLinUCB due to the forced exploration inherent in Exp3. Reconciling this pessimistic theory with its strong practical results is a promising avenue for future research.

Summary updated

BibTeX
@inproceedings{jin2024sparsity,
  author = {Tianyuan Jin and Kyoungseok Jang and Nicolò Cesa-Bianchi},
  title = {{Sparsity-Agnostic Linear Bandits with Adaptive Adversaries}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=jIabKyXOTt},
}
Figure