Distance by de-correlation: Computing distance with heterogeneous grid cells

arXiv:2511.08292 · q-bio.NC · Submitted 2025-11-11 · Read on arXiv

Listen

Radio episode about this paper

Transcript

Introduction to the show: ident: Genomics Radio. Generated commentary on the latest computational biology and genomics papers.

Ines: We're looking at the paper: "Distance by de-correlation".

Paper summary: Ines: So we’re looking at this paper called "Distance by de-correlation: Computing distance with heterogeneous grid cells," and basically it’s about how you can encode distance in space using these grid cells, which are neurons in the medial entorhinal cortex.

Marcus: The main idea here is that if those grid properties aren't perfectly uniform—if they have variability—that variability actually helps us do distance coding more efficiently.

Yuki: That sounds interesting because we’re thinking about how those population levels, the overall activity of many cells, can be used to figure out where you are in space.

Ines: Exactly. The authors develop a mathematical theory to explain how this grid property variability shapes that code and they simulate noisy grid cell populations to explore the trade-offs between how well you can distinguish between different distances and how far away those distances actually get coded.

Marcus: It seems like they are trying to figure out if this variability is just some noise or if it’s a real feature that helps the system.

Yuki: Yeah, because we've seen evidence suggesting there's this small but robust heterogeneity in grid properties, and this paper tries to build a mathematical framework around that.

Ines: The theory predicts some pretty non-intuitive things about how distance is encoded. They found a prediction where some distances further away are better encoded than some distances that are nearer to the starting point.

Marcus: That's what they highlight, right? It’s not just a simple decay of correlation with distance; there's this complex relationship.

Yuki: It’s about how the heterogeneity in grid properties affects the population vector correlation of grid cells as you move in one dimension.

Ines: They model it by looking at how each cell activity is a sum of Gaussians and then taking an ensemble average when you sample those grid spacings from some distribution.

Marcus: When you look at those predictions, they land on three main points: first, the correlation smoothly decays as the distance increases; second, that decay rate gets faster if the variability in spacing gets bigger because sigma k is proportional to sigma lambda; and third, there's a decrease in how fast it decays if the grid spacing itself gets larger because sigma k is proportional to one over lambda squared.

Paper summary: Ines: That’s a lot of math packed into those three points, but what they connect that theory to experimentally is really important for us.

Marcus: They show that preliminary analysis from neurophysiological recordings and behavioral experiments actually supports some parts of this theory.

Yuki: Specifically, they demonstrate that if you use a thresholded rate-based model, downstream neurons can encode distance at integer multiples of the grid spacing by summing over heterogeneous grid cell inputs and applying a threshold.

Ines: So it’s not just the variability in the cells themselves; it's how those cells are summed up through that specific model structure that lets them encode those integer multiples.

Marcus: They also predict something they call a "sweet spot." This is where the difference in correlation between neighboring points, like integer multiples of the grid spacing, is at its maximum.

Ines: So this sweet spot means the distinguishability of distance based on that correlation gets really boosted because you can tell those distances apart better there.

Yuki: They found preliminary support for this "sweet spot" in rodent behavioral experiments, which gives it some weight beyond just the math.

Marcus: It’s interesting because this is where we see the practical application of the theory, moving from pure math to something that might actually be happening in a living system.

Ines: Moving into two dimensions, they look at how variability in grid orientation further influences how this de-correlation happens.

Marcus: The results in two dimensions show that the average variability found across all experimentally recorded modules strikes a balance between those two ends of the trade-off they predicted.

Yuki: They actually found specific values for this balance, showing an average variability of sigma theta equal to zero point five degrees and sigma lambda equal to zero point zero two meters, which was the average variability seen across all the modules they looked at previously.

Ines: That helps ground the theory in some concrete measurements from the real world.

Paper summary: Marcus: They also ran a decoding analysis on simulated noisy grid cell populations, and those results matched what they saw in behavioral data. But there’s a limitation here, though, because the theory itself assumes no noise in that simulation.

Yuki: That’s a big caveat because real grid cell recordings are definitely noisy, so this means we can't fully apply this model to actual recordings without accounting for that noise.

Ines: So what they are really suggesting is that grid property variability isn't something that limits distance coding; it might actually provide considerable capability instead.

Marcus: It’s a shift in perspective from viewing heterogeneity as a problem to seeing it as a potential resource for computation.

Yuki: And this leads into some bigger questions about the system itself, like why are there multiple grid modules?

Ines: That’s something they motivate—they suggest that weakening an assumption made by the theory—that all grid cells in the same module are identical up to translation—greatly expands how much computation individual modules can handle.

Marcus: That suggests that having variable properties within a single module might offer computational advantages beyond just distance coding, which is a really interesting direction for us to explore.

Ines: It really puts the question out there about why there are multiple grid modules in the first place and what other uses for this variability might exist.

Yuki: That’s where the future work needs to go, expanding this characterization of heterogeneity across more datasets and different model species, like mice or bats, to see how that trade-off actually balances out in different biological contexts.

Marcus: So, to sum up the main points from "Distance by de-correlation: Computing distance with heterogeneous grid cells," it’s that grid property variability can be harnessed to improve distance coding efficiency, predicting specific behaviors like a sweet spot where distinguishability is maximized.

Ines: And the authors are pointing toward a need for more data and broader model testing to fully understand how this heterogeneity plays out in different species and situations.

Yuki: That’s what we need to keep looking at, trying to understand the prevalence of this heterogeneity and how it balances with the trade-off between coding range and distinguishability.

Conclusion: Marcus: So, we’re looking at this paper called "Distance by de-correlation: Computing distance with heterogeneous grid cells." The authors are really diving into how those physical properties of the grid cells—how they're arranged—actually help us figure out where things are in space.

Ines: Yeah, it’s about using that variability to get a better code for distance. What I find interesting is how they frame this not as some noise, but as a tool we can use because it actually helps the system work better.

Yuki: From a population genetics standpoint, this suggests that the natural variation in brain structure might be key to how these animals navigate their environment across different scales of space. It supports the idea that heterogeneity isn't just random; it has a function.

Marcus: Right, and they predict some pretty specific outcomes. They’re talking about this "sweet spot" where the difference in correlation between neighboring points is at its maximum, meaning you can distinguish those distances really well there.

Ines: That sweet spot idea is compelling because it gives us a concrete target for what we should be looking for when we analyze neural data. It tells us exactly where the system is most sensitive to distance information.

Yuki: And they’re pushing this out into two dimensions, showing that the average variability they found across all their modules actually hits a perfect balance between how far you can de-correlate and how well you can distinguish locations.

Marcus: It’s interesting because we usually think of complexity as a problem, but this suggests that having variable grid properties might actually expand the computational capacity of those individual modules beyond just distance coding.

Ines: Exactly, and the authors are motivated by this to ask a bigger question about why there are multiple grid modules in the first place. It opens up possibilities for other uses of this physical variability that we haven't even thought about yet.

Yuki: So, while they show how it helps with navigation, the real implication is that we need to look at the whole system—not just one type of coding—to understand what all this structural variation means biologically.

Pritipriya Dasbehera, Akshunna S. Dogra, William T. Redman

School of Physical Sciences, National Institute of Science Education and Research, India · Homi Bhaba National Institute, India · NSF AI Institute for Artificial Intelligence and Fundamental Interactions (IAIFI), USA · Center for Doctoral Training in Mathematics of Random Systems: Analysis, Modelling and Algorithms (MRS CDT), Imperial College London & Oxford University, UK · Center of Mathematical Sciences and Applications (CMSA), Harvard University · Department of Electrical and Computer Engineering, Johns Hopkins University, USA · Data Science and AI Institute, Johns Hopkins University, USA

q-bio.NC

Submitted: 2025-11-11

Updated: 2026-12-02

Comments: 25 pages, 7 figures, comments welcome! Now published in PLOS Computational Biology

DOI: 10.1371/journal.pcbi.1014958

Code: https://github.com/MathePhysics/GriDDE

License: http://creativecommons.org/licenses/by/4.0/

Importance score: 90/100

The gist: Encoding the distance between locations in space is essential for accurate navigation.<ref:2511.08292#pg1, Encoding the distance between locations in space is essential for accurate navigation >.

Key concepts

Distance Coding
This is the process of using neural activity to represent spatial distance between locations. The paper explores how variability in grid properties can enable this coding efficiently through simple de-correlation of population activity.
Grid Property Variability
This refers to differences in the physical or functional properties of adjacent grid cells. The theory suggests that this heterogeneity is key to creating a simple and effective mechanism for distance coding, influencing how population activity correlates with distance.
Sweet Spot
A predicted optimal condition where the difference in correlation between neighboring integer multiples of the grid spacing is at its maximum. This 'sweet spot' increases the distinguishability of distances based on correlation, suggesting a peak performance point for distance encoding.

Terminology

Summary

Encoding the distance between locations in space is essential for accurate navigation. p. 0

Where the paper says it

edu, wredman4@jh. edu July 7, 2026 Abstract Encoding the distance between locations in space is essential for accurate navigation.

<ref:2511.08292#pg1, Encoding the distance between locations in space is essential for accurate navigation >. p. 0
Where the paper says it

edu, wredman4@jh. edu July 7, 2026 Abstract Encoding the distance between locations in space is essential for accurate navigation.

The paper develops a mathematical theory to describe how distance coding can be achieved by a simple de-correlation of population activity. p. 0
Where the paper says it

Inspired by recent work finding populations of grid cells to have small, but robust heterogeneity in their grid properties, we hypothesize that distance coding can be achieved by a simple de-correlation of population activity. We develop a mathematical theory for describing this de-correlation in one-dimension, showing that its predictions are consistent with simulations of noisy grid cells.

<ref:2511.08292#pg3>. The work highlights a non-intuitive prediction where some further distances are better encoded than some nearer distances. p. 0
Where the paper says it

Our simulations highlight a non-intuitive prediction of such a distance by de-correlation framework. Namely, some further distances are better encoded than some nearer distances.

<ref:2511.08292#pg3, Our simulations highlight a non-intuitive prediction of such a distance by de-correlation framework, Namely, some further distances are better encoded than some nearer distances >. p. 0
Where the paper says it

Our simulations highlight a non-intuitive prediction of such a distance by de-correlation framework. Namely, some further distances are better encoded than some nearer distances.

Theoretical Framework for Distance Coding

The central hypothesis is that grid property variability can enable a simple and efficient way to achieve distance coding.<ref:2511.08292#pg3>. The theory analyzes how heterogeneity in grid properties affects the population vector correlation of grid cells as a function of distance in one-dimension. p. 0

Where the paper says it

Inspired by recent work finding populations of grid cells to have small, but robust heterogeneity in their grid properties, we hypothesize that distance coding can be achieved by a simple de-correlation of population activity. We develop a mathematical theory for describing this de-correlation in one-dimension, showing that its predictions are consistent with simulations of noisy grid cells.

<ref:2511.08292#pg6>. This involves modeling grid cell activity as a sum of Gaussians and then considering an ensemble average when grid spacings are sampled from a distribution D. p. 4
Where the paper says it

To make the analysis tractable and consistent with the analyzed neural data, we consider a 1D environment. We model grid cell activity as a sum of Gaussians, each centered along integer multiples of the grid spacing, Gλ,ω(x) = X n∈Z exp −(x − nλ) 2 2ω2 , (1) where λ is the grid spacing and ω is the width of the Gaussian.

<ref:2511.08292#pg7, If each λi is sampled from a distribution, D, then we can consider the ensemble averaged (or expected) value, ED[GΛ,ω(x)] >. p. 5
Where the paper says it

If each λi is sampled from a distribution, D, then we can consider the ensemble averaged (or expected) value, ED[GΛ,ω(x)]. As the Fourier transform is a linear operation, we can take the expectation on GbΛ,ω(ξ).

The resulting expected power distribution yields three predictions: (P1) Smoothly decay with increased distance. p. 5
Where the paper says it

11 predicts that Eλi h Gbλ,ω(ξ) i 2 will1 : • (P1) Smoothly decay with increased distance, as σk ∝ k; • (P2) Exhibit an increased rate of decay with increased variability in spacing, as σk ∝ σλ; • (P3) Exhibit a decreased rate of decay with increased grid spacing, since σk ∝ 1 λ2 . We test these predictions by simulating populations of noisy grid cells and examining the population vector correlation along increasing integer multiples of the grid spacing.

<ref:2511.08292#pg19, (P2) Exhibit an increased rate of decay with greater variability in spacing, as σk ∝ σλ; and (P3) Exhibit a decreased rate of decay with increased grid spacing, since σk ∝ 1/λ^2 >. p. 5
Where the paper says it

In particular, we note that since σk = 2π|k|σλ/λ2 , Eq. 11 predicts that Eλi h Gbλ,ω(ξ) i 2 will1 : • (P1) Smoothly decay with increased distance, as σk ∝ k; • (P2) Exhibit an increased rate of decay with increased variability in spacing, as σk ∝ σλ; • (P3) Exhibit a decreased rate of decay with increased grid spacing, since σk ∝ 1 λ2 .

Experimental Evidence and Sweet Spot Identification

Preliminary analysis of neurophysiological recordings and behavioral experiments supports aspects of the theory.<ref:2511.08292#pg3>. The paper demonstrates that a thresholded rate-based model enables downstream neurons to encode distance at integer multiples of the grid spacing by summing over heterogeneous grid cell inputs and applying a threshold. p. 2

Where the paper says it

We furthermore show that decoding distance from simulated noisy grid cells can produce similar results to what was found experimentally. We then demonstrate that a thresholded rate-based model enables downstream neurons to encode distance at integer multiples of the grid spacing by summing over heterogeneous grid cell inputs and applying a threshold (Sec.

<ref:2511.08292#pg6, We then demonstrate that a thresholded rate-based model enables downstream neurons to encode distance at integer multiples of the grid spacing by summing over heterogeneous grid cell inputs and applying a threshold >. p. 2
Where the paper says it

We furthermore show that decoding distance from simulated noisy grid cells can produce similar results to what was found experimentally. We then demonstrate that a thresholded rate-based model enables downstream neurons to encode distance at integer multiples of the grid spacing by summing over heterogeneous grid cell inputs and applying a threshold (Sec.

The existence of a sweet spot is predicted where the difference in correlation between neighboring points is maximal.<ref:2511.08292#pg8, This predicts that there exists a “sweet spot”, where the difference in correlation between neighboring integer multiples of the grid spacing is maximal and thus, the distinguishability of distance based on correlation is increased >. p. 7
Where the paper says it

13, we see that the maximum value of dC(x)/dx is β/4, which occurs at x = ν. This predicts that there exists a “sweet spot”, where the difference in correlation between neighboring integer multiples of the grid spacing is maximal and thus, the distinguishability of distance based on correlation is increased.

Preliminary experimental support for this sweet spot is found in rodent behavioral experiments.<ref:2511.08292#pg9>.

Trade-offs and 2D Extension

The theory predicts a trade-off between the range over which de-correlation occurs and the distinguishability between different locations.<ref:2511.08292#pg4>. In two dimensions, variability in grid orientation further influences how the de-correlation occurs. p. 2

Where the paper says it

Finally, we extend our theory to two-dimensions (2D) and perform numerical simulations in 2D spaces (Fig. We find that, as in the 1D case, there exists a trade-off between the fidelity with which distances can be encoded through de-correlation and the total distance over which the de-correlation occurs.

<ref:2511.08292#pg13>. The results in 2D show that the average variability found across all experimentally recorded modules strikes a balance between the two ends of the trade-off. p. 3
Where the paper says it

heterogeneity in grid spacing and orientation identified previously [20] strikes a balance between the two ends of the trade-off. Collectively, our results demonstrate that small variability in grid properties enables a simple code of distance, further illuminating the computational properties enabled by a heterogeneous grid module.

<ref:2511.08292#pg14, We find that σθ = 0. p. 0
Where the paper says it

Namely, some further distances are better encoded than some nearer distances. We find preliminary evidence of this “sweet spot” in previously published rodent behavioral experiments and demonstrate that a decoder which estimates distance from the de-correlation of populations of simulated noisy grid cells leads to a similar pattern of errors.

5◦ and σλ = 0. p. 5
Where the paper says it

However, if we consider a population of grid cells with variability in grid spacing (like was found in neurophysiological recordings [20]), and we assume that λi ∼ N (λ, σ2 λ ), then the harmonic frequencies of the Fourier transform, ξk(λ) = 2πk/λ, get shifted. For small variability (σλ << λ), a first-order Taylor series expansion gives ξk(λi) ≈ ξk(λ) + dξk dλ λ (λi − λ), (8) where dξk/dλ = −2πk/λ2 .

02 m, which was the average variability found across all experimentally recorded modules previously analyzed >. p. 1
Where the paper says it

As a first attempt to answer this, Redman et al. (2025) showed that the heterogeneity in grid spacing and orientation enables single grid modules to encode local spatial information [20], a computation which previously had been thought to require the integration of activity across multiple grid modules [17, 18, 21].

Decoding Analysis and Limitations

A decoding analysis on simulated noisy grid cell populations shows results consistent with behavioral data. The theory assumes no noise, which limits its applicability to real grid cell recordings. p. 1

Where the paper says it

We develop a mathematical theory to explain how grid property variability shapes this code and simulate noisy grid cell populations to explore trade-offs between distinguishability between distances and the range of distances that can be coded. Preliminary analysis of neurophysiological recordings and behavioral experiments supports aspects of the theory.

<ref:2511.08292#pg16>.

Future Directions

Broader characterization of such heterogeneity remains to be done.<ref:2511.08292#pg17, Performing this analysis on more datasets, across different model species (e. p. 4

Where the paper says it

To make the analysis tractable and consistent with the analyzed neural data, we consider a 1D environment. We model grid cell activity as a sum of Gaussians, each centered along integer multiples of the grid spacing, Gλ,ω(x) = X n∈Z exp −(x − nλ) 2 2ω2 , (1) where λ is the grid spacing and ω is the width of the Gaussian.

g., mouse, rat, bat) will not only increase our understanding of the prevalence of grid heterogeneity, but will also provide greater understanding of how the trade-off between the range over which de-correlation occurs and the distinguishability between distances is balanced >. p. 8
Where the paper says it

Figure 4: Grid spacing and grid spacing variability control trade-off between range over which decorrelation occurs and distinguishability between neighboring distances. (A) Schematic illustration of the difference of correlation (DoC) for one example distance.

Future work should explore whether other uses of grid heterogeneity exist. p. 0
Where the paper says it

Recent work has found that grid cells within the same anatomical region (“grid module”) have small, but robust variability in their grid patterns. Such heterogeneity has generally been assumed not to exist in theoretical work exploring the computational role of grid cells.

<ref:2511.08292#pg17, Computational advantages of having grid cells with variable properties within a single grid module, beyond distance coding, may exist >. p. 0
Where the paper says it

Recent work has found that grid cells within the same anatomical region (“grid module”) have small, but robust variability in their grid patterns. Such heterogeneity has generally been assumed not to exist in theoretical work exploring the computational role of grid cells.

The motivation is to demonstrate that weakening an assumption made by this theory – all grid cells in the same module are identical, up to translation – greatly expands the computational capacity of individual grid modules. p. 1
Where the paper says it

Recent work has shown that individual grid modules contain grid cells with not a single grid spacing and orientation, as has often been assumed in theoretical analysis, but a small, yet robust variability in their grid properties [20]. Importantly, if this heterogeneity is a general feature of the grid code, then previous theoretical works [3, 7, 16–18, 21] – which assumed grid cells to be identical, up to translation – do not a priori hold.

<ref:2511.08292#pg17, Finally, we highlight the fact that this work motivates the question, why are there multiple grid modules? >.

Green — the paper says it, and the page is printed. Red — no passage carries it, so treat that sentence as unverified. The same check runs on your own text: check a summary against its source, $5.

Improvements for AI systems

  1. Improved distance decoding in 1D environments by using de-correlation of population activity to achieve a sweet spot, meaning that some further distances are better encoded than some nearer distances. This allows the system to maintain high accuracy across a non-monotonic range of spatial scales, as demonstrated by the prediction that the error in distance encoding should increase, then decrease, and then increase again.

  2. Enhanced robustness against noise in grid cell coding by leveraging heterogeneity in grid properties. The theory shows that small variability in grid properties enables a simple code of distance, suggesting that the system can utilize this variability to maintain performance even when the underlying grid structure is not perfectly uniform.

  3. More precise spatial localization by implementing a thresholded rate-based model for downstream neurons. This model allows downstream neurons to encode distance at integer multiples of the grid spacing by summing over heterogeneous grid cell inputs and applying a threshold, enabling selective firing that controls both specificity and range of distance representation.

  4. Superior 2D spatial mapping by incorporating variability in grid orientation alongside spacing in 2D environments. The analysis shows that greater sigma theta leads to faster de-correlation and that this variability is necessary to achieve the optimal balance between the range over which de-correlation occurs and the distinguishability between different locations.

  5. Adaptive decoding sensitivity by dynamically controlling downstream neuron selectivity based on distance. By adjusting the threshold, a system can choose between a narrow range of distances or a wider range, as decreasing alpha leads to wider peaks that persist at further distances, allowing for flexible distance representation tailored to the required precision.

Abstract

Encoding the distance between locations in space is essential for accurate navigation. Grid cells, a functional class of neurons in medial entorhinal cortex, are believed to support this computation. Inspired by recent work finding populations of grid cells to have small, but robust heterogeneity in their grid properties, we hypothesize that distance coding can be achieved by a simple de-correlation of population activity. We develop a mathematical theory for describing this de-correlation in one-dimension, showing that its predictions are consistent with simulations of noisy grid cells. Our simulations highlight a non-intuitive prediction of such a distance by de-correlation framework. Namely, some further distances are better encoded than some nearer distances. Finally, we extend our theory to two-dimensions and, by simulating noisy grid cells in two-dimensions, find that there exists a trade-off between the range of distances that can be encoded by de-correlation of population activity and the distinguishability between different distances, which is controlled by the amount of variability in grid properties. We show that the previously measured average amount of grid property variability strikes a balance, enabling the encoding of distances up to several meters. Our work provides new insight on how grid cells can underlie the encoding of distance and why grid cells may have small amounts of heterogeneity in their grid properties.

Sources

Related papers