Boing Boing

Watch neural-net racing cars learn to drive

YouTube Poster

It's not quite natural selection—creator Johan Eliasson picks which cars get to reproduce—but there's something amazing about these virtual cars learning to drive around a track without even knowing they are cars.

Teaching a neural network to drive a car. It's a simple network with a fixed number of hidden nodes (no NEAT), and no bias. Yet it manages to drive the cars fast and safe after just a few generations. Population is 650. The network evolves through random mutation (no cross-breeding). Fitness evaluation is currently done manually as explained in the video.

Exit mobile version