Evolving indoor navigational strategies using gated recurrent units in NEAT

James Butterworth, Rahul Savani, Karl Tuyls

Abstract

Navigating complex indoor environments remains a significant challenge for resource-constrained Micro-Aerial Vehicles (MAVs). This paper presents NEAT-GRU, an extension of the Neuroevolution of Augmenting Topologies (NEAT) algorithm that incorporates Gated Recurrent Units (GRUs) to evolve neural controllers with sophisticated memory capabilities. Evaluated across 209 simulated maze environments, NEAT-GRU evolved navigation strategies that outperformed state-of-the-art hand-coded heuristics and successfully solved "blind" navigation tasks where standard evolutionary approaches failed.

Introduction

Autonomous navigation in indoor environments typically relies on Simultaneous Localization and Mapping (SLAM). However, SLAM's computational and memory requirements often exceed the capabilities of palm-sized drones. Lightweight alternatives, such as "Bug algorithms," utilize simple reactive rules—like wall-following—to reach a goal. While efficient, these human-designed heuristics are not necessarily optimal for complex layouts.

Figure 1: Illustration of a navigation strategy navigating around obstacles to reach a target.

Neuroevolution offers a path toward automatically discovering optimized navigation strategies. However, standard evolutionary algorithms struggle to evolve networks capable of the long-term memory required to navigate dead-ends or infer directions from indirect cues. This research addresses this gap by integrating gated memory cells directly into the evolutionary process.

Methods: NEAT-GRU

To address the memory bottleneck, we introduced NEAT-GRU. Building on the standard NEAT framework—which evolves both network topology and weights—NEAT-GRU allows the algorithm to mutate network structures to include Gated Recurrent Units. GRUs utilize gating mechanisms to selectively retain or discard information over time, providing the evolved "brains" with a mechanism for temporal cognition.

The evolution process was conducted using the ARGoS robotic simulator, modeling differential-drive "Foot-bots." Networks were evolved over 1,000 to 5,000 generations, with a fitness function designed to maximize speed to the target while minimizing collisions.

Experimental Setup and Datasets

The study utilized a comprehensive test set of 209 randomly generated indoor maze environments. These environments were designed to simulate realistic office layouts, including corridors, deceptive rooms, and dead-ends.

Figure 2: Example of a randomly generated indoor maze environment used for training and testing.

To ensure generalization, robots were trained on a rotating subset of 10 mazes that changed every generation. The evolved controllers were benchmarked against I-Bug, a high-performance hand-coded algorithm specifically designed for robots with limited sensor suites.

Results and Discussion

General Navigation Performance

In the 209-maze test suite, NEAT-GRU consistently produced controllers that rivaled or exceeded the hand-coded benchmark. In 50% of the evolutionary runs, NEAT-GRU outperformed I-Bug. Notably, two "super-controllers" were evolved that surpassed I-Bug across all metrics, including success rate and path efficiency. While I-Bug achieved a 93.3% success rate, the best NEAT-GRU controllers achieved higher reliability with significantly more direct paths.

Solving the "No Bearing" Task

The most significant advantage of NEAT-GRU was observed in the "No Bearing" task. In this scenario, the robot is provided with its distance to the target but lacks directional information. To succeed, a robot must move, observe the change in distance, and "remember" this history to triangulate the target's location—a process requiring temporal memory.

  • Standard NEAT: Failed to solve the task in 100% of attempts.
  • NEAT-GRU: Achieved a 100% success rate, demonstrating that the inclusion of GRU units allows for the evolution of complex cognitive strategies like triangulation.

Conclusion

NEAT-GRU demonstrates that integrating sophisticated memory units into evolutionary algorithms can produce robotic controllers that exceed human-designed heuristics. While the current work focuses on simulation, future research will address the "sim-to-real" gap by testing these evolved strategies on physical MAVs in noisy, real-world environments.

Summary updated

BibTeX
@inproceedings{butterworth2019evolving,
  author = {James Butterworth and Rahul Savani and Karl Tuyls},
  title = {{Evolving indoor navigational strategies using gated recurrent units in NEAT}},
  booktitle = {GECCO (Companion)},
  year = {2019},
  url = {https://openreview.net/forum?id=-aaZDqyzV-t},
}
Figure