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

Nautilus8 min read
The Bacteria That Revolutionized the World
There were no eyes to see it, but the sun shone more dimly in the sky, casting its languid rays on the ground below. A thick methane atmosphere enshrouded the planet. The sea gleamed a metallic green, and where barren rock touched the water, minerals
Nautilus7 min read
Lithium, the Elemental Rebel
Inside every rechargeable battery—in electric cars and phones and robot vacuums—lurks a cosmic mystery. The lithium that we use to power much of our lives these days is so common as to seem almost prosaic. But this element turns out to be a wild card
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

Related