← All works Software · 2024 · Live

Evolutionary Navigation Bench

Success and step efficiency of agents solving mazes with genetic algorithms and neural networks.

Type
Software
Year
2024
Status
Live
License
MIT

A navigation benchmark measuring how agents evolve through tournament selection, crossover and mutation to solve mazes.

25×25 Maze Cell-based
11-24-24-16-4 Network Input–output
3turnuva Selection Tournament size

Problem

Maze solving is a small but demanding model of autonomous navigation: the agent sees only local walls, does not know the goal, and must find a long-horizon path.

This work visualises how a genetic algorithm behaves on that problem.

Approach

Each agent receives 11 local distance/obstacle signals and chooses a direction through a neural network. The population evolves via tournament selection, elitism, crossover and mutation. Fitness combines goal proximity, exploration, efficiency and a step penalty.

Method

JavaScript + Canvas; 25×25 maze; 11-24-24-16-4 network; tournament selection (3), single-point crossover, mutation; speed controls; generation, best-score and alive-agent metrics.

Findings

The simulation shows whether agents learn to reach the goal in fewer steps across generations. The best agent and the maze are drawn live.

Status: Live. Multi-maze runs, 10 seeds and a success-rate report are planned for the next release.

Limitations

One maze and one run; results depend on the seed. Fitness weights are a design choice; this is not a claim of general maze-solving ability. Generalisation to unseen mazes has not been measured.

Related works

From the same thread.

Neuroevolution Flight Bench
Software2024

Neuroevolution Flight Bench

A neuroevolution experiment measuring the effect of population, mutation and elitism on learning, with seeds and export support.

Emergent Flocking Lab
Software2024

Emergent Flocking Lab

A lab studying the evolution of flocking through neural networks and genetic algorithms, with alignment, collision and clustering metrics.