CLAN: Continuous Learning using Asynchronous Neuroevolution on Commodity Edge Devices

Parth Mannan, Ananda Samajdar, Tushar Krishna

Abstract

Continuous learning at the edge is essential for autonomous agents to adapt to dynamic environments, yet traditional Reinforcement Learning (RL) methods are often too resource-intensive for commodity hardware. This paper introduces CLAN, a distributed system that leverages Asynchronous Neuroevolution (NE) to enable on-device learning without cloud dependency. By replacing backpropagation with genetic algorithms, CLAN reduces memory requirements to under 1 MB. Furthermore, the introduction of asynchronous speciation reduces communication overhead by 3.6x, allowing the system to scale to 65 nodes and achieve a 2.5x improvement in price-to-performance over specialized edge accelerators.

Introduction

Current edge AI deployments are primarily limited to inference, relying on pre-trained models from high-performance cloud clusters. However, for autonomous systems like robotic swarms, the inability to adapt to real-world environmental shifts is a significant bottleneck. While Reinforcement Learning offers a path to adaptation, standard deep RL algorithms (e.g., DQN) require substantial memory for storing activations and gradients—often exceeding the capacity of low-cost embedded processors. CLAN addresses this by utilizing Neuroevolution to bypass the "memory wall" of backpropagation.

Distributed Neuroevolution Architectures

The core of CLAN is the NEAT (NeuroEvolution of Augmented Topologies) algorithm, which evolves both network weights and structures. To distribute this process across a cluster of Raspberry Pis, the authors developed three distinct architectures:

  1. CLAN_DCS (Distributed Inference, Centralized Reproduction): Inference tasks are offloaded to edge nodes, while a central node handles evolutionary steps and speciation.
  2. CLAN_DDS (Distributed Reproduction): Both inference and reproduction are distributed, but global synchronization is required for speciation, leading to high network traffic.
  3. CLAN_DDA (Distributed Asynchronous Speciation): This novel approach partitions the population into local "clans." Each device performs speciation asynchronously on its own clan, eliminating the global synchronization bottleneck.
Architectural comparison of CLAN variants and their execution timelines.

Experimental Setup

The system was evaluated using the OpenAI Gym suite, covering tasks of varying complexity including Cartpole-v0, LunarLander-v2, and several Atari games (e.g., Airraid, Amidar). The focus of these experiments was to measure system scalability, communication efficiency, and cost-effectiveness on commodity hardware.

Key Results and Performance

The transition from synchronous to asynchronous speciation proved critical for performance. In CLAN_DDA, the communication overhead was reduced to just 22% of the total workload, representing a 3.6x reduction compared to more centralized approaches.

Analysis of communication overhead, showing the drastic reduction in data transfer achieved by the CLAN_DDA architecture.

This efficiency enabled linear scaling up to 65 Raspberry Pi nodes. Economically, a cluster of 6 Raspberry Pis matched the performance of an Nvidia Jetson TX2 at a significantly lower cost, resulting in a 2.5x improvement in the Price-Performance Product (PPP).

Discussion and Future Work

While CLAN_DDA offers superior scalability, the isolation of populations into clans can slightly reduce global exploration, potentially impacting convergence accuracy in complex environments like LunarLander-v2. Future research will explore "periodic global speciation" to balance local efficiency with global trait sharing. As edge hardware continues to evolve, managing communication bottlenecks will remain a primary challenge for distributed on-device learning.

Summary updated

BibTeX
@inproceedings{mannan2020clan,
  author = {Parth Mannan and Ananda Samajdar and Tushar Krishna},
  title = {{CLAN: Continuous Learning using Asynchronous Neuroevolution on Commodity Edge Devices}},
  booktitle = {ISPASS},
  year = {2020},
  url = {https://openreview.net/forum?id=YPhRddMyRM},
}
Figure