acceptodds
Published as a conference paper at NeurIPS 2026

A Theory of Spatial Continuous Attractors in Hopfield Energy Landscapes

Chong Li, Xiangyang Xue, Jianfeng Feng, Taiping Zeng

Abstract

Spatial cognition requires stable neural manifolds of orientation and location that track self-motion and sensory cues. Continuous attractors provide a natural dynamical principle, but learning such mechanisms that form and control manifolds with theoretical guarantees remains difficult. We propose Spatial Energy Attractor Learning (SEAL), a theory of neurodynamics learning for spatial cognition, where continuous spatial representations arise as learned low-energy manifolds in Hopfield energy landscapes through population-level Fourier energy learning. For head-direction and grid-cell systems, Fourier energy landscapes yield ring and torus attractors with learned normal attraction and input-driven tangent transport. We prove that Fourier construction is a special case of a general Hopfield-compatible energy extension whose autonomous dynamics preserve energy descent and whose expressive energy families approximate target attractor energies and restoring fields. Experiments on HD and grid-cell populations show that the learned energies restore perturbed states to ring and torus manifolds, stabilize velocity-driven moving bumps across multiple input regimes, and induce continuous-attractor interactive structures with local excitation and surround inhibition. Together, these results provide a stable, learnable, and biologically interpretable energy-based account of continuous spatial representation.

Keywords:
Sydney, Main Track

Reviews

Among:
Shape:
123456this paper, Bottom 49%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 4.33 over 3 reviews, above 49% of the others.
Reviewer_AdCuOpenReview ↗
Rating
5
Clarity
3
Confidence
3
Originality
3
Quality
3
Significance
3
Read review
Summary

This paper proposes Spatial Energy Attractor Learning (SEAL), a framework for learning stable neural representations of spatial variables such as head direction and grid-cell phase. The main idea is to represent these variables as low-energy manifolds in a Hopfield-style energy landscape: a ring for head direction and a torus for grid cells. If a neural population state is perturbed away from the valid manifold, the learned energy gradient pulls it back. A separate velocity-driven term then moves the activity state along the manifold, allowing the representation to track self-motion.

The authors instantiate this idea using Fourier energy functions over neural population activity. They show that the learned energy can restore noisy head-direction and grid-cell states back to their respective manifolds, stabilize moving activity bumps under velocity input, and induce effective interaction patterns resembling classical continuous-attractor models. The paper also provides a theoretical argument that the learned energy term can be inserted into continuous Hopfield dynamics while preserving autonomous energy descent under standard assumptions.

Strengths and weaknesses

The paper has a clear and interesting central idea: learn the energy landscape that stabilizes a spatial representation, rather than hand-designing the recurrent connectivity. I found the separation between restoration and movement helpful. The learned energy pulls perturbed activity back to the ring or torus, while a separate velocity term moves the activity along that structure. This makes the model easier to reason about than a fully unconstrained recurrent network. The connection to Hopfield energy descent is also a strength, since it gives the model a clear stability story rather than just an empirical one.

The main weakness is that the paper does not learn the full continuous-attractor system. The stabilizing energy is learned, but the tangent transport term is fixed using known structure of the head-direction and grid-cell manifolds. This makes the contribution narrower than the framing sometimes suggests. This is a reasonable starting point, but it leaves open whether the approach works when the manifold, sensory anchoring, or transport dynamics are not already known. Overall, the paper presents a nice theoretical framework that perhaps does not serve as a complete model of spatial cognition.

Questions

The main question I would ask is whether SEAL can learn more of the continuous-attractor system, rather than only the stabilizing energy. In the current experiments, the tangent transport term is fixed using known structure of the head-direction and grid-cell manifolds, so it would be useful to know how the method performs when transport must also be learned or estimated. I would also encourage the authors to test less idealized settings, such as noisier population codes, imperfect manifold coordinates, or sensory anchoring inputs.

Limitations

The main limitation is that the paper studies a controlled version of the spatial-attractor problem. The method learns an energy landscape that restores activity to known ring and torus manifolds, but the transport dynamics are hand-specified rather than learned.

Paper formatting concerns

References [24] and [25] look incomplete?

Reviewer_GmJSOpenReview ↗
Rating
4
Clarity
3
Confidence
3
Originality
2
Quality
3
Significance
2
Read review
Summary

The authors develop a method to learn continuous attractors for arbitrarily defined manifolds based on a learned energy minimization procedure. They show that this energy can be combined with traditional Hopfield energy and that they can learn classic continuous attractor structures such as ring-attractors and torus attractors (with toeplitz like connectivity, and mexican hat kernels).

Strengths and weaknesses

Overall:

The goal of the paper is noble: trying to learn arbitrary continuous attractors. Yet, I do not think in the paper's current form, one can say that they have demonstrated they have accomplished this goal. There are weaknesses in the novelty of the method and its presentation which I describe below.

The main novelty of the paper appears to be a specific learning objective that allows the authors to train a scalar energy by perturbing points off of a manifold, projecting back, and then minimizing the difference. This is reminiscent of Diffusion. Unfortunately, this part of the paper is relatively poorly explained in the main text, with many notational issues, and much of the description of the method deferred to the appendix, see listed weaknesses for some specifics.

The rest of the paper's proposed methods are almost by definition true or relatively well known (e.g. the fact that dynamics following the gradient of a potential are Lyapunov, and that energy functions can be added together to form a new energy function). This makes their main theoretical contributions relatively unsurprising; but I encourage the authors to please challenge me if I am missing something non-trivial with the derivation.

The fact that the method is able to reproduce the well-known continuous attractor networks for ring attractors and torus manifolds is great to see, but it is also somewhat disappointing from the point of significance of the work (and a bit expected). If the authors could demonstrate that their model is able to do more than just learn to reproduce what has already been known in theory, this would help dramatically to improve the significance of the work. For example, could they learn a new manifold that is not a ring or torus? These types of predictions would be extremely valuable but are unexplored. My fear is that their method for deriving the transport field does not generalize to other arbitrary manifolds, limiting the applicability of their paper.

Finally, the framing of this paper around 'Hopfield Energy Landscapes' feels tangental to me. None of the experiments actually use the Hopfield energy (they set it to zero), and they only use their learned energy function. It seems the only concrete relation to hopfield networks is the fact that their dynamics are defined by gradient descent on some scalar energy -- to me, this is too general to call it a 'hopfield energy landscape'. Furthermore, as said above, that fact that energy functions can be combined (such as their energy and the classical hopfield energy) is well known, so the simple theoretical contribution of showing that these combine is not sufficient for the naming in my opinion. If the authors would like to keep this framing, they should at least include experiments with a non-zero hopfield energy and show that there is some value to the combination of these two energy functions.

Strengths:

  • The goal is important, well defined, and stated.
  • The paper has nice figures and illustrations.
  • The reproduction of known continuous attractor architectures is a strong validation that their method works.

Weaknesses:

  • Notational Issues:
    • I do not believe equation 1 is correct. This implies all memories in a hopfield network are global minima -- this is not true. This should be changed to support local minima at least.
  • Lack of clarity for the new method:
    • The dagger notation is very unintuitive for a real-valued vector (equation 8). This makes understanding what the projection operator is doing very confusing. I believe this is entirely unnecessary. Why not just use the projection operator Π\Pi?
    • Important derivations and definitions are on multiple occasions deferred to the appendix. The paper also has lots of white space and could be condensed, so the omission does not seem like a space concern.
    • The authors write that e0e_0 is optimized multiple times. Shouldn't this not matter since it is a scalar global offset to the energy?
  • There are no baseline methods in the experiment section. For example, the authors could compare against the known CANN models to see how their learned counterparts compare. The properties of their learned CANNs are not quantitatively compared with any prior work.
  • The significance of the method is in question when there are no new attractors that are being learned. They have only reproduced two well-known attractors from the literature.
Questions
  • Can the authors demonstrate that their method works for other manifolds other than the ring and torus? Does their method for deriving the transport operators also work for other general manifolds? This would be critical to increasing my score since it is central to the significance of the method.
  • Can the authors comment on the robustness of their method compared to the well-known CANN architectures? Providing quantitative results comparing their model with others would be hugely benficial.
  • Can the authors suggest any use case where one would want to combine a hopfield-like energy term with a continuous manifold that their method develops? This would also be critical to justifying the framing of their paper.
Limitations

The mentioned limitations are extremely short. The authors should expand on their one sentence about 'learning the transport field itself, handling strongly non-periodic environments, or scaling to heterogeneous multi-module spatial codes' since these are precisely where the significance of their method would come from.

Paper formatting concerns

None

Final justification

The reviewers have addressed my major concerns that their model was limited to the simple examples presented in the main paper. With these additional results, I believe that their method is likely of interest to many in the field, and they have justified their naming of the paper to some extent. I believe that more thorough experiments following up on their rebuttal would significantly improve the paper to bring it to a strong accept, but I believe it is already above the bar with the inclusion of these new results.

Reviewer_Lze9OpenReview ↗
Rating
4
Clarity
3
Confidence
3
Originality
2
Quality
3
Significance
2
Read review
Summary

The paper proposes Spatial Energy Attractor Learning (SEAL), a framework for representing continuous spatial variables (head direction, grid-cell phase) as low-energy manifolds in a Hopfield-type energy landscape, rather than as isolated point attractors or as hand-designed continuous attractor network (CANN) connectivity. The central move is to shift the learned object from recurrent weights to a scalar population-energy function.

The total energy is the classical continuous-Hopfield energy plus a learnable spatial term parameterized as a finite Fourier expansion over population space,

\qquad b_m \in \mathbb{R}^N,$$ whose analytic gradient supplies a restoring field $$-\nabla_h E_{\mathrm{sp}}(h) = \sum_{m=1}^{M} a_m \sin\!\big(b_m^\top h + \beta_m\big)\, b_m .$$ The dynamics are decomposed into (i) autonomous, energy-decreasing *normal restoration* $-\nabla_h E_\theta(h)$ and (ii) an input-driven, non-conservative *tangent transport* term that moves activity along the manifold: $$\dot h = \underbrace{-\nabla_h E_\theta(h)}_{\text{normal restoration}} \;+\; \underbrace{T(h,u)}_{\text{tangent transport}} .$$ The energy is fit by matching a projection-defined target force $F^\star(\tilde h) = \tfrac{2}{\alpha_N}\big(\mathrm{sg}[h^\dagger(\tilde h)] - \tilde h\big)$ that points from a corrupted state back to a decode/re-encode of the nearest valid population code $h^\dagger(\tilde h) = \Pi(\tilde h) \in \mathcal{M}$. Theoretically, the authors show the added differentiable energy term preserves Lyapunov energy descent in continuous Hopfield dynamics (Thm 1), with $\frac{dE}{dt} = -\sum_i \tau_i\, g_i'(u_i)\,(\dot u_i)^2 \le 0$; that the Fourier energy is a special case of a symmetric feature-interaction energy $E_{\mathrm{sp}}(v) = -\tfrac12 \phi(v)^\top P\, \phi(v)$ (App A.3–A.4); and that a $C^1$-dense energy family can approximate target energies and their gradients (Prop 1). Empirically, on synthetic HD (ring) and grid (torus) populations, autonomous descent restores perturbed states to the manifold, fixed transport operators drive moving bumps under constant/sinusoidal/random-walk velocity, and linearizing the learned restoring field, $$J_\theta(h_0) = \sum_{m=1}^{M} a_m \cos\!\big(b_m^\top h_0 + \beta_m\big)\, b_m b_m^\top ,$$ yields center-surround ("Mexican-hat") effective interactions resembling classical CANN kernels.
Strengths and weaknesses

Strengths

The organizing idea is clean and, to my knowledge, a genuinely useful reframing: separating a conservative restoring component with a provable Lyapunov guarantee from a non-conservative transport component is a tidy way to think about the two jobs a spatial CANN must do (the restoration-vs-tracking decomposition of Fung/Wong/Wu is made explicit and given an energy backbone). The mathematics in §2 and Appendix A is correct and clearly presented; Theorem 1 is a sound, if modest, extension of the Cohen–Grossberg/Hopfield Lyapunov argument, and the identification of the population-Fourier energy as a symmetric feature-interaction kernel (App A.4) is elegant and connects the construction to the dense/modern Hopfield lineage. The most scientifically interesting result is §3.3 / App D: recovering a circulant local-excitation/surround-inhibition kernel for HD and a 2D center-surround kernel for grid cells as the Jacobian of a learned scalar energy, rather than as an imposed weight matrix, is a satisfying bridge back to Ben-Yishai/Zhang/Burak–Fiete-style kernels. The writing is well organized and the method is specified in enough detail (Appendices B–D) to reproduce.

Weaknesses

My central concern is that the "learning" carries much less of the load than the framing implies, so the headline claim that continuous spatial representations arise as learned manifolds is overstated.

  1. The transport operators Dθ,D1,D2D_\theta, D_1, D_2 are fixed periodic finite-difference operators encoding the known tangent directions, and the velocity-to-phase map (Eq. 21) is a fixed matrix. The paper is candid about this ("the transport operators are not learned," ll. 164–167), but path integration is precisely where existing CANN models (Burak & Fiete 2009; Zhang 1996) do their nontrivial work. Isolating energy learning is a defensible scope choice, yet the abstract/intro should not read as if the full continuous-attractor computation is learned.

  2. The projection Π\Pi decode/re-encodes through the ground-truth tuning curves (Eqs. 61–67: von Mises HD code, triple-cosine grid code). The training target F⋆F^\star (Eq. 10) therefore contains the answer — it points from the corrupted state to the known clean code — and the Fourier basis frequencies are matched to the known spatial scales. So the system is fit to reproduce a prescribed denoising field toward a known manifold, which is closer to "learn a scalar potential whose gradient matches a given vector field" than to "learn the attractor."

  3. Force alignment (Eq. 19) and Spearman energy correlation (Eq. 20) are computed against the same projection-defined F⋆,E⋆F^\star, E^\star that the loss (Eqs. 11/71) directly optimizes; FA=0.97\mathrm{FA}=0.97–0.990.99 and ρS=0.99\rho_S=0.99 largely report that the least-squares fit converged, not an independent property. The mean-distance reduction under autonomous flow (2.54 ⁣→ ⁣0.052.54\!\to\!0.05; 21.82 ⁣→ ⁣1.5721.82\!\to\!1.57) is a more meaningful end-to-end measure, but it is still scored through the oracle Π\Pi, and there are no baselines — no comparison to a hand-designed CANN kernel, a modern/dense Hopfield network, a trained path-integration RNN, or even a trivial "project to nearest code" denoiser. Without these it is impossible to tell whether SEAL buys anything (capacity, basin size, robustness) over methods the field already has.

  4. It assumes the energy family is C1C^1-dense and then concludes uniform approximation of the function and its gradient — essentially a restatement of C1C^1-norm convergence. It says nothing about whether the finite Fourier family actually used is expressive enough for a given target manifold, or how MM (number of modes), NN, and the mixing parameter ρ\rho trade off. The genuinely interesting expressivity question is left unaddressed.

  5. Two canonical manifolds with known periodic topology, single configurations, synthetic codes, and (by the authors' own checklist, Q7) no multi-seed error bars. There is no sensitivity analysis over MM, NN, noise σ\sigma, ρ\rho, or basin-of-attraction size, and no test of capacity or graceful degradation.

  6. Differentiation from Dynamic Manifold Hopfield Networks [25] and from dense/modern Hopfield associative memory (Krotov–Hopfield; Ramsauer et al.; Millidge et al.) is asserted rather than demonstrated. The "biologically interpretable" claim is supported only by qualitative kernel shape; given that Chaudhuri et al. [5] and Gardner et al. [6] are cited, a quantitative contact with measured manifolds/interactions would strengthen the biological claim considerably.

Questions
  1. Can you compare SEAL's restoration (basin size, robustness to noise level, capacity) against (a) a hand-designed ring/torus CANN kernel, (b) a modern/dense Hopfield network, and (c) a trivial decode-re-encode denoiser? If SEAL matched or beat (a)/(b) and clearly beat (c) on an independent metric, I would raise Quality and Significance.

  2. Can you report convergence/recovery using a metric not derived from the training projection Π\Pi (e.g., decoding error against the ground-truth latent, or the geometry of the autonomous flow's fixed set without re-encoding)? Independent evidence of manifold formation would raise Quality.

  3. What happens if the basis directions bmb_m are fully learned (not frequency-matched), if Π\Pi is replaced by a learned encoder/decoder, and especially if the transport operators are learned rather than fixed? Even a partial result on learned transport would substantially change my view of Originality and Significance.

  4. How do recovery and kernel quality scale with MM, NN, σ\sigma, and ρ\rho? A finite-MM expressivity statement (modes needed for a given manifold/tolerance) would make Prop 1 meaningful. Concrete scaling results would raise Quality.

Limitations

The authors include a Discussion/Limitations paragraph (§4) and a candid checklist (no learned transport, only periodic manifolds, no multi-seed error bars, code not yet released). This is appropriately honest. However, the limitations understate two issues that bear directly on the contribution: the oracle nature of the projection target (the manifold is effectively given), and the absence of any baseline comparison. I would ask the authors to foreground both, since they affect how the central claim should be read.

Paper formatting concerns

None

Final justification

Reviewers addressed my major concerns, please see my response to the authors.

Comments on the paper

1 comment
Meta-review

Initial meta-review

This paper proposes a method for learning continuous attractors from data. This is a challenging problem: continuous attractors can be handcrafted, they appear to be implicitly learned by task-optimized RNNs (and diffusion models to some extent), and point attractors can be learned by Hopfield networks; yet there is not general theory for how attractors can be learned from data.

The main weakness, as stated by Reviewer GmJS, is that "The goal of the paper is noble: trying to learn arbitrary continuous attractors. Yet, I do not think in the paper's current form, one can say that they have demonstrated they have accomplished this goal." The reviewer points to 2 specific weaknesses:

  • The main novelty of the paper appears to be a specific learning objective... Unfortunately, this part of the paper is relatively poorly explained in the main text...
  • The fact that the method is able to reproduce the well-known continuous attractor networks for ring attractors and torus manifolds is great to see, but it is also somewhat disappointing from the point of significance of the work (and a bit expected). If the authors could demonstrate that their model is able to do more than just learn to reproduce what has already been known in theory, this would help dramatically to improve the significance of the work

Related to the second weakness, Reviewer Lze9 states:

  • My central concern is that the "learning" carries much less of the load than the framing implies, so the headline claim that continuous spatial representations arise as learned manifolds is overstated.

Overall, I think this paper would be substantially improved if the authors can demonstrate that a more general class of continuous attractors (beyond well studied ring and toroidal attractors) can be learned, even if some symmetry constraints are imposed.

Final meta-review

I have read the authors' response. The authors responded to each of the weaknesses that were raised in the initial meta-review. Reviewer Lze9 stated that several of their main concerns were addressed and raised their score to 4. Reviewer GmJS also raised their score to 4. Both reviewers had concerns about additional experiments that compared the paper's method to baselines. Overall, the reviewers' main concerns were adequately addressed.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Related papers

Loading the map…

Discussion (0)

Sign in to comment.