Why So Pessimistic? Estimating Uncertainties for Offline RL through Ensembles, and Why Their Independence Matters
Seyed Kamyar Seyed Ghasemipour, Shixiang Shane Gu, Ofir Nachum
Abstract
Motivated by the success of ensembles for uncertainty estimation in supervised learning, we take a renewed look at how ensembles of Q-functions can be leveraged as the primary source of pessimism for offline reinforcement learning (RL). We begin by identifying a critical flaw in a popular algorithmic choice used by many ensemblebased RL algorithms, namely the use of shared pessimistic target values when computing each ensemble member's Bellman error. Through theoretical analyses and construction of examples in toy MDPs, we demonstrate that shared pessimistic targets can paradoxically lead to value estimates that are effectively optimistic. Given this result, we propose MSG, a practical offline RL algorithm that trains an ensemble of Q-functions with independently computed targets based on completely separate networks, and optimizes a policy with respect to the lower confidence bound of predicted action values. Our experiments on the popular D4RL and RL Unplugged offline RL benchmarks demonstrate that on challenging domains such as antmazes, MSG with deep ensembles surpasses highly well-tuned state-of-the-art methods by a wide margin. Additionally, through ablations on benchmarks domains, we verify the critical significance of using independently trained Q-functions, and study the role of ensemble size. Finally, as using separate networks per ensemble member can become computationally costly with larger neural network architectures, we investigate whether efficient ensemble approximations developed for supervised learning can be similarly effective, and demonstrate that they do not match the performance and robustness of MSG with separate networks, highlighting the need for new efforts into efficient uncertainty estimation directed at RL. Our codebase can be found at https://github.com/google-research/ google-research/tree/master/jrl .
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
37 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Offline RL Policies Should Be Trained to be Adaptive cites An Optimistic Perspective on Offline Reinforcement Learning
- Offline RL Policies Should Be Trained to be Adaptive cites Offline Reinforcement Learning with Implicit Q-Learning
- Offline RL Policies Should Be Trained to be Adaptive cites Conservative Q-Learning for Offline Reinforcement Learning
- A Minimalist Approach to Offline Reinforcement Learning cites Conservative Q-Learning for Offline Reinforcement Learning
- Revisiting the Minimalist Approach to Offline Reinforcement Learning cites A Minimalist Approach to Offline Reinforcement Learning
- Revisiting the Minimalist Approach to Offline Reinforcement Learning cites Offline Reinforcement Learning with Implicit Q-Learning
- Revisiting the Minimalist Approach to Offline Reinforcement Learning cites Conservative Q-Learning for Offline Reinforcement Learning
- Offline Reinforcement Learning with Implicit Q-Learning cites A Minimalist Approach to Offline Reinforcement Learning
- Offline Reinforcement Learning with Implicit Q-Learning cites Conservative Q-Learning for Offline Reinforcement Learning
- Supervised Pretraining Can Learn In-Context Reinforcement Learning cites Conservative Q-Learning for Offline Reinforcement Learning
- Is Value Learning Really the Main Bottleneck in Offline RL? cites A Minimalist Approach to Offline Reinforcement Learning
- Is Value Learning Really the Main Bottleneck in Offline RL? cites Revisiting the Minimalist Approach to Offline Reinforcement Learning
- Is Value Learning Really the Main Bottleneck in Offline RL? cites Offline Reinforcement Learning with Implicit Q-Learning
- Is Value Learning Really the Main Bottleneck in Offline RL? cites Conservative Q-Learning for Offline Reinforcement Learning
- RORL: Robust Offline Reinforcement Learning via Conservative Smoothing cites A Minimalist Approach to Offline Reinforcement Learning
- RORL: Robust Offline Reinforcement Learning via Conservative Smoothing cites Offline Reinforcement Learning with Implicit Q-Learning
- RORL: Robust Offline Reinforcement Learning via Conservative Smoothing cites Conservative Q-Learning for Offline Reinforcement Learning
- Conservative Q-Learning for Offline Reinforcement Learning cites An Optimistic Perspective on Offline Reinforcement Learning
Cited by top-tier papers37
- Supervised Pretraining Can Learn In-Context Reinforcement LearningJonathan Lee, Annie Xie, Aldo Pacchiano, Yash Chandak et al.NeurIPS 2023 · 170 citations
- Revisiting the Minimalist Approach to Offline Reinforcement LearningDenis Tarasov, Vladislav Kurenkov, Alexander Nikulin, Sergey KolesnikovNeurIPS 2023 · 148 citations
- RORL: Robust Offline Reinforcement Learning via Conservative SmoothingRui Yang, Chenjia Bai, Xiaoteng Ma, Zhaoran Wang et al.NeurIPS 2022 · 118 citations
- Is Value Learning Really the Main Bottleneck in Offline RL?Seohong Park, Kevin Frans, Sergey Levine, Aviral KumarNeurIPS 2024 · 99 citations
- Offline RL Policies Should Be Trained to be AdaptiveDibya Ghosh, Anurag Ajay, Pulkit Agrawal, Sergey LevineICML 2022 · 62 citations
Builds on16
- Conservative Q-Learning for Offline Reinforcement LearningAviral Kumar, Aurick Zhou, George Tucker, Sergey LevineNeurIPS 2020 · 2,881 citations
- Offline Reinforcement Learning with Implicit Q-LearningIlya Kostrikov, Ashvin Nair, Sergey LevineICLR 2022 · 1,402 citations
- A Minimalist Approach to Offline Reinforcement LearningScott Fujimoto, Shixiang Shane GuNeurIPS 2021 · 1,292 citations
- BatchEnsemble: an Alternative Approach to Efficient Ensemble and Lifelong LearningYeming Wen, Dustin Tran, Jimmy BaICLR 2020 · 569 citations
- An Optimistic Perspective on Offline Reinforcement LearningRishabh Agarwal, Dale Schuurmans, Mohammad NorouziICML 2020 · 568 citations
Related papers
- Uncertainty-Based Offline Reinforcement Learning with Diversified Q-EnsembleGaon An, Seungyong Moon, Jang-Hyun Kim, Hyun Oh SongNeurIPS 2021 · 430 citations
- Dynamic Uncertainty Estimation for Offline Reinforcement LearningJiesheng Wang, Lin Li, Wei Wei, Yujia Zhang et al.AAAI 2025 · 2 citations
- Pessimistic Bootstrapping for Uncertainty-Driven Offline Reinforcement LearningChenjia Bai, Lingxiao Wang, Zhuoran Yang, Zhi-Hong Deng et al.ICLR 2022 · 173 citations
- Model-Bellman Inconsistency for Model-based Offline Reinforcement LearningYihao Sun, Jiaji Zhang, Chengxing Jia, Haoxin Lin et al.ICML 2023 · 61 citations
- SUMO: Search-Based Uncertainty Estimation for Model-Based Offline Reinforcement LearningZhongjian Qiao, Jiafei Lyu, Kechen Jiao, Qi Liu et al.AAAI 2025 · 12 citations
