Computational cognition
Computational cognition is the study of the mind through computational models. A computational model states a theory of a mental process, such as remembering a list or learning which choice pays off, as an algorithm. An algorithm is a clear, step-by-step procedure, so a computer can run it.[1][2]
Running a model produces behavior that researchers can compare with what people do in experiments.[2] The field is part of Cognitive science, which draws on fields such as psychology, computer science, linguistics, and neuroscience.[1] Its main traditions are:[1][3][4]
- Symbolic models, built from rules.
- Neural network models, loosely based on the brain.
- Bayesian models, built on probability.
- Deep learning models (large multilayer networks trained on data) and language models (networks trained on large amounts of text).
What a computational model does
A computational model is a hypothesis about how behavior is produced, written precisely enough to run.[5] Its equations link things an experimenter can observe to what the person does next.[2] These include stimuli (things presented to the person, such as images or sounds), outcomes, and past experiences.[2]
A cognitive model of this kind can be simulated and compared with rival models.[2] It can also be fitted to data, which means adjusting its settings until its predictions match what people did.[2]
A simple example comes from a task in which a person keeps choosing between two slot machines. Each machine pays out with its own probability, which the person does not know at the start.[2] A model of this task works in four repeating steps:[2]
- Keep a value for each machine, an estimate of how well it pays.
- Choose a machine, usually the one with the higher value but sometimes the other.
- Observe whether the chosen machine paid out.
- Move the chosen machine's value part of the way toward that outcome, then repeat.
Fitting a model like this to data lets researchers examine the algorithms behind behavior. It also helps them understand the effects of drugs, illnesses, and interventions.[5]
Marr's three levels
David Marr argued in his 1982 book Vision that an information-processing system must be understood at three levels.[6] Many models in the field state which of these levels of analysis they target. Bayesian models, for example, often start at the computational level.[7][8]
| Level | Question it asks | Cash register example |
|---|---|---|
| Computational theory | What does the system do, and why? | It adds up charges to total a shop bill, following the arithmetic of addition |
| Representation and algorithm | How are inputs and outputs represented, and what steps turn one into the other? | Numbers written in Arabic or Roman numerals, and the procedure used to add them |
| Hardware implementation | How are the representation and algorithm physically realized? | The machine's physical parts (in an animal, its neurons) |
Marr said the levels are only "loosely related."[6] Different algorithms can perform the same computational task, and the same algorithm can run in very different materials.[6] He compared studying only neurons to trying to understand bird flight by studying only feathers.[6]
Main approaches
Researchers disagree about what kind of computation the mind performs, so the field has several modeling traditions.[3] These traditions overlap in some cases but not in others.[1]
| Approach | Built from | Main inspiration | Examples |
|---|---|---|---|
| Symbolic | Symbols combined by rules, such as if-then rules | Logic and computer science | Logic Theorist, Soar, ACT-R (which also has non-symbolic parts) |
| Connectionist | Simple units joined by weighted connections | Neurophysiology (how the nervous system works) | Parallel distributed processing models, complementary learning systems |
| Bayesian | Probabilities over hypotheses, updated by Bayes' rule | Rational inference under uncertainty | Rational analysis models |
| Deep learning | Large multilayer networks trained on tasks or data | Machine learning | Object-recognition networks, Centaur |
Sources for the table: [1][3][9][10][11][4].
Symbolic models
The classical view holds that the mind computes much as a Turing machine does.[1] Its computations work on symbols, language-like units that rules can combine into complex thoughts.[3] Allen Newell and Herbert A. Simon stated this as the physical symbol system hypothesis: "A physical symbol system has the necessary and sufficient means for general intelligent action."[12]
An early success was the Logic Theorist program (Newell and Simon, 1956). It proved 38 of the first 52 theorems in Principia Mathematica.[1]
Cognitive architectures
A cognitive architecture describes the mechanisms of cognition that stay fixed across people and tasks. Modelers add knowledge for a given task, typically as rules, and the architecture uses it to produce behavior.[13]
Newell pushed for architectures that model whole tasks instead of isolated effects, and this work led to Soar.[14] He set out the program in his 1990 book Unified Theories of Cognition.[15]
ACT-R (adaptive control of thought, rational) was developed by John R. Anderson and colleagues. Soar and ACT-R are the two oldest and most widely used cognitive architectures.[16] Soar has been driven more by the goal of producing intelligent behavior, and ACT-R more by matching the details of human data.[14]
ACT-R is built from separate modules. The theory is not committed to an exact number, but its core includes these:[9]
- Visual module: identifies objects in the visual field.
- Manual module: controls the hands.
- Declarative module: retrieves facts from memory.
- Goal module: keeps track of current goals and intentions.
ACT-R also has basic vocal and hearing systems.[9] Each module places one chunk (a single unit of knowledge) in its buffer, and a central production system reads all the buffers.[9] A production is an if-then rule, and only one fires per cycle, which ACT-R assumes takes about 50 milliseconds.[9]
ACT-R links its parts to brain regions. The two prefrontal regions below are areas at the front of the brain.[9]
| ACT-R part | Proposed brain region |
|---|---|
| Goal buffer | Dorsolateral prefrontal cortex |
| Retrieval buffer | Ventrolateral prefrontal cortex |
| Production rules | Basal ganglia |
Connectionist models
Connectionism models the mind with artificial neural networks. These are networks of simple units linked by connections, loosely modeled on neurons and the synapses through which neurons signal one another.[1][3] Input units take in the stimulus, output units give the response, and hidden units sit between them.[1]
Each unit has an activation value, its current signal level, and each connection has a weight, its strength.[1] To get a unit's total input, multiply each incoming activation by the weight of its connection, then add the results.[1]
Learning changes the weights so that actual outputs move closer to target outputs. A widely used method for this is Backpropagation (Rumelhart, Hinton, and Williams, 1986).[1]
The approach traces back to Warren McCulloch and Walter Pitts (1943), who treated logic gates as simplified neurons. Classical and connectionist approaches share this origin.[1] Connectionism became a prominent rival to the classical view in the 1980s. David Rumelhart, James McClelland, and the PDP Research Group published the Parallel Distributed Processing volumes in 1986.[1][3]
Supporters stress two strengths. Networks learn from experience, and they compute in parallel, which may suit the brain's relatively slow neurons.[1] Jerry Fodor and Zenon Pylyshyn (1988) objected that abilities such as logical reasoning are better explained by structured symbols.[3]
Paul Smolensky and others proposed ways for networks to handle such tasks. Some researchers treat networks as the lower level that carries out symbolic computation.[3][1]
The complementary learning systems theory (McClelland, McNaughton, and O'Reilly, 1995) is a connectionist account of memory.[17] It proposes that the Neocortex learns slowly, which lets it find structure shared across many experiences. The hippocampal system learns new items quickly without disrupting that structure.[17]
Bayesian and rational models
Bayesian models of cognition treat degrees of belief as probabilities between 0 and 1. They ask how a learner should update those beliefs when new data arrive.[7] The update follows Bayes' rule:[7]
- is one hypothesis from a set in which no two hypotheses can both be true and which together cover all cases.
- is the observed data.
- is the prior, the belief in before seeing .
- is the likelihood, how probable would be if were true.
- is the posterior, the updated belief.
The denominator is the total probability of the data, which must be greater than zero.[7]
A tutorial example asks why a person named Sally is coughing, and compares three hypotheses.[7] Each product of prior and likelihood is divided by their sum, 0.53.
| Hypothesis | Prior | Likelihood of cough | Prior × likelihood | Posterior |
|---|---|---|---|---|
| Cold | 0.5 | 0.8 | 0.40 | about 0.75 |
| Lung cancer | 0.1 | 0.9 | 0.09 | about 0.17 |
| Heartburn | 0.4 | 0.1 | 0.04 | about 0.08 |
The priors, likelihoods, and the cold posterior come from the source.[7] Lung cancer explains a cough well but starts with a low prior, so its posterior stays small.
Bayesian models aim to explain how people make inferences that go far beyond sparse data, as in learning concepts, acquiring language, and grasping causes.[18] Researchers such as Joshua Tenenbaum and Thomas Griffiths note that these models suit inductive problems, where a learner must draw general conclusions from limited examples. They write that only such problems, or problems with an inductive part, are naturally expressed in Bayesian terms, and that a fact such as a specific reaction time is not something a rational theory is likely to predict.[10]
Rational analysis treats cognition as optimized to solve problems under certain constraints. John R. Anderson introduced the term in 1990.[8] The method specifies the system's goals and builds a formal model of them in the organism's environment, with few assumptions about internal processes.[8]
Resource-rational analysis (Lieder and Griffiths, 2020) adds realistic limits on cognitive resources to rational models.[19] Its authors argue that it can explain how people show both impressive cognitive skills and apparent irrationality.[19]
Dynamical systems
The dynamical hypothesis holds that cognitive agents are dynamical systems rather than digital computers.[20] Tim van Gelder (1998) split it into a nature hypothesis (agents are dynamical systems) and a knowledge hypothesis (agents can be understood dynamically). He concluded that only ongoing research based on evidence will show how far it is true.[20] The approach is covered under Dynamicism.
Deep networks and brain recordings
Researchers now test deep neural networks trained on real tasks directly against brain recordings, a topic covered under deep neural networks as models of the brain.[11]
In 2014, Yamins and colleagues found that a network optimized for object recognition predicted 48.5% of the explainable variance of recording sites in the inferior temporal cortex (IT), a higher visual area.[11] Explainable variance here means the share of each site's reliable, repeatable response that the model predicted. The network's next-to-top layer predicted 51.7% of the variance in V4, a midlevel visual area that feeds IT.[11]
This work is part of a broader effort, sometimes called cognitive computational neuroscience, to connect psychological theories with how the brain carries them out.[1] It overlaps with Computational neuroscience.
Language models as cognitive models
Large language models are also studied with the tools of cognitive psychology, a topic covered under large language models and cognitive science.[21] Binz and Schulz (2023) found that GPT-3 matched or beat people on many tasks posed as short written scenarios (vignettes). Yet small changes to the tasks led it far astray, and it failed badly on a causal reasoning task.[21]
In 2025, Binz and colleagues described Centaur, a language model further trained (fine-tuned) on Psych-101.[4] This data set covers 160 experiments in which 60,092 participants made 10,681,650 choices.[4]
Centaur fit human responses better than domain-specific cognitive models in almost every experiment tested.[4] A 2025 preprint argues that its simulated behavior still differs from human data in consistent ways, so it is not yet an accurate model of cognition.[22]
Fitting models to data
Model fitting means finding the parameter values that make a model best match a person's data. Parameters are adjustable settings, usually numbers, that control how a model behaves.[2] Researchers then check whether the fitted model really captures the behavior.[2]
The slot-machine model in equations
The learning step uses a form of the Rescorla-Wagner rule (Rescorla and Wagner, 1972):[2]
- is the value of option on trial .
- is the reward, 1 or 0.
- is the learning rate, between 0 and 1.
- is the prediction error. The learning rate sets how much of it updates the value.[2]
The choice step uses the softmax rule:[2]
Here is the probability of choosing option out of options, and is the inverse temperature. At , choices are random. As grows without limit, the model always picks the highest-value option.[2]
The model therefore has two free parameters, and . Each can affect both how fast learning happens and how noisy behavior stays once learning levels off.[2]
Estimating parameters
A common method is maximum likelihood. It finds the parameters of model that make the observed data most probable.[2] In practice researchers maximize the log-likelihood, a sum over trials:[2]
Here is the choice on trial , is the stimulus on that trial, is the data from earlier trials, and is the number of trials.[2] Logs are used because the likelihood is a product of many numbers smaller than 1, which a computer can round to 0.[2]
Testing and comparing models
Wilson and Collins (2019) set out a sequence of checks for modeling behavioral data:[2]
- Design an experiment in which the processes of interest leave clear signatures in the data.
- Design a set of models that capture the competing hypotheses, including simple ones.
- Simulate each model across the range of its parameters.
- Check parameter recovery: simulate data with known parameters, fit the model, and compare the fitted values with the true ones.
- Check model recovery: simulate data from each model and fit all the models to it. Record the results in a confusion matrix, a table that counts how often each model is selected for data generated by each model.
- Run the experiment, then fit and compare the models on the real data.
- Validate the winning model by simulating it and checking that it reproduces patterns in the data that it was not fitted to.
- Analyze the winning model, for example by testing whether its hidden variables correlate with brain signals. Hidden variables are quantities inside the model, such as the values or the prediction errors, that are not directly observed.
Model comparison only ranks the models that were tested. Winning shows that a model beats those rivals, while infinitely many other models go untested.[2]
A Bayesian comparison asks for the probability that each model generated the data. That requires an integral, a continuous sum across all possible parameter settings, which usually cannot be computed exactly.[2]
Applications
Computational models are used across many areas of cognitive science:
- Memory: models such as search of associative memory (SAM; Raaijmakers and Shiffrin) and the temporal context model (Howard and Kahana, 2002) are applied to free recall and other memory tasks.[23][24]
- Learning and choice: Reinforcement learning models like the slot-machine model link trial-by-trial choices to hidden variables that can be compared with brain signals.[2]
- Brain systems: complementary learning systems theory explains why damage to the hippocampal system disrupts recent memory but leaves remote memory intact.[17]
- Mental illness: computational psychiatry combines several types of computational models with several types of data. It aims to improve the understanding, prediction, and treatment of mental illness.[25]
- Artificial intelligence: reverse-engineering human learning runs in parallel with efforts to build more humanlike machine learning.[18]
History
The field grew from the idea that thinking is a kind of computation, an idea the computational theory of mind develops.[3]
- 1936: Alan Turing gives a formal account of an idealized computing machine, the Turing machine.[3]
- 1943: McCulloch and Pitts propose that networks of neurons carry out computations.[3]
- 1956: Newell and Simon's Logic Theorist proves theorems from Principia Mathematica.[1]
- 1960s: Cognitive science emerges, with computation at its center.[1]
- 1972: Rescorla and Wagner publish their theory of conditioning.[2]
- 1976: Newell and Simon state the physical symbol system hypothesis.[12]
- 1982: Marr's Vision sets out the three levels.[6]
- 1986: The Parallel Distributed Processing volumes and the backpropagation paper by Rumelhart, Hinton, and Williams appear.[3][1]
- 1988: Fodor and Pylyshyn publish their critique of connectionism.[3]
- 1990: Newell publishes Unified Theories of Cognition, and Anderson introduces rational analysis.[15][8]
- 1995: McClelland, McNaughton, and O'Reilly propose complementary learning systems.[17]
- 1998: van Gelder sets out the dynamical hypothesis.[20]
- 2004: Anderson and colleagues describe ACT-R as an integrated theory of the mind.[9]
- 2014: Yamins and colleagues show that task-trained networks predict responses in visual cortex.[11]
- 2020: Lieder and Griffiths publish resource-rational analysis.[19]
- 2023 to 2025: Language models are studied with cognitive psychology methods and fine-tuned as models of human behavior.[21][4]
Debates and open questions
- Symbols or networks: whether the mind computes over structured symbols, with neural networks only implementing them, remains disputed.[1][3]
- Too many possible mechanisms: infinitely many mechanisms can produce any given observation, so models need extra constraints.[19] Some researchers limit what the mind can do, and others appeal to rationality and adaptation.[19]
- Just-so stories: critics such as Simon (1989) and Bowers and Davis (2012) argue that rational models can invent environments to fit the data. For memory, some evidence shows that the statistics of real environments match the proposed model.[8]
- Relative fit: winning a model comparison does not show that a model is right, only that it beats the other models tested.[2]
- Speed: neither classical nor connectionist accounts have satisfactorily explained how a brain built from relatively slow neurons computes so quickly.[1]
- Prediction versus explanation: language-model-based models can predict behavior well, but critics question whether they are accurate models of cognition.[22]
Related topics
- Bayesian approaches to brain function
- Global matching models
- Intuitive physics engine
- LIDA (cognitive architecture)
- Theory of mind in large language models
- Douglas Hofstadter
- Jeffrey Elman
- Mathematical psychology
References
- The Computational Theory of Mind, Stanford Encyclopedia of Philosophy, 2024.
- Ten simple rules for the computational modeling of behavioral data, Wilson and Collins, eLife, 2019.
- Computational Theory of Mind, Open Encyclopedia of Cognitive Science, MIT Press.
- A foundation model to predict and capture human cognition, Binz and colleagues, Nature, 2025.
- Scientists outline 10 simple rules for the computational modelling of behavioural data, eLife, 2019.
- Artifacts and levels of abstraction, Frontiers in Ecology and Evolution, 2022.
- A tutorial introduction to Bayesian models of cognitive development, Perfors, Tenenbaum, Griffiths, and Xu, Cognition, 2011.
- Rational Analysis, Open Encyclopedia of Cognitive Science, MIT Press.
- An Integrated Theory of the Mind, Anderson, Bothell, Byrne, Douglass, Lebiere, and Qin, Psychological Review, 2004.
- Bayesian models of cognition, Griffiths, Kemp, and Tenenbaum, Cambridge Handbook of Computational Psychology, 2008.
- Performance-optimized hierarchical models predict neural responses in higher visual cortex, Yamins and colleagues, PNAS, 2014.
- Computer Science as Empirical Inquiry: Symbols and Search, Newell and Simon, Communications of the ACM (1975 ACM Turing Award Lecture), 1976.
- Two Cognitive Modeling Frontiers: Emotions and Usability, Ritter, Transactions of the Japanese Society for Artificial Intelligence, 2009.
- Cognitive Architectures Including ACT-R, Anderson, Cognitive Studies, 2019.
- Unified Theories of Cognition, Newell, Harvard University Press, 1990.
- Introduction to the Soar Cognitive Architecture, Laird, arXiv, 2022.
- Why there are complementary learning systems in the hippocampus and neocortex, McClelland, McNaughton, and O'Reilly, Psychological Review, 1995.
- How to grow a mind: statistics, structure, and abstraction, Tenenbaum, Kemp, Griffiths, and Goodman, Science, 2011.
- Resource-rational analysis: Understanding human cognition as the optimal use of limited computational resources, Lieder and Griffiths, Behavioral and Brain Sciences, 2020.
- The dynamical hypothesis in cognitive science, van Gelder, Behavioral and Brain Sciences, 1998.
- Using cognitive psychology to understand GPT-3, Binz and Schulz, PNAS, 2023.
- Not Yet AlphaFold for the Mind: Evaluating Centaur as a Synthetic Participant, arXiv preprint, 2025.
- Retrieval strategies in recall of natural categories and categorized lists, Journal of Experimental Psychology: Learning, Memory, and Cognition, 1986.
- The temporal context model in spatial navigation and relational learning, Howard and colleagues, Psychological Review, 2005.
- Computational psychiatry as a bridge from neuroscience to clinical applications, Huys, Maia, and Frank, Nature Neuroscience, 2016.
