Cognitive architecture
A cognitive architecture is a theory of the parts of a mind that stay the same over time, built as a computer program. It says what memories a mind has, how knowledge is stored in them, and which processes use and change that knowledge.[1]
Researchers add knowledge about a task to an architecture. This lets them model how people do that task, or build software AI agents and robots.[1]
The basic idea
An architecture contains the parts of an intelligent agent that do not change over time or from one task to the next.[1] An agent here means a system that senses its surroundings and acts on them. Knowledge and beliefs change as the agent learns, so they are not part of the architecture.[1]
Two comparisons show how this works:
- Computers. Many programs can run on one computer architecture. In the same way, many sets of knowledge can run on one cognitive architecture.[1]
- Buildings. A building's architecture is its foundation, roof, and rooms. The furniture and appliances can be moved or replaced, so they are not part of it.[1]
Architectures differ in how much they build in. Some build into the fixed structure what others leave to replaceable knowledge, much as some buildings have built-in shelves and closets while others use furniture.[1]
What an architecture specifies
An architecture usually fixes three things:[1]
- The short-term and long-term memories that hold the agent's beliefs, goals, and knowledge.
- The way knowledge is written down (its representation) and organized in those memories.
- The processes that work on those memories. These include performance processes, which use knowledge, and learning processes, which change it.
Two goals
Researchers use architectures for two main goals:[1]
- Modeling people. They model the parts of human thinking that stay the same from person to person and task to task.
- Building agents. They use architectures as a path to building intelligent agents.
These goals are not in conflict, and the two fields have long borrowed ideas from each other.[1]
Architectures aim for breadth. Unlike expert systems, which show skill in one narrow area, an architecture tries to cover many different tasks and domains with one system.[1]
Origins
The idea grew out of Allen Newell's 1973 paper "You can't play 20 questions with nature and win". He argued that cognitive science should stop studying one effect at a time and instead bring many findings together in a single theory of a whole system, then test it.[1]
The early work used production systems, programs built from if-then rules. It focused on explaining results from psychology.[1]
Unified theories
Newell's 1990 book Unified Theories of Cognition made the case that cognitive science should build theories covering all of human perception, thinking, and action.[2]
- He presented Soar as an example of such a theory.[2]
- He said Soar was not the only candidate, and that the field needed several attempts.[2]
- His colleagues later described the human cognitive architecture as "the fixed structure that makes the human mind what it is."[3]
Well-known architectures include ACT-R and Soar.[1] A 2017 proposal, now called the Common Model of Cognition, sums up the structure that many architectures share.[4][5]
Other views of the mind
Other ideas about how a mind is organized grew alongside this work. Marvin Minsky's Society of Mind describes the mind as made of many agents that each do very simple, thoughtless things. Intelligence comes from how these agents are joined together.[6]
Inside an architecture
Most architectures are built from a few kinds of memory and a repeating cycle that uses them. Each architecture fills in the details its own way.[1][4]
Kinds of memory
Architectures separate memory by how long it lasts and what it holds:
- Working memory holds what the agent is thinking about right now. In ACT-R, a set of small stores called buffers together make up short-term memory.[1]
- Procedural memory holds knowledge about how to act, often as if-then rules.[1][4]
- Declarative memory holds facts. Soar later added a separate episodic memory for past situations and a semantic memory for known facts.[1]
Declarative knowledge can be used by many processes whatever its content, so one description of a device can support design, diagnosis, and control.[1]
The recognize-act cycle
Most architectures run a repeating recognize-act cycle that underlies all of their behavior.[1] On each pass, the agent recognizes which stored patterns match its current situation, then chooses and carries out an action.
Choosing an action usually takes two steps:[1]
- Find the allowed actions. An action is considered only if its pattern (the "if" part of a rule) matches the current contents of memory.
- Pick among the allowed actions, often by giving each a numeric score and choosing the best. This step is called conflict resolution, and it works differently in different architectures.
The chosen action may change working memory, ask long-term memory to retrieve something, or send a command to the body.[1]
Learning
Learning in an architecture changes knowledge, never the fixed structure. Most learning methods for decisions either revise the conditions under which an action is allowed or adjust the numbers used in conflict resolution.[1]
Soar shows how several methods can work side by side:[1]
- Chunking. When Soar solves a subproblem, it stores a new rule that sums up the result, so next time it can skip the work.
- Reinforcement learning. It adjusts the numbers attached to rules that help choose actions.
- Episodic and semantic learning. These store snapshots of working memory and single facts for later recall.
Capabilities
An architecture is judged partly by what it lets an agent do. Langley, Laird, and Rogers list capabilities that include:[1]
- recognition and grouping
- decision making and choice
- perception and situation assessment
- prediction and monitoring
- problem solving and planning
- reasoning and keeping beliefs up to date
Only a few of these, such as recognition and decision making, are strictly required. The full set seems necessary to cover the whole range of human-level intelligence.[1]
Kinds of architectures
Architectures are often grouped by how they represent and process information. A widely used split has three groups: symbolic, emergent, and hybrid.[7]
| Kind | How knowledge is stored | Strengths | Weaknesses |
|---|---|---|---|
| Symbolic | Symbols changed by a fixed set of instructions, such as if-then rules | Planning and reasoning | Less able to handle changing surroundings and raw perception |
| Emergent | Patterns of numbers spread across many simple units, as in a neural network | Adapting and learning | Knowledge is hard to inspect, and logical reasoning is harder |
| Hybrid | A mix of both | Aims to get the strengths of both | Many different ways to combine them |
The table summarizes Kotseruba and Tsotsos's review.[7] The emergent approach is also called connectionism, and the symbolic approach is close to symbolic AI. Hybrid architectures were the most common kind in their set of 84 architectures.[7]
Finer groups
The review splits two of the groups further.[7] It calls anything that is not an explicit symbol, such as numbers, pixels, or probabilities, sub-symbolic.[7]
- Neuronal models (emergent) model biological neurons.
- Connectionist logic systems (emergent) are closer to artificial neural networks.
- Symbolic sub-processing (hybrid) adds a self-contained sub-symbolic module, for example for sensing, to a symbolic system.
- Fully integrated (hybrid) covers the other ways of mixing the two.
The labels are used loosely, so the same architecture can be placed in different groups. ACT-R and Soar both mix symbols with numeric values, yet ACT-R calls itself hybrid while Soar does not.[7]
Layered robot control
Some designs reject central planning. Rodney Brooks's 1986 subsumption architecture controls a robot with layers of simple modules. Each layer adds a new level of skill, and higher layers take over by suppressing the outputs of lower ones.[8]
Major examples
A 2016 review estimated that about three hundred architectures exist. It studied 84 in detail, 49 of them still under active development.[7]
| Architecture | Origin | Main aim | Key feature |
|---|---|---|---|
| ACT-R | ACT family, developed since the late 1970s | Model human behavior | Modules with buffers, linked by production rules[1] |
| Soar | Developed since the early 1980s | General intelligence | Operators (actions it can choose) in problem spaces (the states and operators for a task), impasses (stalls when knowledge runs out), and chunking[1] |
| EPIC | Kieras and Meyer, 1994[9] | Exact timing of human perception, thought, and movement | Production rules plus perceptual and motor processors[10] |
| ICARUS | Langley and colleagues | Agents acting in the world | Concepts and skills in hierarchies tied to perception and action[1] |
| PRODIGY | Mid-1980s to late 1990s | Problem solving | Search by means-ends analysis guided by control rules[1] |
| CLARION | Ron Sun | Implicit and explicit thinking | Separate stores for explicit knowledge (easy to access and state) and implicit knowledge (less accessible), plus subsystems for motivation and metacognition (thinking about one's own thinking)[11] |
| LIDA | Franklin, Baars, and colleagues | A computer-based version of a theory of consciousness | Puts much of global workspace theory into practice[12] |
| Leabra | O'Reilly and colleagues, cognitive neuroscience | Brain-based models of cognition | Neural network that balances error-driven learning (adjusting connections to reduce errors) with associative, or Hebbian, learning (strengthening links between units that are active together). It is built to match known features of the neocortex, the brain's outer layer.[13] |
Meyer and Kieras later set out EPIC in a major 1997 paper on how people perform several tasks at once.[14]
ACT-R
ACT-R is organized into modules, each handling one type of information:[1]
- Sensory modules handle vision.
- Motor modules handle action.
- A goal module tracks intentions.
- A declarative module holds long-term facts.
Each module has a buffer, and production rules test and change the buffers to coordinate the modules.[1]
ACT-R also has numeric parts:[1]
- Each fact, called a chunk, has an activation that reflects how it has been used. Activation affects how easily the fact is recalled.
- Each rule has an expected cost and chance of success.
An ACT-R chunk is not the same thing as a chunk in Soar.[1]
Anderson and colleagues also linked ACT-R's parts to the brain. They proposed that the basal ganglia carry out production rules and tied the declarative module's retrieval buffer to the ventrolateral prefrontal cortex, a region at the front of the brain.[15] Anderson later used module activity to predict brain imaging signals, for example matching the procedural module to the caudate, part of the basal ganglia.[16]
Soar
Soar treats every task as an attempt to reach a goal.[1] Its cycle proposes, selects, and applies operators, the basic acts of thought, one decision at a time. When knowledge is not enough to choose or carry out an operator, Soar reaches an impasse and sets up a new subgoal to resolve it.[1]
Other systems
Many other systems are described as cognitive architectures or related frameworks:
- SNePS stores knowledge as a semantic network, a network of linked concepts and beliefs, and was designed to serve as the mind of a computational agent.[17]
- OpenCog is a framework for artificial general intelligence. It stores knowledge in the Atomspace, a generalized hypergraph (a graph whose links can join many nodes or even other links).[18]
- Project Joshua Blue at IBM Research aimed at one architecture for perception, emotion, learning, cognition, and interaction, to give computers common sense.[19]
- Object-Action Complexes give robots symbols for their sensing and movement experience.[20]
- The Dehaene-Changeux model is a neural model of a global workspace. It joins a set of specialized processors through heavily interconnected workspace neurons.[21]
The Common Model of Cognition
In 2017, Laird, Lebiere, and Rosenbloom argued that architectures had slowly come to agree on a shared core. They named it the "Standard Model of the Mind", after the Standard Model of particle physics.[4][5] It was later renamed the Common Model of Cognition after input from scientists at a symposium.[5]
The model draws on three architectures: ACT-R, Soar, and Sigma.[4] Sigma is a newer architecture by Rosenbloom and colleagues that combines cognitive architectures with graphical models, which show variables and their links as a graph.[4][22]
Its assumptions cover four areas:[5]
- structure and processing
- memory and content
- learning
- perception and motor
Like the physics model, it is meant to be a shared reference point with known gaps that drives work to extend or break it.[4]
Components
The model has five modules:[4][5]
- Perception turns outside signals into symbols and relations and places them in working memory.
- Motor turns symbol structures in its buffer into actions.
- Working memory is the hub that the other modules read and write.
- Declarative long-term memory holds facts.
- Procedural long-term memory holds knowledge about actions, as rule-like conditions and actions.
Declarative memory, perception, and motor can only reach their own buffers in working memory. Procedural memory can read all of working memory.[4]
The cognitive cycle
The model's central process is the cognitive cycle. Procedural memory reads the contents of working memory and selects an action that changes working memory.[4] Complex behavior, such as planning, comes from a sequence of these cycles.
In human terms each cycle takes roughly 50 milliseconds.[4] Changes to working memory can cue retrieval from declarative memory, start motor actions, or guide perception from the top down.[4]
The three source architectures organize long-term memory differently:[4]
| Architecture | Procedural memory | Declarative memory | Semantic and episodic memory |
|---|---|---|---|
| ACT-R | Rule-based module | One declarative module | Not split into separate stores |
| Soar | Rule-based memory | Split into two stores | Separate semantic and episodic memories |
| Sigma | Part of one long-term memory | Part of the same long-term memory | Not separate modules |
Evidence from brain imaging
Stocco and colleagues mapped the five modules onto brain regions:[5]
| Module | Brain region |
|---|---|
| Perception | Visual cortex, which handles vision |
| Motor | Motor regions, which control movement |
| Working memory | Dorsolateral prefrontal cortex, at the front of the brain, which holds and updates short-term information |
| Declarative memory | Hippocampus and medial temporal lobe, which store long-lasting memories |
| Procedural memory | Basal ganglia, which help learn skills and select actions |
They compared this layout with two other network models on brain imaging data from four tasks and 103 people in total. The Common Model layout explained the data best in all four tasks, though the authors said the results were not yet conclusive.[5]
Evaluating architectures
Architectures are hard to test because each one is a whole system. Byrne names the gaps in what cognitive science knows and the difficulty of evaluating such theories as their main drawbacks.[23]
Newell gave two overlapping lists of 13 criteria that the human architecture must meet. Anderson and Lebiere reduced them to 12 criteria, including:[24]
- flexible behavior
- real-time performance
- adaptive behavior
- a vast knowledge base
- dynamic behavior
- knowledge integration
- natural language
- learning
- development
- evolution
- brain realization
They applied this Newell test to classical connectionism and to ACT-R.[24]
Comparing architectures directly also takes care. Experiments must control for the task and for how much knowledge each system is given, and should aim to find what gives each system its power instead of running simple contests.[1]
Applications
Architectures have moved from basic research into practical use.[1] Kotseruba and Tsotsos found over 900 practical projects built on the 84 architectures they reviewed.[7] Uses include:
- Believable agents for simulated training.[1]
- Computer tutoring systems.[1]
- Interactive computer games.[1]
- Design of human-machine systems. EPIC models predict the timing of eye movements, keystrokes, and speech for a proposed interface.[10]
Open questions
A long-standing open question is which kind of representation, if any, matches human thinking. Symbolic, emergent, and hybrid views have been debated for about thirty years.[7]
Other open problems include:
- Covering areas that are not yet well represented, such as spatial thinking.[23]
- Modeling factors that change performance, such as emotion and fatigue.[23]
- Filling the gaps that the Common Model's authors note it still has.[4]
Recent work links architectures to large language models. The CoALA framework (2023) borrows from cognitive architectures to describe language agents in terms of separate memory modules, a structured set of actions, and a decision process.[25]
References
- Cognitive Architectures: Research Issues and Challenges, Langley, Laird, and Rogers, Cognitive Systems Research, 2009.
- Précis of Unified Theories of Cognition, Newell, Behavioral and Brain Sciences, 1992.
- On Unified Theories of Cognition: A Response to the Reviews, Rosenbloom and Laird, Artificial Intelligence, 1993.
- A Standard Model of the Mind: Toward a Common Computational Framework across Artificial Intelligence, Cognitive Science, Neuroscience, and Robotics, Laird, Lebiere, and Rosenbloom, AI Magazine, 2017.
- Empirical Evidence from Neuroimaging Data for a Standard Model of the Mind, Stocco and colleagues, Proceedings of the Cognitive Science Society, 2018.
- Notes on The Society of Mind, Dawson, Biological Computation Project, University of Alberta.
- A Review of 40 Years of Cognitive Architecture Research: Core Cognitive Abilities and Practical Applications, Kotseruba and Tsotsos, arXiv, 2016.
- A Robust Layered Control System for a Mobile Robot, Brooks, IEEE Journal of Robotics and Automation, 1986.
- The EPIC Architecture for Modeling Human Information-Processing: A Brief Introduction (EPIC Tech. Rep. No. 1, TR-94/ONR-EPIC-1, listed on the EPIC project page), Kieras and Meyer, University of Michigan, 1994.
- The EPIC Architecture, Kieras, University of Michigan.
- The CLARION Cognitive Architecture: Extending Cognitive Modeling to Social Simulation, Sun, 2005.
- The LIDA Model of Global Workspace Theory, Baars and Franklin, International Journal of Machine Consciousness, 2009.
- The Leabra Framework, O'Reilly and Munakata, Computational Cognitive Neuroscience (3rd edition), LibreTexts.
- A Computational Theory of Executive Cognitive Processes and Multiple-Task Performance: Part 1. Basic Mechanisms, Meyer and Kieras, Psychological Review, 1997.
- An Integrated Theory of the Mind, Anderson, Bothell, Byrne, Douglass, Lebiere, and Qin, Psychological Review, 2004.
- How Can the Human Mind Occur in the Physical Universe?, Anderson, Oxford University Press, 2007.
- The SNePS Family, Shapiro and Rapaport, Computers and Mathematics with Applications, 1992.
- OpenCog Hyperon: A Framework for AGI at the Human Level and Beyond, Goertzel and colleagues, arXiv, 2023.
- Project Joshua Blue: Common Sense via Common Experience, Adams, Burbeck, Alvarado, and Latta, AAAI Fall Symposium, 2001.
- Object-Action Complexes: Grounded Abstractions of Sensory-Motor Processes, Krüger and colleagues, Robotics and Autonomous Systems, 2011.
- A Neuronal Model of a Global Workspace in Effortful Cognitive Tasks, Dehaene, Kerszberg, and Changeux, PNAS, 1998.
- The Sigma Cognitive Architecture and System: Towards Functionally Elegant Grand Unification, Rosenbloom, Demski, and Ustun, Journal of Artificial General Intelligence, 2016.
- Unified Theories of Cognition, Byrne, WIREs Cognitive Science, 2012.
- The Newell Test for a Theory of Cognition, Anderson and Lebiere, Behavioral and Brain Sciences, 2003.
- Cognitive Architectures for Language Agents, Sumers, Yao, Narasimhan, and Griffiths, arXiv, 2023.
