[Paper Review] Task-Agnostic Online Reinforcement Learning with an Infinite Mixture of Gaussian Processes
This paper proposes a task-agnostic online model-based reinforcement learning method using an infinite mixture of Gaussian Processes (GPs) to enable quick adaptation to unseen dynamics without pre-training. By modeling nonstationary environments via sequential variational inference with a temporal transition prior, the approach detects task shifts, reuses past models, and maintains uncertainty-aware dynamics representations, outperforming baselines in dynamic control and driving scenarios.
Continuously learning to solve unseen tasks with limited experience has been extensively pursued in meta-learning and continual learning, but with restricted assumptions such as accessible task distributions, independently and identically distributed tasks, and clear task delineations. However, real-world physical tasks frequently violate these assumptions, resulting in performance degradation. This paper proposes a continual online model-based reinforcement learning approach that does not require pre-training to solve task-agnostic problems with unknown task boundaries. We maintain a mixture of experts to handle nonstationarity, and represent each different type of dynamics with a Gaussian Process to efficiently leverage collected data and expressively model uncertainty. We propose a transition prior to account for the temporal dependencies in streaming data and update the mixture online via sequential variational inference. Our approach reliably handles the task distribution shift by generating new models for never-before-seen dynamics and reusing old models for previously seen dynamics. In experiments, our approach outperforms alternative methods in non-stationary tasks, including classic control with changing dynamics and decision making in different driving scenarios.
Motivation & Objective
- To address the limitations of meta-learning and continual learning in real-world settings where task distributions are unknown and task boundaries are unclear.
- To enable quick adaptation to new dynamics in online, streaming environments without requiring pre-training or explicit task boundaries.
- To mitigate catastrophic forgetting and knowledge transfer issues in nonstationary robotic tasks with substantially different dynamics.
- To model temporal dependencies in dynamics shifts using a transition prior within a sequential inference framework.
- To achieve data efficiency and uncertainty quantification through Gaussian Process-based dynamics models in a mixture-of-experts setup.
Proposed method
- Uses an infinite mixture of Gaussian Processes (GPs) to represent diverse system dynamics, enabling modeling of an unbounded number of dynamic regimes.
- Applies sequential variational inference to update the mixture model in real time as new data streams in, supporting online learning.
- Introduces a transition prior derived from the Dirichlet Process to encode temporal dependencies between consecutive dynamics, improving task shift detection.
- Employs sparse GP approximation with variational inference to maintain computational scalability and data efficiency.
- Uses a sticky parameter to encourage model persistence and reduce spurious model creation during online adaptation.
- Performs task recognition at each time step by assigning observations to existing or new GP experts, enabling reuse of previously learned dynamics.
Experimental results
Research questions
- RQ1Can a model-based RL agent adapt quickly to unseen dynamics in a non-stationary environment without pre-training?
- RQ2How can temporal dependencies in streaming dynamics be modeled to improve task shift detection?
- RQ3Can a mixture of GPs with online inference handle dramatic shifts in system dynamics while avoiding catastrophic forgetting?
- RQ4How does the proposed method compare to meta-learning and continual learning baselines in environments with unknown task boundaries?
- RQ5To what extent does the transition prior improve performance in non-i.i.d. dynamic environments?
Key findings
- The proposed method outperforms MAML-based model-free RL and DNN-based baselines in non-stationary CartPole-SwingUp and Highway-Intersection tasks, especially under dynamic shifts.
- The method successfully detects task boundaries in real time and adapts quickly to new dynamics by either creating new GP models or reusing existing ones.
- The use of a transition prior significantly improves task shift detection compared to i.i.d. assumptions, reducing oscillations and performance degradation.
- The infinite mixture of GPs enables multimodal predictive distributions, allowing robust handling of drastically different dynamics without catastrophic forgetting.
- The approach achieves better data efficiency and uncertainty quantification than deep neural networks, particularly with limited data per dynamic regime.
- Experiments show that the method avoids local minima that trap MAML and DNN-based models, especially when dynamics change substantially between tasks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.