Scalable Multitask Policy Gradient Reinforcement Learning

Salam El Bsat, Haitham Bou-Ammar, Matthew E. TaylorAAAI 2017

Abstract

Reinforcement Learning (RL) is often limited by the high volume of data required to master individual tasks. Multitask Reinforcement Learning (MTRL) addresses this by sharing knowledge across related tasks, yet existing centralized MTRL methods face significant scalability bottlenecks as task complexity and feature dimensions increase. We present Distributed Multitask Policy Search (Dist-MTLPS), a framework that reformulates MTRL as a general consensus optimization problem. By employing a decentralized Alternating Direction Method of Multipliers (ADMM) solver, Dist-MTLPS achieves linear convergence and order-of-magnitude reductions in training time. Empirical evaluations across five dynamical system benchmarks demonstrate that Dist-MTLPS consistently outperforms state-of-the-art centralized methods in both final performance and computational efficiency.

Introduction

Reinforcement Learning agents typically learn through extensive trial-and-error, a process that is often inefficient for complex, real-world applications. MTRL seeks to improve data efficiency by "transferring" learned knowledge between tasks. However, current state-of-the-art methods like PG-ELLA are primarily centralized. These solvers encounter two major inefficiencies: the requirement to solve a local RL problem for every task at each update step, and a high computational complexity of $O(d^3p^2)$ (where $d$ is the number of features) due to large matrix inversions. Dist-MTLPS addresses these issues by distributing the workload across a network of processing units, avoiding the "memory wall" of centralized systems.

The Dist-MTLPS Framework

The core of Dist-MTLPS lies in its decentralized approach to knowledge sharing. The framework utilizes a Factored Policy Model, where task-specific policy parameters $\theta_t$ are decomposed into a shared latent repository $L$ and task-specific coefficients $s_t$ (i.e., $\theta_t = Ls_t$).

To optimize this model at scale, the authors frame the learning process as a General Consensus Problem. Each node in a communication graph is assigned a subset of tasks and maintains its own local version of the shared repository $L$. A multidimensional version of the Alternating Direction Method of Multipliers (ADMM) is then used to ensure that all nodes converge toward a global consensus on $L$. Theoretically, this approach achieves a linear convergence rate of $O(1/k)$, significantly faster than the $O(1/\sqrt{k})$ rate typical of standard gradient-based multitask methods.

Experimental Evaluation

The researchers evaluated Dist-MTLPS on 750 tasks derived from five classic dynamical system benchmarks: Cart Pole (CP), Double Inverted Pendulum (DIP), Helicopter (HC), Simple Mass (SM), and Double Mass (DM). Tasks were generated by varying physical parameters such as mass, length, and friction to test the robustness of the shared knowledge.

Comprehensive performance metrics across five domains, including average cost curves (a-e), consensus error (f), jump-start improvement (g), and asymptotic results (h).

Key Results

Superior Performance and Jump-Start

Dist-MTLPS consistently achieved lower average costs than standard Policy Gradient (PG), PG-ELLA, and GO-MTL across all benchmarks. Furthermore, the method demonstrated a superior "jump-start" capability; when introduced to a novel task, agents using the Dist-MTLPS repository began with significantly higher initial performance compared to those using other transfer methods.

Drastic Speedups and Convergence

The most striking advantage of Dist-MTLPS is its scalability. By distributing the computational load, the framework achieves massive reductions in "wall clock" training time. For example, in the Helicopter domain (50 tasks), Dist-MTLPS reached a solution in approximately 9 seconds, while the centralized GO-MTL required over 4,000 seconds. Empirical results also confirmed the theoretical linear convergence, as the "consensus error" (disagreement between nodes) dropped rapidly during training.

Comparison of total running time across domains (a) and performance on a novel domain (b).

Conclusion and Future Work

Dist-MTLPS represents a significant step forward in making multitask reinforcement learning viable for large-scale systems. By leveraging decentralized optimization, it overcomes the cubic complexity of centralized knowledge updates. Future research will explore the impact of restrictive graph topologies on consensus speed and investigate cross-domain multitask learning, where the shared repository must bridge fundamentally different physical systems. Additionally, moving from simulation to real-world multi-robot systems will require addressing communication latency and asynchronous update challenges.

Summary updated

BibTeX
@inproceedings{bsat2017scalable,
  author = {Salam El Bsat and Haitham Bou-Ammar and Matthew E. Taylor},
  title = {{Scalable Multitask Policy Gradient Reinforcement Learning}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2017},
  doi = {10.1609/aaai.v31i1.10942},
}
Figure