[Paper Review] Composing Task-Agnostic Policies with Deep Reinforcement Learning
This paper proposes a deep reinforcement learning method that composes task-agnostic primitive policies into composite policies for solving unseen tasks. Using a bidirectional RNN encoder and an attention-based decoder, the model dynamically combines skills both sequentially and concurrently, achieving high data efficiency and outperforming standard and hierarchical RL in sparse-reward, complex control environments.
The composition of elementary behaviors to solve challenging transfer learning problems is one of the key elements in building intelligent machines. To date, there has been plenty of work on learning task-specific policies or skills but almost no focus on composing necessary, task-agnostic skills to find a solution to new problems. In this paper, we propose a novel deep reinforcement learning-based skill transfer and composition method that takes the agent's primitive policies to solve unseen tasks. We evaluate our method in difficult cases where training policy through standard reinforcement learning (RL) or even hierarchical RL is either not feasible or exhibits high sample complexity. We show that our method not only transfers skills to new problem settings but also solves the challenging environments requiring both task planning and motion control with high data efficiency.
Motivation & Objective
- Address the lack of generalizable skill composition in reinforcement learning, where most methods focus on learning task-specific policies rather than reusing or composing pre-learned, task-agnostic skills.
- Enable efficient transfer to new, unseen tasks by composing existing primitive policies rather than retraining from scratch.
- Overcome the high sample complexity and failure modes of standard and hierarchical RL in sparse-reward and complex motion-control environments.
- Design a structured, end-to-end trainable framework that integrates state, goal, and skill information via attention mechanisms for dynamic policy composition.
- Demonstrate the ability to compose skills both concurrently (AND-operation) and sequentially (OR-operation) based on task demands.
Proposed method
- Employ a bidirectional recurrent neural network (BRNN) encoder to embed a fixed set of task-agnostic primitive policies into latent states, capturing temporal and sequential dependencies.
- Use a feed-forward decoder with an attention mechanism that attends over the encoded skill representations, conditioned on current state and goal information to predict mixture weights for skill composition.
- Combine actions from primitive policies using the predicted mixture weights, enabling dynamic, context-dependent blending of behaviors.
- Train the entire model end-to-end via standard or hierarchical reinforcement learning, allowing joint optimization of skill composition and policy execution.
- Structure the decoder to support both concurrent (multiple active policies) and sequential (staged policy activation) composition through learned attention weights.
- Adopt a modular architecture where primitive policies are pre-trained and fixed, and only the gating mechanism (mixture weight predictor) is fine-tuned for new tasks, enabling efficient transfer.
Experimental results
Research questions
- RQ1Can a deep reinforcement learning framework effectively compose pre-trained, task-agnostic primitive policies to solve new, unseen tasks with high data efficiency?
- RQ2How does attention-based composition of skills compare to direct mixture weight prediction without latent encoding or attention mechanisms?
- RQ3To what extent can the proposed method handle complex tasks requiring both motion control and task planning in sparse-reward environments?
- RQ4Does the model support both sequential and concurrent skill composition, and how is this reflected in attention weight dynamics?
- RQ5Can the framework generalize across diverse environments and outperform standard and hierarchical RL baselines in sample complexity and final performance?
Key findings
- The proposed method significantly outperforms ablated models—especially those without BRNN or attention—on Ant Random Goal, Cross Maze Ant, and Pusher environments, demonstrating the necessity of structured latent encoding and attention.
- In the 2D multi-goal point-mass environment, attention weights dynamically activate multiple primitive policies (e.g., up, right) simultaneously, enabling direct, non-staircase paths to goals, confirming concurrent composition capability.
- The model successfully solves challenging environments where standard and hierarchical RL fail or require prohibitively high sample complexity, indicating robustness in sparse-reward settings.
- Attention visualization shows that the model assigns higher weights to primitive policies aligned with the goal direction, even in the presence of noise, confirming task-aware and goal-conditioned composition.
- The ablation study confirms that directly predicting mixture weights without encoding skill representations (as in MCP) leads to inferior performance, highlighting the benefit of latent state modeling via BRNN.
- The method enables effective transfer to new tasks by reusing fixed primitive policies, with only the gating network fine-tuned, demonstrating strong generalization and data efficiency.
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.