SNARC

Also known as: Stochastic Neural Analog Reinforcement Calculator

On this page 6

SNARC, the Stochastic Neural Analog Reinforcement Calculator, was an electromechanical machine built in 1951 that simulated a small network of about 40 artificial neurons able to learn by reinforcement. In AI history, it is widely regarded as one of the first artificial neural network learning machines ever constructed, predating the Dartmouth workshop that gave artificial intelligence its name.

The machine was designed by Marvin Minsky and Dean Edmonds, then graduate students, and assembled at Harvard with modest funding from the Office of Naval Research. It modeled a rat finding its way through a maze, and it showed in hardware that random connections strengthened by reward could produce goal-directed behavior.

How SNARC was built

SNARC was a hardware analog computer, not a program. Each simulated neuron, or synapse unit, was a physical module built from vacuum tubes, a capacitor, a potentiometer and an electric clutch. Accounts of the total tube count vary from several hundred to about 3,000, which reflects how informally the machine was documented.

The adjustable parts were driven mechanically. A surplus aircraft autopilot motor, reportedly from a B-24 bomber, turned a shared chain or shaft, and each unit’s clutch could couple its potentiometer knob to that motor. Turning a knob changed the probability that the unit would fire and pass a signal onward.

The table summarizes the main components and the role each played in the learning process.

ComponentPhysical formFunction in the network
Synapse unitTube circuit with potentiometerPasses a signal with a set probability
PotentiometerRotary knobStores the learned connection strength
CapacitorCharge storage elementShort-term memory of recent firing
Electric clutchElectromagnetic couplingLets reward adjust only recently active units
Shared motorSurplus autopilot drivePhysically turns the engaged knobs
Indicator lightsLamp panelShow the simulated rat’s position
Main components of SNARC

How the machine learned

SNARC learned through reinforcement of recently used connections, an engineering version of the principle that pathways which lead to success should become more likely. The word “stochastic” in the name reflects that signal transmission was probabilistic, so the network explored different routes rather than repeating one path.

When a unit fired, its capacitor charged and held a fading trace of that activity for a short time. When the operator signaled a reward, the clutches of units with a remaining charge engaged, the motor turned their knobs, and their firing probabilities increased. This mechanism is an early physical form of what later research would call an eligibility trace.

The steps below describe one learning trial in the maze task.

  1. The simulated rat starts at an entry point and the network produces a choice at each junction.
  2. Probabilistic firing makes the rat wander through different routes.
  3. Active units charge their capacitors, marking the recent path.
  4. When the rat reaches the goal, a reward signal engages the clutches.
  5. The motor raises the probabilities of the marked units, so later trials favor that route.

SNARC among early learning machines

SNARC belonged to a short era of physical learning devices that grew out of cybernetics, before digital computers became the main tool of AI research. The table places it beside related milestones of the 1940s and 1950s.

SystemYearApproach
McCulloch-Pitts neuron model1943Theoretical logic model of neurons
Shannon’s Theseus mouse1950Relay maze solver that memorized a path
SNARC1951Probabilistic neural network with reward learning
Samuel’s checkers programFrom 1952Digital program improving by self-play
Mark I Perceptron1958Trainable pattern classifier in hardware
SNARC compared with other early learning systems

Compared with Theseus, SNARC did not store a fixed route; it adjusted connection strengths across a network. Compared with the Mark I Perceptron, it learned from delayed reward rather than labeled examples, which places it closer to reinforcement learning than to supervised classification.

Historical significance and limits

SNARC matters because it demonstrated three ideas in working hardware: distributed memory in connection weights, probabilistic exploration and learning from reward. All three became central to later neural networks and reinforcement learning, although SNARC itself had little direct technical influence on those fields.

Its limits were substantial. The network was tiny, the hardware was unreliable and hard to scale, and results were recorded informally, so detailed performance data do not exist. Reports suggest the machine could follow several simulated rats at once, partly because of wiring quirks, which shows how hard it was to analyze its behavior precisely.

The following table separates what SNARC established from what it could not show.

AspectWhat SNARC showedWhat it could not show
Learning ruleReward can tune network weightsConvergence or guarantees
ScaleAbout 40 units working togetherBehavior of large networks
TaskSimple maze navigationPerception or language tasks
EvidenceQualitative demonstrationsMeasured, repeatable results
Contributions and limitations of SNARC

The machine was later disassembled, and only fragments are reported to survive. Its designer soon moved toward symbolic approaches to AI, and the influential book Perceptrons, coauthored in 1969, later criticized the limits of simple neural networks, an irony often noted in accounts of the field.

The simple explanation

SNARC was a room-filling learning machine from 1951. It copied, in a very simple way, how brain cells connect. Its task was to guide a pretend rat through a maze.

At first the rat wandered at random. Each time it reached the goal, the machine turned up the knobs on the paths it had just used. Over many tries, the good paths became stronger. It worked like a trail through grass that becomes clearer the more it is walked.

How it is used in practice

SNARC is no longer operated, but it is used today as a teaching reference in courses on the history of machine learning. An instructor introducing reinforcement learning can describe its maze task before presenting modern algorithms, so students see that the core idea predates digital AI.

In a typical lesson, students first sketch SNARC’s loop: random choices, a short memory of recent actions and a reward that strengthens them. They then write a small simulation in which 40 connection weights start at equal values and each successful maze run raises the weights of the units used in the last few steps.

After several hundred simulated trials, the success rate climbs well above chance. Students then compare the rule with temporal difference learning, which shows how later methods solved the problem of assigning credit to actions taken long before the reward.