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

This paper provides a rigorous theoretical foundation for "pessimism" in offline reinforcement learning (RL). By decomposing the suboptimality of learned policies, the authors show that overestimating the value of unknown actions is far more damaging than underestimating them. They demonstrate that pessimistic algorithms can achieve near-optimal performance even when the provided dataset is highly limited.

The Challenge of Offline RL

In Fixed-Dataset Policy Optimization (FDPO)—more commonly known as Offline RL—an agent must learn a high-performing policy using only a pre-collected, static dataset. Unlike traditional RL, it cannot interact with the environment to explore or verify its beliefs.

The primary challenge in this setting is the "optimizer's curse." Naive algorithms treat the dataset as a perfect map of the world. If the dataset is missing information about certain state-action pairs, the algorithm might accidentally assign them a high value due to statistical noise. Since the agent is trying to maximize reward, it will gravitate toward these "hallucinated" high-value actions. In the real world, these actions are usually catastrophic, leading to poor performance.

The authors seek to move beyond intuition and provide a mathematical framework to explain why pessimism is the necessary antidote to this overestimation bias.

A Unified Mathematical Framework

The authors introduce a unified mathematical framework to analyze value-based FDPO algorithms. Their key contributions include:

  1. Over/Under Decomposition: They prove a bound showing that suboptimality is driven by two factors: (A) how much we underestimate a "good" policy, and (B) the maximum overestimation error across all possible policies.
  2. The Pessimism Principle: To minimize the dangerous "supremum of overestimation" term, algorithms should "behave as though the world was plausibly worse than observed."
  3. Two Families of Pessimistic Algorithms:
    • Uncertainty-Aware (UA) Pessimistic Algorithms: These explicitly estimate the "Bellman uncertainty" (how much we don't know about a transition) and subtract it as a penalty during value estimation.
  4. Proximal Pessimistic Algorithms: These penalize policies that deviate too far from the "empirical policy" (the actions actually seen in the dataset).

A major theoretical insight is that Proximal algorithms are actually a special, "trivial" case of Uncertainty-Aware algorithms. They essentially use a very loose, worst-case uncertainty estimate.

Key Insights and Ideas

  • Asymmetry of Error: In offline RL, underestimating a good policy is acceptable (the agent just might not pick it), but overestimating any bad policy is fatal (the agent will definitely pick it). Pessimism fixes this asymmetry.
  • Data Requirements: Naive algorithms only work if the dataset is "informative" of every possible policy—a nearly impossible requirement. Pessimistic algorithms only need the dataset to be informative of one good policy.
  • The "Gold Standard" vs. Reality: Uncertainty-Aware algorithms are theoretically superior because they use tighter bounds. However, because it is currently very difficult to compute reliable uncertainty for neural networks, Proximal algorithms remain the most practical choice for Deep RL today.
  • Stochasticity is a Virtue: Surprisingly, the optimal pessimistic policy is often stochastic. In the face of uncertainty, the math suggests it is better to "hedge your bets" rather than commit to a single action that might be a hallucinated peak.

Experimental Results

The researchers validated their theory using two distinct setups: a controlled Tabular Gridworld and MinAtar (a simplified version of the Atari benchmark).

Tabular Success and Naive Collapse

In gridworld tests, the Uncertainty-Aware algorithm consistently outperformed all others. It successfully "ignored" bad data and focused on the best actions supported by the evidence.

Performance of FDPO algorithms in a Tabular Gridworld

The experiments confirmed that naive algorithms perform well only when data is "fully exploratory" (random). As soon as the data becomes more focused (e.g., collected by an expert, where $\epsilon \to 0$), naive algorithms collapse due to overestimation in the "unseen" parts of the state space.

Deep RL Validation

On MinAtar environments like Breakout, the Proximal pessimistic approach significantly outperformed both naive FDPO and pure imitation learning.

Performance on the MinAtar Breakout environment

The pessimistic approach was able to "correct" the dataset, learning a policy better than the one used to collect the data, whereas imitation learning was capped by the collector's performance.

Limitations and Future Work

  • The Neural Uncertainty Gap: The authors acknowledge that UA algorithms are better in theory but hard to implement in deep learning because we lack "principled" uncertainty estimation techniques for neural networks. They suggest this as a critical area for future research.
  • Hyperparameter Tuning: Pessimistic algorithms rely on a hyperparameter ($\alpha$) to control the "amount" of pessimism. In a true offline setting, you cannot "tune" this by running the agent in the environment, making selection difficult.
  • Computational Intensity: The authors noted that deep offline RL is highly sensitive to training stability. They found that re-initializing the network for every target update and using a massive number of gradient steps (250,000+) were necessary for convergence—far more than typical online RL requires.

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