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

Nautilus3 min read
What a Bronze Age Skeleton Reveals About Cavities
For nearly 4,000 years, a Bronze Age man’s skeleton lay quietly hidden in a limestone cave in Ireland. But recently, his remains, including a couple of well-preserved molars, came to light. Those teeth tell a new story about the connection between mo
Nautilus8 min read
A Revolution in Time
In the fall of 2020, I installed a municipal clock in Anchorage, Alaska. Although my clock was digital, it soon deviated from other timekeeping devices. Within a matter of days, the clock was hours ahead of the smartphones in people’s pockets. People
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