Neural Structural Reasoner: A Brain-inspired Architecture for Reasoning over Structured Knowledge

Zixing Jia, Yuhang Pan, Ni JiNeurIPS 2026

TL;DR

Modern AI models usually reason over structured facts by squishing intricate webs of relationships into flat, opaque numerical vectors—losing interpretability and breaking down on multi-step logic. Taking a cue from how the mammalian brain navigates physical and conceptual spaces, the authors introduce the Neural Structural Reasoner (NSR), an architecture that wires relationships directly into neuronal connectivity. The result is a remarkably fast-training model where the reasoning process isn't hidden inside black-box math, but plays out as an explicit, human-readable trail of firing neurons.

What Problem Does This Paper Address?

Humans effortlessly navigate relational webs: if Alice is Bob’s mother, and Bob is Charlie’s father, you immediately deduce that Alice is Charlie’s grandmother. In machine learning, this "structural reasoning" is classically tested on Knowledge Graphs (KGs)—networks of entities (nodes) connected by typed relations (edges), stored as triples like (Alice, mother_of, Bob). The standard task is link prediction: given (Alice, grandmother_of, ?), find Charlie.

Prevailing approaches—like geometric embeddings, Graph Neural Networks (GNNs), and LLMs—share two major blind spots. First, they tend to collapse rich graph topologies into flat vector spaces, leaving logical rules (like inversion or composition) implicit and brittle over long chains. Second, they output answers without showing their work. Meanwhile, biological brains solve this seamlessly using hippocampal–entorhinal "cognitive maps" and prefrontal schemas, updating internal states via path integration (the same neural mechanism that lets you walk through a dark room while tracking where you are). Until now, however, biologically inspired models were mostly stuck navigating 2D spaces rather than high-dimensional abstract knowledge.

Methods

Instead of training dense embeddings via backpropagation, NSR maps graph topology directly onto a four-layer, bidirectionally coupled network of discrete neuronal populations:

  1. Entity Layer ($L_E$): Neurons representing individual entities.
  2. Relations Layer ($L_R$): Neurons for relations and their explicit inverses (e.g., father_of and father_of$^{-1}$).
  3. Relational Reasoning Layer ($L_Z$): Conjunction neurons binding specific head entities to specific relations, acting as a state-transition map.
  4. Relation Composition Layer ($L_C$): Neurons encoding multi-hop relation chains (e.g., father_of $\rightarrow$ father_of).
Figure 1: The Neural Structural Reasoner Architecture. (a) Four core layers of NSR: LE encode entities; LZ instantiates relation-driven state transition; LR and LC encode relations and their compositions (e.g., chains). Connections in black are fixed a priori, those in green encode observed triples, those in orange are learned via Hebbian updates to capture latent relational structure. (b) Sequence of neuron activation that implements one-step reasoning over (h, r, ?) ↦→t.

What is novel here is how NSR learns and infers. Observed triples are wired directly into the network weights. Then, NSR discovers latent rules—like equivalences, symmetries, and multi-hop compositions—using Hebbian-like associative learning (specifically, a symmetrized Oja’s rule: "neurons that fire together, wire together") by checking when multi-step relational loops return to the starting entity. For static knowledge graphs, this loop-detection can also be accelerated statistically.

At query time, given (h, r, ?), NSR clamps the query relation in $L_R$ to wake up equivalent relations and multi-hop chains in $L_C$. Clamping the head entity in $L_E$ then drives recurrent, gated state transitions across $L_Z$—an abstract version of neural path integration—evaluating candidate paths in parallel and aggregating their activation strengths to rank target entities in $L_E$.

Datasets

The main evaluations span four standard KG benchmarks via PyKEEN, ranging from compact relational structures to large-scale graphs: Nations, Kinship, YAGO3-10, and FB15k-237.

In the appendices, the authors also evaluate on Countries S3, WN18RR, and a newly constructed benchmark called Kinship1990_EXTENDED (used to test deterministic, single-observation rule learning; construction details are deferred to the appendix).

Key Insights and Ideas

  • The computation is the explanation: Unlike deep networks that require post-hoc attention maps or gradient saliency to guess why a model made a prediction, every neuron in NSR represents a discrete, human-readable concept. Watching the sequence of neural activations gives you an exact, auditable logical trace of how an answer was reached.
  • Context-sensitive rule discovery: NSR doesn't just memorize frequent co-occurrences. On the Nations dataset, it learns that exportbooks + releconomicaid $\rightarrow$ embassy is a high-confidence (0.93) diplomatic bridge, while ignoring embassy + embassy despite the relation's high frequency.
  • Emergent geopolitical geometry: Even without flat vector training, projecting entities based on their recurrent connections ($W_{ZZ}$) spontaneously organizes countries in the Nations dataset into Cold War political blocs—cleanly separating the Western capitalist core (USA, UK), Eastern socialist core (USSR, China), and non-aligned nations.

Key Results

NSR is benchmarked against ten baselines across embedding, symbolic rule-mining, neural rule-learning, path-based, and GNN categories using filtered Mean Reciprocal Rank (MRR) and Hits@1/3.

Table 1: Link-prediction performance on Nations and Kinship. Hits@1 and Hits@3 are percentages. Higher ranking scores and lower training times are better; the best value in each column is bold.
Table 2: Link-prediction performance on YAGO3-10 and FB15k-237. Hits@1 and Hits@3 are percentages. Higher ranking scores and lower training times are better; the best available value in each column is bold. A dash indicates a missing entry.
  • Competitive, dataset-dependent accuracy: NSR shines on Nations (0.8142 MRR, second only to symbolic AMIE at 0.8559, beating ConvE and NBFNet) and YAGO3-10 (0.5893 MRR, second only to ConvE at 0.6365). It remains competitive on FB15k-237 (0.3649 MRR vs. NBFNet's leading 0.5114), though it trails embedding and GNN baselines on Kinship (0.6515 MRR vs. ConvE's 0.7927).
  • Major training speedups: Using its accelerated static-KG implementation, NSR trains in 3 seconds on Nations and 11 seconds on Kinship. On massive graphs, it finishes YAGO3-10 in 0.3 hours (compared to 2.3 h for NBFNet and 10.3 h for ConvE) and FB15k-237 in 0.6 hours (compared to 10.4 h for NBFNet and 11.9 h for NeuralLP).

Limitations and Future Work

NSR currently operates strictly in a clean, symbolic world: it assumes entities and relations are already neatly extracted into discrete triples, leaving noisy, temporal, or hyper-relational data unexplored. Future work will need to pair NSR with perceptual or text-extraction front-ends (like neural modules that turn raw text into triples). Additionally, scaling multi-hop compositional discovery to even larger graphs and longer chains will require sparser activations or approximate retrieval to avoid combinatorial bottlenecks, alongside more biologically grounded mechanisms for sequence detection and confidence scoring.

Summary updated

Abstract

Structural reasoning, the ability to recognize and make inferences over the relational structure between objects and concepts, is a hallmark of human cognition, yet prevailing methods often collapse relational topology into flat embeddings, cannot discover hidden structure and lack interpretability. We introduce Neural Structural Reasoner (NSR), a brain-inspired network that preserves relational structure directly in the connectivity and dynamics of coupled neuronal populations. NSR draws inspiration from three biological mechanisms: multi-layered architecture for encoding hierarchical knowledge, stable representations of entity and concepts, and path integration for input-driven state inference. At query time, NSR parallelizes computation over candidate relational structures and leverages confidence-weighted scores to perform link prediction. Across standard knowledge-graph benchmarks, NSR achieves competitive accuracy without leading on every dataset, and has lower reported training times than several neural baselines. Because reasoning is implemented through sequences of human-readable neuron activations, NSR affords native interpretability by tracking intermediate inference steps. The model further extracts latent relational hierarchies and compositional rules, demonstrating the brain-inspired architecture as an effective, efficient, and highly interpretable substrate for structural reasoning.
BibTeX
@inproceedings{jia2026neural,
  author = {Zixing Jia and Yuhang Pan and Ni Ji},
  title = {{Neural Structural Reasoner: A Brain-inspired Architecture for Reasoning over Structured Knowledge}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=t8iDmsYS6X},
}
Figure