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

The Importance of Pessimism in Fixed-Dataset Policy Optimization

Jacob Buckman, Carles Gelada, Marc G. Bellemare

TL;DR

Fixed-dataset policy optimization (offline RL) often fails because algorithms overestimate the value of actions not well-represented in the data—a phenomenon known as the "optimizer's curse." This paper provides a mathematical framework proving that pessimism—choosing policies that perform best in the worst-case world consistent with the data—is the key to robust performance without requiring exhaustive dataset coverage.

What Problem Does This Paper Address?

In standard Reinforcement Learning (RL), an agent learns by interacting with an environment. In Fixed-Dataset Policy Optimization (FDPO), also known as offline RL, the agent must learn a high-performing policy from a static, pre-collected dataset without any further interaction.

The core challenge is the optimizer's curse: when we search for the "best" policy using limited data, we are likely to pick a policy whose value is accidentally overestimated due to statistical noise or lack of coverage. Naive algorithms (like standard DQN applied to a fixed buffer) treat the dataset as the absolute truth. If the dataset doesn't contain information about every possible policy, these naive methods will gravitate toward poorly-understood actions that look good on paper but fail in reality. To guarantee success naively, you would need a dataset that covers every possible state-action pair, which is impossible in complex environments.

Methods

The authors introduce a unified conceptual framework to study FDPO algorithms through the lens of pessimism.

  1. Theoretical Bound (Theorem 1): They derive a novel regret bound for decision-makers using "proxy" objectives. This bound reveals a critical asymmetry: while underestimating a policy's value is relatively harmless (as long as one good policy is accurately estimated), a single large overestimation can lead to catastrophic regret.
  2. The Pessimism Principle: To counter overestimation, they propose acting optimally in the "worst possible world" that is plausible given the data.
  3. Algorithm Families:
    • Uncertainty-Aware (UA) Pessimistic Algorithms: These penalize the Bellman update using a "Bellman uncertainty function" (e.g., based on Hoeffding or Bernstein inequalities). They prefer policies that visit states where the agent is certain about the outcomes.
  4. Proximal Pessimistic Algorithms: These penalize policies that deviate too far from the behavior policy that collected the data (imitation-like).
  5. Key Theoretical Insight: The authors prove that proximal algorithms are actually a "trivial" special case of UA algorithms that use a very loose, non-data-dependent uncertainty estimate. This suggests that developing better neural uncertainty estimators is the path to superior offline RL.

Datasets

The researchers validated their theory using two distinct setups:

  • Tabular Gridworld: A simple 8x8 grid with stochastic transitions and Bernoulli rewards. This allowed for precise control over dataset size and the "optimality" of the data collection policy (varying from purely random to perfectly optimal).
  • MinAtar: A simplified, computationally efficient version of the Atari benchmark suite. They evaluated on four environments: Asterix, Breakout, Freeway, and Space Invaders.

Key Insights and Ideas

  • Optimism vs. Pessimism: While online RL relies on the "optimism principle" to encourage exploration, offline RL requires the "pessimism principle" to ensure safe exploitation.
  • The Pyramidal Nature of Policies: In the real world, there are millions of bad policies and very few good ones. Naive algorithms are almost guaranteed to find a "bad" policy that looks "good" because of a lack of data, unless they are explicitly pessimistic.
  • Stochasticity as a Hedge: One surprising finding is that the optimal pessimistic policy is often stochastic. When the agent is uncertain, it "hedges its bets" rather than picking a single potentially overestimated action.
  • Proximal Methods are a Stopgap: Current deep offline RL methods (like BCQ or BEAR) use proximal penalties because we lack good ways to calculate Bellman uncertainty for neural networks. The paper argues these are fundamentally limited compared to true uncertainty-aware methods.

Key Results

The experiments confirmed the theoretical predictions across both tabular and deep learning settings.

  • Tabular Results: As shown in Figure 1, UA pessimistic algorithms approach optimal performance even when the dataset is small or collected by a highly deterministic (non-exploratory) policy. In contrast, naive algorithms perform poorly when the data collection policy is near-optimal because they lack the data to "disprove" the high value of unexplored, bad actions.
Figure 1: Tabular gridworld experiments.
  • Deep RL Results: In the MinAtar suite (Figure 2), the pessimistic (proximal) approach consistently achieved the "best of both worlds": it correctly imitated near-optimal data when available but was also able to improve upon exploratory data, whereas naive methods crashed when data was non-exploratory.
Performance of deep FDPO algorithms on MinAtar environments.

Limitations and Future Work

  • Neural Uncertainty Estimation: The biggest hurdle is that we don't yet have a principled, scalable way to compute Bellman uncertainty for deep neural networks. The authors suggest this should be a primary focus for future FDPO research.
  • Hyperparameter Tuning: Tuning the pessimism parameter $\alpha$ is difficult in a strictly offline setting, as you cannot test the policy in the environment to see if it's "too pessimistic" or "not pessimistic enough."
  • Online RL Integration: The authors note that these insights could improve standard online RL. For instance, using pessimistic updates on a replay buffer could allow for more training steps per interaction, significantly improving sample efficiency.

Summary updated

BibTeX
@inproceedings{buckman2021importance,
  author = {Jacob Buckman and Carles Gelada and Marc G. Bellemare},
  title = {{The Importance of Pessimism in Fixed-Dataset Policy Optimization}},
  booktitle = {International Conference on Learning Representations},
  year = {2021},
  url = {https://openreview.net/forum?id=E3Ys6a1NTGT},
}
Figure