# Mostly Exploration-Free Algorithms for Contextual Bandits

**Authors:** Hamsa Bastani, Mohsen Bayati, Khashayar Khosravi

arXiv: 1704.09011 · 2020-04-21

## TL;DR

This paper shows that simple greedy algorithms can be rate optimal in contextual bandits under certain conditions, and introduces Greedy-First, a new adaptive algorithm that reduces unnecessary exploration while maintaining optimal regret.

## Contribution

It proves greedy algorithms can be rate optimal under covariate diversity and introduces Greedy-First, an adaptive method that achieves optimality without distribution assumptions.

## Key findings

- Greedy algorithms can be rate optimal with sufficient context randomness.
- Greedy-First adaptively chooses between greedy and exploratory strategies.
- Greedy-First outperforms traditional exploration-based algorithms in simulations.

## Abstract

The contextual bandit literature has traditionally focused on algorithms that address the exploration-exploitation tradeoff. In particular, greedy algorithms that exploit current estimates without any exploration may be sub-optimal in general. However, exploration-free greedy algorithms are desirable in practical settings where exploration may be costly or unethical (e.g., clinical trials). Surprisingly, we find that a simple greedy algorithm can be rate optimal (achieves asymptotically optimal regret) if there is sufficient randomness in the observed contexts (covariates). We prove that this is always the case for a two-armed bandit under a general class of context distributions that satisfy a condition we term covariate diversity. Furthermore, even absent this condition, we show that a greedy algorithm can be rate optimal with positive probability. Thus, standard bandit algorithms may unnecessarily explore. Motivated by these results, we introduce Greedy-First, a new algorithm that uses only observed contexts and rewards to determine whether to follow a greedy algorithm or to explore. We prove that this algorithm is rate optimal without any additional assumptions on the context distribution or the number of arms. Extensive simulations demonstrate that Greedy-First successfully reduces exploration and outperforms existing (exploration-based) contextual bandit algorithms such as Thompson sampling or upper confidence bound (UCB).

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/1704.09011/full.md

## Figures

34 figures with captions in the complete paper: https://tomesphere.com/paper/1704.09011/full.md

## References

58 references — full list in the complete paper: https://tomesphere.com/paper/1704.09011/full.md

---
Source: https://tomesphere.com/paper/1704.09011