On the Optimality of Batch Policy Optimization Algorithms

Chenjun Xiao, Yifan Wu, Tor Lattimore, Bo Dai, Jincheng Mei, Lihong Li, Csaba Szepesvári, Dale Schuurmans

Abstract

Batch policy optimization considers leveraging existing data for policy construction before interacting with an environment. Although interest in this problem has grown significantly in recent years, its theoretical foundations remain under-developed. To advance the understanding of this problem, we provide three results that characterize the limits and possibilities of batch policy optimization in the finite-armed stochastic bandit setting. First, we introduce a class of confidence-adjusted index algorithms that unifies optimistic and pessimistic principles in a common framework, which enables a general analysis. For this family, we show that any confidence-adjusted index algorithm is minimax optimal, whether it be optimistic, pessimistic or neutral. Our analysis reveals that instance-dependent optimality, commonly used to establish optimality of on-line stochastic bandit algorithms, cannot be achieved by any algorithm in the batch setting. In particular, for any algorithm that performs optimally in some environment, there exists another environment where the same algorithm suffers arbitrarily larger regret. Therefore, to establish a framework for distinguishing algorithms, we introduce a new weighted-minimax criterion that considers the inherent difficulty of optimal value prediction. We demonstrate how this criterion can be used to justify commonly used pessimistic principles for batch policy optimization.

Introduction

Batch policy optimization, also known as Offline Reinforcement Learning (RL), involves learning an optimal strategy from a fixed dataset without further environment interaction. The primary challenge is distribution mismatch: the available data may not cover the actions an optimal policy would take. Standard RL algorithms often fall victim to the "optimizer's curse," where high-variance estimates of poor actions are mistaken for good ones. Because the agent cannot explore to correct these errors, the resulting policy fails. While the pessimistic principle (e.g., Lower Confidence Bounds) has been adopted to mitigate this, a rigorous theoretical framework explaining its superiority over optimism or greediness has been lacking.

Methods: Confidence-Adjusted Index Algorithms

To analyze these principles, the problem is simplified to finite-armed stochastic bandits. A unified framework of confidence-adjusted index algorithms is introduced, where each arm $i$ is assigned a score: $$\text{Score}_i = \hat{\mu}_i + \frac{\alpha}{\sqrt{n_i}}$$ Here, $\hat{\mu}_i$ is the sample mean reward, $n_i$ is the sample count, and $\alpha$ is the adjustment parameter. This framework allows for a direct comparison:

  • Optimistic ($\alpha > 0$): Similar to Upper Confidence Bounds (UCB).
  • Pessimistic ($\alpha < 0$): Similar to Lower Confidence Bounds (LCB).
  • Greedy ($\alpha = 0$): Pure exploitation of sample means.

Key Insights

1. Minimax Optimality is a Low Bar

The authors prove that any confidence-adjusted algorithm—whether optimistic, pessimistic, or greedy—is minimax optimal. In the absolute worst-case scenario, all these strategies are theoretically equivalent in their convergence rates.

2. The "No Free Lunch" of Batch RL

In online learning, "instance-optimal" algorithms perform well across all specific problems. This paper proves such optimality is impossible in the batch setting. If an algorithm is exceptionally good in one environment, there is always another where it will perform arbitrarily poorly.

3. Justifying Pessimism via Weighted-Minimax

Since standard optimality fails to distinguish these algorithms, a new weighted-minimax criterion is proposed. By weighting regret by the "inherent difficulty" of predicting the optimal value, the pessimistic (LCB) algorithm emerges as the superior choice, while UCB and Greedy fail to meet this higher standard.

Empirical Results

Simulations with 100-armed bandits demonstrate these theoretical findings. The results highlight that while different algorithms may excel in specific instances, LCB shows significant advantages in scenarios where the behavior policy is reasonably good but imperfect.

Performance of LCB, UCB, and greedy algorithms across different environment instances (a-d). The results illustrate that no single algorithm is universally superior, supporting the "No Free Lunch" theorem.

The empirical data confirms that the quality of the learned policy is fundamentally limited by the least-observed arm, establishing a minimax lower bound on simple regret of $\Omega(1/\sqrt{\min_i n_i})$. As the number of arms increases, LCB increasingly becomes the most robust choice under the weighted-minimax lens.

Conclusion

This work provides a solid theoretical foundation for Offline RL. By moving beyond simple minimax optimality to a weighted-minimax criterion, it rigorously justifies the use of pessimism. While the study focuses on multi-armed bandits, the insights regarding robust value prediction under distribution mismatch offer a powerful tool for designing future offline RL algorithms in more complex sequential decision-making environments.

Summary updated

BibTeX
@inproceedings{xiao2021optimality,
  author = {Chenjun Xiao and Yifan Wu and Tor Lattimore and Bo Dai and Jincheng Mei and Lihong Li and Csaba Szepesvári and Dale Schuurmans},
  title = {{On the Optimality of Batch Policy Optimization Algorithms}},
  booktitle = {International Conference on Machine Learning},
  year = {2021},
  url = {https://openreview.net/forum?id=B89bknX9qgq},
}
Figure