Policy composition in reinforcement learning via multi-objective policy optimization

Shruti Mishra, Ankit Anand, Jordan Hoffmann, Nicolas Heess, Martin A. Riedmiller, Abbas Abdolmaleki, Doina PrecuparXiv 2023 · DOI

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:

  1. Task Objective: Maximizing the standard external reward signal provided by the environment.
  2. Teacher Objectives: Minimizing the Kullback–Leibler (KL) divergence between the agent's current policy and each available teacher policy.
The proposed policy architecture incorporates a bottleneck layer that dynamically adjusts the influence of each teacher policy based on the current observation vector.

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.

Comparison of learning curves for the Humanoid task. Increasing the teacher influence parameter (epsilon) leads to significantly faster acquisition of the target behavior compared to learning from scratch (epsilon=0.0).

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

BibTeX
@misc{mishra2023policy,
  author = {Shruti Mishra and Ankit Anand and Jordan Hoffmann and Nicolas Heess and Martin A. Riedmiller and Abbas Abdolmaleki and Doina Precup},
  title = {{Policy composition in reinforcement learning via multi-objective policy optimization}},
  year = {2023},
  eprint = {2308.15470},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2308.15470},
}
Figure