Skip to main content
QUICK REVIEW

[Paper Review] Pessimistic Bootstrapping for Uncertainty-Driven Offline Reinforcement Learning

Chenjia Bai, Lingxiao Wang|arXiv (Cornell University)|Feb 23, 2022
Machine Learning and Data ClassificationComputer Science24 citations
TL;DR

PBRL introduces an uncertainty-driven, model-free offline RL algorithm that uses bootstrapped Q-function disagreement for uncertainty quantification and an OOD sampling strategy to impose pessimistic updates, improving performance on D4RL benchmarks.

ABSTRACT

Offline Reinforcement Learning (RL) aims to learn policies from previously collected datasets without exploring the environment. Directly applying off-policy algorithms to offline RL usually fails due to the extrapolation error caused by the out-of-distribution (OOD) actions. Previous methods tackle such problem by penalizing the Q-values of OOD actions or constraining the trained policy to be close to the behavior policy. Nevertheless, such methods typically prevent the generalization of value functions beyond the offline data and also lack precise characterization of OOD data. In this paper, we propose Pessimistic Bootstrapping for offline RL (PBRL), a purely uncertainty-driven offline algorithm without explicit policy constraints. Specifically, PBRL conducts uncertainty quantification via the disagreement of bootstrapped Q-functions, and performs pessimistic updates by penalizing the value function based on the estimated uncertainty. To tackle the extrapolating error, we further propose a novel OOD sampling method. We show that such OOD sampling and pessimistic bootstrapping yields provable uncertainty quantifier in linear MDPs, thus providing the theoretical underpinning for PBRL. Extensive experiments on D4RL benchmark show that PBRL has better performance compared to the state-of-the-art algorithms.

Motivation & Objective

  • Motivate offline RL where exploration is prohibited and extrapolation errors from OOD actions hinder performance.
  • Propose a purely uncertainty-driven offline RL method without explicit policy constraints.
  • Develop a bootstrapped Q-function ensemble to quantify epistemic uncertainty and penalize updates accordingly.
  • Introduce an OOD sampling mechanism to regularize Q-function estimation beyond the offline data support.
  • Provide theoretical connections showing the proposed method aligns with LCB-like uncertainty quantifiers in linear MDPs.

Proposed method

  • Maintain K bootstrapped Q-functions to quantify uncertainty via their disagreement.
  • Define uncertainty U(s,a) as the standard deviation across the Q-function ensemble.
  • Compute in-distribution targets with a pessimistic correction: T_in Q^k(s,a) = r + γ E_{s',a'} [ Q^k_θ− (s',a') − β_in U_θ− (s',a') ].
  • Augment training with OOD samples (s_ood, a_ood) where a_ood is drawn from the current policy and s_ood from the offline data.
  • Define a pseudo OOD target: T_ood Q^k(s_ood,a_ood) = Q^k(s_ood,a_ood) − β_ood U_θ(s_ood,a_ood), with optional truncation max{0, T_ood Q^k}.
  • Combine losses from in-distribution TD-error and pseudo TD-error on OOD data to optimize the critic, and derive the policy by maximizing min_k Q^k(s,a) over the offline data.

Experimental results

Research questions

  • RQ1Can purely uncertainty-driven updates without policy constraints yield competitive offline RL performance?
  • RQ2How does bootstrapped uncertainty quantification interact with an explicit OOD sampling strategy to mitigate extrapolation error?
  • RQ3What theoretical connections exist between PBRL's pessimistic targets and LCB-style uncertainty quantifiers in linear MDPs?
  • RQ4Does OOD sampling improve stability and generalization of bootstrapped Q-functions in neural-network settings?
  • RQ5How does PBRL compare to policy-constraint and conservatism baselines on D4RL benchmarks?

Key findings

  • PBRL achieves competitive to state-of-the-art performance on D4RL benchmarks, often outperforming baselines on non-ideal datasets.
  • PBRL-Prior, an extension with random priors, yields more stable training and slightly better average performance than PBRL.
  • Bootstrapped uncertainty correlates with data support: low uncertainty aligns with in-distribution data, guiding conservative updates where data is scarce.
  • In experiments, CQL and TD3-BC frequently perform best on average, while PBRL excels in several non-optimal dataset regimes and demonstrates robust uncertainty quantification.
  • Theoretical results show that, under linear MDPs, the bootstrapped uncertainty-based penalty approximates the LCB penalty, and OOD sampling contributes to a valid uncertainty quantifyer.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.