TL;DR
This paper introduces Networked Evolution Strategies (NetES), a novel approach for deep reinforcement learning that optimizes the communication topology between learning agents. They demonstrate that using specific network structures, like Erdos-Renyi graphs, can significantly outperform the standard fully-connected topology, leading to more efficient learning and even achieving comparable performance with fewer agents.
What Problem Does This Paper Address?
Training deep reinforcement learning (DRL) agents often involves distributing the learning process across multiple agents to speed up computation and improve robustness. The standard approach for these distributed agents is to either have them all communicate with each other (fully-connected topology) or communicate through a central server (star topology). However, the authors argue that these default topologies might not be optimal for learning. The challenge lies in finding the best way to structure these communication networks, as exploring all possible graph structures is computationally infeasible. This paper aims to address this by empirically investigating whether alternative communication topologies can lead to improved learning performance in DRL.
Methods
The core of the paper is the introduction of Network Evolution Strategies (NetES). This is a decentralized variant of the Evolution Strategies (ES) algorithm, a derivative-free optimization method well-suited for parallelization. In NetES, each agent maintains its own parameters and communicates with its neighbors based on a defined communication topology (represented by an adjacency matrix). The update rule in NetES involves agents computing a weighted average of their neighbors' parameter updates, with weights determined by their rewards. This contrasts with standard ES where all agents' information is aggregated into a single global parameter. The authors also introduce a "broadcast" mechanism as a control, where agents can periodically receive the best performing parameters.
Datasets
The authors evaluate their approach on several benchmark tasks from two popular DRL frameworks:
- Roboschool: Humanoid-v1
- MuJoCo: Humanoid-v1, HalfCheetah-v1, Hopper-v1, Ant-v1
These are standard benchmarks for evaluating DRL agents, particularly those designed for locomotion tasks. No new benchmarks were introduced.
Key Insights and Ideas
- Topology Matters: The most significant insight is that the communication topology between learning agents in DRL is not a trivial detail but a crucial factor that can dramatically impact learning efficiency and performance.
- Erdos-Renyi Graphs Shine: Among the explored network families, Erdos-Renyi random graphs consistently outperformed other topologies, including the de facto fully-connected network. This suggests that a certain degree of randomness and sparsity in connections can be beneficial.
- Efficiency Gains are Multiplicative: The improvements offered by optimized topologies aren't just additive; they can be multiplicative. The paper shows that 1000 agents using an optimized topology can achieve performance comparable to 3000 agents using a fully-connected topology, indicating a significant scaling advantage.
- Decentralization and Exploration: The NetES approach, by allowing each agent to have its own parameters and communicate locally, seems to facilitate better exploration of the parameter space. This is supported by theoretical insights linking network properties like "reachability" and "homogeneity" to exploration diversity.
Key Results
- Erdos-Renyi Outperforms: In experiments with 100 agents, Erdos-Renyi networks showed the best learning performance, while fully-connected networks performed the worst.
- Significant Improvements on Benchmarks: When scaling up to 1000 agents, Erdos-Renyi networks consistently outperformed fully-connected networks across all five DRL benchmarks. Improvements ranged from 9.8% on MuJoCo Ant-v1 to a remarkable 798% on MuJoCo Humanoid-v1.
- Scalability Advantage: A 1000-agent NetES setup using an Erdos-Renyi topology achieved performance comparable to a 3000-agent fully-connected ES setup on the Roboschool Humanoid-v1 task.
- Control Experiments Validate: Control experiments confirmed that the performance gains were primarily due to the network topology itself, not other modifications like parameter broadcast.
Limitations and Future Work
- Optimization of Topology: The paper acknowledges that directly optimizing the communication topology is a hard, non-convex problem. This work focuses on empirically evaluating pre-defined network families.
- Theoretical Understanding: While theoretical insights are provided, the authors suggest that future work can further characterize the theoretical properties of NetES and similar networked DRL algorithms using advanced tools.
- Learning the Topology: A key direction for future research is to explore methods for learning the network structure itself, rather than relying on pre-defined families.
- Evolving Networks: Investigating how to handle evolving networks and the performance of naturally occurring (non-synthetic) network topologies (e.g., from autonomous vehicle networks) are also suggested.
Summary updated