दुर्गा बेरागी Durga Beragi, homeEnter the study →

Library › Artificial intelligence

Perceptrons: An Introduction to Computational Geometry

Marvin Minsky and Seymour Papert · 1969 · MIT Press

More by Marvin Minsky on this shelf · 2 books →

What a single-layer network cannot learn. It stalled a field.

About the book

Marvin Minsky and Seymour Papert, both at MIT, published Perceptrons in 1969. It is a mathematical study of the perceptron, a simple learning machine proposed by Frank Rosenblatt in the late 1950s. The authors define perceptrons precisely, as machines that sum the weighted votes of many simple local feature detectors, and then prove what such machines can and cannot compute. Much of the book is geometry and algebra applied to patterns on a grid. Its results were widely read as a verdict against neural networks, and funding for the area fell in the following years. An expanded edition in 1988 added a prologue and epilogue answering the new connectionist work.

Key ideas

  • A perceptron computes a weighted sum of simple partial predicates and compares it to a threshold. The authors treat this as a precise mathematical object whose powers can be proved, not guessed.
  • The order of a predicate, the size of the largest local view it needs, measures difficulty. Some properties can be recognised with small order, while others need views that cover the whole input.
  • Parity, whether the number of active points is odd or even, cannot be computed by a perceptron of limited order. The simple exclusive-or case is the smallest example of this limit.
  • Connectedness, whether a figure is all one piece, also cannot be recognised by perceptrons with bounded local views. Global properties defeat machines built only from local evidence.
  • The perceptron learning rule converges when a solution exists, but the authors show that the weights required for some tasks grow impossibly large, which makes learning impractical.
  • The authors doubted that multilayer versions would escape these limits, and said so without proof. Later work on training multilayer networks with backpropagation challenged that judgement.

Why it is on this shelf

Today's AI rests on neural networks, and this book is the strongest early case for their limits. It shows what a precise argument about learning machines looks like. It also shows how a narrow result can be read too broadly and steer a field for years.

How to start reading it

Read the introduction for the setting and the definitions. Then read the chapters on parity and connectedness for the main results. Read the 1988 epilogue last, where the authors answer the connectionists directly.

About this book

Perceptrons was published by MIT Press in 1969. Its authors, Marvin Minsky and Seymour Papert, were both at the Massachusetts Institute of Technology, where they ran the artificial intelligence laboratory together. The subtitle, An Introduction to Computational Geometry, tells you what kind of book it is. It is not a survey, a polemic or a popular account. It is a mathematical monograph about one family of machines, written with care and with a clear taste for elegant proofs.

The machines in question were perceptrons, learning devices proposed by Frank Rosenblatt at the Cornell Aeronautical Laboratory in the late 1950s. A perceptron looks at an input, usually imagined as a picture on a grid of light sensors. A set of simple detectors each look at some part of the picture and report yes or no. The machine multiplies each report by a weight, adds up the results, and says yes if the total passes a threshold. A learning rule adjusts the weights when the machine makes a mistake. Rosenblatt and others had shown that this rule works, in the sense that it finds a good set of weights whenever one exists.

By the mid-1960s perceptrons had attracted a great deal of excitement, some of it in the press. Machines that learned from examples seemed to promise vision, speech and perhaps general intelligence without anyone having to write the rules by hand. Minsky and Papert set out to answer a narrower and harder question. Given a perceptron of a certain kind, which patterns can it learn to recognise at all, however long it trains? And for the patterns it can recognise, what does it cost, in the size of its detectors and the size of its weights?

This is a question about capacity, not about training. It does not ask whether a learning rule will find the answer. It asks whether there is an answer to find. That distinction is the first thing a reader needs to hold on to, because much of the later argument about the book came from mixing the two.

The intended reader was a mathematician, a computer scientist or a serious student of either. The book assumes comfort with sets, functions, inequalities, basic group theory and the idea of a proof. It does not assume any knowledge of neural networks beyond the definitions it supplies. In that sense it was also written for the perceptron community itself, as a demonstration of how such machines could be studied with the same rigour as any other mathematical object.

The book appeared in a field that was still young and small. Funding decisions in that field were made by a handful of agencies, chiefly in the United States military research system, and by a handful of senior figures. The book was read in that setting as a judgement on a whole line of research. Whether the authors intended that reading, and whether it was fair, is a question this edition returns to. What is not in doubt is that research on neural networks slowed sharply during the 1970s, and that Perceptrons was widely cited as a reason.

In 1988 MIT Press published an expanded edition. The authors left the main text almost unchanged and added a new prologue and a long epilogue. These were written after the revival of neural network research in the mid-1980s, especially the work collected in the Parallel Distributed Processing volumes. In them the authors defended the original analysis and argued that the new multilayer networks had not escaped the deep problems the book had identified. If you can find the expanded edition, it is the better one to own, because it lets you read the book and the authors' later view of it side by side.

The authors

Marvin Minsky

Marvin Minsky was born in New York City in 1927. He went to the Bronx High School of Science, the same school that Frank Rosenblatt attended a year or so behind him. He served briefly in the United States Navy at the end of the Second World War, studied mathematics at Harvard, and took his doctorate in mathematics at Princeton in 1954. His dissertation was about neural networks and their possible role in learning and memory.

Minsky's interest in learning machines was practical as well as theoretical. In 1951, as a graduate student, he built with Dean Edmonds a machine called SNARC, a small network of artificial neurons made from vacuum tubes and surplus parts, which learned by strengthening connections that led to reward. It was one of the first learning neural machines ever built. So the author of the most famous critique of perceptrons was himself one of the earliest builders of neural networks. That fact is important for understanding the book. It is not written by an outsider who scorned the idea. It is written by someone who had tried it, found it wanting, and wanted to know exactly why.

In 1956 Minsky was one of the organisers, with John McCarthy, Claude Shannon and Nathaniel Rochester, of the summer workshop at Dartmouth College that gave artificial intelligence its name. In 1959 he and McCarthy founded the artificial intelligence project at MIT, which grew into one of the main centres of the field. His 1961 paper Steps Toward Artificial Intelligence laid out an agenda built around search, pattern recognition, learning, planning and induction. Over time his own work moved away from learning networks and toward symbolic representations of knowledge: frames in the 1970s, and later the theory he called the society of mind, set out in a book of that name in 1986 and extended in The Emotion Machine in 2006. He received the Turing Award in 1969, the same year Perceptrons appeared. He died in 2016.

Seymour Papert

Seymour Papert was born in South Africa in 1928. He studied mathematics at the University of the Witwatersrand and took a second doctorate at Cambridge. He was active in the anti-apartheid movement as a young man. From the late 1950s to the early 1960s he worked in Geneva with the psychologist Jean Piaget, who studied how children build up their understanding of number, space and logic. That experience shaped everything Papert did afterward. He came to MIT in the early 1960s and soon became co-director of the artificial intelligence laboratory with Minsky.

Papert is best known outside computer science for his work on children and learning. He led the development of the Logo programming language, with its turtle that children could steer around a screen or a floor by giving it commands. His 1980 book Mindstorms argued that children learn best by building things they care about, an approach he called constructionism. Later he was involved in efforts to put computers in the hands of children in poorer countries. He was badly injured in a road accident in 2006 and died in 2016.

It helps to see Perceptrons as a meeting of these two minds. Minsky brought a deep familiarity with learning machines and a conviction that intelligence required structured knowledge. Papert brought the mathematician's love of a clean theorem and the Piagetian question of how complex understanding is built from simpler pieces. The book's central concern, how much a machine can understand by adding up many small local observations, is a question that sits exactly where those two interests meet.

Frank Rosenblatt

The book cannot be understood without the person whose idea it examines. Frank Rosenblatt was a psychologist by training who worked at the Cornell Aeronautical Laboratory in Buffalo. In 1957 and 1958 he described the perceptron as a model of how a brain might learn to classify what it sees. He simulated it on an IBM computer and then supervised the building of a dedicated machine, the Mark I Perceptron, which took its input from a grid of four hundred photocells. Its adjustable weights were potentiometers turned by electric motors. In 1962 he published a long book, Principles of Neurodynamics, which explored many variations, including perceptrons with several layers and with feedback.

Rosenblatt was a gifted and ambitious researcher, and some of the claims made around his work in the press went far beyond what the machines could do. Minsky and Rosenblatt disagreed publicly at conferences during the 1960s. Rosenblatt died in a boating accident in 1971, at the age of forty-three, only two years after Perceptrons appeared. He was therefore not present to answer the book or to take part in the revival of his ideas in the 1980s. Later printings of Perceptrons carried a dedication to his memory.

The shape of the argument

The book has three broad movements. The first builds a precise vocabulary. It defines the input as a finite set of points, which the authors call the retina, and a figure as any subset of those points. It defines a predicate as any yes-or-no property of figures, such as being connected or containing an odd number of points. It then defines exactly what it means for a perceptron to compute a predicate. Once these definitions are in place, a vague question about what perceptrons can learn becomes a sharp question about which predicates can be written in a particular algebraic form.

The second movement is a series of theorems about specific predicates. Some show that a property is easy for perceptrons, in the sense that it needs only small local detectors. Others show that a property is hard, in the sense that any perceptron computing it must contain at least one detector that looks at a very large part of the picture, or must use enormous weights. The two most famous negative results concern parity and connectedness. Alongside them the authors prove a number of surprising positive results, which show that some properties that seem global can in fact be computed by adding up local evidence. The geometry of the subtitle lives here: the predicates are about shapes, and the proofs use symmetry, topology and counting.

The third movement turns to learning and to wider questions. It examines the perceptron convergence theorem and asks what it really guarantees. It compares perceptrons with other ways of storing and retrieving information. And it closes with reflections on what the results suggest for machines with more layers, for the study of pattern recognition in general, and for the relation between parallel and serial computation. These reflections are more speculative than the rest of the book, and they are the part that caused the most controversy.

Running through all three movements is one central theme. A perceptron makes a global judgement about a whole picture by adding up many local judgements about parts of it. The book asks, again and again, when global properties can be assembled from local evidence by simple addition, and when they cannot. That is the real subject of the book. Perceptrons are the case study, but the question is general, and it reaches into vision, into physics, into the organisation of societies and into the design of every system that reasons from parts to wholes.

The style of the argument also deserves comment. The authors work by isolating the simplest form of a question, proving something exact about it, and then asking how far the result generalises. They are willing to restrict the model severely in order to get clean theorems, and they say so. This is a strength and also a source of trouble. A reader who skims the theorems and keeps only the restrictions in mind may think the book proved more than it did. A reader who keeps only the theorems may miss how much the authors hoped the results would generalise. Reading well means holding both.

A machine made precise

The first achievement of the book is simply to say clearly what a perceptron is. Before 1969 the word covered a loose family of devices, simulated and built in many variations. Minsky and Papert fix one form and study it with complete precision. This move is easy to underrate. Many arguments in science go nowhere because the parties are talking about slightly different things. A sharp definition lets an argument end.

The retina, figures and predicates

Picture a sheet of graph paper with a fixed number of squares. Each square is a point of the retina. A figure is any choice of squares that are filled in. A predicate is any rule that looks at a figure and says true or false. Is the figure a single connected blob? Is it convex? Does it contain more than half the squares? Is the number of filled squares odd? Each of these is a predicate. There is an enormous number of possible predicates on even a small retina, and most of them have no meaning at all. The interesting ones are those that capture properties people care about, especially geometric ones.

Partial predicates and the weighted vote

A perceptron starts with a fixed collection of simple predicates, which the book calls partial predicates. Each one looks at some of the points and reports true or false. A partial predicate might report whether a particular square is filled. It might report whether a particular pair of neighbouring squares are both filled. It might do something more elaborate within a small region. The perceptron assigns each partial predicate a number, its weight. To classify a figure, it evaluates every partial predicate, adds up the weights of those that report true, and compares the sum with a threshold. If the sum exceeds the threshold, the perceptron says the figure has the property.

An everyday analogy helps. Imagine a committee deciding whether to approve a building plan. Each member has looked at only part of the plan: one checked the foundations, one the wiring, one the drainage. Each votes yes or no on what they saw. Some members are trusted more than others, so their votes count for more. The chair adds up the weighted votes and approves the plan if the total is high enough. That is a perceptron. Its power depends on two things: what each member is allowed to see, and how the votes are weighted. The book studies the first far more than the second.

What is fixed and what is learned

In this model only the weights and the threshold are adjusted by learning. The partial predicates are fixed in advance. This is why the machines are often called single-layer perceptrons, even though there are really two stages: the fixed detectors and the trainable vote. Rosenblatt's own machines often used randomly wired detectors in the first stage, so that no designer had to choose them. Minsky and Papert allow the first stage to be anything at all, provided each detector obeys some limit on what it looks at. This generosity makes the negative results stronger. If a property cannot be computed even with the best possible fixed detectors of a given size, then no clever choice of detectors will rescue it.

The word layer causes confusion. Modern readers think of a deep network as having many trainable layers, each transforming the output of the one below. The machine in this book has one trainable layer sitting on top of a fixed layer of features. The book's results are about that arrangement. They do not directly cover networks in which the features themselves are learned. Keeping this straight is the single most useful thing a reader can do.

Order: measuring how local a judgement is

The key measure in the book is the order of a predicate. The order of a partial predicate is the number of points it depends on. A detector that looks at one square has order one. A detector that checks whether three particular squares are all filled has order three. The order of a perceptron is the largest order among its partial predicates. And the order of a property is the smallest order of any perceptron that can compute it. Order measures how big a window the machine must look through, at minimum, to recognise the property by a weighted vote.

Order is a beautiful idea because it separates two kinds of difficulty that are easy to blur. One kind is how much information you need. The other is how that information must be combined. A perceptron of low order can gather information from the whole retina, because it can have many small detectors spread everywhere. What it cannot do is combine that information in any way except addition. Order tells you how much interaction between distant points a property requires before addition becomes enough.

Easy properties

Some properties have order one. Consider the property that the figure contains more than a certain number of points. Give each point its own detector, give each detector weight one, and set the threshold at the number you want. The sum counts the points, and the comparison does the rest. Order one is enough. More generally, any property that can be decided by giving each point a score and checking whether the total passes a line has order one. These are exactly the linearly separable properties of the raw input.

Other properties need small but higher order. The authors show, for example, that convexity has order three. A figure is convex if, whenever two points belong to it, every point on the straight line between them also belongs to it. A perceptron can check this with detectors that each look at three points in a line: two ends and a midpoint. Each such detector fires when the two ends are in the figure but the middle is not, which is a local witness of non-convexity. Give each detector a negative weight and set the threshold just below zero. If any witness fires, the sum drops and the answer is no. The idea that a global shape property can be certified by searching for small local counterexamples runs all through the book.

Hard properties

Some properties have very high order. For such a property, every perceptron that computes it must contain at least one detector looking at a large part of the retina. If the order grows as the retina grows, then no perceptron with detectors of a fixed size can compute the property on retinas of every size. That is the precise sense in which the book shows perceptrons to be limited. The limit is not that perceptrons can never compute these properties. With a detector that sees the whole retina, any property can be computed trivially, because that one detector can simply be the property itself. The limit is that the cost, measured as the size of the largest window, grows with the problem.

This framing matters because it anticipates a way of thinking that became central in computer science: asking how a resource scales with the size of the input. A lookup table can solve any problem on a fixed input size. The interesting question is always how the required resources grow. Perceptrons is one of the first books to ask that question about a learning machine and to answer it with proofs.

Parity and the price of counting

Parity is the property of having an odd number of points. It is the simplest property the book proves to be hard, and it is worth understanding thoroughly, because it shows the whole method in miniature.

The two-point case

Start with a retina of only two points. There are four figures: empty, the first point alone, the second point alone, and both. Parity says yes to the two single-point figures and no to the empty figure and the full figure. This is the exclusive-or function, often written XOR. Try to compute it with order one: one detector for each point, with weights a and b and a threshold. The single-point figures need a and b each to exceed the threshold. The empty figure, with sum zero, must fall below it, so the threshold is positive. Then a plus b exceeds twice the threshold, which is more than the threshold, so the full figure is wrongly accepted. No choice of numbers works. You need a detector that looks at both points together, which means order two.

This small case became famous, and it is often said that the book showed perceptrons cannot compute XOR. That is a distortion. The two-point case is trivial, and Rosenblatt and everyone else knew it. A perceptron with a detector for the pair computes it at once. The real result is about what happens as the retina grows.

The general result

On a retina of any size, parity has order equal to the size of the retina. In other words, any perceptron that computes parity must contain at least one detector that looks at every single point. Parity cannot be broken into pieces at all. No partial view, however large, carries any information about parity unless it covers the whole input. Change any one point and the answer flips, no matter what else is true. The weighted vote of partial views is helpless, because each partial view is statistically blind to the answer.

An analogy: suppose a friend has shuffled a deck and laid out some cards face down, and you want to know whether the number of red cards is odd or even. You are allowed to ask many helpers, each of whom may look at a few cards and report something. You may weight their reports and add them up. If even one card is hidden from all helpers, you know nothing about the answer, because that card alone can flip it. You need at least one helper who has seen every card. Parity is the purest example of a property that is entirely holistic in this sense.

Why parity matters

Parity might seem an artificial example, but it stands for a whole class of properties in which every part interacts with every other. Checksums, error-detecting codes and many cryptographic functions are built to have exactly this character, because that makes them sensitive to any change. In nature and in human judgement such properties are rarer, which is part of why later networks did well on real tasks despite the theorem. Still, parity remains a standard test in learning theory. Many learning methods that do well on natural data struggle badly to learn parity from examples, and the reasons echo the argument of this book.

Connectedness and the limits of local evidence

If parity is the cleanest negative result, connectedness is the most important one. A figure is connected if it is all one piece, so that you can travel from any filled square to any other through a chain of neighbouring filled squares. Connectedness is a property that people see at a glance in simple pictures, and one that seems central to vision. Recognising an object as one thing, separate from the background, is close to recognising a connected region. If perceptrons could not handle connectedness, that was a serious blow to their claim to model perception.

The diameter-limited argument

The book first treats a restricted kind of perceptron in which each detector can only look at points within a small region of fixed size. For this case there is a short argument that a careful reader can follow without any algebra, and it is worth reconstructing in your own mind. Imagine a long thin figure that runs across the retina, with something happening at its left end and something happening at its right end. Choose the details so that there are four versions. In one, both ends are in their original state and the figure is a single connected loop or bar. In another, both ends have been altered and the figure is again connected. In the remaining two, only one end has been altered and the figure falls apart into two pieces.

Now think about the detectors. Because each detector sees only a small region, any detector near the left end sees only what happens there, and any detector near the right end sees only what happens there. No detector sees both ends. So the change in the weighted sum caused by altering the left end is the same whether or not the right end has been altered, and the same holds the other way. The total sum behaves additively. If changing only the left end lowers the sum below the threshold, and changing only the right end does the same, then changing both must lower it further still. But the version with both ends changed is connected and must be above the threshold. The arithmetic cannot satisfy all four demands at once. So no diameter-limited perceptron computes connectedness.

This argument is a model of what the book does well. It is short. It uses one idea, the additivity of the weighted vote combined with the locality of the detectors. And it reveals the real difficulty, which is that connectedness depends on how distant parts of a figure relate to each other through long chains, and a sum of local views cannot see a chain.

The general result

The book then proves a much stronger result. Even if detectors may look at any points they like, scattered anywhere on the retina, provided only that each looks at a limited number of points, connectedness still cannot be computed with bounded order. As the retina grows, the order required grows without limit. The proof works by showing that a connectedness perceptron could be converted into a perceptron for a related counting problem that is already known to be hard. It uses a device that recurs in later complexity theory: reduce one problem to another, so that a solution to the first would give a solution to the second.

The lesson is that connectedness, like parity, is in an important sense holistic. It is not as extreme as parity, but it requires information to be gathered and combined along paths of unbounded length. A serial procedure does this easily. You start at one filled square, mark its neighbours, then their neighbours, and continue until no new squares are found. That procedure is simple, but it is inherently step by step. The perceptron, which does everything at once in a single weighted vote, has no way to follow a path.

Parallel versus serial

This is the deeper point the authors wanted to make. In the 1960s there was a hope that massively parallel machines, made of many simple units working at once, could replace the slow serial processing of ordinary computers for tasks like vision. Perceptrons showed that one natural form of parallelism, the single weighted vote, cannot do some things that a serial machine does easily. The book's discussion of this point is one of its most interesting and least read parts. It is an early contribution to a question that is still open in theoretical computer science: which problems can be solved quickly by many processors working together, and which are inherently sequential.

Symmetry as a tool: the group invariance theorem

Many of the book's proofs rest on one general result, which the authors call the group invariance theorem. It is the most mathematically sophisticated idea in the book and also one of the most influential, though its influence is often unrecognised.

The idea begins with symmetry. Many properties of pictures do not change when you move the picture around. Connectedness is the same whether a figure sits on the left or the right of the retina. Parity is the same if you shuffle the points in any way. Mathematicians describe such symmetries by a group, a collection of transformations that can be combined and undone. A property is invariant under a group if applying any transformation in the group leaves the answer unchanged.

The theorem says, roughly, that if a property is invariant under a group and can be computed by some perceptron of a given order, then it can be computed by a perceptron of the same order in which the weights respect the symmetry too. Detectors that are copies of each other under the group can all be given the same weight. The proof is an averaging argument. Take any working perceptron, apply every transformation in the group to it, and average the resulting weights. Each transformed version still computes the property, because the property does not care about the transformation, and the average of many correct weighted votes, all on the same side of the threshold, still lands on that side.

Why does this help? Because it shrinks the problem enormously. Instead of considering every possible assignment of weights to every possible detector, you need only consider one weight per kind of detector, where two detectors are of the same kind if some symmetry carries one to the other. For parity, under all shufflings of the points, every detector of a given size is the same kind as every other detector of that size. So a perceptron for parity of order k can be assumed to have one weight for each size up to k. The weighted sum then becomes a polynomial in the number of filled points, and simple facts about polynomials show that it cannot change sign as often as parity does unless its degree is as large as the retina. That is the whole proof, and it is lovely.

The idea of building symmetry into the weights of a network, so that the network treats equivalent inputs equivalently and has fewer numbers to learn, later became central to practical machine learning. Convolutional networks share weights across positions in an image, which is exactly the requirement that the weights respect the group of translations. A whole modern field studies networks designed to respect the symmetries of their data. Minsky and Papert used the idea to prove limits, but the same idea, turned around, became a way to make networks more efficient. Reading the group invariance theorem with this in mind is one of the rewards of the book.

What perceptrons can do

A book known for negative results contains a great deal of positive mathematics. The authors were interested in the full map of what perceptrons can and cannot do, and several of their positive results were genuinely surprising.

Local witnesses

The convexity example already showed one pattern. When a property fails, it often fails because of a small local witness: three points in a row with the middle missing. A perceptron can then compute the property by having detectors for every possible witness and refusing if any of them fire. This works whenever the failure of a property can always be certified by looking at a bounded number of points. Many useful properties have this character, and for those perceptrons of low order are perfectly adequate.

The Euler number

The most striking positive result concerns a topological quantity called the Euler number. For a figure in the plane, it equals the number of separate pieces minus the number of holes. A disk has Euler number one. A ring has Euler number zero, because it is one piece with one hole. Two disks have Euler number two. This quantity is about the global shape of a figure, and one might expect it to be as hard as connectedness. It is not. The authors show that the Euler number can be computed by adding up contributions from small local patterns of a few neighbouring squares. Each local pattern contributes a fixed amount, positive or negative, and the total comes out exactly right.

The reason is a deep fact of topology. The Euler number can be computed by counting corners, edges and faces, and each of these is local. A wonderful consequence is that a perceptron of low order can decide whether the Euler number is above or below any given value. Another consequence is that the difficulty of connectedness is precisely the difficulty of distinguishing one piece with no holes from two pieces with one hole between them: both have the same Euler number, and the local view cannot tell them apart. So the positive result and the negative result illuminate each other. Here the book is at its best. It does not simply say no. It locates the exact line between what local evidence can and cannot establish.

Stratification

The authors also show a technique, which they call stratification, by which a perceptron of low order can sometimes compute a property that at first seems to require high order, at the cost of using weights of wildly different sizes. Very large weights let some detectors dominate others completely, so that the vote acts like a sequence of decisions, each level overriding everything below it. This trick shows that order alone does not tell the whole story. It also leads directly to the next theme, which is the size of the weights.

Learning, convergence and the size of weights

The perceptron learning rule is simple. Show the machine an example. If it answers correctly, do nothing. If it says no when the answer is yes, add the active detectors' values to their weights. If it says yes when the answer is no, subtract them. Repeat over the examples. The perceptron convergence theorem, proved in several forms in the early 1960s, says that if some set of weights exists that classifies all the examples correctly, then this rule will find such a set after a finite number of mistakes.

Minsky and Papert give their own clear proof of this theorem, and they respect it. But they also ask what it hides. The theorem guarantees convergence when a solution exists. It says nothing about whether one does, which was the subject of the earlier chapters. And it says nothing directly about how long convergence takes or how large the weights become.

When weights explode

The authors show that for some properties that perceptrons can compute, every set of weights that works must include numbers that grow extremely fast as the retina grows, in some cases exponentially. The ratio between the largest and smallest weights becomes astronomical. This has two practical costs. First, a physical machine cannot store weights with unlimited precision, so such a perceptron cannot really be built at scale. Second, the learning rule changes weights by small steps, so reaching an enormous weight takes an enormous number of mistakes. A property can therefore be computable in principle and still be unlearnable in practice.

This is a more subtle limitation than the order results, and in some ways a more modern one. It anticipates the concern of later learning theory with sample complexity and with the margin by which a solution separates its classes. A perceptron learns quickly when the two classes are separated by a wide margin and slowly when they are separated by a hairline. Large weights are the symptom of a hairline separation. Much later work on support vector machines and on generalisation turned on exactly this quantity.

Perceptrons and memory

The book also compares perceptrons with simpler ways of storing knowledge, such as lookup tables and nearest-neighbour methods, which classify a new input by finding the most similar stored example. The authors argue that the perceptron is not obviously better than these simpler methods in many settings, and that its apparent advantages come partly from the way problems were chosen. This comparison is a useful corrective to the idea that learning is always superior to storage. It also anticipates a long-running theme in machine learning, the trade-off between methods that compress experience into a few parameters and methods that remember everything and look things up.

The multilayer question

Near the end of the book the authors turn from theorems to judgement. They consider machines with more than one layer of trainable units, in which the outputs of some perceptrons become the inputs to others. Such machines can obviously compute more than single-layer ones. A two-layer machine can compute parity, for example, by first computing simple pieces and then combining them. The question is whether there is a good way to train them.

Why a second layer changes things

It is worth seeing concretely why extra layers help. In a single-layer perceptron the detectors are fixed, so the machine can only reweight evidence that someone else has already chosen to collect. In a two-layer machine the first trainable layer builds its own detectors, each one a weighted vote over the raw input, and the second layer votes over those. For parity on many points, a first layer of units that each count whether at least one, at least two, at least three points are on, and so forth, gives the second layer exactly what it needs: an alternating sum of those counts yields the answer. Each unit is simple, but together they turn a holistic property into a staircase that a single vote can read.

The cost of this power is that the hidden units must be chosen well, and nothing in the single-layer learning rule tells you how to choose them. The architecture had the capacity in 1969. What it lacked was a way to discover, from examples alone, which intermediate detectors would be useful. That gap, between what a network can represent and what it can learn to represent, is the exact place where the book's judgement and the later revival met.

In 1969 there was no general, widely known method for training the hidden layers of such a network. The perceptron rule adjusts weights by comparing the output with the desired answer, but a hidden unit has no desired answer of its own. Who is to say what it should have done? This is the credit assignment problem: when a many-stage system makes a mistake, how do you decide which stage to blame?

The authors expressed the view that the study of multilayer machines was unlikely to be fruitful and that the limitations of the simple perceptron would probably carry over in some form. They presented this as an intuitive judgement, not a theorem, and they said it was an important problem to settle. But in a book otherwise made of proofs, the judgement carried the authority of the proofs around it. Many readers took it as established.

What happened next

A method for training hidden layers, now called backpropagation, uses calculus to send error signals backward through a network, telling each weight how much it contributed to a mistake. To make this work, the hard threshold of the perceptron is replaced by a smooth function, so that small changes in weights cause small changes in output. Forms of the idea were worked out by several people in the 1970s, including Paul Werbos in his doctoral thesis. It became widely known after David Rumelhart, Geoffrey Hinton and Ronald Williams published a clear account and demonstrations in 1986, as part of the work collected in Parallel Distributed Processing. Networks trained this way learned internal features, including ones that solved parity and other problems the single-layer perceptron could not.

In the 1988 epilogue, Minsky and Papert argued that this did not refute their book. Backpropagation, they said, was a form of the hill-climbing search they had known about, and it had not been shown to scale. They suspected that larger problems would require the same impractical resources that their theorems had shown for perceptrons. They also argued that the new researchers were repeating an old mistake by testing on small problems and assuming success would grow with size.

History has given a mixed verdict. Their caution about scaling was partly justified for a long time. Through the 1990s and early 2000s, neural networks were often outperformed by other methods, and training deep networks was difficult. But from around 2010, with much more data, much faster hardware and a number of technical improvements, deep networks became the dominant approach in vision, speech and language. The multilayer machines did scale, in practice, far beyond what the authors expected. At the same time, the theoretical questions they posed, about which functions are learnable efficiently and why, remain only partly answered.

The tradition around it

Perceptrons answered a decade of work on learning machines. Behind Rosenblatt stood the model of the neuron as a threshold unit proposed by Warren McCulloch and Walter Pitts in 1943, and Donald Hebb's 1949 suggestion that connections between neurons strengthen when they are active together. Alongside Rosenblatt worked Bernard Widrow and Ted Hoff, whose ADALINE used a similar architecture with a different learning rule based on minimising squared error, a rule that later became the starting point for backpropagation. Oliver Selfridge's Pandemonium model of 1959 described pattern recognition as the work of many small demons shouting their evidence, a picture close to the perceptron's weighted vote.

The book also belongs to the history of theoretical computer science. Its concern with how resources scale with input size, its use of reductions, and its comparison of parallel and serial computation all prefigure the study of computational complexity. Its methods, representing a yes-or-no function as the sign of a polynomial and asking for the lowest possible degree, became a standard tool in that field, where the order of a predicate reappears under the name of threshold degree or polynomial threshold degree.

In that later work, circuits built from threshold gates, the same units as the perceptron's decision, became an object of study in their own right. Researchers asked how many layers of such gates, and how many gates per layer, are needed to compute arithmetic, comparison and parity. Some of the hardest open problems in complexity theory concern exactly these circuits of small depth. In this sense the book never stopped being read. It moved from the shelves of psychologists and engineers to the shelves of theorists, who took its questions about local evidence and weighted votes and pursued them with new tools.

The questions also returned to applied machine learning in a new form. Researchers studying what modern networks find easy and hard to learn have rediscovered parity as a benchmark, and have found that tasks requiring a model to follow a chain of many steps, much like tracing a connected path, expose real weaknesses. The vocabulary has changed, but the shape of the inquiry is the one this book set out.

Within this bay, the book has clear companions. Parallel Distributed Processing, Volume 1, by Rumelhart, McClelland and the PDP Research Group, is the book that the 1988 epilogue answers, and the two should be read together. The PDP volume presents the connectionist case in its own voice, with backpropagation and the idea of distributed representation at its centre. Machines Who Think, by Pamela McCorduck, tells the human history of the period, including the rivalry between symbolic and network approaches. The Sciences of the Artificial, by Herbert Simon, published the same year by the same press, represents the symbolic side of the field in its most thoughtful form.

What Computers Can't Do, by Hubert Dreyfus, offers a very different critique of early AI, aimed at the symbolic approach that Minsky himself favoured. It is instructive to read Perceptrons and Dreyfus side by side. Each attacks one of the two main lines of early AI, and each was partly vindicated. Godel, Escher, Bach, by Douglas Hofstadter, explores the relation between local rules and global meaning in a far more playful way, and its discussions of levels of description throw light on why connectedness is hard for a flat machine.

For the later mathematics, Pattern Recognition and Machine Learning by Christopher Bishop and The Elements of Statistical Learning by Hastie, Tibshirani and Friedman cover the perceptron, its convergence, margins and multilayer networks in the modern style. Information Theory, Inference, and Learning Algorithms, by David MacKay, treats the capacity of a single neuron with great clarity and is a natural sequel to the questions this book raises. Artificial Intelligence: A Modern Approach, by Russell and Norvig, places the whole episode in the wider history of the field.

Questions and criticisms

Did the book cause the decline?

The most common charge against the book is that it killed neural network research for over a decade. This is partly true and partly a story that later grew in the telling. Funding for neural network research did fall in the 1970s, and the book was often cited as a reason. But other forces were at work. Rosenblatt died in 1971. Early machines had reached the limits of the hardware of the time. The broader field of AI faced cuts in the early 1970s, in Britain after the Lighthill report of 1973 and in the United States as military funders demanded more directly useful results. And some researchers, such as Stephen Grossberg, Teuvo Kohonen and Shun-ichi Amari, continued to work on networks throughout. A fair view is that the book gave a respectable reason to do what many funders were inclined to do anyway.

Was the final judgement fair?

The fairest criticism concerns the closing judgement on multilayer machines. The theorems are correct and remain correct. But the authors chose to study a model with one trainable layer and then offered an unproved opinion that more layers would not help much. A reader in 1969 had no easy way to separate the proved part from the opinion. Critics argued that the authors, who were also building the rival symbolic approach, had an interest in the outcome. The authors replied that they had stated their opinion as an opinion and that readers who took it as a theorem were at fault. Both sides have a point.

What has held up

Much has held up. The definitions are still the clearest way to state what a single trainable layer over fixed features can do. The results on parity and connectedness are still true and still instructive. Modern networks still find parity hard to learn from examples when it involves many inputs, and the difficulty of tasks that require following long chains, like connectedness, remains a live topic in the study of what deep networks and language models can and cannot learn. The group invariance theorem anticipated the importance of symmetry in network design. The concern with how weights scale anticipated margin theory.

What has aged

What has aged is the implied picture of learning. The book treats features as fixed and asks what can be done with them. The great discovery of later decades was that features themselves can be learned, layer upon layer, and that with enough data and computation this works far better than anyone in 1969 expected. The authors also underestimated how much of perception relies on properties that are statistically local, and how rarely real tasks resemble parity. Finally, the book's style, which treats a clean worst-case theorem as the most important kind of knowledge, has been balanced by an appreciation of average-case behaviour on natural data, where networks often do far better than worst-case bounds suggest.

A lesson about reading

Perhaps the most lasting lesson is about how a scientific community reads a book. A precise result about a narrow model was taken by many as a general verdict. Few readers worked through the proofs. Many knew the book only by its reputation, and the reputation shrank to a slogan about XOR. The slogan then shaped decisions. Every field faces this risk. The cure is to read the actual claims, to separate theorem from opinion, and to ask exactly which assumptions a result depends on.

Why it is on this shelf

This shelf gathers books on Vedanta, Jyotish, science, economics and technology because each of these, in its own way, asks how a whole is known through its parts. Perceptrons asks that question in the most exact form available. It takes a machine that knows the world only through many small glimpses, adds them up, and proves which wholes such a machine can grasp and which it cannot. The answer is precise and humbling.

We keep it here for three reasons. First, today's artificial intelligence is built on the descendants of the perceptron, and anyone who wants to understand those systems should know where their story began and what was proved about their ancestors. Second, the book is a model of what a rigorous argument about learning looks like: definitions first, theorems next, judgements last and clearly marked. Third, its history is a lesson in how a narrow truth can be read too broadly and steer a whole field. That lesson applies to every discipline on this shelf, including the old ones. Systems of thought rise and fall partly on proofs and partly on the slogans that form around them.

There is also a quieter reason. The contrast between local and global, between what can be seen in a part and what only appears in the whole, is one of the oldest themes in philosophy. A reader who comes to this book from the contemplative traditions will find that theme stated here in the language of polynomials and groups, with an exactness that sharpens the old question rather than replacing it.

How to read it

Perceptrons is a mathematics book, and it should be read with a pencil. It is not long, but it is dense, and the reward comes from working small cases by hand. Plan on several weeks of steady reading rather than a weekend.

A first pass

  • Begin with the prologue to the 1988 edition, if you have it, for the authors' own account of the context. Then read the introduction of the original text slowly. It sets out the motivation and many of the main results informally.
  • Read the definitions of the retina, figures, predicates, partial predicates and order carefully. Write them on a card. Everything later depends on them.
  • Work through the two-point parity case and then the three-point case by hand, trying to find weights and seeing why you cannot.
  • Read the treatment of the group invariance theorem and its use for parity. Follow the averaging argument with a small example, such as a retina of three points under all shufflings.
  • Read the diameter-limited argument for connectedness and draw the four figures yourself.
  • Skim the general connectedness proof on a first pass, reading for the overall strategy rather than every step.

A second pass

  • Return to the positive results, especially convexity and the Euler number. Draw a few figures on graph paper and check the local counting for the Euler number yourself.
  • Read the chapters on learning and on the growth of coefficients, and connect them with the convergence theorem.
  • Read the closing reflections on multilayer machines and on parallel computation, noting carefully which statements are proved and which are offered as judgement.
  • Finish with the 1988 epilogue, ideally after reading the first chapters of Parallel Distributed Processing, Volume 1, so that you hear both sides.

On a first pass it is reasonable to skip the most technical proofs about specific geometric predicates and the more detailed bounds on coefficients. Come back to them once the main ideas are firm. If your background in group theory is thin, a short introduction to groups and group actions will make the middle of the book far easier.

After this book, read Parallel Distributed Processing, Volume 1, then the chapters on neural networks in Bishop's Pattern Recognition and Machine Learning or in MacKay's Information Theory, Inference, and Learning Algorithms. For the history, read Machines Who Think. For the other great critique of early AI, read What Computers Can't Do.

Questions to carry

  • What exactly does the order of a predicate measure, and why is it not the same as the amount of information a perceptron receives?
  • Why does the two-point parity case fail, and why is it a poor summary of the book?
  • In the diameter-limited argument for connectedness, which single feature of the perceptron does all the work?
  • Why can the Euler number be computed locally when connectedness cannot, and what does that tell you about the difference between them?
  • How does the group invariance theorem simplify a problem, and where does the same idea appear in modern network design?
  • What does the perceptron convergence theorem guarantee, and what does it leave unsaid?
  • Why do very large weights make a computable property hard to learn in practice?
  • Which statements about multilayer machines in this book are theorems, and which are judgements?
  • How much of the decline of neural network research in the 1970s can fairly be attributed to this book?
  • Which real-world tasks resemble parity or connectedness, and which do not?
  • What is the relationship between serial procedures that follow a path and parallel machines that take one weighted vote?
  • When is it better to compress experience into weights, and when is it better to store examples and look them up?
  • How should a field protect itself from reading a narrow proof as a broad verdict?

Words to know

  • Perceptron: a machine that computes a weighted sum of simple yes-or-no detectors and answers yes if the sum exceeds a threshold, with weights adjusted by learning.
  • Retina: in this book, the finite set of input points, usually imagined as squares on a grid.
  • Figure: any subset of the retina, the filled points of a picture.
  • Predicate: any rule that answers true or false about a figure.
  • Partial predicate: one of the fixed simple detectors that feed the weighted vote, each depending on some of the points.
  • Order: the number of points the largest detector needs; for a property, the smallest such number over all perceptrons that compute it.
  • Threshold: the value the weighted sum must exceed for the perceptron to answer yes.
  • Linearly separable: describes a classification that can be made by a single weighted sum and threshold on the given inputs.
  • Parity: the property of having an odd number of filled points.
  • Exclusive-or (XOR): parity on two points; true when exactly one of the two inputs is on.
  • Connectedness: the property of a figure being all one piece, so that any filled point can be reached from any other through neighbours.
  • Convexity: the property that every point on the straight line between two points of the figure is also in the figure.
  • Euler number: the number of separate pieces of a figure minus the number of holes.
  • Diameter-limited perceptron: a perceptron in which each detector sees only points within a region of fixed size.
  • Group: a set of transformations, such as shifts or shufflings, that can be combined and undone.
  • Group invariance theorem: the result that a symmetric property computable at some order can be computed at that order with weights that respect the symmetry.
  • Convergence theorem: the result that the perceptron learning rule finds a correct set of weights after finitely many mistakes whenever one exists.
  • Margin: how widely a set of weights separates the yes examples from the no examples; small margins mean slow learning and large weights.
  • Stratification: a technique using weights of very different sizes so that some detectors override others completely.
  • Credit assignment: the problem of deciding which part of a many-stage system is responsible for an error.
  • Backpropagation: a method for training multilayer networks by passing error signals backward through the layers using calculus.
  • Connectionism: the approach to AI and cognitive science based on networks of simple units, revived strongly in the 1980s.

A note on this edition

This is a study edition written for the shelf of durgaberagi.com in our own words. It is a companion and commentary, not a substitute. It contains no text from Perceptrons, and its examples and analogies are our own. The book itself is still in copyright. It is worth getting from a library or a bookshop, preferably in the 1988 expanded edition with the authors' prologue and epilogue, and reading slowly with a pencil and some graph paper beside you.

More from “Artificial intelligence”

The whole section →