Toward Cognitive Navigation: Design and Implementation of a Biologically Inspired Head Direction Cell Network

Zhenshan Bing, Amir E. I. Sewisy, Genghang Zhuang, Florian Walter, Fabrice O. Morin, Kai Huang, Alois C. KnollIEEE TNNLS 2022

Introduction

In biological systems, navigation begins with an internal sense of orientation. This is facilitated by Head Direction Cells (HDCs), neurons that fire based on an animal's heading relative to its environment, independent of its physical location. For autonomous robots, this function is typically performed by Inertial Measurement Units (IMUs) using numerical integration of angular velocity. However, standard integration is highly susceptible to sensor noise and cumulative "drift."

While previous research has attempted to model HDCs, these models often struggle with a trade-off between biological plausibility and computational efficiency. This paper presents a biologically inspired "internal compass" for robots that utilizes a discrete Continuous Attractor Network (CAN). By leveraging neuron models derived from real-world biological data, the researchers created a system that tracks heading with high accuracy and low computational overhead, outperforming standard numerical methods in noisy environments.

Methods

The proposed system utilizes a Continuous Attractor Network (CAN) architecture, conceptually represented as a ring of 100 neurons where each neuron corresponds to a specific orientation from 0° to 360°.

The three-layer architecture of the HDC network, featuring a main HDC layer and two shift layers (left and right) controlled by turning cells.

Key technical components include:

  • Three-Layer Architecture: The network consists of a primary HDC layer and two "shift" layers (left and right). The shift layers receive angular velocity inputs and "push" the peak of neural activity around the ring to reflect movement.
  • Biologically Derived Neuron Model: Instead of abstract units, the model uses a sigmoid transfer function calibrated with parameters from in-vivo neural recordings.
  • Fourier-Based Weight Optimization: To ensure the "bump" of neural activity remains stable and undistorted during movement, the authors employed Fourier coefficients to calculate precise synaptic weights between neurons.
  • Discrete Formulation: The continuous neural dynamics were translated into a discrete form suitable for rapid computation on digital hardware in fixed time steps.

Key Insights: Dynamics as a Filter

A significant finding of this research is that the HDC network acts as a natural filter. Because the network's internal dynamics strive to maintain a stable peak of activity, it is inherently less sensitive to noise than standard mathematical integration (such as the trapezoid rule). This allows the system to smooth out high-frequency jitter common in low-cost IMU sensors.

Visualization of the neural activity 'bump' shifting over time across the head direction spectrum (0° to 360°) due to stimuli from the shifting layers.

The authors also identified a "shifting secret": by setting the shift layers to half the amplitude of the main HDC layer, they provide sufficient "headroom" for external turning commands to move the activity peak without deforming its shape. By using a non-spiking rate model, the system achieves functional biological plausibility without the massive computational cost of simulating individual electrical pulses.

Experimental Results

The model was rigorously evaluated across numerical simulations, a simulated PyBullet maze, the KITTI autonomous driving dataset, and real-world tests in the FMI building at TUM.

  • High Accuracy: In simulated maze environments, heading error remained below 1.5°. On the KITTI dataset, average errors were generally limited to under 3°.
  • Noise Resilience: In real-world indoor tests using a noisy IMU, the HDC network achieved an average error of 1.11°, significantly outperforming standard numerical integration, which suffered a 3.4° error.
  • Real-Time Performance: Implemented on a Raspberry Pi 3, the system processed frames in an average of 7.7 ms, enabling a refresh rate of over 100Hz.

Conclusion and Future Work

The developed HDC network provides a robust and efficient mechanism for path integration. However, it currently lacks a visual reset mechanism; in nature, HDCs are periodically calibrated by visual landmarks to prevent long-term drift. Future work aims to integrate visual cues and expand the network into two-dimensional "Grid Cells" to mimic how animals track XY positions, moving toward a comprehensive "Cognitive SLAM" system.

Summary updated

BibTeX
@article{bing2022toward,
  author = {Zhenshan Bing and Amir E. I. Sewisy and Genghang Zhuang and Florian Walter and Fabrice O. Morin and Kai Huang and Alois C. Knoll},
  title = {{Toward Cognitive Navigation: Design and Implementation of a Biologically Inspired Head Direction Cell Network}},
  journal = {IEEE Trans. Neural Networks Learn. Syst.},
  year = {2022},
  doi = {10.1109/tnnls.2021.3128380},
}

Loading related content...

Figure