Structured Linear Contextual Bandits: A Sharp and Geometric Smoothed Analysis.

Vidyashankar Sivakumar, Zhiwei Steven Wu, Arindam BanerjeearXiv 2020

Abstract

Bandit learning algorithms typically involve the balance of exploration and exploitation. However, in many practical applications, worst-case scenarios needing systematic exploration are seldom encountered. In this work, we consider a smoothed setting for structured linear contextual bandits where the adversarial contexts are perturbed by Gaussian noise and the unknown parameter $\theta^*$ has structure, e.g., sparsity, group sparsity, low rank, etc. We propose simple greedy algorithms for both the single- and multi-parameter (i.e., different parameter for each context) settings and provide a unified regret analysis for $\theta^*$ with any assumed structure. The regret bounds are expressed in terms of geometric quantities such as Gaussian widths associated with the structure of $\theta^*$. We also obtain sharper regret bounds compared to earlier work for the unstructured $\theta^*$ setting as a consequence of our improved analysis. We show there is implicit exploration in the smoothed setting where a simple greedy algorithm works.

Introduction

In sequential decision-making, the "exploration-exploitation" trade-off is a fundamental challenge. Standard theory for contextual bandits suggests that "greedy" algorithms—those that always select the action with the highest predicted reward—can fail catastrophically. In worst-case scenarios, a greedy agent might become trapped in a feedback loop, repeatedly choosing sub-optimal actions and failing to learn the underlying reward function.

To circumvent this, researchers typically design complex algorithms like Upper Confidence Bound (UCB) or Thompson Sampling that force exploration. However, practitioners have long observed that simple greedy strategies often perform remarkably well in real-world applications. This paper bridges the gap between theory and practice by demonstrating that when the environment contains even a small amount of natural noise, nature performs the exploration for us.

The Smoothed Analysis Framework

The authors employ smoothed analysis, a framework that moves beyond worst-case assumptions. Instead of assuming an adversary provides the most difficult possible data, they assume that contexts are perturbed by a small amount of Gaussian noise (with variance $\sigma^2$).

Furthermore, the paper focuses on structured linear bandits. In many high-dimensional problems, the hidden parameter $\theta^*$ isn't just a random vector; it often possesses a specific structure, such as:

  • Sparsity: Only a few features are relevant (Lasso).
  • Group Sparsity: Features belong to specific active groups (Group Lasso).
  • Low-Rank: The parameter is a matrix with low-rank structure (Nuclear Norm).

Methodology: Episodic Greedy and Geometric Tools

The researchers analyze an Episodic Greedy Algorithm. Rather than updating the model at every step, the algorithm groups time into episodes of geometrically increasing length. At the start of each episode, the algorithm solves a constrained least-squares problem to estimate $\theta^*$.

Two technical innovations are central to their analysis:

  1. The Puffer Transformation: A significant hurdle in analyzing greedy algorithms is the complex dependency between the chosen actions and past data. The authors utilize the Puffer transformation to "whiten" the design matrix. This preconditioning step decouples these dependencies, allowing for much sharper error bounds than previously possible.
  2. Gaussian Width ($w(A)$): To provide a unified theory for various structures, the authors use the geometric concept of Gaussian width. This measure captures the "size" of the parameter space relative to its structure, allowing the regret bounds to scale with the actual complexity of the problem rather than just the raw number of dimensions ($p$).

Key Insights and Results

Implicit Exploration

The core finding is that Gaussian noise in the contexts provides implicit exploration. Because the contexts are slightly jittery, the algorithm naturally encounters a diverse range of data points. This diversity ensures that the least-squares estimator converges to the true $\theta^*$ without the need for intentional, sub-optimal exploratory moves.

Sharper Regret Bounds

The paper provides significant improvements over existing literature:

  • Unstructured Setting: For standard linear bandits, they achieve a regret bound of $\tilde{O}(\frac{\sqrt{pT}}{\sigma})$. This represents a $\sqrt{p}$ improvement over previous smoothed analysis results.
  • Structured Setting: For an $s$-sparse parameter in $p$ dimensions, the regret scales as $\tilde{O}(\sqrt{s \log p \cdot T})$. This demonstrates that the algorithm remains efficient even in very high-dimensional spaces, provided the underlying signal is simple.

Single vs. Multi-Parameter Settings

The authors distinguish between two scenarios:

  • Single Parameter: A global $\theta^*$ governs all actions. Here, the greedy algorithm is highly efficient from the start.
  • Multi-Parameter: Each action has its own unique $\theta^*_i$. This setting is more complex and requires a "warm start" phase—a period of random or round-robin action selection—to satisfy a "margin condition" before the greedy phase can safely take over.

Limitations and Future Directions

While the paper provides a strong theoretical foundation for greedy algorithms, several challenges remain:

  • Warm Start Penalty: In the multi-parameter case, the required warm-start period can be lengthy if the noise level $\sigma$ is low, potentially delaying the onset of optimal performance.
  • Noise Distributions: The current analysis relies on Gaussian noise. Extending these results to more general distributions (e.g., sub-Gaussian or heavy-tailed) is a logical next step.
  • Computational Complexity: While the action selection is simple, the estimation step requires solving constrained optimization problems (like Lasso) at each episode boundary, which may be intensive for very large-scale data.

Conclusion

By combining smoothed analysis with geometric tools, this work provides a rigorous justification for the empirical success of greedy algorithms. It shows that in structured, noisy environments, simplicity is often sufficient, as the inherent randomness of the data provides the necessary exploration to learn complex, structured relationships efficiently.

Summary updated

BibTeX
@misc{sivakumar2020structured,
  author = {Vidyashankar Sivakumar and Zhiwei Steven Wu and Arindam Banerjee},
  title = {{Structured Linear Contextual Bandits: A Sharp and Geometric Smoothed Analysis.}},
  year = {2020},
  eprint = {2002.11332},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2002.11332},
}
Figure