Distral: Robust Multitask Reinforcement Learning
Yee Whye Teh, Victor Bapst, Wojciech Marian Czarnecki, John Quan, James Kirkpatrick, Raia Hadsell, Nicolas Heess, Razvan Pascanu
TL;DR
Distral addresses the challenge of data-inefficient multitask reinforcement learning by introducing a shared distilled policy that captures common behavior across tasks. Task policies are regularized toward this distilled policy through KL divergence and entropy, while the distilled policy is learned by distilling information from all tasks. The paper formalizes the framework, derives both soft Q-learning and policy gradient variants, and demonstrates that Distral yields faster learning, better final performance, and greater robustness than standard multitask A3C across simple and complex 3D environments. This approach shifts regularization from parameter space to a semantically meaningful policy space, enabling more reliable transfer and stability in diverse tasks.
Abstract
Most deep reinforcement learning algorithms are data inefficient in complex and rich environments, limiting their applicability to many scenarios. One direction for improving data efficiency is multitask learning with shared neural network parameters, where efficiency may be improved through transfer across related tasks. In practice, however, this is not usually observed, because gradients from different tasks can interfere negatively, making learning unstable and sometimes even less data efficient. Another issue is the different reward schemes between tasks, which can easily lead to one task dominating the learning of a shared model. We propose a new approach for joint training of multiple tasks, which we refer to as Distral (Distill & transfer learning). Instead of sharing parameters between the different workers, we propose to share a "distilled" policy that captures common behaviour across tasks. Each worker is trained to solve its own task while constrained to stay close to the shared policy, while the shared policy is trained by distillation to be the centroid of all task policies. Both aspects of the learning process are derived by optimizing a joint objective function. We show that our approach supports efficient transfer on complex 3D environments, outperforming several related methods. Moreover, the proposed learning process is more robust and more stable---attributes that are critical in deep reinforcement learning.
