1. Home
  2. Explore
  3. Psychology
  4. Brain Generalization and Flexible Behavior

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Brain Generalization and Flexible Behavior

Cognitive Maps and Generalization in the Brain

Cognitive maps: organizing knowledge for flexible behavior

A cognitive map is an internal, structured representation of the world that helps an organism understand relationships among places, objects, events, and other relevant variables. It allows learned knowledge to be applied in situations the organism has not encountered before.

For example, someone who has learned to cook lasagna in their own kitchen can prepare it in a friend’s unfamiliar kitchen. They can separate the general procedure for cooking lasagna from the particular arrangement of their own kitchen, then use their general knowledge of kitchens to locate and operate unfamiliar appliances.

This kind of flexible behavior depends on representing more than specific experiences. The brain must identify relationships and regularities that apply across settings, rather than merely memorizing a separate response for every situation.


Behavioral evidence for cognitive maps

Tolman’s maze experiment

In a classic experiment, rats learned to navigate a familiar maze, called maze AAA, to reach food. They were then placed in a different maze, maze BBB, with several possible routes. The familiar route toward the food was blocked, forcing the rats to choose another path.

Two possible strategies predicted different choices:

  • Association-based learning: If the rats had simply learned which route was rewarded, they should choose a route most similar to the familiar, rewarded path, such as path nine or ten.

  • Map-based navigation: If the rats had formed an internal representation of the spatial layout, they could infer which new route pointed toward the food. This predicts a choice of path six, even though that path had not previously been associated with reward.

Rats often chose the route that led in the direction of the food, supporting the idea that they used a representation of spatial relationships rather than relying only on learned route–reward associations.

The cognitive-map idea proposes that animals can represent relationships in their surroundings and use those relationships to guide behavior in novel situations.

Although this idea was first developed through studies of spatial behavior, cognitive maps are now considered potentially useful for organizing knowledge in many domains.


The hippocampal formation and spatially selective neurons

The hippocampal formation, especially the hippocampus and entorhinal cortex, is widely considered central to cognitive mapping.

  • The hippocampus is associated with specific representations of places, objects, and experiences.

  • The entorhinal cortex acts as a major pathway through which information flows into and out of the hippocampus. It also provides spatial and relational signals that can help organize information.

Several types of neurons in these regions respond selectively to features of an animal’s environment.

Place cells

Place cells, found in the hippocampus, become active when an animal occupies a particular location in an environment. A cell’s active location can change across environments, so its response is often context-dependent.

Place cells are thought to contribute information about where the animal is in a particular setting.

Grid cells

Grid cells, found in the entorhinal cortex, fire at multiple locations arranged in a regular, approximately hexagonal pattern as an animal moves through an environment.

Their spatial pattern is relatively stable across surroundings compared with place-cell responses. Grid cells are therefore thought to provide a more general coordinate system that can support distance and movement computations.

Object-vector cells and landmark cells

These cell types represent spatial relationships between the animal and objects:

  • Object-vector cells, found in the entorhinal cortex, respond when an animal is at a particular distance and direction from an object. Their response can apply to different objects.

  • Landmark cells, found in the hippocampus, respond in relation to a particular, specific object rather than to any object.

Other spatially related cells

The hippocampal formation also contains:

  • Boundary cells, which respond to the presence or position of environmental boundaries.

  • Head-direction cells, which respond according to the direction in which the animal is facing.

Together, these different cell types provide complementary information about location, orientation, objects, and environmental structure.

A broad division of representational roles

A useful generalization is that the entorhinal cortex supplies relatively general spatial and relational structure, while the hippocampus represents more specific locations and landmarks within that structure.

This distinction is not absolute, but it helps explain how different neural signals may work together:

  • Entorhinal signals can provide a coordinate system and support vector-like computations, such as estimating direction and distance.

  • Hippocampal signals can identify particular places, objects, or experiences within that coordinate system.


Cognitive maps beyond physical space

Spatially selective coding is not limited to physical locations. Similar representational principles can apply to abstract or non-spatial variables.

Sound frequency as a one-dimensional space

In one type of task, rats learn to press a lever in response to different sound frequencies. Some hippocampal neurons become selective for a particular range of frequencies, in a way analogous to place cells responding to particular locations.

Entorhinal neurons can also show frequency-dependent activity. Their activity may form a periodic pattern resembling a grid-cell pattern compressed into a one-dimensional frequency space.

This suggests that the brain can treat a continuous abstract variable, such as frequency, as a space through which an animal can move.

Bird features as a two-dimensional conceptual space

In another study, people explored a conceptual space of bird silhouettes characterized by two dimensions: leg length and neck length. Participants used a controller to vary those features and form a target bird while their brain activity was measured with functional MRI.

Entorhinal activity showed signs of hexagonal symmetry as participants mentally moved through this conceptual space. This pattern is consistent with the kind of organization associated with grid-cell coding.

Together, these findings suggest that the hippocampal–entorhinal system may support multidimensional and multimodal representations: maps of relationships that can apply to physical locations, sensory features, or abstract concepts.


Relational graphs as a common structure

A way to unify physical and abstract spaces is through graph theory.

A graph consists of:

  • Vertices, or nodes, which represent entities, states, or locations.

  • Edges, which represent relationships or connections between pairs of nodes.

The nodes and edges can represent many different things. For example:

  • In a room, nodes can represent locations and edges can indicate which locations are adjacent.

  • In a family tree, nodes can represent people and edges can represent relationships such as parent or sibling.

  • In a conceptual space, nodes can represent possible states and edges can indicate how one state relates to another.

A two-dimensional environment can be represented as a graph by connecting each location to its neighboring locations. A family tree can also be represented as a graph, even though its relationships are not physical routes through a room.

The key idea is that different tasks may share an underlying relational structure even when their sensory inputs are very different.


Tracking position: path integration and relational updates

To use a map effectively, an organism must keep track of its current position or state within it.

Path integration in physical space

Path integration is the process of updating an estimate of one’s position by accumulating information about self-motion, such as movement direction and distance.

For example, an animal can estimate that a sequence of movements—north, west, south, and east—returns it to its starting point. This depends on combining successive movement vectors rather than relying only on external landmarks.

Many species, including insects, birds, rodents, and humans, can perform forms of path integration. Networks of grid cells have been proposed as part of the neural machinery that supports this ability. A computational account discussed in this context is attractor dynamics, in which activity in a neural network changes in a coordinated way as movement updates the represented position.

Path integration on arbitrary graphs

For a non-spatial graph, path integration requires an abstract way of combining relationships. Instead of accumulating physical directions and distances, the system must apply rules for how one relationship followed by another changes the current state.

For example, relationships in a family tree can be combined according to rules involving parent, sibling, and other links. The general computational task is similar to physical path integration: the system tracks how a sequence of transitions changes its current position in the structure.

Generalization through shared graph structure

A learned relational structure can be reused in new settings when the connections remain the same but the sensory content changes.

  • Navigating a conceptual space of bird features can have the same underlying organization as moving around a room.

  • A model of family relationships can be adapted to taxonomy if both have a tree-like structure, with the relations relabeled appropriately.

Thus, graph-based representations can support generalization by preserving relationships while allowing the particular entities or sensory cues to vary.


Latent spaces: variables that must be inferred

A latent space is a set of relevant states or dimensions that cannot be read directly from a single sensory cue. The organism must infer its position in that space from observations, remembered events, or sequences of experience.

Latent variables matter because behavior may depend on information that is not immediately visible in the environment.

Alternation in a T-maze

In an alternation task, a mouse runs through a T-shaped maze and chooses to turn left or right at a junction. The reward alternates sides from one trial to the next:

  • If the mouse turned left and received a reward on the previous trial, it should turn right on the next trial.

  • If it turned right previously, it should turn left on the next trial.

Physical location alone is not enough to solve the task. The mouse must also remember the direction of its previous turn.

A complete task representation therefore needs at least two components:

  • Physical position: where the mouse is in the maze.

  • Abstract trial state: whether the relevant previous choice was left or right.

As the mouse learns the alternation rule, its cognitive map can be understood as expanding to include a new dimension. The physical maze is effectively represented in two versions: one for left-turn trials and one for right-turn trials. The mouse’s state is then defined by both its physical location and its position in this abstract left–right dimension.

Splitter cells

Some hippocampal neurons are influenced both by an animal’s physical location and by the direction of its future turn. These are called splitter cells.

Their activity distinguishes locations that would otherwise appear identical in the physical maze but differ in the task-relevant abstract state. In this sense, they encode the animal’s position in an expanded cognitive map that includes both spatial and behavioral information.

The left-versus-right trial dimension is latent because it is not directly marked by a visible signal in the maze. The animal must infer it from the sequence of previous choices and outcomes.

Latent evidence in a tower-accumulation task

In a virtual-reality task, an animal runs along a track and encounters visual towers on both sides. At the end, it must choose whether to turn left or right. The reward is on the side with the larger number of towers.

For example, if the animal encounters nine towers on the left and seven on the right, the correct choice is left. The relevant variable is not simply the animal’s current physical position; it is the accumulated evidence about which side has more towers.

The latent evidence space can be described by the accumulated difference between the number of cues on each side. Hippocampal neurons can form place-like activity fields in this latent space, suggesting that the hippocampus can represent positions along abstract, task-relevant dimensions.

How latent spaces are constructed

Latent spaces are built from sequences of observations rather than from individual sensory cues alone. A remembered choice, accumulated evidence, or past outcome can influence the interpretation of the present situation and the action that should follow.

Including latent variables in a cognitive map allows the brain to track abstract states that are essential for behavior, even when those states are not directly observable.


Factorized representations and efficient generalization

To generalize across contexts, a cognitive map must distinguish the underlying structure of a situation from the specific sensory details present in that situation. This organization is called a factorized representation.

An analogy: predicting enjoyment of a car

Imagine that a person’s enjoyment of a car depends on two factors:

  • The car model

  • The car color

Let subjective enjoyment be represented by Γ\GammaΓ. In principle, the person could learn Γ\GammaΓ for every possible model–color combination, but that would require experiencing every combination.

Instead, the person might learn preferences along each dimension separately. For instance, they could learn whether they prefer blue or yellow across several models, and how much they like different models while holding color fixed.

If color preference is independent of model preference, then the joint pattern can be represented using separate factors. In probabilistic terms, independence allows a joint distribution to be expressed as the product of its marginal distributions:

P(model,color)=P(model)P(color)P(\text{model}, \text{color}) = P(\text{model})P(\text{color})P(model,color)=P(model)P(color)

The principle is that learning the component distributions can allow predictions for combinations that have never been experienced. This also requires less information than separately storing the value for every possible combination.

The brain faces an especially large version of this problem because cognitive maps may include many dimensions. Factorization can reduce the amount of information needed to represent possible combinations.

Structural and sensory components

In a cognitive map, experience can be understood as combining:

  • A structural component, which specifies a position or relationship within a relational graph.

  • A sensory component, which specifies the particular features of the current setting.

Separating these components makes it possible to preserve the structure while sensory details change. The same relationships can then support behavior in multiple environments.

Entorhinal inputs and hippocampal conjunction

Evidence for this separation appears in the organization of entorhinal inputs to the hippocampus:

  • The medial entorhinal cortex is associated with grid-like activity and relatively stable spatial structure across environments. It can provide information about a structural coordinate system.

  • The lateral entorhinal area provides more sensory-related information and does not show the same prominent grid patterns.

The hippocampus receives these different streams and forms a conjunctive representation that combines them. In this account, hippocampal activity embeds specific sensory information within a structural framework, helping the animal represent a particular experience in a particular context.

Hippocampal remapping

Hippocampal remapping is the tendency of place cells to change their firing patterns when the sensory context changes.

For example, a cell that responds when an animal is in the middle of a room may shift its preferred location, or stop firing, after the room’s odor is altered. This shows that hippocampal place-cell responses are sensitive to the combination of location and context.

This contrasts with grid-cell activity, which is relatively more stable across contextual changes and is thought to reflect a more general spatial structure. The difference is consistent with a distinction between:

  • A relatively context-invariant structural representation.

  • A context-sensitive representation that combines structure with sensory details.


Why cognitive maps support flexible behavior

Cognitive maps allow the brain to exploit regularities and repeated structures in the world. Once a relation has been learned, it can be reused rather than learned separately in every new situation.

For example, a transitive relationship such as “if AAA is larger than BBB and BBB is larger than CCC, then AAA is larger than CCC” can apply across many domains, including object sizes, distances, sound frequencies, or other ordered quantities.

This reuse can:

  • Reduce the need to learn every situation from scratch.

  • Support predictions about combinations or contexts not previously experienced.

  • Make complex behavioral problems more computationally manageable.

  • Allow the same relational framework to be applied to different sensory domains.

The hippocampal–entorhinal system is proposed to support this flexibility by representing relational structure, tracking position within that structure, incorporating latent variables, and combining structure with sensory context.


Integrated view

A cognitive map is not necessarily a literal map of physical space. It is a systematic way of organizing information about relationships among states, places, objects, or events.

The overall account brings together several ideas:

  1. Relational structure: Knowledge can be organized as a graph of nodes and connections.

  2. Position tracking: Path integration or analogous relational updates keep track of the current state within that graph.

  3. Latent variables: Relevant dimensions may need to be inferred from remembered or accumulated observations.

  4. Factorization: Structural relationships can be represented separately from sensory details, supporting reuse across settings.

  5. Conjunctive coding: The hippocampus can combine structural and sensory information to represent specific situations.

These ideas offer a way to understand how the same general machinery could support maze navigation, sound-frequency tasks, abstract conceptual spaces, or everyday activities such as cooking in an unfamiliar kitchen.

The framework remains a topic of ongoing research, and there is not yet a single agreed-upon interpretation of all the neural and behavioral evidence.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent