QMP: Q-switch Mixture of Policies for Multi-Task Behavior Sharing
Grace Zhang, Ayush Jain, Injune Hwang, Shao-Hua Sun, Joseph J. Lim
TL;DR
QMP addresses sample efficiency in multi-task reinforcement learning by enabling selective behavior sharing across tasks through a Q-function-guided mixture of policies. It defines a mixture policy $\pi_i^{\text{mix}}(a|s)=\arg\max_{\pi' in \{\pi_1,...,\pi_N\}} \mathbb{E}_{a\sim\pi'(\cdot|s)} [ Q^{\pi_i}(s,a) ] + \alpha \mathcal{H}[\pi'(\cdot|s)]$, which augments off-policy data collection without biasing the current task's objective. The authors prove convergence guarantees and show that QMP yields complementary performance gains over several MTRL baselines across manipulation, locomotion, and navigation tasks, including scaling benefits with more tasks. Empirically, QMP learns when to share behaviors by adjusting mixture probabilities, reduces suboptimality gaps, and demonstrates robustness and compatibility with existing off-policy algorithms like SAC; future work includes temporally extended sharing and richer cross-task priors.
Abstract
Multi-task reinforcement learning (MTRL) aims to learn several tasks simultaneously for better sample efficiency than learning them separately. Traditional methods achieve this by sharing parameters or relabeled data between tasks. In this work, we introduce a new framework for sharing behavioral policies across tasks, which can be used in addition to existing MTRL methods. The key idea is to improve each task's off-policy data collection by employing behaviors from other task policies. Selectively sharing helpful behaviors acquired in one task to collect training data for another task can lead to higher-quality trajectories, leading to more sample-efficient MTRL. Thus, we introduce a simple and principled framework called Q-switch mixture of policies (QMP) that selectively shares behavior between different task policies by using the task's Q-function to evaluate and select useful shareable behaviors. We theoretically analyze how QMP improves the sample efficiency of the underlying RL algorithm. Our experiments show that QMP's behavioral policy sharing provides complementary gains over many popular MTRL algorithms and outperforms alternative ways to share behaviors in various manipulation, locomotion, and navigation environments. Videos are available at https://qmp-mtrl.github.io.
