CAML

A Theory of Continuous
Attractor Manifold Learning
for Spatial Cognition

Chong Li · Xiangyang Xue · Jianfeng Feng · Taiping Zeng

NEURIPS 2026 / FUDAN UNIVERSITY

Energy-based restoration. Velocity-driven bump shifting.

The CAML method, followed by manifold restoration, bump recovery, and velocity-driven tracking.

Learning continuous
attractor dynamics.

Spatial cognition requires neural representations that remain stable under perturbations while tracking changes in orientation and location.

01

Return to the manifold

CAML shapes a scalar energy whose low-energy set represents a supplied spatial manifold. Its gradient restores perturbed activity toward the manifold.

normal restoration
02

Move along the manifold

A separately learned bump-shifting field drives motion along the manifold in response to angular or linear velocity inputs.

bump shifting
CAML learns stable ring and torus activity patterns. Normal restoration decreases energy, while velocity-driven bump shifting moves activity along the manifold.
The dynamics separate energy-decreasing normal restoration from input-driven bump shifting. The population encoding is supplied; CAML learns its attractor dynamics.

Restoration and
velocity-driven tracking.

First, follow population states as they recover toward the ring and torus. Then inspect a single activity bump during recovery or movement.

Restoration toward head-direction rings and grid-cell tori.

RECORDED MODEL DYNAMICS
Loading trajectory…
HD 0 s · Grid 0 s

Each point is one population state. Both views use fixed linear readouts of the raw activity.

Playback is accelerated. Each clock shows the simulated time for its population.

Demonstration settings

Recovery follows the Figure 3 protocol: Gaussian noise with SD 0.3 (HD) or 0.5 (Grid), followed by 25 s or 200 s of restoration. The displayed coordinates are fixed linear readouts of population activity.

Dynamics use RK4 with dt = 0.05 s. Movement examples use learned bump shifting. HD angular velocity changes direction; Grid linear velocity is mapped to phase velocity with a scale of 2 rad/m. The examples illustrate model dynamics; the results below summarize the separate 100-trajectory benchmark.

Perturbation recovery
and path integration.

Experiments on head-direction rings, grid-cell tori, and a bounded non-periodic place manifold demonstrate perturbation recovery and velocity-driven tracking.

GRID PATH INTEGRATION
87–92%

lower mean tracking error

Learned bump shifting reduces Grid phase error relative to fixed shifting across both tested velocity limits.

100 paired trajectories per condition · Table 2

Grid tracking error lower is better

0.5 rad/s limit per axis
Fixed
0.715°
Learned
0.093°
1.0 rad/s limit per axis
Fixed
1.968°
Learned
0.157°

Both groups share the same horizontal scale. Axis errors are averaged within each trajectory.

See the complete path-integration comparison
Table 2. Tracking error, mean ± SD across 100 paired trajectories.
PopulationVelocity settingLearned shiftingFixed shifting
HD0.5 rad/s limit0.752 ± 0.375°0.654 ± 0.342°
HD1.0 rad/s limit1.425 ± 0.653°1.557 ± 0.825°
Grid0.5 rad/s per-axis limit0.093 ± 0.037°0.715 ± 0.287°
Grid1.0 rad/s per-axis limit0.157 ± 0.050°1.968 ± 0.731°
PlaceRandom walk0.0039 ± 0.0023 m0.0671 ± 0.0700 m

The Place main model combines quadratic and Fourier energies. Learned shifting does not win every condition: fixed shifting has lower mean HD error at the 0.5 rad/s limit.

INTERPRETABLE INTERACTIONS

Emergent effective
interactions.

Local excitation and surround inhibition emerge from the learned restoring dynamics. The Grid interaction profile has a local excitatory peak and broader inhibitory surround.

View the full figure ↗
Figure 5: learned HD and Grid interaction matrices and profiles show spatial organization.

CAML separates two complementary roles: restoring perturbed activity toward the manifold and moving activity along it in response to self-motion.

Scope and limitations

CAML assumes supplied population encodings and restoration targets. Its recovery advantage depends on noise structure and amplitude; direct decoding performs better under weak Grid Gaussian noise. The energy-descent result applies to autonomous restoration, not arbitrary velocity-driven dynamics.