Neural Structural Reasoner: A Brain-inspired Architecture for Reasoning over Structured Knowledge
Organizations: Beijing Institute for Brain Research, Chinese Academy of Medical Sciences & Peking Union Medical College, Beijing, 102206, China · Chinese Institute for Brain Research, Beijing; Beijing, 102206, China · Beijing Key Laboratory of Brain Science and Brain-Machine Interface · Sun Yat-sen University, Guangzhou, China
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.
Figures & tables
| Nations | Kinship | Training time | |||||||
| Category | Method | MRR | H@1 | H@3 | MRR | H@1 | H@3 | Nations | Kinship |
| Embedding- based | ConvE | 0.8029 | 69.05 | 89.45 | 0.7927 | 68.11 | 88.45 | 26 s | 64 s |
| RotatE | 0.5351 | 33.23 | 66.02 | 0.7598 | 63.37 | 86.26 | 24 s | 84 s | |
| Symbolic rule learning | AnyBURL | 0.7994 | 69.15 | 89.55 | 0.6768 | 54.10 | 76.63 | 64 s | 63 s |
| AMIE | 0.8559 | 77.11 | 92.54 | 0.6767 | 55.03 | 76.26 | 0.6 h | 2 s | |
| Neural rule learning | NeuralLP | 0.6841 | 52.74 | 81.59 | 0.6072 | 47.30 | 68.06 | 40 s | 26 s |
| YAGO3-10 | FB15k-237 | Training time | |||||||
| Category | Method | MRR | H@1 | H@3 | MRR | H@1 | H@3 | YAGO3-10 | FB15k-237 |
| Embedding- based | ConvE | 0.6365 | 59.03 | 71.28 | 0.4095 | 31.61 | 44.89 | 10.3 h | 991 s |
| RotatE | 0.1812 | 9.98 | 21.04 | 0.3368 | 27.07 | 41.51 | 1.5 h | 1.5 h | |
| Symbolic rule learning | AnyBURL | 0.5589 | 50.78 | 60.16 | 0.332 ∗ | 24.7 ∗ | — | 1000 s | 1000 s ∗ |
| AMIE | 0.5473 | 49.58 | 59.27 | 0.2170 | 16.57 | 23.07 | 83 s | 8 s | |
| Neural rule learning | NeuralLP | — | — | — | 0.3166 | 24.45 | 34.31 | — | 11.9 h |
Appendix figures & tables12 assets
Supplementary material from the paper’s appendix.
Appendix
| Dataset | T_thresh | |||
| Nations | 0.22 | 23 | 0.20 | 0.52 |
| Kinship | 0.90 | 27 | 0.17 | 0.20 |
| Countries S3 | 1 | 1.00 | 1.00 | |
| Kinship1990_EXTENDED | 0.46 | 23 | 0.13 | 0.34 |
| Dataset | Entities | Relations | Total | Train | Val | Test |
| Nations | 14 | 55 | 1,992 | 1,592 | 199 | 201 |
| Kinship | 104 | 26 | 10,686 | 8,544 | 1,068 | 1,074 |
| Kinship1990_EXTENDED | 480 | 14 | 2,240 | 1,568 | 224 | 448 |
| Countries_S3 | 271 | 2 | 1,033 | 985 | 24 | 24 |
| WN18RR | 40,943 | 11 | 93,003 | 86,835 | 3,034 | 3,134 |
| FB15k-237 | 14,541 | 237 | 310,116 | 272,115 | 17,535 | 20,466 |
| Model | Dim | Loop | Inverse | LR | Epochs | Special |
| TransE | 100 | sLCWA | No | 150 | scoring_fct_norm=1 | |
| DistMult | 100 | LCWA | No | 150 | — | |
| ComplEx | 100 | LCWA | No | 150 | — | |
| RotatE | 100 | sLCWA | No | 150 | — | |
| ConvE | 100,200 | LCWA | Yes | 150 | out_ch=32, dropouts | |
| RESCAL | 100 | LCWA | No | 150 | — |
| Model | Rule Len | Hidden Dim | LR | Iters | Special |
| RNNLogic (Miner) | 3 | — | — | — | 16 threads |
| RNNLogic (Predictor) | — | 32 | 10 | batch=16, smoothing=0.1, expectation=True, without embedding |
| Model | MRR | Hits@1 | Hits@3 | Train Time (s) |
| ConvE | 0.1987 2.47 | 11.25 2.50 | 19.17 4.04 | 20.3 2.7 |
| DistMult | 0.1761 1.42 | 7.50 1.02 | 20.42 3.06 | 17.4 1.0 |
| RotatE | 0.1184 2.42 | 4.17 1.86 | 10.00 4.45 | 19.4 2.9 |
| RESCAL | 0.1906 1.00 | 10.42 2.64 | 18.33 2.04 | 14.7 2.1 |
| ComplEx | 0.0290 2.68 | 0.83 1.67 | 2.08 4.17 | 18.4 2.2 |
| TransE | 0.1182 0.61 | 0.00 0.00 | 14.17 2.76 | 18.9 1.7 |
| Model | MRR | Hits@1 | Hits@3 | Train Time (s) |
| ConvE | 0.8265 0.91 | 74.93 1.47 | 87.83 0.72 | 60.5 7.5 |
| DistMult | 0.9409 0.15 | 90.62 0.30 | 97.75 0.25 | 31.9 4.0 |
| RotatE | 0.5988 4.47 | 51.94 5.27 | 64.40 4.20 | 26.0 1.1 |
| RESCAL | 0.0144 0.28 | 0.22 0.12 | 0.80 0.31 | 30.3 5.3 |
| ComplEx | 0.0220 0.34 | 0.42 0.23 | 1.41 0.50 | 31.4 1.6 |
| TransE | 0.2249 0.58 | 2.19 0.69 | 33.42 1.58 | 25.3 2.4 |
| Method | MRR | Hits@1 | Hits@3 | Hits@10 |
| TransE | .226 | — | — | .501 |
| DistMult | .430 | .390 | .440 | .490 |
| ConvE | .430 | .400 | .440 | .520 |
| ComplEx | .440 | .410 | .460 | .510 |
| RotatE | .476 | .428 | .492 | .571 |
| BoxE | .451 | .400 | .472 | .541 |
| Method | Nations | Kinship | WN18RR | YAGO3-10 | FB15k-237 |
| AnyBURL | 0.7994 | 0.6768 | 0.5658 | 0.5589 | 0.332 ∗ |
| AMIE | 0.8559 | 0.6767 | 0.4157 | 0.5473 | 0.2170 |
| PRA / PathRank | 0.5933 | 0.6296 | 0.0556 | 0.4678 | 0.0972 |
| NTP | 0.6223 | 0.612 ∗ | — | — | — |
| NeuralLP | 0.6841 | 0.6072 | 0.4677 | — | 0.3166 |
| NCRL | 0.4571 | 0.6050 | 0.4070 | 0.380 ∗ | 0.300 ∗ |
| Method | Nations | Kinship | WN18RR | YAGO3-10 | FB15k-237 |
| AnyBURL | 64 s / 16 s | 63 s / 36 s | 603 s / 11 s | 1000 s / 424 s | 1000 s ∗∗ / — |
| AMIE | 2246 s / 0.1 s | 2 s / 0.3 s | 2 s / 0.1 s | 83 s / 0.6 s | 8 s / 1.2 s |
| PRA / PathRank | 34 s / 0.5 s | 86 s / 0.3 s | 22 s / 156 s | 239 s / 354 s | 229 s / 841 s |
| NTP | 1.9 h / 8 s | — | — | — | — |
| NeuralLP | 40 s / 8 s | 26 s / 4 s | 1.1 h / 129 s | — (OOM) | 11.9 h / 533 s |
| NCRL | 134 s / 43 s | 99 s / 7 s | 244 s / 24 s | — | — |
| Variant | Nations | Kinship | Kinship1990_EXTENDED |
| Full model | 0.81 0.03 | 0.65 0.01 | 0.95 0.00 |
| w/o inverse encoding | 0.66 0.03 ( 0.15) | 0.05 0.00 ( 0.60) | 0.10 0.00 ( 0.85) |
| w/o relation-equivalence retrieval | 0.61 0.01 ( 0.20) | 0.42 0.00 ( 0.24) | 0.82 0.00 ( 0.12) |
| w/o compositional inference | 0.79 0.03 ( 0.03) | 0.48 0.01 ( 0.17) | 0.46 0.00 ( 0.48) |
| w/o Hebbian learning | 0.36 0.01 ( 0.45) | 0.05 0.00 ( 0.60) | 0.02 0.00 ( 0.93) |