Marr's levels of analysis
Marr's levels of analysis is a way to explain any system that processes information, such as a brain, a computer, or a cash register. It asks three separate questions about the system:[1]
- What is its goal, and why does it have that goal?
- What steps and codes does it use to reach that goal?
- What physical parts carry out those steps?
The neuroscientist David Marr set out the three levels in his book Vision, published in 1982 after his death. The idea grew from a 1976 memo he wrote with Tomaso Poggio.[2][3]
The levels have had wide influence in both neuroscience and cognitive science.[2] Researchers still use them to study brains and machine learning systems, which are computer methods that learn patterns from data or experience.[4]
The three levels
Marr wrote that an information-processing device must be understood at three levels "before one can be said to have understood it completely."[1] Each level asks a different question. Marr explained all three with a supermarket cash register.
| Level | Question it answers | Cash register example |
|---|---|---|
| Computational theory | What is the goal of the computation, why is it appropriate, and what is the logic of the strategy? | It adds, because the rules people expect for combining prices define addition |
| Representation and algorithm | How is the computation done? What codes stand for the input and output, and what steps transform one into the other? | Prices written in Arabic numerals; add the rightmost digits first and carry when a sum exceeds 9 |
| Hardware implementation | How are the codes and steps built physically? | Wires and transistors |
Computational level: what and why
The computational level describes the job a system does, without saying how it does it. Marr called this the "most abstract" level and said it describes the device "as a mapping from one kind of information to another."[1] It has two parts.
| Part | Question | Cash register answer |
|---|---|---|
| What | What is being computed? | Addition |
| Why | Why is that the right computation? | Everyday rules for combining prices define addition |
For the cash register, the "what" is addition. Addition has fixed properties, such as giving the same total in any order, and these hold "no matter how the numbers are written" and "no matter how the addition is executed."[1]
The "why" explains why the register adds and does not multiply. Marr listed everyday rules for combining prices, such as "if you buy nothing, it should cost you nothing," and noted that it is a mathematical theorem that such rules define addition.[1]
Marr applied the same idea to vision. He said the task of vision is "to reliably derive properties of the world from images of it."[1]
Algorithmic level: how
The second level picks two things:[1]
- A representation, the code used for the input and output.
- An Algorithm, the exact steps that turn input into output.
Input and output codes need not match. In a Fourier transform, the input may describe a signal over time and the output may describe it by frequency.[1] Marr made three points about this level:[1]
- There is usually a wide choice of representation, such as binary, Arabic, or Roman numerals.
- The best algorithm often depends on the representation chosen.
- Even with one fixed representation, several algorithms can do the same job. One may be more efficient, and another more robust (less sensitive to small errors in its data). One may be parallel, doing many steps at the same time, and another serial, doing steps one after another.
Implementation level: physical parts
The third level is the physical device that runs the algorithm. Marr stressed that "the same algorithm may be implemented in quite different technologies."[1]
A child adding two numbers right to left with carrying may use the same algorithm as the transistors in a supermarket cash register. W. D. Hillis and B. Silverman implemented a standard tic-tac-toe algorithm that cannot lose in a working computer made of Tinkertoys, a wooden toy building set.[1]
The hardware still matters, because some algorithms suit some materials better. Marr compared brains with standard digital computers:[1]
| System | Number of connections | Wiring |
|---|---|---|
| Brain | About times the number of nerve cells | Cheap, because wires grow one by one and in three dimensions |
| Standard digital computer | About the same as the number of gates | Laid out more or less in two dimensions |
Marr argued that two-dimensional wiring limits the use of parallel algorithms in standard technology, so the same operations are often better done serially.[1]
How the levels relate
Marr saw the levels as linked but only weakly. He wrote that "the three levels are coupled, but only loosely," that the hardware influences the choice of algorithm, and that "there is a wide choice available at each level."[1][5]
One function, many realizations
A key consequence is multiple realizability: one description at a higher level can be carried out in many ways at the level below.[4] Take the goal of picking the option with the highest expected value, which is the average outcome weighted by how likely each outcome is. Different algorithms can meet this goal:[4]
- Compute the expected values exactly and compare them.
- Use a simple rule of thumb.
- Sample a few possible outcomes and average them.
Each of those algorithms could in turn run on neurons or on silicon.[4]
Constraints in both directions
In Marr's view, the limits running downward are stronger than those running upward. The task narrows which algorithms can work, and the algorithm sets the job for the hardware, while the hardware mainly limits the general style of algorithm, such as serial or parallel.[6]
Later philosophers stress that limits run both ways. William Bechtel and Oron Shagrir argue that knowing the environment limits which algorithms can use its information, while knowing the parts available can rule out algorithms that cannot be built.[7]
Levels of analysis, not levels of size
Marr's levels are not levels of organization, where a whole system sits above its smaller parts.[7] Bechtel and Shagrir describe them instead as levels of analysis: different points of view on a system.[7]
Why Marr stressed the computational level
Marr argued that studying parts alone cannot explain what a system does. His best-known line is: "Trying to understand perception by studying only neurons is like trying to understand bird flight by studying only feathers: It just cannot be done."[6]
A reply to bottom-up neuroscience
Marr's proposal opposed purely bottom-up attempts of his time to explain vision from the behavior of neurons.[4] He wrote that analyzing the task "does not usurp" study of neurons or programs but is "a necessary complement to them, since without it there can be no real understanding of the function of all those neurons."[1]
A reply to early artificial intelligence
Marr also criticized early artificial intelligence. A heuristic program is one built on rules of thumb that often work but come with no guarantee. Marr wrote that "for far too long, a heuristic program for carrying out some task was held to be a theory of that task," and that often the only way to know what a program would do was to run it.[1]
He pointed to linguistics as a field that already had a true computational theory. He said Noam Chomsky's transformational grammar specifies what the structure of a sentence should be, not how a mind finds it.[1]
Marr linked this roughly to Chomsky's distinction between competence, a speaker's knowledge of a language, and performance, the actual use of it. He said finding algorithms for the theory is a separate task at a different level.[1]
Debt to Gibson
The psychologist William Warren argues that Marr borrowed much of the computational level from James J. Gibson.[6] Marr credited Gibson with coming "the nearest anyone came to the level of computational theory," but said Gibson underestimated how hard the information-processing problems are.[6]
History
The framework first appeared as four levels, not three. In a May 1976 MIT Artificial Intelligence Laboratory memo, Marr and Poggio wrote that the central nervous system "needs to be understood at four nearly independent levels of description."[3]
| Marr and Poggio (1976) | Marr, Vision (1982) |
|---|---|
| 1. The nature of the computation | Computational theory |
| 2. The algorithms that carry out the computation | Representation and algorithm |
| 3. The particular mechanisms an algorithm is committed to | (no separate level) |
| 4. The hardware that realizes the mechanisms | Hardware implementation |
The memo held that the problem decides the computation, the hardware decides the mechanisms, and the algorithms depend on both.[3] In Vision, Marr presented three levels and extended the idea from vision to any information-processing system.[4][1]
Marr wrote that he and Poggio reached the idea independently and then put it into words together.[1] He also said it was "not even quite new," since Leon D. Harmon was saying something similar at about the same time.[1]
Later researchers still look back to the four-level version. Machine learning researchers Jessica Hamrick and Shakir Mohamed describe splitting the algorithmic level in two as "mirroring the original four-level formulation."[8]
Extensions and rival schemes
Many researchers have proposed more, fewer, or different levels.[8][5]
- Learning and evolution. Poggio (2012) proposed adding learning as a level "above the computational level," along with evolution. Jonathan Pillow counts seven levels in total in the revised scheme.[5][8]
- Bridging levels. Thomas Griffiths, Falk Lieder, and Noah Goodman defined levels between the computational and the algorithmic. Their method, resource-rational analysis, works out the best algorithms for more and more realistic models of limited mental resources.[9]
- Newell's levels. Allen Newell (1982, 1990) proposed several tightly integrated levels told apart by timescale, role, and mode of operation.[4]
- Rational analysis. John Anderson's rational analysis (1990) starts from a system's goals and the structure of its environment, and treats behavior as a best response to those demands under resource limits.[4]
- Two levels. Some argue that for analog computation, which uses continuously varying signals instead of discrete values, the algorithm and implementation merge. That would leave only two levels for neural systems.[5]
Uses today
The framework is used to organize research on both minds and machines.[4]
Bayesian models of cognition
Bayesian models treat the mind as making good guesses under uncertainty using Bayesian inference. Their supporters often place their theories at the computational level. Nick Chater and colleagues describe the approach as "a top-down, or 'function-first' research strategy, as recommended by Marr."[7]
Bridging levels with models
Researchers try to link the levels from both ends:[4]
- Top-down work starts from what an ideal system should do. It then asks how people approximate that ideal with limited time and memory.
- Bottom-up work builds upward from realistic neurons. An example is the Spaun architecture, which carries out basic mental tasks with spiking neurons (neurons that send all-or-nothing signals).
A cognitive architecture is a model of the main parts and processes of a mind. The cognitive architecture ACT-R is an algorithmic-level account that serves as a link, tying detailed algorithms to goal-level analyses above and to brain mechanisms below.[4]
Machine learning
Hamrick and Mohamed applied Marr's levels to machine learning systems.[8] One example is a deep reinforcement learning agent, a program that uses a neural network and learns by trial and error from rewards.[4]
| Level | What it describes | Example for the agent |
|---|---|---|
| Computational | The goal | Maximize total reward |
| Algorithmic | The design and the learning rule (the rule for adjusting connections as it learns) | A particular neural network design trained by temporal difference learning |
| Implementation | The software and hardware | Graphics processing units, chips built to do many calculations at once |
Criticisms
The neglected middle level
David Peebles and Richard Cooper argue that the algorithmic level has been given too little attention from two sides:[10]
- Reductionist neuroscience tries to explain behavior from the parts of the brain, working from the implementation level.
- Bayesian approaches try to explain behavior in purely computational terms.
Levels as one integrated model
Mechanistic philosophers of science hold that explanations should show how organized parts and processes produce a function. They argue that strict separation of levels misses how neuroscience explanations fit together, and they treat levels as different simplified descriptions inside one integrated model.[4]
Is the framework useful for neuroscience?
In a 2024 debate in The Journal of Physiology, the neuroscientist Jonathan Pillow argued that Marr's levels are not a useful framework for neuroscience.[5] His main points were these:
- Computation first has not generally worked. Pillow argues that Marr's approach to vision led to ideas such as zero-crossings (points Marr used to mark changes in image brightness) and the "2½-D sketch" (a map of visible surface depth and orientation), which Pillow calls dead ends of computer vision.[5][1] He adds that data-driven work found things theory did not predict, such as grid cells, neurons that fire at regularly spaced places as an animal moves.[5]
- Biology does not separate the levels. Separating algorithm from hardware is easy for digital computers but less clear for brains. The neuroscientist Tony Movshon said that for a connectionist, someone who models the mind as networks of simple connected units, "the connection is the computation."[5]
- The levels do not sort methods well. Pillow argues that recurrent neural networks, networks whose units feed signals back to each other, could be placed at any of the three levels, depending on how the problem is framed.[5]
Is the computational goal fixed?
Other critics question how the computational level is defined:
- Warren argues that Marr's vision program failed as a model of human vision partly because it assumed the goal was a general-purpose geometric description of the world.[6]
- Roel Willems argues that an organism's computational goal depends on context, unlike Marr and Poggio's description.[11]
References
- Vision: A Computational Investigation into the Human Representation and Processing of Visual Information, Chapter 1, David Marr, W. H. Freeman, 1982.
- Vision, MIT Press, 2010.
- From Understanding Computation to Understanding Neural Circuitry (AI Memo 357), David Marr and Tomaso Poggio, MIT Artificial Intelligence Laboratory, 1976.
- Levels of Analysis, Richard P. Cooper and David Peebles, The Open Encyclopedia of Cognitive Science, MIT Press, 2026.
- Cross Talk opposing view: Marr's three levels of analysis are not useful as a framework for neuroscience, Jonathan W. Pillow, The Journal of Physiology, 2024.
- Does this computational theory solve the right problem? Marr, Gibson, and the goal of vision, William H. Warren, Perception, 2012.
- The Non-Redundant Contributions of Marr's Three Levels of Analysis for Explaining Information-Processing Mechanisms, William Bechtel and Oron Shagrir, Topics in Cognitive Science, 2015.
- Levels of Analysis for Machine Learning, Jessica Hamrick and Shakir Mohamed, arXiv, 2020.
- Rational Use of Cognitive Resources: Levels of Analysis Between the Computational and the Algorithmic, Thomas L. Griffiths, Falk Lieder, and Noah D. Goodman, Topics in Cognitive Science, 2015.
- Thirty Years After Marr's Vision: Levels of Analysis in Cognitive Science, David Peebles and Richard Cooper, Topics in Cognitive Science, 2015.
- Re-Appreciating the Why of Cognition: 35 Years after Marr and Poggio, Roel M. Willems, Frontiers in Psychology, 2011.
