Introduction
Reinforcement learning (RL) has achieved remarkable success in complex control tasks, yet it often suffers from extreme sample inefficiency. Unlike biological systems that build upon a repertoire of existing skills, standard RL agents typically learn every new task from scratch. This paper introduces a framework for flexible policy composition, allowing agents to leverage a library of pre-existing "teacher" policies to accelerate the learning of novel, complex behaviors.
Previous attempts at skill reuse often relied on rigid hierarchical structures where agents select between fixed primitives. In contrast, this work proposes a multi-objective approach that treats teachers as soft constraints, enabling agents to sequence, blend, or deviate from existing skills as required by the task.
Methodology
The core of the proposed framework is Multi-Objective Maximum a Posteriori Policy Optimization (MO-MPO). The learning problem is reformulated to balance multiple objectives simultaneously:
- Task Objective: Maximizing the standard external reward signal provided by the environment.
- Teacher Objectives: Minimizing the Kullback–Leibler (KL) divergence between the agent's current policy and each available teacher policy.
As shown in Figure 1, the architecture utilizes a specialized bottleneck layer. This layer processes the encoded observation to output relevance weights ($\epsilon_i$) for each teacher. This mechanism allows the agent to dynamically determine which teacher's advice is most pertinent to the current state. For instance, a humanoid agent might prioritize a "standing" teacher when off-balance and transition to a "walking" teacher once stable. The bottleneck architecture prevents the agent from overfitting to specific states, encouraging the learning of robust, generalizable composition rules.
Experimental Setup
The framework was evaluated using the DeepMind Control Suite on two primary domains:
- Humanoid: A high-dimensional 3D control task requiring the coordination of many degrees of freedom. Experiments focused on sequential composition, such as transitioning from standing to walking.
- Point Mass: A 2D environment used to demonstrate concurrent composition. Here, the agent learned to reach a target by simultaneously following teachers that specialized in movement along different axes.
Results and Discussion
The experimental results demonstrate that multi-objective policy composition provides several key advantages over learning from scratch.
Accelerated Learning and Sparse Rewards
One of the most significant findings is the dramatic increase in sample efficiency. In environments with sparse rewards—where the agent rarely receives feedback—teacher policies act as a form of automated reward shaping. By providing a behavioral gradient, teachers keep the agent within productive regions of the state space.
As illustrated in Figure 2, agents with higher teacher influence ($\epsilon$) reached peak performance significantly faster than the baseline ($\epsilon=0.0$). This effect is consistent across various task margins, highlighting the robustness of the approach.
Superior Final Performance and Seamless Stitching
Beyond speed, the composition framework often led to higher final rewards. By following teacher "suggestions," agents avoided awkward local minima—such as inefficient crawling behaviors—that often plague agents learning from scratch. Furthermore, the agents successfully learned to "stitch" together separate policies, creating smooth transitions between behaviors like standing and walking despite the teachers being trained independently.
Conclusion
This research presents a powerful method for reusing existing knowledge in RL. By treating teacher policies as flexible, observation-conditioned constraints within a multi-objective optimization framework, agents can learn complex tasks with unprecedented efficiency. Future work may explore scaling this approach to larger teacher libraries using Population-Based Training and applying the framework to ensure safety by incorporating "safe-operating" teacher policies.
Summary updated