Improved Learning in Evolution Strategies via Sparser Inter-Agent Network Topologies

Dhaval Adjodah, Dan Calacci, Yan Leng, P. M. Krafft, Esteban Moro, Alex Pentland

TL;DR

This paper introduces a novel approach to deep reinforcement learning (DRL) by leveraging insights from human collective intelligence. They demonstrate that by structuring the communication network between learning agents sparsely, rather than using the standard fully-connected approach, they can achieve faster learning and higher rewards with significantly reduced communication costs.

What Problem Does This Paper Address?

Deep Reinforcement Learning (DRL) algorithms, particularly those using evolutionary strategies (ES), often rely on a population of agents (or processors) that share and remix discovered parameters to learn. The standard practice has been to connect all these agents in a fully-connected network, meaning every agent communicates with every other agent. However, this paper questions whether this "all-to-all" communication is truly optimal, especially in complex learning environments. Drawing inspiration from studies of human and animal collective intelligence, which suggest that complete networks aren't always best for distributed search, the authors investigate if sparser, more structured communication topologies can lead to more efficient and effective learning in DRL.

Methods

The core innovation is the development of Networked Evolution Strategies (NES). Unlike traditional ES where a global parameter set is updated using information from all agents, NES allows each agent to update its own parameters based only on information from its direct neighbors in a defined network topology. This "node-centric" update mechanism maintains the scalability of ES but introduces a decentralized learning process.

Key aspects of NES include:

  • Network Topology: Agents are organized into an undirected graph, defining who communicates with whom.
  • Local Updates: Each agent uses a weighted average of its neighbors' rewards and parameter perturbations to update its own parameters.
  • Probabilistic Broadcast: To prevent agents from getting stuck in local optima due to limited neighborhood information, a probabilistic global broadcast mechanism is employed. At each iteration, with a certain probability, all agents adopt the best parameters found in the previous iteration.

The authors then experiment with various network topologies, including standard Erdos-Renyi random graphs and custom-engineered sparse networks, to evaluate NES's performance.

Datasets

The experiments were conducted using OpenAI's Roboschool 3D Humanoid Walker (specifically, RoboschoolHumanoid-v1). This environment is described as a difficult benchmark task, making it suitable for evaluating the effectiveness of different learning algorithms and network structures. No new benchmarks were introduced; rather, the existing benchmark was used to test the proposed algorithm.

Key Insights and Ideas

  • Human Collective Intelligence as Inspiration: The paper successfully bridges the gap between social science research on collective intelligence and DRL, showing that insights from one field can significantly benefit the other.
  • Sparsity is Key: The most surprising finding is that sparser communication networks, where agents interact with only a small fraction of other agents, lead to better and faster learning than fully-connected networks. This challenges the conventional wisdom that more communication is always better.
  • Efficiency Gains: Sparser networks not only learn faster but also achieve higher rewards. This efficiency is attributed to the ability of local neighborhoods to explore a larger parameter space in parallel, leading to quicker discovery of better solutions.
  • Non-Monotonic Relationship: The relationship between network density and performance is not linear. While sparser networks are generally better, extremely sparse networks can hinder learning, suggesting an optimal level of connectedness.
  • Decentralization Benefits: The node-centric update mechanism in NES offers a form of regularization, potentially preventing overfitting by limiting the scope of information used for updates.

Key Results

  • The best-performing engineered network with 1000 agents was able to outperform fully-connected networks with up to 4000 agents.
  • Erdos-Renyi networks achieved up to a 26% increase in reward compared to the baseline fully-connected network.
  • The fastest network learned to reach its asymptotic reward up to 32% faster than the fully-connected baseline (220 iterations vs. 320 iterations).
  • Network metrics like lower edge counts (less communication), higher modularity (global sparsity), and lower clustering (local connectedness) correlated with higher rewards.

Limitations and Future Work

  • Non-Monotonicity: The paper acknowledges that while sparser networks are generally better, creating networks that are too sparse can lead to performance degradation. The exact threshold for optimal sparsity is not definitively established and might be task-dependent.
  • Engineered Network Variance: The authors note that their engineered networks showed larger scattering variance in rewards because each was run only once, unlike the multiple runs for Erdos-Renyi and fully-connected networks. This suggests that further exploration of engineered topologies might be needed.
  • Future Work: The authors suggest exploring dynamic networks where nodes can rewire at each iteration. They also propose applying alternative network structures to other distributed DRL algorithms, including gradient-based methods, and investigating how other insights from human collective intelligence could further enhance distributed learning. Optimizing specifically for faster learning, beyond just higher rewards, is also a future direction.

Summary updated

Abstract

We draw upon a previously largely untapped literature on human collective intelligence as a source of inspiration for improving deep learning. Implicit in many algorithms that attempt to solve Deep Reinforcement Learning (DRL) tasks is the network of processors along which parameter values are shared. So far, existing approaches have implicitly utilized fully-connected networks, in which all processors are connected. However, the scientific literature on human collective intelligence suggests that complete networks may not always be the most effective information network structures for distributed search through complex spaces. Here we show that alternative topologies can improve deep neural network training: we find that sparser networks learn higher rewards faster, leading to learning improvements at lower communication costs.
BibTeX
@misc{adjodah2017improved,
  author = {Dhaval Adjodah and Dan Calacci and Yan Leng and P. M. Krafft and Esteban Moro and Alex Pentland},
  title = {{Improved Learning in Evolution Strategies via Sparser Inter-Agent Network Topologies}},
  year = {2017},
  eprint = {1711.11180},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1711.11180},
}

Loading related content...

Figure