[Paper Review] Disentangled Skill Embeddings for Reinforcement Learning
This paper proposes Disentangled Skill Embeddings (DSE), a variational inference-based framework for multi-task reinforcement learning that learns separate latent embeddings for dynamics and goals, enabling fast generalization to unseen combinations. The method achieves superior transfer and retraining performance in hierarchical RL settings, outperforming single-embedding and independent baselines on MuJoCo tasks like Reacher and CartPole.
We propose a novel framework for multi-task reinforcement learning (MTRL). Using a variational inference formulation, we learn policies that generalize across both changing dynamics and goals. The resulting policies are parametrized by shared parameters that allow for transfer between different dynamics and goal conditions, and by task-specific latent-space embeddings that allow for specialization to particular tasks. We show how the latent-spaces enable generalization to unseen dynamics and goals conditions. Additionally, policies equipped with such embeddings serve as a space of skills (or options) for hierarchical reinforcement learning. Since we can change task dynamics and goals independently, we name our framework Disentangled Skill Embeddings (DSE).
Motivation & Objective
- Address the challenge of generalizing policies across changing task dynamics and reward functions in multi-task reinforcement learning.
- Overcome limitations of entangled latent spaces in prior methods that hinder generalization to unseen task combinations.
- Enable efficient transfer and fast retraining by learning disentangled, task-specific latent embeddings for dynamics and goals.
- Facilitate hierarchical reinforcement learning by providing a reusable, disentangled skill space for high-level policy learning.
- Demonstrate generalization to unseen dynamics and goal conditions through zero-shot and few-shot retraining scenarios.
Proposed method
- Formulate multi-task RL as a variational inference problem with shared policy parameters and two disentangled latent variables: one for dynamics (z) and one for goals (g).
- Use a variational posterior qϕ(π|z,g) to parameterize the policy, where z and g are independently sampled from task-specific distributions.
- Train using a variational objective that maximizes expected return while minimizing KL divergence between the posterior and prior distributions.
- Implement two algorithms: DSE-REINFORCE (for on-policy learning) and DSE-SAC (for off-policy, soft actor-critic style learning).
- Decouple the latent spaces so that changes in dynamics or goals can be independently controlled, enabling interpolation and zero-shot generalization.
- Enable hierarchical RL by using the goal embedding space as a discrete action space for a high-level policy, with the DSE policy as a low-level option.
Experimental results
Research questions
- RQ1Can disentangled latent representations for dynamics and goals improve generalization in multi-task reinforcement learning?
- RQ2How well can policies with disentangled embeddings generalize to unseen combinations of dynamics and goals after fast retraining?
- RQ3To what extent does the disentangled skill space improve sample efficiency in hierarchical reinforcement learning?
- RQ4Does the disentangled structure outperform entangled or single-embedding baselines in multi-task and few-shot settings?
- RQ5Can the learned embeddings support effective high-level policy learning in hierarchical RL scenarios with unseen goal trajectories?
Key findings
- DSE-SAC achieved an average episodic reward of -21.96 ± 2.20 on unseen test tasks in the Reacher-v2 environment, outperforming single-embedding SAC (-24.29 ± 1.50).
- The single-task policy required 43.22 ± 2.16 trajectories to match the initial performance of DSE-SAC, demonstrating faster adaptation.
- DSE-SAC generalized effectively to unseen dynamics and goal combinations, as shown in interpolation experiments on both CartPole and Reacher.
- In hierarchical RL, H-SAC using DSE-SAC as a low-level policy solved the continuous goal-tracking task faster than standard SAC trained on low-level actions.
- DSE-REINFORCE showed strong performance on CartPole, and DSE-SAC outperformed DSE-REINFORCE on Reacher, indicating better sample efficiency in complex environments.
- The disentangled structure enabled independent control over dynamics and goal conditions, allowing for effective interpolation and zero-shot policy transfer.
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.