Abstract
The grid cells discovered in the rodent medial entorhinal cortex have been proposed to provide a metric for Euclidean space, possibly even hardwired in the embryo. Yet, one class of models describing the formation of grid unit selectivity is entirely based on developmental self-organization, and as such it predicts that the metric it expresses should reflect the environment to which the animal has adapted. We show that, according to self-organizing models, if raised in a non-Euclidean hyperbolic cage rats should be able to form hyperbolic grids. For a given range of grid spacing relative to the radius of negative curvature of the hyperbolic surface, such grids are predicted to appear as multi-peaked firing maps, in which each peak has seven neighbours instead of the Euclidean six, a prediction that can be tested in experiments. We thus demonstrate that a useful universal neuronal metric, in the sense of a multi-scale ruler and compass that remain unaltered when changing environments, can be extended to other than the standard Euclidean plane.
Keywords: grid cells, self-organizing process, space representation, hyperbolic geometry
1. Introduction
Euclidean geometry was long suspected not to be the sole possible description of physical space (e.g. Omar Khayyam in his 1077 book Explanations of the Difficulties in the Postulates in Euclid's Elements [1,2]). It was only around 1830, however, that rigorous non-Euclidean alternatives were formulated independently by Nikolai Lobachevski (first communicated on 23 February 1826, then printed in a Russian journal in 1829) and by János Bolyai (between 1820 and 1823, but only published in the appendix to a 1831 textbook by his father) [3]. The great Friedrich Gauss wrote that he had been thinking along similar lines, but recognized the genius of his younger colleague (e.g. in his letter to Gerling, in 1832) [4]. The involvement of such profound thinkers and the centuries that intervened indicate how arduous was the development of non-Euclidean formulations, even for brilliant individuals. Perhaps it was made difficult by social conventions and conformist patterns of thought—as expressed for example by followers of Immanuel Kant's view of an a priori representation, independent of the external world and inherent to our reason [5].
An unusual approach to this question is provided by the discovery, in the rodent brain, of grid cells [6,7]. These neurons, with their activity concentrated at the nodes of a surprisingly regular triangular grid, which is different from neuron to neuron, appear similar to sheets of graph paper, lining the environment in which the animal moves [8]. Indeed, such cells have been proposed to comprise a Euclidean metric of physical space [9], providing at the neuronal population level a single common gauge to measure the environment [10,11]. But, is it necessarily Euclidean? If non-Euclidean grid cells were discovered in rodents, still sufficiently regular to be characterized as providing a metric of space, it would indicate that, in contrast to Kant's view, spatial experience contributes to shape cognitive representations of space.
Grid cell activity has been mostly studied in experiments in which rodents forage in flat, horizontal, open two-dimensional environments [7,12,13]. Grid units have also been observed (also in flat arenas) in mice [14] and crawling bats [15]. Some experiments have used apparatuses that probe the vertical dimension [16], but the resulting observations do not seem to point to a simple abstraction of general validity (see discussion in [17]). The other major type of spatially selective units, the place cells, has been observed also in flying bats, and they appear to span three-dimensional space fairly isotropically [18]. Grid cells may yet be observed in flying bats—there have been preliminary observations of ‘blobby’, i.e. multi-peaked, cells [19], and, if their periodicity is confirmed, this would invoke models of grid formation that can function in three dimensions, not just in two dimensions [20]. In order to address the uniqueness and necessity of a Euclidean metric representation, however, one may focus on two-dimensional environments, and consider surfaces that can be described by a regular, position-invariant non-Euclidean metric. From the activity observed in grid units, one should be able to infer whether the rat brain can only express an orderly representation of a Euclidean space, or it can also adapt to an environment defined by a non-Euclidean metric.
Simple examples of position-invariant non-Euclidean two-dimensional metrics are provided by surfaces embedded in physical three-dimensional space. Their geometry is position-invariant if the curvature is constant across the surface, and they can be of two types: those with constant positive Gaussian curvature, i.e. spheres or portions of spheres, and those with constant negative curvature, the so-called pseudo-spheres (PSs) introduced by Beltrami [21] (figure 1). The former is a model of elliptic geometry, the latter of hyperbolic geometry. In [22], we have analysed the prediction of a particular self-organizing model of grid cell development [23], and concluded that rats exploring a spherical cage of appropriate radius should develop grids with coordination number 5 or lower, i.e. each of their peaks should be surrounded by 5 (or fewer) nearest neighbours instead of the Euclidean 6. Experiments are underway to examine grid cells in rats raised in a cage that closely approximates a sphere [24].
Figure 1.
A two-dimensional model of hyperbolic geometry. (a) The (half) PS is generated by revolution of the tractrix (red curve) around the z-axis. (b) Representation of the PS in the Poincaré half-plane. (c) A Möbius transformation maps it into the Poincaré disc. (d) Its constant curvature allows for regular tessellations, starting from heptagonal ones, with a dual grid visualized here in the Poincaré disc.
Still, spherical geometry departs from Euclidean geometry in other major ways than just being non-flat: it has no points at infinity (and so no indefinitely long geodesic trajectories, whether parallel or not); and a complete sphere has no boundary, eliminating the need and the opportunity for discontinuities in the representation at the boundary (although one can cut an artificial boundary, or use a portion of a sphere). So, should the grid cells, which emerge in rats raised in or adapted to a sphere, reveal the striking soccer-ball pattern predicted by our model, the effect of a non-Euclidean metric might be argued to be confounded with that of the missing points at infinity, for example. Therefore, we aim here to consider the emergence of grid units in rats raised in a hyperbolic cage, as a more stringent potential test of the ability of rodents to conceive non-Euclidean representations of space.
A similar asymmetry between elliptic and hyperbolic geometry was perceived by Hieronymus Saccheri, who in his Euclides Vindicatus (1733) tried to prove Euclidean geometry by refuting its two alternatives [25]; but while he had an easy task dismissing elliptic geometry, because it would also violate Euclid's second postulate by not having infinitely long straight lines, he had difficulties refuting hyperbolic geometry. He wrote of the ‘difference between the foregoing refutations of the two hypotheses. For in regard to the hypothesis of the obtuse angle [elliptic] the thing is clearer than midday light … But on the contrary, I do not attain to proving the falsity of the other hypothesis, that of the acute angle [hyperbolic] … I do not appear to demonstrate from the viscera of the very hypothesis, as must be done for a perfect refutation’. It makes sense to ask whether the brain of a rat exploring a hyperbolic environment can demonstrate what the ‘viscera of the very hypothesis’ failed to refute.
2. Models of hyperbolic surfaces
It is not possible to represent, in physical three-dimensional space, the full hyperbolic H2 space of constant negative Gaussian curvature −1/R2. At any point on such a mathematically defined surface, one can identify two orthogonal axes, along which the surface would appear to curve on opposite sides of the locally tangent Euclidean plane, with R2 as the product of the two radii of curvature. Then, one can resort to models, giving up one or another of the features of a true representation of the full H2.
The PS or tractricoid is a non-distorted, three-dimensional representation of a finite portion of H2, which is useful in that both distances (measured along geodesics, the minimal length paths between any two points on the surface) and angles are preserved. As a result, no speed transformation is needed for an animal that moves on a PS to experience hyperbolic metricity, and this makes the PS, in principle, suitable as the design for a hyperbolic rat cage. The main limitation is that while the PS has two points at infinite distance (the cusps) it has only finite area 4πR2. In fact, it comprises two halves joined at a base (a circumference of radius R in three-dimensional space) that cannot be crossed with continuous movements, so, for all practical purposes, we always consider here a half PS, with area 2πR2 and a single cusp, that we take to point in the vertical direction z of physical three-dimensional space. The position of any point on the half PS can be given by its three-dimensional distance r from the z-axis, and by its angle θ from an arbitrarily chosen reference direction. The height z of the point is related to r as
and the infinitesimal curve element has length ds, best expressed in terms of the variable v = R/r as ds2 = [dθ2 + dv2]/v2. One can view the half PS from above, projected on a circle of radius R on the plane (because r < R), but at the price of distorting the local metric in the projection. It is useful then to consider other two-dimensional models which, while also distorting the local metric and thus impairing appreciation of distances and angles, at least can represent an infinitely extended H2.
The Poincaré half-plane model amounts simply to unwrapping the PS around the z-axis, stretching its surface near the cusp and plotting θ (often denoted as u) and v as Cartesian variables, which, however, can now extend −∞ < θ < ∞ and 0 < v < ∞. The local metric is defined as ds2 = (du2 + dv2)/v2 and its geodesics are either vertical lines u = const or circular arcs centred on the v = 0 line (figure 1b). The PS corresponds to the ranges −π < θ < π and 1 < v < ∞ on the half-plane. One has to remember that the height z of a point on the PS grows with its corresponding height in the half-plane, but via the nonlinear transform 
The Poincaré disc is another distorted two-dimensional representation of half the hyperbolic plane of constant negative curvature H2, which is useful in particular to display its possible regular triangulations, in which a node is neighbour to q = 7, 8, …, ∞ other nodes (in Euclidean space the only regular triangular tiling has q = 6, as for grid cells, while on a spherical surface q = 5, 4, 3, 2 or 1 [22]). The disc of coordinates (xP, yP), with
has a local metric defined as
and its geodesics are diameters of the disc, or circular arcs that meet its boundary orthogonally (figure 1c).
The PS, given by the revolution of the so-called tractrix around the z-axis, can also be defined as the surface spanned by the cylindrical coordinates (r, θ, z) where, with reference to the Poincaré half-plane, θ = u, whereas r and z are parametrized as
and
with t = cosh−1(v) and v ≥ 1. The half-plane and the disc are isomorphic and can be related by a Möbius transformation, for example by xP = (u2 + v2 − 1)/[u2 + (v + 1)2] and yP =−2u/[u2 + (v + 1)2], which maps the origin (0, 0) of the half-plane on the boundary (−1, 0) of the disc, (0, 1) onto the origin (0, 0) of the disc and the point at infinity (0, ∞) on the boundary (1, 0) of the disc. We shall use this particular transformation in the figures. Although its appearance is also that of a circle, like a PS seen from above, the mapping is much more complicated, almost intuitively inverted, with the cusp of the PS mapped on one arbitrary point on the outer circumference of the disc, and the circumference at the base of the PS curving through the centre of the disc (figure 1c).
3. Results
3.1. Pseudo-spheres can be used to test the emergence of non-Euclidean neural representations
The idea of raising rats in a cage with a hyperbolic shape, and checking what kind of grid units, if any, they develop in their medial entorhinal cortex (mEC), runs into two difficulties, if the cage is realized as a simple (half) PS (figure 1a). The first difficulty stems from the circular symmetry of the PS around its z-axis, and the second from its limited area.
The circular symmetry problem can be understood by mapping the PS into the Poincaré half-plane (figure 1b) and into the Poincaré disc (figure 1c). These are two flat representations of an infinitely extended two-dimensional hyperbolic space, in which a constant negative Gaussian curvature is expressed instead by assigning a local metric which is a function of position (see §2). The revolution −π ≤ θ ≤ π generating the PS makes its geodesics θ =−π and θ = π coincide (in the physical three-dimensional space), but the corresponding geodesics do not coincide on the half-plane or on the disc. As a result, any regular infinite tiling (figure 1d), which has no reason to be periodic, e.g. on the u variable of the half-plane, once cut, transformed and pasted onto the PS will be discontinuous at θ =±π. Vice versa, any continuous grid map developing in a rat freely roaming around the PS will be incompatible with a regular tiling. The simple solution to this difficulty is to insert a partition at θ =±π, making it impossible to walk around the PS. This solution can be applied both to an experimental setting and to computer simulations.
The half PS has a finite area 2πR2 and it can be mapped only onto a limited portion of the half-plane or of the disc (figure 1b,c). Because its area is limited, it cannot support many tiles. For a regular triangular tiling with q triangular tiles meeting at each node, i.e. with angles 2π/q, each tile has area π(1 − 6/q)R2, i.e. a fraction (1 − 6/q)/2 of the total available. The dual polygonal tile centred at each node includes one-third of the area of q triangles; hence, it takes up an area Nq = qπ(1 − 6/q)R2/3. Therefore, the half PS can include on its finite area the equivalent of 2πR2/Nq = 6/[q(1 − 6/q)] nodes, which gives ∞ for q = 6 (i.e. the hexagonal dual tiles would be infinitely small relative to the curvature, in practice, therefore, populating a Euclidean plane); 6 for q = 7 (heptagonal grids); 3 for q = 8 (octagonal grids); 2 for q = 9; 1 for q = 12, etc. Hence, beyond q = 7, the possibility to see a symmetric grid tiling on a half PS vanishes rapidly, because there are too few fields that each unit could fit on the finite surface. The spacing of a symmetric grid can be calculated to be (see §5.4)
| 3.1 |
where γ = cos (2π/q), which gives infinitesimal l/R for q = 6, as it should;
for q = 7;
for q = 8;
for q = 9, etc.
In simulations, one can deal with the limited area of the PS by adding lapels or folds on each side of the corresponding portion of the Poincaré half-plane. We limit ourselves to doubling the area, thus making space for 12 fields for perfectly heptagonal grids, 6 for octagonal ones and so on. With parameters that yield the appropriate grid spacing, approximately heptagonal grids are easily self-organized (figure 2).
Figure 2.
An approximately heptagonal grid self-organized in simulations. The PS is seen (a) from above and (b) from the side, projected (c) on the half-plane and (d) on the Poincaré disc, and shown with the added folds in (e) and (f). (g) An exact heptagonal tessellation describes well the multi-peaked activity of the example unit shown in (a–f). (h) The heptagonal grid of another unit. The periodical continuation of any trajectory in the free half PS (figure 1a) is prevented by adding reflective boundary conditions, generically represented here by the red segment in (a). For the simple half PS, these boundary conditions are imposed at θ =±π and would correspond to a wall, for example. When the PS is folded twice (see main text), these boundary conditions are imposed at θ =±2π, (e–h). In simulations, these conditions are simply satisfied by reflecting trajectories at those locations. Magenta continuous lines in (g) and (h) correspond to the boundaries of the folded PS, whereas thin magenta dashed lines represent the original half PS (equivalent to the blue shape in figure 1c).
3.2. The symmetry of the emerging grid units reflects Gaussian curvature
In the self-organizing model we use, the mean grid spacing is determined by the adaptation time scale, which once multiplied by the average exploration speed becomes a length scale. The relation between the mean grid spacing and the radius of curvature selects the type of tiling that emerges. An exact heptagonal or octagonal tiling would require the spacing-to-radius ratios reported above. Interestingly, when the ratio takes intermediate values, one observes in simulations the emergence of grids with intermediate mean angle between triplets of spikes in neighbouring fields (figure 3; see §5.2 for the procedure used to measure such angles).
Figure 3.
(a) A portion of the universal curve relating the angles of equilateral triangles to their linear size in relation to the radius of curvature of a regular surface (dashed line). The average angle between triplets of spikes belonging to neighbouring fields, in grid units emerging from simulations, falls close to the universal curve (red symbols). Exact tessellations correspond to those regular triangles that tile space indefinitely (blue empty symbols). (b) Decreasing the radius of the folded PS, equivalent to an increase in curvature, changes the angular relationships between neighbouring fields.
3.3. Population coherence induced by lateral interactions
So far, each grid unit has developed independently. Shared single unit properties define a common grid spacing, but grid orientation is randomly distributed. To induce a common orientation, we now add a collateral network where the connection strength between any two units is determined by the virtual position as in the procedure described by Si et al. [26]. This interacting network produces conjunctive head direction × grid units, mimicking the cells found in intermediate and deep layers of mEC [27,28].
To assess the effect of the collaterals on our hyperbolic grids, we analyse the firing activity of each unit in the half-plane (figure 4a). Because there translations and rotations are coupled, we cannot simply shift and collapse the activity of all units in a common origin, and evaluate the resulting common alignment. Instead, we focus on the activity of multiple single units in different portions of the plane, e.g. in the yellow box in figure 4a. For each spatial bin on the half-plane, we average across the population the weighted distribution of angles between pairs of spikes, one belonging to that bin and the other to a surrounding annular region (corresponding to the neighbouring fields; see §5.2). The weight is determined by the number of spikes of each unit in the bin itself, so clear peaks emerge in the angular distribution if all units having a field in the bin share the location of neighbouring fields. For example, in the bin indicated by the yellow box, the unit shown in figure 4a has the distribution of angles represented in figure 4b as a black line. The population distribution, represented by the grey line in figure 4b, preserves the multi-peaked structure of individual units, indicating population coherence. In contrast, the distribution of angles for pseudo-spikes randomly allocated to visited locations (red dashed line) is less peaked, as is the one for spikes shuffled across the population (blue dashed line). The agreement between these two distributions, which holds for any bin, indicates in fact that different units sample the PS evenly, expressing a distributed representation. To quantitatively assess the influence of the collaterals, we take the integral of the square difference between the population distribution of angles and either of these two control distributions. By summing this square difference over all bins of equal hyperbolic area on the PS (except those at the boundary), we get a summary coherence measure. Whatever the PS curvature, we observe an increase in the coherence measures when adding the collaterals (moderate with the random control, fourfold with the shuffled control), showing that they contribute significantly to align the population response (table 1).
Figure 4.
Hyperbolic grid alignment by collaterals. (a) The PS in the half-plane is divided in a regular partition. For a given spatial bin, e.g. the yellow box, spikes from individual units are considered, paired with those located at a certain distance matching grid spacing. (b) The distribution of angles between these spikes, measured relative to the spike in the chosen bin, is calculated for each unit (black line), and accumulated in a weighted average over the population (grey line). Similar distributions are obtained from randomly positioned pseudo-spikes (random; red dashed line) or shuffled across the population (shuffled; blue dashed line). The integral square differences between the population distribution and these controls are used to quantify the effect of the collaterals on grid alignment (table 1).
Table 1.
Coherence measure in a population with/without collaterals. Single unit properties define a grid spacing of approximately 45 cm, slightly modified when the collaterals are added.
| PS radius (R, cm) | random control (deg−1) | shuffled control (deg−1) |
|---|---|---|
| 35, w/o coll. | 0.0171 | 0.0060 |
| 35, with coll. | 0.0294 | 0.0259 |
| 40, w/o coll. | 0.0192 | 0.0051 |
| 40, with coll. | 0.0263 | 0.0189 |
| 45, w/o coll. | 0.0160 | 0.0039 |
| 45, with coll. | 0.0272 | 0.0189 |
| 50, w/o coll. | 0.0166 | 0.0038 |
| 50, with coll. | 0.0196 | 0.0145 |
3.4. Planar grids can re-adapt coherently to hyperbolic spaces
To bridge the gap between model predictions and experimental conditions suitable to observe heptagonal tessellations, we now consider what happens if rats are raised in planar environments and then experience a hyperbolic one. Given single-unit properties that yield the proper grid spacing on the PS and assuming continued plasticity of the feed-forward connections, simulations indicate that individual units rapidly develop a local structure compatible with a heptagonal grid (not shown). The long-range structure as well as the common alignment of the population require more adaptation, but the time scale is not longer than when the model adapts to a second planar environment [26]. Interestingly, as with the adaptation to a second planar environment (which reduces to a translation and rotation of the stack of grid maps; cf. [10]), also, in this more complex case, the original phase relations between any two units are kept in the second environment, though this is now a hyperbolic PS. Therefore, the collaterals, while weak enough to not interfere with heptagonal grid development, can be sufficient to maintain or re-learn the phase relationships in the new environment.
To show this, we consider the cross-correlation of the activity developed in the planar environment between all pairs of units in the population (figure 5a,a1–a3). The peak closest to the centre in each cross-correlogram defines the phase between the two units and, as shown in figure 5a, it is broadly distributed but with a tendency to form clusters. Based on this distribution, we can classify each pair according to the region where their relative phase is located; see the white dashed lines delimiting regions a1–a3 in figure 5a. The correlation for each of these pairs can then be measured after adaptation to the PS, based on their activity in the half-plane as in the previous analysis, and contrasted with their planar correlation. As observed in figure 5b, the two correlation values are related, and respect the classification in figure 5a (different sets a1–a3 are indicated by colours). Representative examples of out-of-phase and in-phase relationships are shown in b1 and b2, in figure 5b, respectively.
Figure 5.
Planar phase relationships are maintained on the PS. (a) Distribution of the peaks closest to the origin in the cross-correlograms obtained from all pairs of units in an initial planar environment. Cross-correlograms between the two firing maps corresponding to a pair are obtained as the Pearson's product moment correlation coefficient, for each possible spatial lag combination (Δx,Δy) between the two maps [10]. Once determined, the peak closest to the origin is used to define three phase relation categories, denoted a1–a3. Representative examples of their cross-correlations are shown below. (b) Pearson correlation coefficient at lag zero between pairs of units obtained from the activity they develop on a PS, as a function of their corresponding correlation coefficient in the original planar environment. Colours indicate the classification in (a): green/white/red—a1/a2/a3, respectively. Examples of (b1) out-of-phase and (b2) in-phase relationships are shown, in both environments. Those units that have firing maps close to each other in the planar environment (high Pearson correlation coefficient at lag zero) remain close in the hyperbolic setting, as indicated by the green set. Those that have mismatched fields in the planar environment (low Pearson correlation coefficients at lag zero) also display an out-of-phase relationship in the hyperbolic plane, as shown by the red set.
This ‘network rigidity’ effect of the collaterals does not depend on their precise structure. Collateral weight matrices compatible with a planar metric [26,28] and with a hyperbolic one (see §5.1) produce the same effect. This indicates that, in our simulations, the metrics expressed by the firing maps of the grid cells reflect primarily recent spatial exploration, which prevails over the structure of the collaterals, even though the latter produce the rigidity effect. In the simulations, we chose to keep the collateral weights relatively weak, and fixed during the complete simulation, in line with the hypothesis that they change on a slow time scale; see [28]. The collaterals, however, are sufficient to align grid units within an environment [26] and, as shown here, to maintain phase relationships across different units. Whether this is the regime relevant to the real mEC network remains to be determined.
3.5. A rodent-friendly hyperbolic box
The previous analyses indicate the possibility of observing hyperbolic properties in the activity of grid cells, if the self-organization model is valid. However, to double its area and so reliably detect a heptagonal tessellation, we resorted to folding the PS around itself. Such a procedure makes no experimental sense. A second approach is to increase the available area by a similar amount adding a surface that, on average, has a similar hyperbolic curvature, but not constant in its negative value. This can be realized by a sort of wavy continuation, a skirt (figure 6a). As seen in figure 6b–e, a network of units with suitable properties again develops, through exploration of this extended surface, a grid representation with the characteristic coordination number 7 and, at least over the central pseudo-spherical portion, equivalent regularity as for the folded PS.
Figure 6.
A plausible environment for experiments with rodents. (a) The non-folded PS with a wavy continuation. Activity developed in a grid unit, seen (b) from above and (c) from the side. Projection onto (d) the half-plane and (e) the Poincaré disc. Black lines indicate the continuation beyond the standard PS. As depicted in (a), a vertical wall prevents the periodical continuation of trajectories, and is represented by the red segment in (b).
4. Discussion
We have shown that, in a self-organizing model, grid units adapt effortlessly to hyperbolic geometry, and given appropriate values of Gaussian curvature can express maps with coordination number 7. If the model captures the essential character of grid formation, one expects to be able to observe heptagonal grids also in rodents adapted to quasi-regular extensions of the basic pseudo-spherical surface. The model further indicates that, while hyperbolic adaptation has to be protracted, it can be subsequent to an earlier phase of grid development in an ordinary planar environment. Critical to this outcome is the prolonged plasticity of the relevant synaptic connections, which in the model are those afferent to the developing grid units.
It is likely, but it remains to be established conclusively, that the transition or ‘remapping’ from planar to hyperbolic maps is facilitated, with respect to the planar-to-spherical case, by topological similarity: the planar arena and the PS, whether folded or extended, are limited compact portions of an infinite space, R2 or H2, surrounded by a boundary (provided the PS includes the partition); the sphere has no boundary if complete and it can include, even if not complete, closed geodesics along which an activity map has to be matched with itself.
Do alternative models of grid cell formation predict heptagonal grids? It appears not to be the case for oscillatory interference models, at least in their original formulations [29,30], which are based on the superposition of three cosine waves. For attractor network models, our own simulations indicate that the same collateral network which aligns and sustains planar grids can maintain their phase relationship also on a PS. Such models, however, do not fully specify the process which leads to the emergence of the grid pattern in the first place, other than invoking an embryonal position of the neurons in the tissue which determines the collateral connectivity and the phase relations, and is then somehow transformed to become unrelated to the phase relations in the adult animal [31]. The connectivity set-up in the embryo would have to be slightly hyperbolic, but it could well be, and in any case at the relevant scale of the unit tile of the tessellation the difference between planar and hyperbolic might be negligible. Therefore, attractor models are compatible with hyperbolic grid formation, but do not really predict it, in the same sense that they are under-formulated to predict planar grid formation.
Several open questions about the self-organizing models also apply to their development in hyperbolic geometry. These include the delayed-action mechanism that leads to the self-organization of the recurrent connections, the role of the layered structure [28], the interactions with hippocampal and lateral entorhinal cortex cells. On the other hand, the regularity of the activity pattern expressed by these self-organized grid units relies on the assumption of an even coverage of the available surface. Whereas behaviourally this can be easily achieved on flat surfaces, e.g. by stimulating the rat to chase chocolate chips around the arena, the even exploration of curved surfaces under gravity can be experimentally challenging. Furthermore, the assumption that when ‘proceeding straight’ animals move along geodesics, even if a reasonable extrapolation of their behaviour in Euclidean settings, needs to be validated. Systematically biased deviation from the geodesics, e.g. downward, as induced by gravity, would distort the metric underlying the exploration and eventually would impair the development of heptagonal grids. These issues deserve further analysis.
Would the discovery of hyperbolic representations in rodents bear implications for human cognition, beyond the suggestion that our fellow mammals may be less inhibited by social conventions? We reckon that such a finding would have to be taken into account in the fascinating analysis of what are often called spatial primitives, either in infants [32] or in indigenous tribes who may or may not have been able to elude, so far, geometrical globalism [33,34].
5. Methods
5.1. Model and simulation procedure
We refer to [26] for details, but, in brief, a virtual rat is simulated to randomly explore the hyperbolic environment described in the main text, with constant speed 40 cm s−1. At each step, the change in the running direction is sampled from a Gaussian distribution with zero mean and angular standard deviation σrdp = 0.2 radians, if the rat is running on the PS, and from a Gaussian with zero mean and angular standard deviation
, if the rat is running on the skirt, where ϑ and v are the direction (relative to the tangential direction, or to the u-axis in the half-plane) and the position of the previous step, respectively. If the chosen direction leads the rat outside the limits of the environment, the new position is computed by reflecting it with respect to the crossed boundary.
The position of the virtual rat is reflected in the activity of an input layer of place units that feed into the output layer of would-be grid units. The crucial self-organization occurs via competitive learning on the feed-forward connections from place to grid units, which is modulated by recurrent connections among the grid units. These latter connections are given by an explicit rule, as in [26], with a strength that grows gradually during the initial stages of the learning process. In the simulations reported here, the exploration and learning phases lasted 25 × 106 time steps, thought to correspond to roughly 70 h of real time.
In detail, the overall input to unit i at time t is given by
![]() |
where
is the activity of unit k reverberated from collateral connections
with a delay τ = 25 time steps (10 ms each), if these connections are present. The relative strength of the collateral inputs is set by the factor ρt, which linearly increases from zero to a final stationary value 0.2 reached at half of the total simulation time T, mimicking a simulated annealing.
is the firing rate of a ‘place unit’ j relayed by the feed-forward connection Wij [35,36]. The activity of a place unit is approximated by a Gaussian function centred in its preferred firing location 
![]() |
where xt is the current location of the simulated rat, σp = 5 cm is the width of the firing field and | · | is the distance in the half-plane, if the rat is on the PS, and the distance given by the metric of the skirt, if the rat is on the skirt. Place cells are orderly located on the surface, separated by approximately 5 cm from each other. In the network with collaterals, each unit i is arbitrarily assigned with a preferred head direction θi to modulate its inputs.
is a tuning function that produces a maximum output when the current head direction ϑt is along the preferred direction θi [37],
where c = 0.2 and ν = 0.8 are parameters determining the baseline activity and the width of head direction tuning.
The firing rate of each unit i is determined through a threshold-nonlinear transfer function,
where Ψsat = 2/π normalizes the firing rate into arbitrary units, Θ ( · ) is the Heaviside function, and gt and μt are the gain and threshold of the nonlinearity, respectively. The variable
represents a forgetful integration of the input hi,
adapted by the input-dependent dynamical threshold
where βi has a slower dynamics than αi, b2 = b1/3 with b1 = 0.200. Across the population of N grid units, the mean activity
and the sparsity
are kept within 10% relative to pre-specified values, a0 = 0.1 and s0 = 0.3, respectively, by appropriate temporal update of the parameters gt and μt [28].
The feed-forward and collateral connections play a key role in the development of the grid scale and orientation alignment, respectively, although crossed influences are also relatively important. Feed-forward connections Wij are learnt from random initialization by Hebbian association,
where [ · ]+ is the threshold function ([x]+ = 0 for x < 0, and [x]+ = x otherwise),
and
are the time-dependent mean activities from grid unit i and place cell j, respectively, and ε = 0.005 is a moderately low learning rate. After updating, these weights are normalized according to
which mimics a homeostatic control of the synaptic function. Collateral connections
are implemented ad hoc, putatively as the result of a long learning process taking place in conjunctive layers of the mEC [28]. Here, the structure of these connections is formulated simply as the extension of previous studies to the present topology [23,26]. Each unit i embedded in a network with collaterals, having head-direction properties defined by
is nominally associated with an auxiliary field with a randomly chosen preferred location in the bi-dimensional half-plane (ui, vi). The collateral weight from unit k to unit i is calculated as
![]() |
where [ · ]+ is the threshold function introduced above, κ is an inhibition parameter controlling sparseness of the connections,
and
are the angles of the geodesics that join (uk, vk) and (ui, vi), measured at the first and the second point, respectively (note that, contrary to the Euclidean case, angles of a given geodesics depend on the measurement point), σf = 10 cm is the spatial tuning, and
where Δu (Δv) is the distance on the u-axis (v-axis) transversed from (uk, vk) along the geodesics to (ui, vi) by a movement of l = 10 cm, representative of the displacement carried out by the rat during the delay period. As before, normalization of the weights is set by 
5.2. Characterization of local grid structure
The triangular tile is the minimal structure associated with regular hyperbolic tessellations. The two properties defining any regular triangle are the length of the side and the internal angle. Therefore, to characterize the local structure of the grid pattern in an individual unit, we extract these two properties from the spikes it produces. First, we collect a representative number of spike pairs in the half-plane, e.g. 105, to construct the distribution of distances, i.e. along the geodesics joining both locations. Typically, this distribution is highly multi-peaked, where the first peak corresponds to distances between intrafield spikes, the second peak between spikes belonging to neighbouring fields, and subsequent peaks between spikes in non-adjacent fields. Because the length of the side of the tiling triangle in a regular pattern would correspond to the location of the second peak, we define a range of distances around this peak as a filter condition to declare spikes belonging to neighbouring fields. The limits of this range were defined by the surrounding troughs, if they exist, or fixed to
and
if they do not, where d is the distance corresponding to the second peak, declared as the grid distance of the unit. For pseudo-spikes randomly associated with visited locations, distances between spikes are unimodally distributed, and hereafter used as a control condition. Second, triplets of spikes were putatively classified as belonging to neighbouring fields based on distance filtering in the previous range, and the three internal angles determined (under the underlying topology). These three angles were pooled together and accumulated in an overall angular distribution (obtained from 105 effective triplets). The distribution of angles so obtained for the spiking activity and the control condition were different and their ratio was used to characterize the angle subtended in the triangular pattern. Typically (in the asymptotic state), this ratio was unimodal and distributed asymmetrically around a peak. We defined the characteristic angle as the median of the above-chance distribution (ratio values above unity indicate an above-chance condition or, in other words, angles more frequently obtained than chance).
5.3. Pseudo-sphere + skirt
One cannot use folds with rats, but to extend the area of the PS one can add a ‘skirt’ around it, so that additional fields can form on the skirt (figure 6a). Because the skirt cannot have a regular hyperbolic metric, one has to consider the effect of attaching it to a surface of constant negative curvature. A first option could be a flat skirt, e.g. extending up to a radius R′ = 3/2R. The disadvantage is that fields on the skirt may tend to flatten also the geometry on the inner PS. A second option is to add an undulated skirt, with cosine waves extending in the z-direction by an amount f(r) which depends on r and tends to 0 for r → R, so that (x, y, z) = [r sinθ, r cosθ, f(r) cos (mθ)]. By choosing m = 11, we try to minimize the bias between coordination number 6 or 7 or 8, as the 11 waves on the skirt are incommensurable with all these patterns.
To construct a skirt that smoothly extends the PS with m = 11 waves, as in figure 6a, one can compute the curvature along each of the ‘ridges’, where the vector normal to the surface, in the direction w, is tilted with respect to the z-axis but only along the radius. Taking the ridge to be at y0 along the y–z-plane, i.e. at x = 0, for small deviations from (0, y0, f(y0)) one has, according to the second fundamental form,
![]() |
so that the two curvatures are
and
which are not constant. The ‘radial’ curvature κy can be positive definite and not vary much if f′(y0) is small and f″(y0) constant, whereas the ‘transverse’ curvature κx changes sign, and the local surface is hyperbolic only when
(i.e. not at the border with the PS). A simple choice is to set
This yields along the ridge κy and κx that scale like 1/R, the first slightly lower and the second changing sign and reaching out at the border values close to − 10/R. At the outer border, the skirt is f(3/2R) ≈ 0.2R high.
5.4. Spacing and coordination number
We now derive the relationship expressed in equation (3.1), valid for regular triangular tessellations. According to the Gauss–Bonnet theorem, in hyperbolic geometry the area of a hyperbolic triangle Δ is given in terms of its internal angles α1, α2, α3, as
This theorem clearly has no counterpart in Euclidean geometry, where the angles of a triangle do not determine its area, and highlights the fact that the sum of the internal angles of a hyperbolic triangle is strictly less than π; for a regular triangle, then, the common internal angle is less than π/3, enabling the possibility to construct tessellations with coordination number greater than 6.
Let Δ be a hyperbolic triangle with internal angles α1, α2 and α3, and side lengths a1, a2, a3. One of the laws governing hyperbolic trigonometry (law of cosines II; see [38]) relates the lengths of the sides to the internal angles of a triangle according to
For a regular triangle with internal angle α and side l, the above relationship simplifies to
This relationship is represented in figure 3 with a dashed line. For a regular triangular tiling, q of these triangles meet at a node and, therefore, α = 2π/q. This leads to equation (3.1), once the radius of curvature is inserted into the expression, as shown by the open symbols in figure 3.
Acknowledgement
Extensive discussions with other participants in the consortium are gratefully acknowledged.
Funding statement
This work was supported by the EU FET project GRIDMAP (FP7-ICT 600725).
References
- 1.Khayyam O. 1077. Explanations of the difficulties in the postulates in Euclid's elements. In English in: Amir-Móez A. 1959 Discussion of difficulties in Euclid. Scr. Math. 24, 275–303. [Google Scholar]
- 2.Rozenfeld BA. 1988. A history of non-Euclidean geometry: evolution of the concept of a geometric space. Berlin, Germany: Springer. [Google Scholar]
- 3.Bonola R. 1912. Non-Euclidean geometry: a critical and historical study of its development. Chicago, IL: The Open Court Publishing Company. [Google Scholar]
- 4.Halsted GB. 1900. Gauss and the non-Euclidean geometry. Am. Math. Mon. 7, 247–252. ( 10.2307/2968396) [DOI] [Google Scholar]
- 5.Kant I. 1781. The critique of pure reason. Translated by Guyer P, Wood AW. Cambridge, UK: Cambridge University Press. [Google Scholar]
- 6.Fyhn M, Molden S, Witter MP, Moser EI, Moser MB. 2004. Spatial representation in the entorhinal cortex. Science 305, 1258–1264. ( 10.1126/science.1099901) [DOI] [PubMed] [Google Scholar]
- 7.Hafting T, Fyhn M, Molden S, Moser MB, Moser EI. 2005. Microstructure of a spatial map in the entorhinal cortex. Nature 436, 801–806. ( 10.1038/nature03721) [DOI] [PubMed] [Google Scholar]
- 8.Moser EI, Kropff E, Moser MB. 2008. Place cells, grid cells, and the brain's spatial representation system. Annu. Rev. Neurosci. 31, 69–89. ( 10.1146/annurev.neuro.31.061307.090723) [DOI] [PubMed] [Google Scholar]
- 9.Solstad T. 2009. Neural representations of Euclidean space. PhD Thesis, Norwegian University of Science and Technology, Trondheim, Norway. [Google Scholar]
- 10.Fyhn M, Hafting T, Treves A, Moser MB, Moser EI. 2007. Hippocampal remapping and grid realignment in entorhinal cortex. Nature 446, 190–194. ( 10.1038/nature05601) [DOI] [PubMed] [Google Scholar]
- 11.Moser EI, Moser MB. 2008. A metric for space. Hippocampus 18, 1142–1156. ( 10.1002/hipo.20483) [DOI] [PubMed] [Google Scholar]
- 12.Barry C, Hayman R, Burgess N, Jeffery KJ. 2007. Experience-dependent rescaling of entorhinal grids. Nat. Neurosci. 10, 682–684. ( 10.1038/nn1905) [DOI] [PubMed] [Google Scholar]
- 13.Stensola H, Stensola T, Solstad T, Froland K, Moser MB, Moser EI. 2012. The entorhinal grid map is discretized. Nature 492, 72–78. ( 10.1038/nature11649) [DOI] [PubMed] [Google Scholar]
- 14.Fyhn M, Hafting T, Witter MP, Moser EI, Moser MB. 2008. Grid cells in mice. Hippocampus 18, 1230–1238. ( 10.1002/hipo.20472) [DOI] [PubMed] [Google Scholar]
- 15.Yartsev MM, Witter MP, Ulanovsky N. 2011. Grid cells without theta oscillations in the entorhinal cortex of bats. Nature 479, 103–107. ( 10.1038/nature10583) [DOI] [PubMed] [Google Scholar]
- 16.Hayman R, Verriotis MA, Jovalekic A, Fenton AA, Jeffery KJ. 2011. Anisotropic encoding of three-dimensional space by place cells and grid cells. Nat. Neurosci. 14, 1182–1188. ( 10.1038/nn.2892) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 17.Jeffery KJ, Jovalekic A, Verriotis M, Hayman R. 2013. Navigating in a three-dimensional world. Behav. Brain Sci. 36, 523–587. ( 10.1017/S0140525X12002476) [DOI] [PubMed] [Google Scholar]
- 18.Yartsev MM, Ulanovsky N. 2013. Representation of three-dimensional space in the hippocampus of flying bats. Science 340, 367–372. ( 10.1126/science.1235338) [DOI] [PubMed] [Google Scholar]
- 19.Ginosar G, Finkelstein A, Fellous JM, Las L, Ulanovsky N. 2014. In search of 3-D grid cells in flying bats. In 9th FENS Forum of Neuroscience, Milan, Italy, 5–9 July 2014, abstract no. FENS-2107. [Google Scholar]
- 20.Stella F, Si B, Kropff E, Treves A. 2013. Grid maps for spaceflight, anyone? They are for free! Behav. Brain Sci. 36, 566–567. ( 10.1017/S0140525X13000575) [DOI] [PubMed] [Google Scholar]
- 21.Beltrami E. 1868. Saggio di interpretazione della geometria non euclidea. Gior. Mat. 6, 248–312. [Google Scholar]
- 22.Stella F, Si B, Kropff E, Treves A. 2013. Grid cells on the ball. J. Stat. Mech. 2013, P03013 ( 10.1088/1742-5468/2013/03/P03013) [DOI] [Google Scholar]
- 23.Kropff E, Treves A. 2008. The emergence of grid cells: intelligent design or just adaptation? Hippocampus 18, 1256–1269. ( 10.1002/hipo.20520) [DOI] [PubMed] [Google Scholar]
- 24.Kruge IU, Wernle T, Moser EI, Moser MB. 2013. Grid cells of animals raised in spherical environments. Soc. Neurosci. Abstr. 39, 769.14. [Google Scholar]
- 25.Saccheri H. 1733. Euclides ab omni naevo vindicatus. See http://mathematica.sns.it/opere/128/.
- 26.Si B, Kropff E, Treves A. 2012. Grid alignment in entorhinal cortex. Biol. Cybern. 106, 483–506. ( 10.1007/s00422-012-0513-7) [DOI] [PubMed] [Google Scholar]
- 27.Sargolini F, Fyhn M, Hafting T, McNaughton BL, Witter MP, Moser MB, Moser EI. 2006. Conjunctive representation of position, direction, and velocity in entorhinal cortex. Science 312, 758–762. ( 10.1126/science.1125572) [DOI] [PubMed] [Google Scholar]
- 28.Si B, Treves A. 2013. A model for the differentiation between grid and conjunctive units in medial entorhinal cortex. Hippocampus 23, 1410–1424. ( 10.1002/hipo.22194) [DOI] [PubMed] [Google Scholar]
- 29.Burgess N, Barry C, O'Keefe J. 2007. An oscillatory interference model of grid cell firing. Hippocampus 17, 801–812. ( 10.1002/hipo.20327) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 30.Blair HT, Welday AC, Zhang K. 2007. Scale-invariant memory representations emerge from moiré interference between grid fields that produce theta oscillations: a computational model. J. Neurosci. 27, 3211–3229. ( 10.1523/JNEUROSCI.4724-06.2007) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 31.McNaughton BL, Battaglia FP, Jensen O, Moser EI, Moser MB. 2006. Path integration and the neural basis of the ‘cognitive map’. Nat. Rev. Neurosci. 7, 663–678. ( 10.1038/nrn1932) [DOI] [PubMed] [Google Scholar]
- 32.Dillon MR, Huang Y, Spelke ES. 2013. Core foundations of abstract geometry. Proc. Natl Acad. Sci. USA 110, 14 191–14 195. ( 10.1073/pnas.1312640110) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 33.Dehaene S, Izard V, Pica P, Spelke E. 2006. Core knowledge of geometry in an Amazonian indigene group. Science 311, 381–384. ( 10.1126/science.1121739) [DOI] [PubMed] [Google Scholar]
- 34.Izard V, Pica P, Spelke ES, Dehaene S. 2011. Flexible intuitions of Euclidean geometry in an Amazonian indigene group. Proc. Natl Acad. Sci. USA 108, 9782–9787. ( 10.1073/pnas.1016686108) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 35.Bonnevie T, Dunn B, Fyhn M, Hafting T, Derdikman D, Kubie JL, Roudi Y, Moser EI, Moser MB. 2013. Grid cells require excitatory drive from the hippocampus. Nat. Neurosci. 16, 309–317. ( 10.1038/nn.3311) [DOI] [PubMed] [Google Scholar]
- 36.Rowland DC, Weible AP, Wickersham IR, Wu H, Mayford M, Witter MP, Kentros CG. 2013. Transgenically targeted rabies virus demonstrates a major monosynaptic projection from hippocampal area CA2 to medial entorhinal layer II neurons. J. Neurosci. 33, 14 889–14 898. ( 10.1523/JNEUROSCI.1046-13.2013) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 37.Zhang K. 1996. Representation of spatial orientation by the intrinsic dynamics of the head-direction cell ensemble: a theory. J. Neurosci. 16, 2112–2126. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 38.Anderson JW. 2005. Hyperbolic geometry, 2nd edn London, UK: Springer. [Google Scholar]










