Search topics and sections

Randall D. Beer is a cognitive scientist and roboticist at Indiana University Bloomington.[1] Cognitive science studies cognition, meaning mental processes such as perceiving, learning, and thinking. Beer's research asks how coordinated behavior comes from the interaction of an animal's nervous system, its body, and its environment.[1]

Beer builds agents, which are simulated animals and robots that sense and act in their environment. He lets a computer evolve their model nervous systems. This means improving them through repeated rounds of random variation and selection, modeled on natural selection.[2] He then uses the mathematics of dynamical systems, systems that change over time, to work out how the agents behave.[3]

Career

Beer spent his early career at Case Western Reserve University and moved to Indiana University in 2006.[1]

Years Role
1989 PhD in computer science, Case Western Reserve University
1989 to 2006 Professor of electrical engineering and computer science, biology, and cognitive science, Case Western Reserve University
1995 to 1996 Visiting scientist at the Santa Fe Institute, then external faculty there for the next six years
2006 Joined the Cognitive Science Program, Indiana University
Current Provost Professor of Cognitive Science and of Informatics and Computing, Indiana University

Indiana's Cognitive Science Program lists his fields as:[4]

At Indiana he has directed a graduate training program funded by the National Science Foundation. The program covers the dynamics of brain, body, and environment interaction in behavior and cognition.[1]

He has also taught courses on autonomous robotics and on dynamical systems in cognitive science.[1][5]

The central idea

Beer argues that the brain alone is the wrong thing to study when trying to explain behavior. In his view, the smallest useful unit is a whole brain-body-environment system.[6] Behavior is a property of that whole system and cannot in general be credited to any one part.[6]

Brain-body-environment loop sensing action Agent Nervous system motor commands body feedback Body Environment Behavior comes from the coupled system
Randall Beer's brain-body-environment view. The nervous system sits inside a body, the body sits inside an environment, and sensing, action, motor commands and body feedback connect them in one loop, so behavior comes from the coupled system as a whole.

In a 1997 review, Hillel Chiel and Beer gathered evidence for this view from animal studies. They pointed out these effects:[7]

  • The body filters what the nervous system can sense.
  • The body limits what movements the nervous system can command.
  • The body can make some control problems easier.
  • The nervous system receives constant feedback from the movements it causes and from the world around it.

Chiel and Beer compared two pictures of the nervous system. The common one treats it as a conductor that directs the body. They proposed instead that it is one of several players improvising together, with behavior coming from the give and take between them.[7]

Model insects and walking robots

A simulated insect

Beer's dissertation and his 1990 book, Intelligence as Adaptive Behavior: An Experiment in Computational Neuroethology, modeled the nervous system of an artificial insect.[8][9]

Computational neuroethology is the computer modeling of how nervous systems control behavior. Beer was one of three groups who coined the term around 1990.[8]

Artificial intelligence (AI) is the use of computers to perform tasks that seem to need human intelligence. The book argued that traditional AI systems were too narrow and inflexible for changing settings such as autonomous robot navigation, where a robot finds its way without direct human control.[9] It proposed treating intelligence as adaptive behavior instead.

The simulated insect, called Periplaneta computatrix, had these parts and abilities:[8]

  • Six legs that swung back and forth, with feet that could grip and release the ground.
  • Antennae with touch sensors and long-range chemical sensors, and a mouth that could bite.
  • An internal energy store that ran down at a fixed rate and had to be refilled by eating.
  • A set of behaviors including walking in several gaits (patterns of leg movement), wandering, following edges, and finding and eating food.

A neural circuit is a connected group of neurons that helps produce a behavior. The insect's walking circuit was based on Pearson's model of cockroach walking, and its feeding circuit drew on studies of the sea slug Aplysia.[8]

Cutting parts of the walking circuit showed an interaction between central and peripheral (sensory feedback) mechanisms in producing different gaits.[8]

From simulation to real robots

Beer and his colleagues later ran insect-based walking controllers on real six-legged robots. These controllers were neural networks, sets of connected model neurons that pass signals to one another.[10]

Year Study Result
1992 Beer, Chiel, Roger Quinn, Kenneth Espenschied, and Patrik Larsson drove a real robot with a neural network based on insect walking.[11] The robot showed a range of gaits and an ability to withstand damage similar to those seen in simulation.[11]
1996 John Gallagher, Beer, and colleagues ran walking controllers evolved in simulation on a robot about 50 by 30 cm that weighed about 1 kg.[12] Many of the useful properties seen in simulation carried over to the robot.[12]

In the 1992 simulation, the network produced a continuous range of stable insect-like gaits as the activity of a single command neuron was turned up or down. A command neuron here is one neuron whose activity level was used to set the gait.[11] The simulated network also kept working after many kinds of damage.[11]

Evolving neural networks

From 1992 Beer also evolved controllers, the systems that direct an agent's actions, instead of designing them by hand.[10] Evolutionary methods use a genetic algorithm to tune a model nervous system so that the whole agent performs a task well, and the evolved agent is then analyzed to learn how it works.[8]

The CTRNN model

Beer's agents are usually controlled by a continuous-time recurrent neural network (CTRNN). This is a recurrent neural network whose neurons change smoothly over time and may feed back on one another.[10] A common form of its state equation is:[2]

τidyidt=−yi+∑j=1Nwji σ(gj(yj+θj))+Ii,i=1,…,N\tau_i \frac{dy_i}{dt} = -y_i + \sum_{j=1}^{N} w_{ji}\,\sigma\big(g_j(y_j + \theta_j)\big) + I_i, \qquad i = 1, \dots, N
σ(x)=11+e−x\sigma(x) = \frac{1}{1 + e^{-x}}
  • yiy_i is the state of neuron ii.
  • τi\tau_i is its time constant, a positive number that sets how fast it responds.
  • wjiw_{ji} is the strength of the connection from neuron jj to neuron ii.
  • gjg_j is a gain, which scales how strongly the neuron responds to its input.
  • θj\theta_j is a bias, which shifts the firing threshold, the input level at which the neuron becomes active.[10]
  • σ\sigma is the standard logistic function. Its output can be read as a short-term average firing rate.[10]
  • IiI_i is an external input, such as a sensor signal.
  • NN is the number of neurons.

The 1992 version of the model had no gain term.[10]

Beer and Gallagher did not require the weights to be symmetric. As a result these networks can do more than settle to a steady state, a state that no longer changes over time.[10]

Evolving walking and chemotaxis

In 1992 Beer and Gallagher showed that a genetic algorithm could evolve effective CTRNN controllers.[10]

An advantage of this approach was that they only had to score the agent's overall performance, not specify the exact motor outputs.[10]

They evolved controllers for two tasks:[10]

  • Chemotaxis, moving toward or away from a chemical. The evolved controller switched strategies depending on conditions.
  • Walking, for a simulated six-legged insect.

Each leg was run by a fully connected network of five neurons, with these roles:[10]

  • Three motor neurons controlled the foot and the forward and backward swing torques (a torque is a turning force).
  • Two interneurons, neurons that are neither sensory nor motor, linked into the rest of the network.

Each leg network had 40 parameters, the tunable values the algorithm adjusted:[10]

  • 5 thresholds
  • 5 time constants
  • 25 connection weights
  • 5 sensor weights

The experiments compared three kinds of leg controller:[10]

  • Controllers evolved with a leg-angle sensor relied fully on it. Removing the sensor left only a single step.
  • Controllers evolved with the sensor always off became central pattern generators, which produce rhythm without feedback. These evolved in four of five runs but performed worse.
  • Mixed controllers, scored both with and without the sensor, walked well with it and still stepped without it.
Insect tripod gait front L1 L2 L3 R1 R2 R3 Tripod A Tripod B swing stance L1 L2 L3 R1 R2 R3 time
In the tripod gait, legs L1, R2 and L3 (tripod A) swing together, then R1, L2 and R3 (tripod B) swing. The two tripods alternate exactly out of phase, so three feet are always on the ground. In the stepping chart, bars mark swing and gaps mark stance.

In all 11 full-body runs, evolution settled on the tripod gait.[10]

In this gait the front and back legs on one side swing in step with the middle leg on the other side, exactly out of phase with the other three legs.[10] The tripod gait is common among fast-walking insects.[10]

Theory of CTRNNs

Beer has also studied CTRNNs as mathematical objects. He describes the model as simple but dynamically universal.[13] This means that, given enough neurons, a CTRNN can in principle approximate any dynamics to any precision.[14]

A circuit's parameter space is the set of all possible settings of its weights, biases, and time constants.

In a 2006 study, Beer used bifurcation theory to map this space:[13]

  • He computed, for CTRNNs in general, the surfaces in parameter space where a circuit's behavior changes qualitatively.
  • He drew these surfaces for small circuits.
  • He characterized an approximation of the regions they divide space into, for circuits of any size.
  • He used those regions to estimate how likely different kinds of dynamics are.

Later work extended this analysis to more complex bifurcations. It worked out the conditions for CTRNNs in general and applied them in detail to circuits of one to four neurons.[15]

Dynamical systems framework

What a dynamical system is

Beer uses "dynamical system" in a precise mathematical sense. He defines it as a mathematical object that describes, without ambiguity, how the state of a system changes over time.[3] Formally, it is a triple:

⟨T,S,ϕ⟩\langle T, S, \phi \rangle
  • TT is an ordered set of times, which may be continuous or discrete.
  • SS is the state space, the set of all possible states. It may be numerical or symbolic, continuous or discrete, and finite- or infinite-dimensional.
  • ϕt:S→S\phi_t : S \to S is the evolution operator. It takes an initial state x0∈Sx_0 \in S at time t0∈Tt_0 \in T to a state xt∈Sx_t \in S at time t∈Tt \in T.

The evolution operator may have inputs, in which case the system is called non-autonomous, or no inputs, in which case it is autonomous.[3] (The letter SS for state space is unrelated to the sensory function SS below.)

Beer gives these examples of dynamical systems:[3]

  • Differential equations, which describe continuous change.
  • Difference equations, which describe change in discrete steps.
  • Cellular automata, grids of cells that update by fixed rules.
  • Finite state machines, which switch among a limited set of states.
  • Turing machines, abstract rule-following computers.

Agent and environment as coupled systems

Beer's 1995 paper in Artificial Intelligence set out a general framework for designing and analyzing autonomous agents.[16] In it, an agent and its environment are modeled as two coupled dynamical systems whose interaction is jointly responsible for the agent's behavior.[16] In simplified form, the coupling is written as:[17]

x˙A=A(xA; S(xE))\dot{x}_A = A\big(x_A;\, S(x_E)\big)
x˙E=E(xE; M(xA))\dot{x}_E = E\big(x_E;\, M(x_A)\big)
  • xAx_A is the state of the agent and AA is the agent's dynamics.
  • xEx_E is the state of the environment and EE is the environment's dynamics.
  • SS is a sensory function. It maps environmental state to parameters of the agent, so S(xE)S(x_E) is the agent's sensory input.
  • MM is a motor function. It maps agent state to parameters of the environment, so M(xA)M(x_A) is the agent's motor output.
  • A dot over a variable means its rate of change in time.

Beer's full version also includes extra parameters of each system that play no part in the coupling.[17] In his words, each of the two systems is "continuously deforming the flow of the other", and together they form one larger system whose state variables are those of both.[17]

A trajectory is the path a system's state follows over time. Beer defines how well an agent fits its environment as whether the trajectories of the coupled system meet a given condition, called a constraint.[16] The paper demonstrated the framework on a walking legged agent.[16]

Consequences

In later writing, Beer drew out several consequences of this view:[6]

  • A coupled system usually behaves quite differently from its parts in isolation.
  • The whole brain-body-environment system is autonomous, but brain, body, and environment are each non-autonomous, driven by inputs from the others. Studying one alone means asking how it responds to different patterns of input.
  • Internal state lets an agent use regular patterns in its environment, so it is not a simple stimulus-response machine.
  • Real environments change on many timescales, so agents need internal dynamics on many timescales as well.

Minimally cognitive behavior

Beer proposed studying minimally cognitive behavior, "the simplest behavior that raises issues of genuine cognitive interest".[3]

The idea is to build and fully analyze simple model agents first, then add complexity step by step.[6]

The circle and diamond experiment

A well-known example is Beer's circle and diamond experiment, first reported in 1996 and analyzed in depth in 2003.[3][18] It is a model of categorical perception, the sorting of continuous sensory signals into separate categories.[3]

Beer's circle and diamond categorical perception task and network Task Network circle: catch diamond: avoid falls falls moves left or right moves left or right 7 ray sensory neurons 5 interneurons 2 motor neurons
In Beer's categorical perception task, an agent moves left or right and senses a falling object with seven rays spread over π/6\pi/6. It must catch a circle and avoid a diamond. Its network has 7 ray sensory neurons, 5 fully interconnected interneurons, and 2 motor neurons.

The setup worked as follows:[3]

  1. An object, either a circle or a diamond, falls from above.
  2. The agent, a circular body of diameter 30, senses it with seven distance rays spread over an angle of π/6\pi/6.
  3. The rays feed seven sensory neurons, which connect to five fully interconnected interneurons and then to two motor neurons.
  4. The motor neurons move the agent left or right. It must catch circles and avoid diamonds.

The best evolved agent scored 99.83% on its 24 training trials and 97.08% on 10,000 random trials.[3]

It first moved to center the object in view, then scanned back and forth. For a circle the scans narrowed until it was centered, while for a diamond it made a large move away.[3]

Beer analyzed this agent at three levels:[3]

  1. The whole coupled brain, body, and environment system.
  2. The interaction between agent and environment that produces those dynamics.
  3. The neuron properties behind the agent's dynamics.

The example makes the framework concrete. An n-dimensional system is one whose state is given by n numbers. The neural circuit alone is a 14-dimensional non-autonomous system, driven by outside inputs, while the coupled system of circuit, body, and falling object is a 16-dimensional autonomous system with no outside inputs.[19]

Other behaviors studied

Using the same method, Beer and his coworkers have evolved model agents for many tasks, including:[6]

  • locomotion
  • chemotaxis
  • visually guided catching
  • pointing
  • judging whether a gap is passable
  • short-term memory
  • learning
  • switching between actions
  • relational categorization, grouping things by how they relate to one another
  • selective attention, focusing on some information while ignoring other information
  • referential communication, using signals to refer to things for another agent

Representation and explanation

The challenge to representation

The 2003 paper discussed the challenges its analysis posed to traditional notions of representation, meaning internal states that stand for things in the world.[3]

Beer explained the agent's behavior using only dynamical systems ideas.[3]

The 2000 review

In a 2000 review, Beer compared three dynamical models:[19]

  • A model of the structure of language.
  • A model of the A-not-B error. After a short delay, most infants aged 7 to 12 months still reach for an object at its old hiding place, even though they saw it hidden in a new one.
  • His own categorizing agent.

Beer argued that the three models share a focus on the unfolding path of a system's state and the forces that shape it, rather than on what its states represent.[19]

He saw dynamical ideas joined with a situated and embodied view of cognition as a promising unified framework for cognitive science.[19]

Information theory

Beer has also used information theory to study how evolved agents work. In 2010, Paul L. Williams and Beer proposed the partial information decomposition.[20] It splits the information that several sources give about a target variable into parts that are never negative:[20]

  • Redundant information, which each source gives on its own.
  • Unique information, which only one source gives.
  • Synergistic information, which only the sources taken together give.

The most widely used earlier way to extend information measures to several variables is called interaction information.[20] It measures the information shared among a set of variables beyond what is shared within any smaller subset of them.[21] It can be negative, and the decomposition explains this as a mixing of redundancy and synergy.[20]

In a 2015 study, Beer and Williams analyzed one evolved agent in two ways and proposed a way to relate the results.[22]

Method What it showed
Information theory How task-relevant information flowed through the system into a decision
Dynamical systems theory The geometric and timing relationships behind that decision

Autopoiesis and the Game of Life

Since about 2004 Beer has used Conway's Game of Life to make ideas about life and cognition precise.[23] The Game of Life is a cellular automaton, a grid of cells that live or die by simple rules at each step.

A glider is a five-cell pattern that repeats its shape every four generations, shifted one cell diagonally.[24] Beer treats a glider as a toy model of a living thing that keeps itself going.

Five generations of a glider in Conway's Game of LifestepstepstepstepGeneration 0Generation 1Generation 2Generation 3Generation 4Same shape, shifted one cell diagonally
A glider in Conway's Game of Life over four steps, shown on a 6 by 6 patch of cells. After four generations the same five-cell shape reappears one cell down and one cell to the right.

The central concept is Autopoiesis, from Humberto Maturana and Francisco Varela. It views a living system as a self-supporting network of processes that must keep maintaining itself to survive.[6] The work has three main steps:

Year Contribution
2004 Beer examined a glider in autopoietic terms to clarify key ideas and open questions, and related this view to dynamical work on embodied agents.[23]
2014 He sorted the possible disturbances to a glider into those that destroy it and those it survives. From its reactions to the survivable ones he mapped its "cognitive domain", the set of disturbances it can meet and how it responds to each. He also gave an example of two gliders interacting.[25]
2023 With Ezequiel Di Paolo, he used a glider to analyze precariousness, the way a living system can fall apart without ongoing upkeep. This is a core idea of enaction, an approach to cognition that grew out of Maturana and Varela's work.[26]

Beer and Di Paolo separated three kinds of fragility:[26][27]

  • Systemic fragility. The system as a whole can lose its integrity and fall apart.
  • Processual fragility. The processes that make up the system also run down and disappear without the support of the whole network.
  • Thermodynamic fragility. The system's very form depends on physical conditions such as reaction rates and energy flows.

A glider shows systemic and processual fragility, but it is not thermodynamically fragile in their sense.[27] They argued that each kind depends on which aspects of a system are fixed by its definition from the start and which emerge and so can break down.[26]

Views on dynamics in cognitive science

Beer has argued that the bare mathematical idea of a dynamical system is too weak to serve as a scientific theory on its own.[6]

Tim van Gelder's "Dynamical Hypothesis" made two claims:[6]

  • Cognitive systems are best studied as dynamical systems.
  • Cognitive systems literally are dynamical systems.

Beer calls the first claim widely accepted in the natural sciences. He says the second makes no sense, because it confuses natural systems with the mathematics used to model them. He also notes that the hypothesis makes no testable predictions.[6]

In its place, his 2023 essay sketches a framework built on several traditions:[6]

  • dynamical systems theory
  • situated and embodied cognition
  • ecological psychology
  • enaction
  • neuroethology and neuroscience
  • artificial life
  • biogenic approaches, which ground cognition in biology

The essay states a continuity principle. Human abilities are more developed forms of simpler ones, so understanding the simplest cases first gives a base for the harder ones.[6] The essay ends with suggestions on methods for pursuing this framework.[6]

Reception and criticism

The Stanford Encyclopedia of Philosophy lists categorization in Beer's simulated agent among the influential examples of dynamical explanations of cognition.[28]

Marco Mirolli described Beer's 2003 paper as influential. He also called Beer one of the most influential representational skeptics, researchers who doubt that cognition needs internal representations.[18]

Mirolli repeated the task and found internal states that tracked object type but did not use them in a way that counted as representation.[18]

On a modified task that required memory, he did find states that met his standards for representation.[18]

Philosophers have also debated whether dynamical equations explain cognition or only describe it. Anthony Chemero and Beer hold that they explain, while Eric Dietrich and Arthur Markman argue that they describe.[28]

Beer lists other criticisms of his method:[6]

  • Doubts that it can scale up to more fully cognitive behavior.
  • Doubts that we can understand more complex dynamical systems.
  • Concerns about making direct contact with experiments.

Critics he names include Andy Clark and Josefa Toribio, Shimon Edelman, and Barbara Webb, and he has replied to these points in several papers.[6]

References

  1. Randall Beer: People Directory, Luddy School of Informatics, Computing, and Engineering, Indiana University.
  2. Further Experiments in the Evolution of Minimally Cognitive Behavior: From Perceiving Affordances to Selective Attention, A. C. Slocum, D. C. Downey, and R. D. Beer, From Animals to Animats 6, 2000.
  3. The Dynamics of Active Categorical Perception in an Evolved Model Agent, R. D. Beer, Adaptive Behavior, 2003.
  4. Faculty with Effort: Directory, Cognitive Science Program, Indiana University.
  5. Randall Beer: Faculty Directory, Cognitive Science Program, Indiana University.
  6. On the Proper Treatment of Dynamics in Cognitive Science, R. D. Beer, Topics in Cognitive Science, 2023.
  7. The brain has a body: adaptive behavior emerges from interactions of nervous system, body and environment, H. J. Chiel and R. D. Beer, Trends in Neurosciences, 1997.
  8. Computational neuroethology, R. D. Beer and H. J. Chiel, Scholarpedia.
  9. Intelligence As Adaptive Behavior: An Experiment in Computational Neuroethology, R. D. Beer, Academic Press, 1990.
  10. Evolving Dynamical Neural Networks for Adaptive Behavior, R. D. Beer and J. C. Gallagher, Adaptive Behavior, 1992.
  11. A Distributed Neural Network Architecture for Hexapod Robot Locomotion, R. D. Beer, H. J. Chiel, R. D. Quinn, K. S. Espenschied, and P. Larsson, Neural Computation, 1992.
  12. Application of evolved locomotion controllers to a hexapod robot, J. C. Gallagher et al., Robotics and Autonomous Systems, 1996.
  13. Parameter Space Structure of Continuous-Time Recurrent Neural Networks, R. D. Beer, Neural Computation, 2006.
  14. Associative Learning on a Continuum in Evolved Dynamical Neural Networks, E. Izquierdo, I. Harvey, and R. D. Beer, Adaptive Behavior, 2008.
  15. The Global Structure of Codimension-2 Local Bifurcations in Continuous-Time Recurrent Neural Networks, R. D. Beer, arXiv, 2021.
  16. A dynamical systems perspective on agent-environment interaction (abstract), R. D. Beer, Artificial Intelligence 72, 1995.
  17. Breaking explanatory boundaries: flexible borders and plastic minds, M. D. Kirchhoff and R. Meyer, Phenomenology and the Cognitive Sciences, 2017 (presents and quotes Beer's 1995 coupled agent-environment equations).
  18. Representations in Dynamical Embodied Agents: Re-Analyzing a Minimally Cognitive Model Agent, M. Mirolli, Cognitive Science, 2012.
  19. Dynamical approaches to cognitive science, R. D. Beer, Trends in Cognitive Sciences, 2000.
  20. Nonnegative Decomposition of Multivariate Information, P. L. Williams and R. D. Beer, arXiv, 2010.
  21. Interaction Information for Causal Inference: The Case of Directed Triangle, arXiv, 2017.
  22. Information Processing and Dynamics in Minimally Cognitive Agents, R. D. Beer and P. L. Williams, Cognitive Science, 2015.
  23. Autopoiesis and cognition in the game of life, R. D. Beer, Artificial Life, 2004.
  24. Conway's Game of Life (lecture slides), MIT OpenCourseWare, 2010.
  25. The Cognitive Domain of a Glider in the Game of Life, R. D. Beer, Artificial Life, 2014.
  26. The theoretical foundations of enaction: Precariousness, R. D. Beer and E. A. Di Paolo, BioSystems, 2023.
  27. The theoretical foundations of enaction: Precariousness (full text), R. D. Beer and E. A. Di Paolo, BioSystems, 2023 (author's copy).
  28. Embodied Cognition, Stanford Encyclopedia of Philosophy, Spring 2023 edition.

Figure