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

Library › Foundations of computing

The Computer and the Brain

John von Neumann · 1958 · Yale University Press

More by John von Neumann on this shelf · 3 books →

Unfinished lectures comparing the machine he designed with the brain.

About the book

John von Neumann, the mathematician whose 1945 report on the EDVAC described the stored-program computer architecture, prepared this text for the Silliman Lectures at Yale. He became ill with cancer and never delivered them. He died in 1957, and Yale University Press published the unfinished manuscript in 1958 with a preface by his widow, Klara von Neumann. The short book has two parts. The first describes computers, comparing analog and digital machines, their logic, control and memory. The second describes the brain and nervous system and compares them with computers.

Key ideas

  • Computers may be analog, representing numbers by physical quantities such as voltages, or digital, representing them by discrete markers. Von Neumann compares the two in precision, speed and reliability.
  • The neuron behaves partly like a digital element, since it either fires or does not. But von Neumann argues the nervous system as a whole also uses analog and statistical means.
  • The brain works with slow elements of low precision but enormous parallelism. Computers work fast and precisely but along few parallel paths. The two designs trade speed against breadth.
  • The brain's memory capacity must be very large. Von Neumann makes a rough estimate of it and discusses where and in what physical form such memory might be stored.
  • The language of the brain is probably not the language of mathematics. Our mathematics may be a secondary language built on a different primary language used by the nervous system.

Why it is on this shelf

It is the designer of the modern computer's architecture thinking about how that architecture differs from the brain. Its points on parallelism and low-precision processing anticipate modern neural networks. It is short and still worth reading for the questions it asks.

How to start reading it

Read Klara von Neumann's preface first. Then read the whole text; it is under a hundred pages. Pay most attention to the final pages on the language of the brain.

About this book

The Computer and the Brain is a short book with an unusual history. It was meant to be a set of lectures. It became instead the last extended piece of thinking by one of the great mathematicians of the twentieth century, written while he was dying, and left unfinished. It runs to well under a hundred pages in most printings. Yet it has stayed in print for more than sixty years, and people who build computers and people who study brains both still return to it.

John von Neumann was invited by Yale University to give the Silliman Lectures, a long-running series that has hosted many distinguished scientists. The invitation came in the mid-1950s, when von Neumann was at the height of his public influence. He had helped design the logical structure of the modern electronic computer. He sat on the Atomic Energy Commission. He advised the United States government on weapons and strategy. He chose as his subject the relation between the machines he had helped to create and the nervous system that had created them.

In 1955 he was diagnosed with cancer. The illness moved quickly. He kept working on the manuscript through treatment and declining strength, but he could not travel to give the lectures, and he could not finish the text. He died in February 1957. Yale University Press published what he had written in 1958, with a preface by his widow, Klara von Neumann, who had herself worked as one of the early programmers of electronic computers. Her preface tells the story of the invitation and of the last months, and it is the right place to begin.

The question the book sets out to answer is simple to state. The computer and the brain both take in information, transform it, store it and act on it. Are they the same kind of thing? If they differ, how exactly do they differ, and what do the differences teach us about each? Von Neumann does not ask whether machines can think. That question, made famous by Alan Turing a few years earlier, is philosophical. His question is an engineer's and a mathematician's question. He wants to compare the two systems as one would compare two designs: by their components, their speed, their precision, their reliability, their memory, their organisation and their way of representing numbers and messages.

The intended audience was the educated public that attends a university lecture series. The book therefore assumes no special training. It explains what a digital computer is from the ground up. It explains what a neuron is in plain terms. It uses a few numbers and a few rough estimates, but no equations that a careful reader cannot follow. At the same time it is written by someone who understood both subjects at the frontier of what was known in the 1950s, and it carries the density of that understanding. Almost every paragraph compresses something that a lesser writer would have spread across a chapter.

Because it is unfinished, the book reads like a sketch rather than a monument. There are places where the argument stops just as it becomes most interesting. The closing pages, where von Neumann suggests that the nervous system may use a language quite different from our mathematics, end almost abruptly. Readers have found this incompleteness frustrating and also strangely fitting. It leaves the questions open, which is where they still are.

What kind of book it is

It is helpful to be clear about genre. This is not a textbook of computer engineering, though it explains computer engineering. It is not a textbook of neuroscience, though it summarises what was known about neurons. It is not a work of philosophy of mind, though it has implications for that field. It is closest to a reflective essay by a working scientist: a careful comparison, with estimates and arguments, that tries to see what the comparison reveals. The value lies less in the facts, many of which have been superseded, than in the habits of mind it displays and the questions it frames.

The author

John von Neumann was born in Budapest in 1903 into a prosperous Jewish banking family. As a child he showed remarkable memory and calculating ability, and he was tutored privately in mathematics before and during his time at one of Budapest's strong secondary schools. He studied chemical engineering in Zurich, partly at his father's urging, while at the same time earning a doctorate in mathematics from the University of Budapest. The double training is worth noting. From the start he combined abstract mathematics with a practical sense of how physical systems work.

In the 1920s he did foundational work in set theory and in the axiomatic method, the effort, led by David Hilbert at Gottingen, to put all of mathematics on secure formal foundations. He then turned to the new quantum mechanics and gave it a rigorous mathematical framework based on operators in Hilbert space, published as a book in 1932. In 1930 he went to Princeton, and in 1933 he became one of the first permanent members of the Institute for Advanced Study, alongside Albert Einstein. He remained associated with the Institute for the rest of his life.

His range was extraordinary. With the economist Oskar Morgenstern he wrote Theory of Games and Economic Behavior, published in 1944, which founded game theory as a field. During the Second World War he worked on the mathematics of shock waves and explosions and contributed to the Manhattan Project, especially to the design of the implosion method used in the plutonium bomb. After the war he was a central figure in American scientific policy during the early Cold War.

The computer years

For this book the most important part of his life is his work on computers. In 1944 he learned of the ENIAC project at the University of Pennsylvania, an electronic machine being built by J. Presper Eckert and John Mauchly. He joined discussions about its successor, the EDVAC. In 1945 he wrote a document known as the First Draft of a Report on the EDVAC. It described the logical organisation of a machine in which the program is stored in the same memory as the data. The report circulated widely and became the reference description of what is now called the von Neumann architecture. There has long been dispute about how much credit belongs to von Neumann and how much to Eckert, Mauchly and others whose ideas the report summarised. What is not in dispute is that the report's clear, abstract presentation shaped how a generation of engineers thought about computers.

Notably, the First Draft described the machine's components in the language of neurons. Von Neumann borrowed the idealised neuron of Warren McCulloch and Walter Pitts, a unit that fires or does not fire depending on its inputs, and used it as an abstract building block in place of specific vacuum-tube circuits. So the comparison between computer and brain was present at the very birth of the stored-program computer. The Silliman manuscript returns to that comparison more than a decade later, with far more knowledge of both sides and far more caution.

After the war von Neumann led the construction of a computer at the Institute for Advanced Study, often called the IAS machine. Its design was copied, with variations, by many laboratories in the United States and abroad. He used early machines for weather prediction and for calculations related to nuclear weapons. He thought hard about numerical methods, about how errors grow in long calculations, and about how much precision a calculation really needs. These concerns appear throughout the book.

Automata and reliability

In the late 1940s and 1950s von Neumann developed a general theory of automata, by which he meant any system, natural or artificial, that processes information according to rules. He gave a well-known lecture on this theme at the Hixon Symposium in 1948. He worked on self-reproducing automata, asking what logical organisation a machine would need in order to build a copy of itself, and he sketched an answer that anticipated in abstract form the role later found for DNA. He also wrote an influential paper on how to build reliable systems from unreliable components, using redundancy and majority voting. That question, how something dependable can be made from parts that often fail, sits directly beneath the comparison in this book. Neurons are slow and imprecise. Vacuum tubes failed often. Both brains and early computers had to work anyway.

By the time he wrote the Silliman manuscript, then, von Neumann had spent more than a decade thinking about computation as a general phenomenon, not only as a matter of building particular machines. The book is a compressed report from that long inquiry. It draws on his knowledge of electronics, his mathematics of error and precision, his theory of automata, and his reading in the neurophysiology of the day.

The shape of the argument

The book has two main parts, preceded by a brief introduction. The first part is about the computer. The second is about the brain. The organisation is deliberate. Von Neumann begins with the system he understands completely, because he helped design it, and uses it as a measuring instrument for the system he understands only partly.

The first part builds up a clear picture of what a computing machine is. It separates two basic ways of representing numbers inside a machine, the analog and the digital, and explains the strengths and weaknesses of each. It then describes how a digital machine is organised: what its basic operations are, how it is controlled, how instructions are given to it, and how it remembers. The emphasis falls on principles rather than on particular devices. Von Neumann wants the reader to understand the logical skeleton that any computer of the type must have, so that this skeleton can be held up against the nervous system.

The second part turns to the brain. It describes the neuron as a basic component and asks whether it behaves digitally or in some other way. It compares neurons with the switching elements of computers in size, speed and energy use. It discusses how stimuli are received and how the nervous system might represent quantities. It takes up the problem of memory and makes a rough estimate of how much the brain might store. It considers the logical structure of the nervous system and whether it uses the same kind of serial, precise arithmetic that computers use. Finally it suggests that it does not, and that the language in which the brain does its own work may be quite unlike the mathematics we consciously use.

The movement of the argument

One useful way to see the book is as a movement from similarity to difference. It begins with the assumption, common at the time, that the brain is in some sense a computer, and that the neuron is a kind of switch. As the comparison proceeds, the differences grow. The neuron is a switch, but a slow and imprecise one. The brain computes, but not by the long chains of precise arithmetic that a digital machine performs. It stores information, but perhaps not in any one place or form. It communicates, but by patterns of pulse frequency that carry statistical rather than exact messages. By the end, von Neumann is saying that the brain is a computing system of a fundamentally different design, and that understanding it will require a new kind of logic.

A second way to see the book is as an exercise in estimation. Von Neumann repeatedly asks for orders of magnitude. How many components? How fast does each act? How much energy does each use? How precise is each step? How deep can a calculation go before errors swamp it? He does not claim exact answers. He wants rough numbers that are good enough to show which way a comparison falls and by how much. This habit, sometimes called back-of-the-envelope reasoning, is one of the book's lasting lessons.

A third way to see the book is as a meditation on representation. The central technical question running through both parts is how a physical system stands for a number or a message. A voltage can stand for a number. A pattern of on and off states can stand for a number. A rate of firing can stand for a quantity. Each way of standing-for has consequences for precision, speed and reliability. The book's final suggestion, that the brain's primary language is not ours, is the natural end point of this concern.

Analog and digital

The first key idea is the distinction between analog and digital representation. It sounds familiar today, because the words are used everywhere, often loosely. Von Neumann uses them precisely, and his precision is worth recovering.

In an analog machine, a number is represented by a continuous physical quantity. A voltage of 3.7 volts might stand for the number 3.7. An angle of rotation might stand for a value. A slide rule is an analog device: the distance along the scale stands for a logarithm, and adding two distances multiplies two numbers. Analog machines of considerable sophistication existed in von Neumann's time, such as differential analysers that solved equations by connecting rotating shafts and wheels.

In a digital machine, a number is represented by a set of discrete markers, each of which can be in one of a small number of distinct states. A row of switches, each on or off, can represent a number in binary. A row of ten-position wheels can represent a number in decimal. What matters is not the exact physical value of each marker but which of its allowed states it is in. A switch that is nearly on still counts as on.

Why the distinction matters

The deep difference lies in how each type of machine handles noise and error. Every physical system is subject to small disturbances: heat, interference, wear, imperfect parts. In an analog machine these disturbances directly change the represented number. If a voltage drifts by one percent, the number it represents is off by one percent. Analog machines therefore have a built-in limit on precision, set by the quality of their parts. Von Neumann notes that very good analog devices might reach a precision of about one part in ten thousand, and that going much further becomes extremely difficult.

In a digital machine small disturbances usually do nothing, because each marker only needs to be clearly in one state or another. A voltage that drifts a little still reads as the same digit. Precision is then limited not by the quality of the parts but by the number of markers. To get more precision you add more digits. A digital machine working with twelve decimal digits is a trillion times more precise than one working with one digit, and the parts need be no better. This is why digital computation came to dominate.

An analogy helps. Imagine passing a message along a line of people. In the analog version, each person pours water into the next person's glass, trying to match the level. Small spills add up, and after twenty people the level is noticeably wrong. In the digital version, each person holds up either a red card or a blue card, and the next person copies the colour. Unless someone is badly careless, the message arrives intact after a thousand people. Digital representation restores the signal at every step. Analog representation lets errors accumulate.

What it is often confused with

In everyday speech, analog has come to mean old or physical and digital to mean electronic or modern. That is not von Neumann's usage. An electronic circuit can be analog. A mechanical device can be digital, as Babbage's engines were. The question is only whether the representation is continuous or discrete. Another confusion is to think digital means binary. Binary is one kind of digital representation, the simplest, but decimal machines are also digital.

A subtler point is that the line between the two is not absolute at the level of physics. A digital switch is a physical device whose behaviour is continuous underneath. It is made to act digitally by design, by having sharp thresholds and strong restoration of signals. Von Neumann understood this well. It becomes important when he turns to the neuron, which has a sharp threshold like a digital element but whose timing and rate of firing vary continuously.

The anatomy of a digital machine

The second key idea is a clear account of how a digital computer is organised. Von Neumann had written the classic version of this account in 1945, and here he presents it again for a general audience, with the benefit of a decade of practice.

At the bottom are the basic operations. A machine must be able to add, subtract, multiply and divide, or at least do some of these from which others can be built. It must be able to compare two numbers and make a choice depending on the result. These operations are carried out by organs, his word for the functional parts of the machine, built from switching elements such as vacuum tubes or, later, transistors.

Above the operations is control. The machine must be told which operations to perform in what order. Von Neumann distinguishes between different ways of giving such instructions. In early machines, the sequence was set up by plugging cables or setting switches. In the stored-program design, the instructions are themselves coded as numbers and kept in the machine's memory alongside the data. The control organ reads instructions from memory one at a time and carries them out. Because instructions are numbers, the machine can modify its own instructions, and a program can treat other programs as data. This is the heart of what made the modern computer flexible.

Then there is memory. A machine needs a place to keep numbers it is not working on at the moment. Von Neumann discusses the idea of a memory hierarchy: a small, fast memory close to the arithmetic organs, backed by larger and slower memories further away. He notes that memory, rather than arithmetic, is often the limiting factor in what a machine can do. That observation has only become truer since, as the gap between processor speed and memory speed has widened.

Serial and parallel

An important feature of the machines von Neumann describes is that they work largely in sequence. One instruction follows another. Even where some parts operate in parallel, the overall logic is a long chain of steps, each depending on the last. He calls attention to this because it will be one of the sharpest contrasts with the brain. The computer achieves its power by doing simple things extremely fast, one after another. The brain, as he will argue, does something different.

Later writers coined the phrase von Neumann bottleneck for the narrow channel between the processor and memory through which every instruction and every piece of data must pass. The phrase is not from this book, and it is sometimes used as a criticism of the design. But the book already shows awareness of the issue. Von Neumann knew that a serial machine with a single path to memory was a choice, made because it was simple and buildable, not because it was the only possible way to compute.

Why this account still matters

Almost every general-purpose computer built since the 1950s follows this outline. Processors have become vastly faster and more complex, with pipelines, caches and many cores, but the basic logic of fetching coded instructions from memory and executing them is intact. Reading von Neumann's own plain description strips away the complexity and lets a reader see the skeleton. It is also a reminder that this skeleton was designed by people with specific goals and constraints. It is not a law of nature, and the brain does not obey it.

The neuron as a switch, and more than a switch

The third key idea concerns the basic component of the nervous system. Von Neumann describes the neuron, the nerve cell, as it was understood in the 1950s. A neuron receives signals from other neurons at junctions called synapses. If the combined input is strong enough, the neuron produces a pulse, an electrical impulse that travels along its long fibre, the axon, to other neurons. If the input is not strong enough, nothing happens. After firing, the neuron needs a short recovery time before it can fire again.

This all-or-nothing behaviour looks digital. A neuron either fires or it does not, and the size of the pulse does not depend on the size of the stimulus once the threshold is passed. McCulloch and Pitts had built their idealised neuron on exactly this feature, and von Neumann had used their model in the EDVAC report. So the natural first reading is that the neuron is a binary switch, and the brain is a vast network of such switches.

Von Neumann accepts this reading as a first approximation and then complicates it. The neuron's response is all-or-nothing at each moment, but the information it carries is often in the timing and rate of its pulses, which vary continuously. The conditions for firing depend on many inputs combined in ways that may be more complex than a simple sum. Chemical factors, the state of the surrounding tissue, and the history of recent activity all influence what a neuron does. So the neuron is digital in one respect and analog in others. The nervous system, he concludes, is a mixed system, using digital and analog means together.

Comparing components

He then compares neurons with the switching elements of computers. Several contrasts stand out. First, size. Neurons are very small compared with vacuum tubes, and even compared with the transistors of the 1950s. The brain packs an enormous number of components, on the order of ten billion by the estimates of the time, into a small volume. Second, speed. A vacuum tube could switch in about a microsecond or less. A neuron takes roughly a millisecond or more to fire and recover. Electronic components were thus a thousand or more times faster. Third, energy. The brain runs on a modest power budget, comparable to a dim light bulb, while early computers used vast amounts of power and generated great heat. Per operation, neurons were far more efficient.

Putting these together gives a striking picture. The computer has fewer, faster, larger, more power-hungry parts. The brain has more, slower, smaller, more economical parts. Neither is simply better. They have made different trade-offs. The computer buys speed at the cost of size and energy. The brain buys number and economy at the cost of speed.

What this idea leads to

This comparison leads directly to the question of organisation. If the brain's parts are a thousand times slower, yet the brain can recognise a face or catch a ball faster than any 1950s computer could, it must be organised differently. The obvious candidate is parallelism. Many neurons working at once can make up for each neuron's slowness. Von Neumann draws this conclusion, and it is one of the book's most often cited insights.

Modern neuroscience has greatly enriched the picture. We know now that neurons are not simple threshold units. Their dendrites, the branching input fibres, perform local computations. Synapses change their strength with use, which is a basis of learning. Many kinds of neurons and many chemical messengers exist. Glial cells, once thought to be mere support, take part in signalling. In this light von Neumann's caution looks wise. He refused to treat the neuron as nothing but a switch, even though the switch model was the one he had used himself.

Parallel breadth against serial depth

The fourth key idea is the contrast between serial and parallel computation, and what each implies for the kind of problem a system can solve well. This is where von Neumann's comparison becomes most influential.

A digital computer of his time did long chains of operations in sequence. A single calculation might involve thousands or millions of steps, each building on the result of the last. Because each step is precise and fast, the chain can be very long without the result degrading. This is what made computers useful for solving equations of physics, where one must step forward through time in small increments for a very long way.

The brain, with its slow components, cannot run long chains quickly. If a neuron takes a millisecond per step, then in a tenth of a second, roughly the time to recognise a familiar object, there is room for only about a hundred steps in sequence. Yet recognising an object seems to require a great deal of computation. The resolution must be that the brain does a great deal at each step, across many neurons at once, and relatively few steps in sequence. Its computation is broad and shallow, where the computer's is narrow and deep.

An analogy

Consider two ways of counting the votes in a large election. In one, a single extremely fast clerk counts every ballot in turn. In the other, ten thousand slower clerks each count a small stack, and their totals are combined. The first method suits tasks where each step depends on the last, like following a recipe. The second suits tasks that can be split into many independent pieces, like counting. Von Neumann's point is that the brain is built like the second office and the computer like the first, and that each is good at different things.

Why it matters, and where it led

This observation became one of the motivations for later work on parallel computing and on artificial neural networks. Researchers in the 1980s who revived neural network models often pointed to what came to be called the hundred-step argument: that brains solve hard perceptual problems in a number of serial steps far too small for conventional algorithms, so they must be using massive parallelism. Von Neumann had made the essential version of this argument decades earlier.

The modern hardware landscape has moved toward his description of the brain in some respects. Graphics processors and specialised chips for machine learning perform enormous numbers of simple operations in parallel. Deep learning systems are typically shallow in the sense that matters here: the number of layers through which a signal passes is in the tens or hundreds, while the width of each layer is vast. They also tolerate low precision. This leads to the next idea.

What it is confused with

The point is sometimes misread as a claim that parallel computers can do things serial ones cannot. That is not true in principle. Anything a parallel machine computes, a serial machine can also compute by doing the steps one at a time. The difference is in time and resources, not in what is possible. Von Neumann knew the theory of computability well and made no such claim. His point is about efficiency and design under physical constraints.

Precision, error and arithmetic depth

The fifth key idea is the most technical and perhaps the most original. It concerns the relationship between the precision of each step in a computation and the number of steps one can safely perform. Von Neumann calls the latter the arithmetic depth, the length of the chain of operations through which numbers must pass.

In any long calculation, small errors can grow. If each step introduces an error of one part in a thousand, and the errors happen to compound, then after a few dozen steps the result may be meaningless. Von Neumann had studied this problem carefully in his work on numerical methods. He knew that deep calculations, like those of weather prediction or fluid dynamics, require high precision at every step, often ten or more decimal digits, not because the final answer must be that precise, but because errors must not swamp the answer before the chain is finished.

Now apply this to the brain. The nervous system, as he argues, represents quantities largely by the rate of firing of neurons. A neuron firing faster stands for a larger value. But firing rates are noisy and limited. The precision available this way is, by his estimate, very low: perhaps two or three decimal digits at best, often less. With such low precision, the brain simply could not perform long chains of arithmetic of the kind digital computers do. The errors would destroy the result within a few steps.

The conclusion he draws

Since the brain clearly does accomplish complex tasks, and cannot be doing deep, precise arithmetic, it must be using a different method altogether. Von Neumann suggests that the nervous system relies on what he calls statistical properties of messages, patterns spread across many neurons and over time, rather than on exact numerical values. Its computations must be shallow and must use representations that are robust to imprecision. Reliability comes not from precision at each step but from redundancy and from the overall structure of the system.

This is a remarkable insight for the 1950s. It anticipates the discovery, half a century later, that artificial neural networks can work well with numbers of very low precision, sometimes eight bits or fewer, where scientific computing typically uses sixty-four. It also anticipates the view in modern neuroscience that brains compute with populations of neurons and with probabilistic codes. Von Neumann did not have these details, but he saw the shape of the answer from first principles: low precision forces shallow depth, and shallow depth forces a different logic.

What it is confused with

It is easy to misread this as saying the brain is sloppy or inferior. That is not the point. The brain is extremely good at what it does, which is to act reliably in a noisy world using noisy parts. A computation that needs twelve exact digits is a peculiar kind of computation, suited to certain problems in physics and accounting. Most of what animals must do, recognising, reaching, avoiding, choosing, does not need it. The brain's design is matched to its tasks.

Another confusion is to equate precision with accuracy. A system can produce answers to many digits that are all wrong, and a system with low precision can be accurate on average. The brain's statistical methods aim at reliable, adequate answers, not at many digits.

Memory without a place

The sixth key idea concerns memory. A digital computer has a definite memory organ: a set of locations, each holding a number, each with an address. The machine can store a number in a location and later retrieve it by its address. In the 1950s these memories were made of things like cathode ray tubes, mercury delay lines, magnetic drums and magnetic cores. They were small by modern standards, holding thousands of numbers rather than billions.

Von Neumann asks how much the brain might remember and where. To get a rough upper estimate, he imagines that the brain retains everything it ever receives. He multiplies the number of neurons by a plausible rate of input per neuron and by the length of a human life. The result is an enormous figure, far beyond any machine of his day and large even by today's standards. He is careful to say that this is only a generous upper bound, and that nothing proves the brain stores so much. But the exercise shows that if the brain retains a meaningful fraction of its experience, its memory capacity must be immense.

Where could it be

He then surveys possible physical bases for memory. Perhaps the threshold of a neuron changes with use, making it easier or harder to fire. Perhaps the connections between neurons change. Perhaps memory is stored chemically, or in the genetic material of cells, or in circulating patterns of activity that keep themselves going. He considers each without committing to any. His point is that the brain's memory is probably not localised in a single organ the way a computer's is. It may be distributed across the system, embedded in the very components that do the computing.

This is another place where the book anticipated later developments. The idea that memory is stored in the changing strengths of synapses, proposed by Donald Hebb in 1949 and later confirmed in many experiments, is now central to neuroscience. The idea that memory and processing are not separate, that the same network both stores and computes, is central to artificial neural networks. Contemporary research on in-memory computing and neuromorphic hardware tries to break down the separation between memory and processor that the von Neumann architecture made standard.

Why the contrast matters

In a computer, to use a remembered fact, you must fetch it from its address and bring it to the processor. In a brain, remembered knowledge may be expressed directly in how the network responds. Recognising a friend's face may not involve fetching a stored picture and comparing it. It may simply be what the network does when the face appears, because past experience has shaped the connections. Memory in such a system is less like a library and more like the grooves worn into a path by many walkers. The groove is not a record of any one walk, yet it guides every future one.

This difference helps explain both the strengths and the weaknesses of biological memory. It is robust: damage to part of the brain often degrades memory gradually rather than erasing particular items. It is associative: one memory calls up related ones. It is also reconstructive and unreliable in detail, as studies of eyewitness testimony have shown. A computer's addressed memory has the opposite profile: exact and fragile.

Codes of the nervous system

The seventh key idea is about how messages are coded in the nervous system. In a digital computer, a number is coded by the positions of digits. The value of each digit depends on its place, as in ordinary decimal notation, where a 3 in the hundreds place means three hundred. This positional coding is extremely efficient. With twelve decimal places one can represent a trillion distinct values.

Von Neumann argues that the nervous system does not seem to use positional coding. Instead, it appears to represent intensity by frequency: a stronger stimulus causes nerves to fire more rapidly. A pressure on the skin, the brightness of a light, the stretch of a muscle, are all reported by changes in pulse rate. This is a kind of coding in which the message is carried by a statistical property of a pulse train, its average rate over some period, rather than by the exact arrangement of individual pulses.

Such coding has costs and benefits. It is much less efficient than positional coding in terms of how much information each pulse carries. But it is very robust. If a single pulse is lost or added, the average rate barely changes. The message survives damage and noise. Given that the nervous system is built from slow, unreliable parts, this robustness is valuable. It fits with the low precision discussed earlier: a frequency code cannot carry many digits, but it can carry a few digits reliably.

The larger point

The deeper point is that the choice of code is not neutral. It shapes what kinds of computation are easy or hard. Positional codes make exact arithmetic easy. Frequency codes make averaging, comparison and smooth control easy, and exact arithmetic hard. If the brain uses frequency and other statistical codes, then its natural operations will look quite different from a computer's. This prepares the ground for the book's final and most famous suggestion.

Neuroscience since the 1950s has found that the picture is richer than rate coding alone. The precise timing of pulses carries information in some systems. Patterns across populations of neurons carry information that no single neuron does. Oscillations and synchrony among groups of neurons appear to matter. Still, von Neumann's basic claim, that the nervous system uses codes unlike the positional notation of our machines and our mathematics, has held up well.

The language of the brain

The eighth key idea comes in the last pages, and it is the one most often remembered. Von Neumann suggests that the language the brain uses for its own internal work is probably not the language of mathematics as we know it. When we do mathematics consciously, writing symbols, following rules, performing long derivations, we may be using a secondary language, built on top of a primary one that the nervous system uses directly and that we do not consciously see.

The argument behind this suggestion draws together everything earlier in the book. The brain has low precision and so cannot perform deep chains of exact arithmetic. It uses statistical codes rather than positional ones. It is massively parallel and shallow rather than serial and deep. Its memory is distributed rather than addressed. For all these reasons, the logic by which the brain operates must be different from the logic of our formal mathematics, which is serial, exact and deep. Our mathematics, then, is something the brain does with effort, slowly and imperfectly, by building a precise serial process out of imprecise parallel parts. It is not the brain's native tongue.

An analogy from language

An analogy may help. A person who learns a second language in adulthood can become fluent, but often still thinks most naturally in the first. When they speak the second, they are partly translating. The translation is slow and effortful at first and may never be entirely natural. Von Neumann suggests that formal mathematics is something like a second language for the brain. The first language, the one in which perception and action are natively computed, has a different grammar. We have not yet learned to read it.

Why it matters

This suggestion has two important consequences. First, for the study of the brain, it implies that we should not expect to find the brain doing the kinds of computation we write down in equations. We should look for a different logic, perhaps statistical, perhaps based on patterns over populations and time. Second, for the foundations of mathematics and logic, it suggests that our formal systems are not a direct view of how thought works. They are a special, cultivated form of thought, built on something else.

The suggestion has also been taken as support for various views in the philosophy of mind and mathematics. Some read it as implying that formal logic is a late and partial achievement of minds that work by other principles. Others connect it to the observation, from Godel and Turing, that formal systems have built-in limits, and wonder whether the brain's primary language escapes those limits. Von Neumann does not go that far. He makes a careful, limited claim and leaves the rest open. Readers should resist reading more into the final pages than they contain.

Where it leads

In practical terms, the closest descendant of this idea is the modern understanding of neural networks, biological and artificial. A trained deep network solves problems such as recognising images or translating sentences, but it does not do so by following explicit rules that a person could write down. Its working is distributed across millions or billions of numerical weights, and interpreting it is a research field in its own right. In a sense, such networks have a primary language that is not ours, and we struggle to translate it. Whether this is the same primary language von Neumann had in mind for the brain is a separate question, and probably not. But the shape of the problem he described is recognisable.

Reliability from unreliable parts

A ninth idea runs underneath the whole book even where it is not named: how a system made of parts that fail can still behave dependably. Von Neumann had addressed this directly in a paper on probabilistic logics, and its concerns shape his reading of the nervous system.

Early computers were plagued by failure. A machine with thousands of vacuum tubes would lose a tube every few hours, and a single wrong bit could ruin a long calculation. Engineers responded with careful design, regular testing and error checking. The brain has no engineer standing by to replace failed neurons, and neurons die throughout life. Yet brains work for decades. Something in their organisation must tolerate failure.

Von Neumann's own answer for machines was redundancy. Instead of one wire carrying a signal, use a bundle of many, and let the signal be whatever most of them say. If a few wires fail, the majority still carries the right message. He showed mathematically that with enough redundancy, a system can be made as reliable as desired even if each component is quite unreliable, though the cost in components can be large. Frequency coding and population coding in the brain can be seen as natural versions of the same strategy. The message lives in many neurons and many pulses, so no single failure destroys it.

Why it matters now

This idea has had a long life. It underlies error-correcting codes in communication and storage, the redundant arrays of disks in data centres, and fault-tolerant design in aircraft and spacecraft. In quantum computing, where components are extraordinarily fragile, the whole research programme of quantum error correction is a descendant of the question von Neumann posed for classical automata. In neuroscience, the robustness of brains to injury and ageing is still a subject of active study.

It is often confused with the simpler idea of a backup, a spare part waiting in case the first fails. Von Neumann's redundancy is different. All the parts work at once, and the correct answer emerges from their combined behaviour. There is no single point where failure is detected and handled. Reliability is a property of the whole pattern, not of any part.

The tradition around it

The Computer and the Brain stands at a meeting point of several lines of thought that came together in the 1940s and 1950s. Understanding these lines helps place the book and explains why it reads as it does.

What came before

The oldest line is the dream of a calculating machine. Charles Babbage, in the nineteenth century, designed mechanical engines for computation, including the Analytical Engine, which had a separate store and mill, in effect a memory and a processor, and could be controlled by punched cards. His memoir, Passages from the Life of a Philosopher, on this same shelf, shows how far he got and why he could not finish. Von Neumann's description of a digital machine's organs is, in outline, the same division of labour Babbage foresaw, now realised in electronics.

The second line is the logical theory of computation. In the 1930s Kurt Godel, Alonzo Church, Alan Turing and Emil Post gave precise definitions of what it means to compute and proved that some problems cannot be computed at all. Their original papers are collected in The Undecidable, edited by Martin Davis, also in this bay. Von Neumann knew this work intimately. He had been at Princeton when Turing was a graduate student there, and Turing's idea of a universal machine, one that can imitate any other given its description, is the theoretical basis of the stored-program computer. The book assumes this background rather than explaining it.

The third line is the mathematical modelling of neurons. In 1943 Warren McCulloch and Walter Pitts published a paper showing that networks of idealised all-or-nothing neurons could compute any logical function. This paper tied the brain to logic and to the emerging theory of computing machines. Von Neumann used it in the EDVAC report, and the book's discussion of neurons begins from it.

The fourth line is cybernetics. Norbert Wiener's Cybernetics, published in 1948 and on this shelf, proposed a single science of control and communication in animals and machines. Wiener, von Neumann, McCulloch and others met in a series of conferences sponsored by the Macy Foundation, where the comparison between brains and machines was discussed at length. Von Neumann's book can be read as one of the most careful products of that conversation. Where Wiener emphasises feedback and control, von Neumann emphasises representation, precision and organisation.

The fifth line is information theory. Claude Shannon's 1948 work, published with an introduction by Warren Weaver as The Mathematical Theory of Communication, gave a precise measure of information and showed how to transmit it reliably over noisy channels. Von Neumann's concerns with codes, noise and redundancy draw on the same circle of ideas. When he contrasts positional codes with frequency codes, he is in effect comparing their efficiency and robustness in Shannon's sense.

What came after

After the book, the comparison between computer and brain split into several fields. Artificial intelligence, named at a conference in 1956, mostly followed the serial, symbolic path, treating thought as rule-following on symbols. Marvin Minsky's Computation: Finite and Infinite Machines, in this bay, gives a careful account of the automata theory that underlay that field and includes neuron-like networks among its machines. Neural network research followed the parallel path, with periods of enthusiasm and decline, before returning to dominance in the 2010s. Deep Learning by Ian Goodfellow, Yoshua Bengio and Aaron Courville, also on this shelf, describes where that path has led. Reading it next to von Neumann shows how many of his intuitions, about parallelism, low precision and distributed memory, have turned out to be right in engineering terms.

Computer architecture continued to refine the serial design. Computer Architecture: A Quantitative Approach by John Hennessy and David Patterson, on this shelf, is the modern successor to the first part of von Neumann's book: a careful, numerical analysis of how to build fast machines. Its insistence on measurement and quantitative trade-offs is in the same spirit as von Neumann's estimates.

On the philosophical side, Douglas Hofstadter's Godel, Escher, Bach and Roger Penrose's The Emperor's New Mind, both in this bay, take up the question of whether minds are computers from very different angles. Hofstadter argues that minds arise from levels of formal patterns. Penrose argues that human understanding goes beyond any algorithm. Von Neumann's last pages, on a primary language of the brain distinct from mathematics, can be read as a cautious ancestor of both conversations, though he would likely have been sceptical of Penrose's conclusion.

Finally, George Dyson's Turing's Cathedral, in this bay, tells the story of the Institute for Advanced Study computer project that von Neumann led. It is the best companion for understanding the world in which this book was written: the people, the machines, the weapons work and the ambitions. Read alongside it, The Computer and the Brain looks like a final reflection by the project's leader on what it had all meant.

Questions and criticisms

A book this short, unfinished and old naturally invites objections. Several are fair, and it is better to name them clearly than to read the book uncritically.

The facts have moved

Much of the factual material in the second part is out of date. Estimates of neuron numbers have been revised; the human brain is now usually said to have around eighty-six billion neurons, not ten billion. The neuron is far more complex than the 1950s picture. Synaptic plasticity, neurotransmitter diversity, dendritic computation, the role of glia and many other findings have changed the field entirely. Readers should treat von Neumann's neuroscience as a historical snapshot and not as a guide to current knowledge.

The technical details of the first part are also dated. The specific memory devices he discusses are long obsolete. Switching speeds have improved by factors of millions. The energy comparison has narrowed in some respects and widened in others. None of this undermines the logical description of a stored-program machine, but the numbers should be read with a date attached.

The comparison may be the wrong frame

A deeper criticism is that comparing the brain to a computer, even carefully, may mislead. The brain is a biological organ shaped by evolution for survival, embedded in a body and an environment. It is not designed to solve given problems from given inputs. Some philosophers and cognitive scientists argue that treating it as an information processor leaves out embodiment, emotion, development and the active role of the organism in its world. Von Neumann's framing is that of an engineer comparing two designs, and it naturally emphasises what designs have in common.

In his defence, von Neumann himself pushes the comparison to the point where it starts to break. His conclusion is that the brain is not a computer of the familiar kind, and that its logic is unknown. He uses the frame to discover its own limits. That is a more careful use of the metaphor than many later writers managed.

Rate coding is only part of the story

The book's account of neural coding relies heavily on firing rate. Later work showed that in some systems the precise timing of individual spikes carries information, that correlations between neurons matter, and that the brain may use several coding schemes at once. Von Neumann's conclusion, that the brain uses statistical codes unlike our positional ones, survives, but his particular mechanism is too simple.

What has held up

Much of the book's reasoning has held up remarkably well. The contrast between serial depth and parallel breadth is now a commonplace of both neuroscience and computer architecture. The link between low precision and shallow computation anticipated the behaviour of modern neural networks. The suggestion that memory in the brain is distributed and bound up with processing fits current views. The claim that brains achieve reliability through redundancy rather than component quality remains central. Above all, the method has held up: identify the components, estimate their properties to an order of magnitude, and see what organisation those properties force.

The book's incompleteness

Finally, one must accept that the book is a fragment. Von Neumann almost certainly intended to develop the final ideas much further, and he might have revised earlier sections. Some passages are compressed to the point of obscurity. Attempts to extract a full theory from it ask too much. It is better read as a set of well-chosen questions with partial answers, offered by someone who knew they were partial.

Why it is on this shelf

This shelf gathers books on Vedanta, Jyotish, science, economics and technology. At first glance a short technical essay on computers and neurons may seem to belong only to the last of these. It earns its place more widely.

For the reader of technology, it is a primary source. The architecture that runs nearly every device in use today was first described in the abstract by this author, and here he reflects on what that architecture is and is not. It is rare to have the designer of a system explain, in plain words, why it was built that way and how it differs from the system it was partly modelled on.

For the reader of science, it is a model of estimation and comparison. It shows how to compare two complex systems by asking a few well-chosen quantitative questions and following the answers wherever they lead. That method applies far beyond neurons and computers.

For the reader of economics, its central theme is the trade-off. Speed against breadth, precision against robustness, cost of components against reliability of the whole. Von Neumann, who also founded game theory, thinks in terms of constrained choices, and the book is a quiet lesson in how constraints shape design.

For the reader of Vedanta, the final pages raise a question that the tradition has long examined from another side: the relation between the instruments of knowing and what is known through them. Vedanta distinguishes the inner instrument, the antahkarana, meaning the mind with its faculties of doubt, decision, memory and identification, from the witnessing awareness, the sakshi, that observes it. Von Neumann stays within the instrument. He asks how the brain computes, not what is aware of the computing. Yet his suggestion that our explicit reasoning is a secondary language resting on a deeper one invites careful reflection on layers of mind. We keep the book partly for that invitation, without claiming that it says more than it does.

For the reader of Jyotish, the book offers a reminder about precision and its limits. Jyotish, the Indian science of astronomical calculation and astrology, depends on exact computation of planetary positions, and its classical texts have their own rich traditions of numerical method and error. Von Neumann's discussion of how errors grow through long chains of arithmetic, and of the difference between precise calculation and robust judgement, is relevant to anyone who works with long calculations and then must interpret them.

We keep the book because it is short, honest about what it does not know, and still ahead of many longer books on the same theme.

How to read it

The book is short enough to read in a single sitting, but it rewards slower reading. A plan of three or four sessions works well.

First session: the preface and the computer

Begin with Klara von Neumann's preface. It sets the human context and explains the state of the manuscript. Then read the first part, on computers, at a steady pace. If you already know how computers work, much will be familiar, but pay attention to how von Neumann frames analog versus digital and to his remarks on precision and memory. Note his numbers on speed and precision as you go. Later sections depend on them.

Second session: neurons and components

Read the opening of the second part, on the neuron and the comparison of components. With a pencil, make a small table comparing neurons and computer elements in size, speed, number and energy, using his figures. Then add a column with present-day figures, if you know them or can find them in a recent textbook. The table will show what has changed and what has not.

Third session: codes, memory and precision

Read the sections on memory, coding and the logic of the nervous system slowly. These are dense. Work through his estimate of memory capacity yourself, step by step, to see where each factor comes from and how much the result depends on assumptions. Think about the link between precision and arithmetic depth. If you can, try a small experiment: repeat a simple calculation many times with rounding to two digits, and watch how errors accumulate.

Fourth session: the language of the brain

Read the final pages twice. The first time, follow the argument. The second time, ask what exactly is being claimed and what is only suggested. Write down, in your own words, what a primary language of the nervous system might mean. Then compare your account with what you know about neural networks today.

What to skip on a first pass

On a first reading you can move quickly through the more detailed descriptions of particular memory devices and control methods in the first part. They are historical. You lose little if you grasp only the principle and return to the details later.

What to read next from this shelf

For the story behind the book, read Turing's Cathedral by George Dyson. For the theory of computation it assumes, read Computation: Finite and Infinite Machines by Marvin Minsky, and then The Undecidable for the original papers. For the wider conversation of its time, read Wiener's Cybernetics and Shannon and Weaver's The Mathematical Theory of Communication. For where the brain-inspired path has led, read Deep Learning. For the serial-machine path, read Hennessy and Patterson's Computer Architecture. For the philosophical debate, read Godel, Escher, Bach and then The Emperor's New Mind.

Questions to carry

  • What exactly makes a representation analog or digital, and why does the distinction matter more for error than for speed?
  • In what respects is a neuron digital, and in what respects is it not?
  • If a neuron is a thousand times slower than an electronic switch, what must the brain's organisation be like for it to act as quickly as it does?
  • How does the precision of each step limit the number of steps a calculation can safely take?
  • Why might low precision force a computing system to be shallow rather than deep?
  • What would it mean for memory to have no single place in a system?
  • What is gained and what is lost when a message is coded by frequency rather than by position?
  • How can a reliable whole be built from unreliable parts, and what does it cost?
  • Is our formal mathematics a second language for the brain? What evidence would support or weaken that claim?
  • Which of von Neumann's estimates have changed most since the 1950s, and do the changes alter his conclusions?
  • Where do modern deep learning systems resemble his description of the brain, and where do they not?
  • Is the comparison between brain and computer a useful frame, or does it hide more than it shows?
  • What does the book leave unasked that a biologist or philosopher would want to ask?

Words to know

  • Analog: representing a number by a continuous physical quantity, such as a voltage or a length.
  • Digital: representing a number by discrete markers, each in one of a few distinct states.
  • Binary: a digital representation using markers with exactly two states, written 0 and 1.
  • Stored-program computer: a machine whose instructions are coded as numbers and kept in the same memory as its data.
  • Organ: von Neumann's term for a functional part of a machine, such as the arithmetic, control or memory organ.
  • Control: the part of a computer that reads instructions and directs the other parts to carry them out.
  • Memory hierarchy: an arrangement of small fast memories backed by larger slower ones.
  • Serial computation: performing operations one after another in sequence.
  • Parallel computation: performing many operations at the same time.
  • Neuron: a nerve cell, the basic signalling unit of the nervous system.
  • Synapse: the junction where one neuron passes a signal to another.
  • Axon: the long fibre along which a neuron sends its pulses.
  • Threshold: the level of combined input above which a neuron fires.
  • All-or-nothing response: the property that a neuron's pulse has a fixed size once the threshold is passed.
  • McCulloch-Pitts neuron: an idealised model of a neuron as a unit that fires when its weighted inputs exceed a threshold.
  • Rate coding: representing a quantity by how frequently a neuron fires.
  • Positional notation: a code in which a digit's value depends on its place, as in decimal numbers.
  • Precision: the number of reliable digits a representation or computation provides.
  • Arithmetic depth: the number of successive operations a computation passes through.
  • Redundancy: using many components to carry the same signal so that failures of some do not destroy it.
  • Automaton: any system, natural or artificial, that processes information according to fixed rules.
  • Von Neumann architecture: the stored-program design with separate processor and memory joined by a single path.
  • Primary language: von Neumann's term for the unknown internal logic by which the nervous system computes.
  • Antahkarana: in Vedanta, the inner instrument, meaning the mind with its faculties of thought, decision, memory and ego.
  • Sakshi: in Vedanta, the witness, the awareness that observes the workings of the mind.

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 a commentary, not a substitute for the book. It does not reproduce von Neumann's text, his figures or his arguments in detail, and it should not be quoted as if it did.

The Computer and the Brain remains in copyright. It is short, inexpensive and widely available, in its original form and in later editions with new forewords. It is worth getting from a library or a bookshop and reading in full. Where this edition describes von Neumann's views, any error is ours, and his own pages are the authority.

Terms from this book with their own page: Sakshi, Antahkarana

More from “Foundations of computing”

The whole section →