Loss- and Reward-Weighting for Efficient Distributed Reinforcement Learning
Martin Holen, Per-Arne Andersen, Kristian Muri Knausgård, Morten Goodwin
TL;DR
This work targets efficient gradient aggregation in distributed reinforcement learning by introducing two weighted-merger schemes: Reward-Weighted (R-Weighted) and Loss-Weighted (L-Weighted). Both methods scale each actor’s gradient according to its relative performance signal, using a parameter-server framework with a minimum contribution bound $1/h$. Empirical results across several continuous-control tasks show that L-Weighted delivers the strongest gains (up to $13.84\%$ on average for the cumulative reward) while R-Weighted provides more modest but stable improvements (up to $2.33\%$ on average). The approaches require minimal changes to standard backpropagation and can accelerate convergence and improve final performance in distributed RL environments, especially in continuous-action domains.
Abstract
This paper introduces two learning schemes for distributed agents in Reinforcement Learning (RL) environments, namely Reward-Weighted (R-Weighted) and Loss-Weighted (L-Weighted) gradient merger. The R/L weighted methods replace standard practices for training multiple agents, such as summing or averaging the gradients. The core of our methods is to scale the gradient of each actor based on how high the reward (for R-Weighted) or the loss (for L-Weighted) is compared to the other actors. During training, each agent operates in differently initialized versions of the same environment, which gives different gradients from different actors. In essence, the R-Weights and L-Weights of each agent inform the other agents of its potential, which again reports which environment should be prioritized for learning. This approach of distributed learning is possible because environments that yield higher rewards, or low losses, have more critical information than environments that yield lower rewards or higher losses. We empirically demonstrate that the R-Weighted methods work superior to the state-of-the-art in multiple RL environments.
