[Paper Review] Accelerating Reinforcement Learning with Learned Skill Priors
This paper proposes SPiRL, a method that learns a deep latent variable model to jointly embed skills and a skill prior from unstructured offline data, enabling efficient downstream reinforcement learning. By incorporating the learned skill prior into maximum-entropy RL, SPiRL accelerates learning on complex navigation and manipulation tasks, even with sub-optimal or mixed-quality data, and enables reuse of the same prior across multiple downstream tasks with high success rates.
Intelligent agents rely heavily on prior experience when learning a new task, yet most modern reinforcement learning (RL) approaches learn every task from scratch. One approach for leveraging prior knowledge is to transfer skills learned on prior tasks to the new task. However, as the amount of prior experience increases, the number of transferable skills grows too, making it challenging to explore the full set of available skills during downstream learning. Yet, intuitively, not all skills should be explored with equal probability; for example information about the current state can hint which skills are promising to explore. In this work, we propose to implement this intuition by learning a prior over skills. We propose a deep latent variable model that jointly learns an embedding space of skills and the skill prior from offline agent experience. We then extend common maximum-entropy RL approaches to use skill priors to guide downstream learning. We validate our approach, SPiRL (Skill-Prior RL), on complex navigation and robotic manipulation tasks and show that learned skill priors are essential for effective skill transfer from rich datasets. Videos and code are available at https://clvrai.com/spirl.
Motivation & Objective
- To accelerate reinforcement learning for new tasks by leveraging unstructured offline experience from real-world or simulated agents.
- To address the challenge of inefficient exploration in large skill spaces by learning a non-uniform skill prior that guides exploration based on state context.
- To develop a scalable, offline method that does not require reward annotations on prior data, enabling use of large, diverse datasets.
- To enable transfer learning across multiple downstream tasks using a single pre-trained skill prior.
- To validate that learned skill priors significantly improve sample efficiency and convergence speed in complex, long-horizon tasks.
Proposed method
- A deep latent variable model jointly learns a continuous embedding space for skills and a prior distribution over these skills from unstructured offline trajectories.
- The skill prior is conditioned on the current environment state, enabling context-aware selection of promising skills to explore.
- The method extends maximum-entropy reinforcement learning by incorporating the learned skill prior as a regularizer to guide exploration in the skill space.
- The model is trained end-to-end on offline data without reward annotations, using a variational inference objective to optimize the latent representation and prior.
- The skill prior is learned from diverse, potentially sub-optimal data, including expert and non-expert demonstrations, enabling robustness to data quality.
- The same pre-trained skill prior can be reused across multiple downstream tasks without retraining, enabling efficient multi-task transfer.
Experimental results
Research questions
- RQ1Can a learned skill prior significantly improve sample efficiency in downstream reinforcement learning compared to uniform or no prior?
- RQ2Can the skill prior generalize across diverse downstream tasks when trained on a single, diverse offline dataset?
- RQ3How robust is the skill prior to sub-optimal or mixed-quality training data, such as from non-expert policies?
- RQ4Does incorporating a state-conditioned skill prior lead to faster convergence and higher success rates in long-horizon navigation and manipulation tasks?
- RQ5Can the same skill prior be effectively reused across multiple downstream tasks without fine-tuning?
Key findings
- SPiRL achieved a 100% success rate in reaching distant goals in a maze environment after less than 1 million environment steps, while the baseline without a skill prior failed to reach the goal even after 3 million steps.
- With 75% of the training data being low-quality random rollouts, SPiRL still managed to stack an average of 1.0 blocks, outperforming a baseline that could only stack 1.5 blocks on average when trained on high-quality data.
- The skill prior learned from a behavior cloning policy (with 2.5 average wall collisions per trajectory) enabled the agent to reach a distant goal with 100% success rate, demonstrating robustness to sub-optimal data.
- The same pre-trained skill prior enabled efficient learning across three different maze navigation tasks with distinct goals, achieving ~100% success rate for all, showing strong transferability and reusability.
- SPiRL converged faster and more reliably than baselines in complex robotic manipulation and navigation tasks, even when the downstream task differed from the tasks used to collect the prior data.
- The method demonstrated that a non-uniform, context-aware skill prior is essential for effective exploration in large skill spaces, significantly outperforming uniform exploration or no prior.
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.