Sharing Knowledge in Multi-Task Deep Reinforcement Learning
Carlo D'Eramo, Davide Tateo, Andrea Bonarini, Marcello Restelli, Jan Peters
TL;DR
This paper addresses learning multiple tasks simultaneously in deep reinforcement learning by introducing and validating shared representations across tasks. It provides theoretical guarantees—extending finite-time Approximate Value Iteration bounds and approximation-error analysis—to the multi-task setting, showing that shared representations can reduce error accumulation as the number of tasks grows. A practical neural-network architecture with per-task adapters, a shared feature extractor, and task-specific heads is proposed and instantiated in multi-task variants of FQI, DQN, and DDPG. Empirically, the approach yields improved sample efficiency and performance on MuJoCo and classic control benchmarks, with transfer benefits observed from pre-trained shared representations. Overall, the work establishes both theoretical and empirical justification for joint multi-task representation learning in deep RL.
Abstract
We study the benefit of sharing representations among tasks to enable the effective use of deep neural networks in Multi-Task Reinforcement Learning. We leverage the assumption that learning from different tasks, sharing common properties, is helpful to generalize the knowledge of them resulting in a more effective feature extraction compared to learning a single task. Intuitively, the resulting set of features offers performance benefits when used by Reinforcement Learning algorithms. We prove this by providing theoretical guarantees that highlight the conditions for which is convenient to share representations among tasks, extending the well-known finite-time bounds of Approximate Value-Iteration to the multi-task setting. In addition, we complement our analysis by proposing multi-task extensions of three Reinforcement Learning algorithms that we empirically evaluate on widely used Reinforcement Learning benchmarks showing significant improvements over the single-task counterparts in terms of sample efficiency and performance.
