← All works Software · 2024 · Live

Neuroevolution Flight Bench

A reproducible experiment measuring neuroevolution learning curves in Flappy Bird.

Type
Software
Year
2024
Status
Live
License
MIT

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

50 Individuals Default population
2-2-1 Network Input-hidden-output
5 Speed levels x1–MAX

Problem

“The AI learned to play by itself” is a compelling sentence, but it is not a scientific claim until we know how many generations it took, with which parameters, and with what variance.

This work aims to make learning observable and reproducible.

Approach

Each bird is controlled by a small neural network using pipe position and velocity as inputs. The fittest individuals are selected, crossed over and mutated each generation. Visitors can adjust population, elitism, random behaviour, mutation rate and range.

Method

JavaScript + Canvas; 2-2-1 network; population-based neuroevolution; speed controls; live generation, score and alive-count metrics. The Neuroevolution.js-based engine runs in the browser.

Findings

The experiment shows how best and average scores change across generations, and speed controls allow rapid scanning of the learning curve.

Status: Live. Seeded runs, best-brain JSON export and a 10-run comparison are planned for the next release.

Limitations

One game and a tiny network; results are sensitive to seed and hyperparameters. There is no comparison with human players or modern reinforcement learning. It is an engaging demonstration, not general evidence of learning.

Related works

From the same thread.

Evolutionary Navigation Bench
Software2024

Evolutionary Navigation Bench

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

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.