ElemedexA pocket encyclopedia of AI architectures
No. 004

Perceptron

Mark I Perceptron (hardware version)

Learning Neuron

Every time it errs, it corrects itself a little; when it is right, it changes nothing. In 1958 the press announced that it would someday walk, talk and be conscious of its existence. Eleven years later a book proved it could not even handle exclusive-or, and the perceptron went into hibernation.

Height
1 layer of learned weights (Mark I: S → A → R units)
Weight
Mark I: weights as motor-driven potentiometers
Parameters
n + 1: one weight per input plus the bias
Context
one fixed input vector (Mark I: 20 × 20 photocell retina)
Training data
labeled examples; the 1958 demo took 50 trials
Year
1958
Generation
1 · Cybernetics and symbols
Creators
Frank Rosenblatt (Cornell Aeronautical Laboratory; funded by the U.S. Office of Naval Research)
Kind
Algorithm

Base stats

Total
100

Approximate, ordinal scales meant for comparing species with each other; the hard numbers are in the data sheet.

Weaknesses

  • It can only separate linearly separable classes: exclusive-or (XOR) is impossible for it.
  • If the data are not separable, the rule never terminates: an iteration cap is needed.
  • It gives no probabilities or degrees of confidence, just yes or no.
  • A single trainable layer: it builds no intermediate representations.

Habitat

It grew up at the Cornell Aeronautical Laboratory in Buffalo, first as a program on an IBM 704 in a Navy-sponsored demonstration, and then as its own machine, the Mark I, with a retina of photocells. The Mark I now sits in the Smithsonian; the perceptron lives in every unit of every neural network and in this site's interactive lab.

Moves

Abilities

Learning rule
If it misclassifies a positive example, it adds the input vector to its weights; if it misclassifies a negative one, it subtracts it. If it is right, nothing changes.
Linear boundary
The weights define a hyperplane: everything on one side is class 1, everything on the other, class 2.
Convergence theorem
If some linear boundary separates the examples, the rule finds one in a finite number of steps.

Anatomy

The perceptron as a network with two layers of nodes: each attribute (plus a constant input, the bias) is multiplied by its weight and summed; if the sum is positive, the output is +1. During training, each mistake adds or subtracts the misclassified example to or from the weight vector. It is McCulloch and Pitts's threshold unit, but with weights that are learned.

Evolution chain

004 Perceptron

The perceptron is the first neural network that learns from examples: a threshold unit like the McCulloch–Pitts neuron neuron, but with numerical weights that are adjusted every time it makes a mistake. Frank Rosenblatt, a psychologist at the Cornell Aeronautical Laboratory, introduced it in 1958 as “a probabilistic model for information storage and organization in the brain” (Rosenblatt, 1958).

How it works

Each input is multiplied by a weight, the products are summed and, if the total exceeds a threshold, the unit outputs 1 (“fires”); otherwise 0 (M. Mitchell, 2019, ch. 1), or −1 in the convention of Witten et al. (2017, p. 133). If a constant input equal to 1 (the bias) is added, the threshold becomes just another weight and the rule is simply: positive sum, first class; otherwise, the second (Witten et al., 2017, p. 132). Geometrically, the weights define a hyperplane, a linear decision boundary.

The novelty is the learning rule. Start with zero (or random) weights and go through the labeled examples: if an example of the first class is misclassified, add its values to the weight vector; if it belongs to the second class, subtract them. The output for that example then moves in the right direction, because it changes by Σ aᵢ², which is always positive (Witten et al., 2017, pp. 132–133). Mitchell stresses the kinship with Skinner's behaviorism: rewarding hits and punishing errors is what we now call supervised learning (2019, ch. 1). If the data are linearly separable, the rule converges in a finite number of steps; if not, it never terminates (Witten et al., 2017, p. 133). You can try it in the perceptron lab.

What changed

Besides learned weights, the language changed. Rosenblatt regarded McCulloch and Pitts's brain models as “logical contrivances” built for particular algorithms, and held that symbolic logic and Boolean algebra were ill-suited to studying imperfect, randomly connected networks; so he formulated his model in terms of probability theory (Rosenblatt, 1958, pp. 387–388). His “photoperceptron” had a retina of sensory units, a randomly connected association layer, and response units (1958, pp. 388–390); in modern terms, a single layer of trainable weights (Buckner, 2024, p. 120).

The scale of the promises changed too. After a Navy demonstration in July 1958, the New York Times reported the expectation of a computer able to “walk, talk, see, write, reproduce itself, and be conscious of its existence” (M. Mitchell, 2019, ch. 1).

Limits

A linear boundary can separate the cases of AND, OR and NOT, but not those of XOR (Witten et al., 2017, p. 262). In 1969 Minsky and Papert proved that the kind of problems a simple perceptron solves perfectly is very limited (Minsky & Papert, 1969). That an extra layer could handle XOR was known, and Rosenblatt himself had pointed it out; what was missing was a rule for training multilayer networks (Buckner, 2024, p. 120). According to Mitchell, what weighed most was not the mathematics but the book's speculation that the multilayer extension would be “sterile”; funding dried up, and Rosenblatt died in 1971 (2019, ch. 1). Neural networks took decades to return, until backpropagation made it possible to train several layers (Chollet, 2021, sec. 1.2.2); that required replacing the step, which is not differentiable, with a sigmoid (Witten et al., 2017, p. 264). The result is the multilayer perceptron.

Sources

  • Buckner, C. J. (2024). From deep learning to rational machines: What the history of philosophy can teach us about the future of artificial intelligence. Oxford University Press. https://doi.org/10.1093/oso/9780197653302.001.0001 §
  • Chollet, F. (2021). Deep learning with Python (2nd ed.). Manning Publications. §
  • Minsky, M., & Papert, S. (1969). Perceptrons: An introduction to computational geometry. MIT Press. §
  • Mitchell, M. (2019). Artificial intelligence: A guide for thinking humans. Pelican Books. §
  • Rosenblatt, F. (1958). The perceptron: A probabilistic model for information storage and organization in the brain. Psychological Review, 65(6), 386–408. https://doi.org/10.1037/h0042519 §
  • Witten, I. H., Frank, E., Hall, M. A., & Pal, C. J. (2017). Data mining: Practical machine learning tools and techniques (4th ed.). Morgan Kaufmann. https://doi.org/10.1016/C2015-0-02071-8 §