External Hippocampus: Topological Cognitive Maps for Guiding Large Language Model Reasoning
Jian Yan
TL;DR
Small-language-models exhibit cognitive deadlock on multi-step reasoning, limiting reliability during inference. The External Hippocampus builds online topological cognitive maps from reasoning trajectories, trains a Learned Navigator to value transitions, and uses test-time perturbations and majority voting to guide reasoning, yielding substantial efficiency and accuracy gains. Empirical analyses reveal model-specific topologies (e.g., plate tectonics vs neural archipelago), low-entropy attractors underpinning deadlock, and a temperature-based recovery mechanism, along with domain-specific transfer limitations. The framework offers a topology-aware, data-efficient path to bolster reasoning in small models and highlights the need for domain-aligned maps and selective perturbations to shape energy landscapes during inference.
Abstract
This paper proposes the External Hippocampus framework, which models language model reasoning from a cognitive dynamics perspective as the flow of information energy in semantic space. Unlike traditional weight-space optimization methods, this framework constructs topological cognitive maps through dimensionality reduction projection, enabling precise navigation and intervention of energy flow at test time while avoiding substantial computational requirements and demonstrating predictable intervention patterns. The method effectively addresses the cognitive deadlock problem in multi-step reasoning for small models. Experiments on models <=7B parameters show: map-guided methods achieve 81.20% accuracy on 500 challenging problems (relative baseline +16.80%), reduce reasoning time by >= 15x, with key findings revealing that reasoning stagnation manifests as "Cognitive Vortex" and low-entropy potential wells, while temperature perturbations effectively restart energy flow. The framework requires no additional training, possesses autonomous growth capability, and provides an efficient and controllable topological-aware solution for small model reasoning.
