Enhancing Offline Model-Based RL via Active Model Selection: A Bayesian Optimization Perspective
Organizations: Department of Computer Science, National Yang Ming Chiao Tung University, Hsinchu, Taiwan · Applied Machine Learning, Meta AI, Menlo Park, CA, USA
Abstract
Offline model-based reinforcement learning (MBRL) serves as a competitive framework that can learn well-performing policies solely from pre-collected data with the help of learned dynamics models. To fully unleash the power of offline MBRL, model selection plays a pivotal role in determining the dynamics model utilized for downstream policy learning. However, offline MBRL conventionally relies on validation or off-policy evaluation, which are rather inaccurate due to the inherent distribution shift in offline RL. To tackle this, we propose BOMS, an active model selection framework that enhances model selection in offline MBRL with only a small online interaction budget, through the lens of Bayesian optimization (BO). Specifically, we recast model selection as BO and enable probabilistic inference in BOMS by proposing a novel model-induced kernel, which is theoretically grounded and computationally efficient. Through extensive experiments, we show that BOMS improves over the baseline methods with a small amount of online interaction comparable to only - of offline training data on various RL tasks.
Figures & tables
| hopper (medium) | walker2d (medium) | halfcheetah (medium) | |
| Best model | 2073 | 4002 | 6607 |
| Validation | 821 | 39 | 5978 |
| OPE | 495 | 3618 | 4355 |
| Update the posterior of each dynamics model . |
| Tasks | BOMS | MOPO | OPE | |||
| med | 2.6 0.7 | 2.2 0.2 | 1.9 0.0 | 99.9 | 7.5 | |
| walker2d | med-r | 69.9 17.7 | 44.0 26.7 | 16.9 17.5 | 77.1 | 94.3 |
| med-e | 91.8 4.8 | 86.2 13.0 | 74.3 24.9 | 99.9 | 19.4 | |
| med | 27.0 11.3 | 20.6 2.6 | 20.4 2.8 0 | 66.0 | 78.4 | |
| hopper | med-r | 5.5 1.4 | 5.1 2.6 | 5.2 2.6 | 3.1 | 59.3 |
| Door Open | BOMS | MOPO | OPE | ||
| Success Rate | 1.3 4.0 | 6.5 15.7 | 16.3 23.5 | 0.0 | 0.0 |
| Regrets | 57.7 2.6 | 51.5 17.3 | 39.6 25.9 | 66.7 | 86.4 |
| Tasks | BOMS-Augmented RAMBO | RAMBO | |||
| walker2d | med | 79.3 10.9 | 70.2 24.7 | 37.7 38.1 | 73.6 |
| med-r | 93.0 2.6 | 93.0 2.5 | 92.7 2.5 | 99.3 | |
| med-e | 53.3 10.6 | 43.0 15.6 | 38.9 17.2 | 65.4 | |
| Tasks | BOMS | MOPO | OPE | ||||
| med | 10.0 | 36.7 39.7 | 12.5 29.2 | 2.0 1.5 | 100.0 | 7.5 | |
| med | 1.0 | 2.6 0.7 | 2.2 0.2 | 1.9 0.0 | 100.0 | 7.5 | |
| med | 0.1 | 61.6 47.0 | 17.9 25.3 | 8.6 7.8 | 100.0 | 7.5 | |
| med-r | 10.0 | 62.3 28.6 | 53.5 23.3 | 38.4 21.8 | 77.1 | 94.3 | |
| walker2d | med-r | 1.0 | 69.9 17.7 | 44.0 26.7 | 17.0 17.5 | 77.1 | 94.3 |
Appendix figures & tables2 assets
Supplementary material from the paper’s appendix.
Appendix
Model Selection
Model selection chooses models, features, or configurations that balance predictive fit, generalization, complexity, and deployment constraints.
See all 96 papers