Threshold Adaptation in Spiking Networks Enables Shortest Path Finding and Place Disambiguation

Robin Dietrich, Tobias Fischer, Nicolai Waniek, Nico Reeb, Michael Milford, Alois Knoll, Adam D. Hines

Introduction

Navigating complex environments requires both identifying the shortest path to a goal and resolving perceptual aliasing—where different locations appear identical. In traditional robotics, algorithms like Dijkstra’s or A* solve pathfinding through graph search, but implementing these efficiently in biologically inspired Spiking Neural Networks (SNNs) remains a challenge. SNNs are primarily uni-directional; "back-tracing" from a target to a start typically requires artificial backward connections or permanent synaptic changes that limit network flexibility. This paper proposes a novel solution: using temporal shifts in spike timing, driven by dynamic threshold adaptation, to perform back-tracing and disambiguation without structural modifications.

Core Mechanisms: STDTA and ADTA

The researchers extend the Spiking Hierarchical Temporal Memory (S-HTM) model with two primary adaptation rules and a global inhibitory mechanism.

Spike Timing-Dependent Threshold Adaptation (STDTA)

To find a path, the network artificially lowers the firing threshold of neurons representing the target location. During a forward replay of learned sequences, this reduced threshold causes the target neurons to fire earlier than they otherwise would. If a preceding neuron fires within a specific time window before this early spike, its own threshold is lowered for the subsequent replay. This creates a "backward-flowing" wave of temporal shifts.

Global Inhibition

A global inhibitory neuron monitors the entire population. When any path reaches a node, the first spike triggers global inhibition, suppressing slower alternative spikes. Because the optimal path's neurons have their thresholds lowered first (due to the cascading STDTA), they fire earlier and effectively "win" the competition, pruning non-optimal routes.

Mechanism of back-tracing (BT) via threshold adaptation. Lowering the threshold of a target node (G) causes it to fire earlier, which in turn triggers threshold reduction in preceding nodes (C), eventually pruning longer alternative paths through global inhibition.

Ambiguity Dependent Threshold Adaptation (ADTA)

Perceptual aliasing is addressed by measuring the size of the active neuron population. In S-HTM, ambiguous locations (shared across multiple contexts) activate many neurons, while unique landmarks activate fewer. ADTA lowers the threshold for these smaller, unique populations, making them "attractive" targets for the path planner and allowing the agent to actively seek out disambiguating information.

Experimental Results

The approach was validated in simulated 2D environments represented as directed graphs.

Shortest Path Finding

In a synthetic 10-location environment with overlapping routes, the network successfully identified the shortest path in just three replays. The number of required replays scales with the complexity of path overlaps rather than the absolute path length, offering significant computational efficiency.

Place Disambiguation

The model was tested in scenarios where central nodes were shared across three different environment layouts. By applying ADTA, the network successfully prioritized unique peripheral nodes during the first replay, effectively "finding its way" out of ambiguous regions.

Temporal dynamics of sequence replay across multiple iterations. (a) Test environments with varying degrees of ambiguity. (b) Spike timing diagrams showing how ADTA and STDTA shift activity patterns to identify unique landmarks and optimal paths over three replays.

Discussion and Future Directions

The key insight of this work is that time can serve as the backward signal. By shifting spike times earlier through threshold adaptation, the network performs a functional back-trace within a forward-only architecture. This makes the algorithm highly suitable for neuromorphic hardware like Intel's Loihi, where local learning rules and spike timing are central.

However, limitations remain. The system currently lacks an autonomous "stop condition" for the replay process, and hyperparameters like threshold decay rates require manual tuning. Future work aims to integrate real-world sensor data from event cameras and deploy the system in dynamic SLAM (Simultaneous Localization and Mapping) environments to further validate its robustness and energy efficiency.

Summary updated

BibTeX
@inproceedings{dietrich2025threshold,
  author = {Robin Dietrich and Tobias Fischer and Nicolai Waniek and Nico Reeb and Michael Milford and Alois Knoll and Adam D. Hines},
  title = {{Threshold Adaptation in Spiking Networks Enables Shortest Path Finding and Place Disambiguation}},
  booktitle = {NICE},
  year = {2025},
  doi = {10.1109/nice65350.2025.11065806},
}
Figure