Nautilus

Build Your Own Artificial Neural Network. It’s Easy!

The first artificial neural networks weren’t abstractions inside a computer, but actual physical systems made of whirring motors and big bundles of wire. Here I’ll describe how you can build one for yourself using SnapCircuits, a kid’s electronics kit. I’ll also muse about how to build a network that works optically using a webcam. And I’ll recount what I learned talking to the artist Ralf Baecker, who built a network using strings, levers, and lead weights.

I showed the SnapCircuits network last year to John Hopfield, a Princeton University physicist who pioneered neural networks in the 1980s, and he quickly got absorbed in tweaking the system to see what he could get it to do. I was a visitor at the Institute for Advanced Study and spent hours interviewing Hopfield for my forthcoming book on physics and the mind.

Author George Musser (left) shows physicist John Hopfield (right) the SnapCircuits neural network.Mary Waltham

The type of network that Hopfield became famous for is a bit different from the deep networks that power image recognition and other A.I. systems today. It still consists of basic computing units—“neurons”—that are wired together, so that each responds to what the others are doing. But the neurons are not arrayed into layers: There is no dedicated input, output, or intermediate stages. Instead the network is a big tangle of signals that can loop back on themselves, forming a highly dynamic system.

You can get away with sloppy design for a three-neuron network, but will need to be more systematic with four.

Each neuron is a

You’re reading a preview, subscribe to read more.

More from Nautilus

Nautilus2 min read
The Rebel Issue
Greetings, Nautilus readers, and welcome to The Rebel Issue. Starting today through the end of April we’re going to bring you stories that revolve around the meaning of rebel. In our own happy rebellion against the conventions of science writing, we’
Nautilus8 min read
10 Brilliant Insights from Daniel Dennett
Daniel Dennett, who died in April at the age of 82, was a towering figure in the philosophy of mind. Known for his staunch physicalist stance, he argued that minds, like bodies, are the product of evolution. He believed that we are, in a sense, machi
Nautilus4 min readMotivational
The Psychology of Getting High—a Lot
Famous rapper Snoop Dogg is well known for his love of the herb: He once indicated that he inhales around five to 10 blunts per day—extreme even among chronic cannabis users. But the habit doesn’t seem to interfere with his business acumen: Snoop has

Related Books & Audiobooks