A Grid Cell-Inspired Structured Vector Algebra for Cognitive Maps

Sven Krausse, Emre Neftci, Friedrich T. Sommer, Alpha Renner

TL;DR

This paper introduces Grid-Cell Vector Symbolic Architecture (GC-VSA), a neuro-symbolic framework that bridges the gap between spatial navigation and abstract reasoning. By structuring hyperdimensional vectors into 3D modules that mimic the scale and orientation of biological grid cells, the model naturally replicates biological hexagonal receptive fields. The architecture successfully unifies physical path integration, spatio-temporal scene memory, and hierarchical symbolic reasoning within a single vector algebra.

What Problem Does This Paper Address?

The mammalian brain’s entorhinal-hippocampal formation is a master of generalization, using grid cells to map both physical environments and abstract conceptual spaces (like social hierarchies or semantic relationships). However, modeling this dual capability has historically forced a compromise:

  1. Neuroscience models like Continuous Attractor Networks (CANs) excel at tracking physical coordinates via path integration but struggle with abstract, symbolic data structures.
  2. Neuro-symbolic models like Vector Symbolic Architectures (VSAs) excel at algorithmic logic and hierarchical reasoning but fail to naturally replicate the biological, hexagonal firing patterns observed in real grid cells.

The authors address this disconnect by proposing a unified computational framework that preserves the symbolic power of VSAs while natively producing biologically plausible grid-cell responses.

Methods

The authors introduce GC-VSA, a structured variant of Fourier Holographic Reduced Representations (FHRR).

Instead of representing concepts as flat vectors of complex numbers, GC-VSA organizes hyperdimensional vectors into a 5D tensor composed of 3D neuronal modules ($n \times n \times n$ cubes, where $n=3$). These modules are systematically arranged across discrete spatial scales and orientations, directly mirroring the anatomical organization of the medial entorhinal cortex.

Fig. 1. Schematic of the proposed GC-VSA. a: Geometric analogy of the binding operation with FPE encoded vectors: Here, binding corresponds to vector addition in 2D Euclidean space. b: Visualization of how the 3D module activation is constructed from the outer sum of 3 cosines. Depending on the three phases along the three axes u, v, w, a cosine grating with the corresponding phase shift is used along the corresponding axis, as indicated by the heatmap at each of the three sides of the cube. The activity at each point in the cube is then computed as the outer sum of these three cosine gratings. c: Schematic of the encoding scheme and the binding operation. Encoding tensors consist of a set of cubes with varying orientations and scales (i.e., relative angles and vector lengths between the hexagonal (pink) and cartesian (black) coordinate system in panel d). Each tensor consists of nθ × ns modules (nθ = 2, ns = 3 is visualized here, nθ = 23, ns = 5 in the simulations), and each module consists of n × n × n neurons (here n = 3). The activity pattern of each module is shown in panel b. This activity pattern is discretized by an equidistantly spaced grid of the n × n × n neurons, as visualized in the middle modules for each vector. The binding operation functions as a circular convolution for each module of the same scale and orientation. This can be seen in the activity patterns of the three modules, where V3 is the activity pattern resulting from a 3D circular convolution of the activity pattern of V1 by the activity pattern in V2. d: Mapping of 2D space with one periodic 3D module. The image shows the 2D projection of the activity of a single 3D module, as shown in panel b. The three axes of the cube (u, v, w, pink) in panel b are projected to 3 hexagonal axes in 2D space that are 120◦apart. Each hexagon shows an identical repeated activity pattern (as it is derived from the same module). The scale and orientation of the hexagonal coordinates (u, v, w) with respect to the cartesian coordinates (x, y) depends on the scale and rotation of the 3D module we use to project onto the 2D plane. Intuitively, to encode position V1 (green), the activity pattern is shifted to have a bump at the tip of the vector. When this is done for all modules, they constructively interfere at this location and destructively at other locations (see Fig. 2c) [1].

Key algebraic operations include:

  • Space Encoding: 2D Cartesian coordinates are rotated and projected into a 3D hexagonal coordinate system, generating an outer sum of phase-shifted harmonic cosine functions within the 3D modules.
  • Bundling ($\oplus$): Element-wise addition used to represent sets of objects or locations.
  • Binding ($\odot$): Module-wise 3D circular convolution, which shifts spatial phases and allows for continuous navigation.
  • Rotation ($\otimes$): A novel VSA operation introduced in this paper. By exploiting the geometric arrangement of the modules, the model can physically rotate encoded 2D spatial scenes directly within the vector space via circular permutation along orientation rings.

Datasets

Because this is a foundational theoretical paper, the authors evaluate GC-VSA using three synthetic, proof-of-principle simulation benchmarks:

  1. Path Integration Trajectory: A simulated 2D random walk used to evaluate continuous location tracking.
  2. Spatio-Temporal Scene: A synthetic environment containing 5 distinct symbolic objects (e.g., apple, banana) distributed across 4 discrete time steps.
  3. Family Trees: Two distinct binary trees representing hierarchical family relationships, used to test abstract structural mapping and analogical reasoning.

Key Insights and Ideas

  • Single-Neuron Hexagonal Fields: In previous VSA models, hexagonal grid patterns only appeared globally in the code's similarity kernel, while individual simulated neurons fired in simple linear gratings. GC-VSA is the first VSA variant where individual neurons natively exhibit realistic hexagonal receptive fields.
  • Unifying Competing Theories: GC-VSA elegantly bridges two historically competing neuroscience theories. It mathematically functions like an Oscillatory Interference/Velocity-Controlled Oscillator (VCO) model because binding performs phase addition in the Fourier domain. Concurrently, it physically behaves like a Continuous Attractor Network (CAN) because these phase shifts manifest as localized activity bumps moving across a neural sheet.
  • Geometric VSA Structure: Giving hyperdimensional vectors an explicit internal geometry (sorting modules by scale and orientation) unlocks spatial operations like native rotation, which are typically unavailable or highly inefficient in standard VSAs.

Key Results

The model was validated across three core cognitive tasks:

  • Accurate Path Integration: By repeatedly binding velocity vectors, the model successfully tracked a 2D trajectory over 100 timesteps with a remarkably low Mean Squared Error (MSE) of 0.17 pixels under noise-free conditions.
  • Spatio-Temporal Scene Factorization: When queried with a complex, bundled scene vector, a resonator network successfully decoupled and retrieved an object's identity, 2D position, and time coordinate in under 25 iterations.
Simulation results demonstrating trajectory tracking via path integration and iterative feature decoding using a resonator network.
  • Abstract Analogical Reasoning: By unbinding one family tree from another, GC-VSA computed a structural mapping vector ($M_{AB}$). Applying this vector to a member of the first tree successfully identified their exact structural analog in the second tree (e.g., correctly identifying that "Harry" occupies the same relational role as "Charles").

Limitations and Future Work

  • Localized Rotations: The newly introduced rotation operation is mathematically constrained to vectors representing 2D locations close to the rotation center; accuracy degrades as distance increases.
  • No Synaptic Plasticity: The current framework operates purely as a working memory model using pre-wired, hardcoded geometric structures. It lacks recurrent connectivity or dynamic learning.
  • Future Directions: The authors suggest implementing biologically plausible learning mechanisms (such as Hopfield-like learning rules to form auto-associative matrices) and exploring structural parallels to Rotary Positional Embeddings (RoPE) utilized in modern Transformer architectures.

Summary updated

BibTeX
@inproceedings{krausse2025grid,
  author = {Sven Krausse and Emre Neftci and Friedrich T. Sommer and Alpha Renner},
  title = {{A Grid Cell-Inspired Structured Vector Algebra for Cognitive Maps}},
  booktitle = {NICE},
  year = {2025},
  doi = {10.1109/nice65350.2025.11065704},
}
Figure