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

Nautilus6 min read
A Scientist Walks Into a Bar …
It sounds like the setup to a joke: When I was starting out as a stand-up comedian, I was also working as a research scientist at a sperm bank.  My lab was investigating the causes of infertility in young men, and part of my job was to run the clinic
Nautilus7 min read
The Part-Time Climate Scientist
On a Wednesday in February 1938, Guy Stewart Callendar—a rangy, soft-spoken steam engineer, who had turned 40 just the week before—stood before a group of leading scientists, members of the United Kingdom’s Royal Meteorological Society. He had a bold
Nautilus4 min read
Why Animals Run Faster than Robots
More than a decade ago a skinny-legged knee-less robot named Ranger completed an ultramarathon on foot. Donning a fetching red baseball cap with “Cornell” stitched on the front, and striding along at a leisurely pace, Ranger walked 40.5 miles, or 65

Related