Analogical and Relational Reasoning with Spiking Neural Networks

Rollin Omari, Bob McKay, Tom Gedeon · DOI

TL;DR

This paper introduces spiking neural networks (SNNs) augmented with biologically inspired modules for tackling Raven's Progressive Matrices (RPMs), a benchmark for abstract reasoning. The SNNs demonstrate superior performance in both supervised and unsupervised learning settings, outperforming existing methods and even human-level accuracy on the RAVEN dataset.

What Problem Does This Paper Address?

Abstract reasoning, the ability to identify underlying rules and relationships in novel situations, is a cornerstone of human intelligence but remains a significant challenge for artificial intelligence. Raven's Progressive Matrices (RPMs) are a popular task for measuring this ability, requiring subjects to deduce logical patterns from visual matrices and select the correct completion from a set of options. While previous AI approaches have tackled RPMs, they often rely on extensive feature engineering or struggle with generalization. This paper aims to bridge this gap by exploring how biologically inspired spiking neural networks, with their inherent temporal processing capabilities, can significantly enhance abstract reasoning performance.

Methods

The researchers propose two main approaches:

  • Supervised Learning with Liquid State Machines (LSMs): They employ an LSM, a recurrent neural network with a "liquid" layer where information fades over time. This architecture is combined with a ResNet-18 for feature extraction. The LSM's random, fixed internal connections and time-dependent dynamics are hypothesized to be well-suited for the complex, dynamic information present in RPMs.
  • Unsupervised Learning with Spiking Neural Networks (SNNs): Two SNN architectures are presented, utilizing leaky integrate-and-fire (LIF) neurons with adaptive thresholds. One SNN uses standard Spike-Timing Dependent Plasticity (STDP) for learning, while the second (SSOM) combines STDP with a Self-Organizing Map (SOM) algorithm for its recurrent connections. This approach aims to learn representations without explicit labels.

Both approaches leverage a ResNet-18 as a feature extractor, with some experiments also incorporating a Dynamic Residual Tree (DRT) module for enhanced feature representation.

Datasets

  • RAVEN Dataset: This is the primary dataset used for training and evaluation. It comprises 1,120,000 images and 70,000 RPM problems, categorized into 7 distinct figure configurations. The dataset also includes human performance benchmarks.

Key Insights and Ideas

  • Spiking Neurons Excel at Temporal Reasoning: The paper strongly suggests that the inherent temporal processing capabilities of spiking neurons are crucial for abstract reasoning tasks like RPMs. SNNs can extract and encode temporal features without explicit instruction.
  • Architecture Matters for Reasoning: The choice of network architecture, particularly the inclusion of recurrent and spiking modules, significantly impacts performance, even more so than the learning strategy in some cases.
  • Unsupervised Learning with SNNs is Powerful: The unsupervised SNN models, especially the SSOM variant, achieve remarkably high accuracy, demonstrating that complex reasoning can be learned without direct supervision.
  • Reduced Reliance on Training Data: Spiking modules show a reduced dependency on massive training datasets, generalizing more effectively with fewer examples.
  • DRT Module Enhances Performance: While not strictly a novel contribution of this paper, the use of the DRT module for feature extraction consistently boosts the performance of both LSM and SNN models.

Key Results

  • Supervised LSM: The LSM+DRT model achieved a testing accuracy of 93.30% on the RAVEN dataset, surpassing human-level performance (84.41%) and the state-of-the-art CoPINet (91.42%).
  • Unsupervised SNNs:
    • The SNN+DRT model reached 84.86% accuracy.
  • The SSOM+DRT model achieved 93.23% accuracy, also surpassing human performance.
  • Efficiency: Using extracted features instead of raw images provided a significant speed-up (approximately 200x) in processing time.
  • Generalization: Spiking models (SNN, SSOM, LSM) demonstrated superior generalization capabilities across different RPM configurations compared to non-spiking baselines like ResNet-50.
  • Data Efficiency: The LSM model, even with limited training data (around 1/64th of the full dataset), could achieve or surpass human-level performance when using DRT features.

Limitations and Future Work

  • DRT Module Dependency: The best-performing models often rely on the DRT module, which incorporates domain knowledge. The paper notes that "unsupervised methods currently only achieve human-level performance by relying on a module that incorporates domain knowledge."
  • Comparison Fairness: The authors acknowledge the difficulty in performing standard statistical tests for comparing their best model against CoPINet due to limited results for CoPINet and computational constraints.
  • Future Work: The paper concludes by suggesting that their results inspire further research into spiking modules for solving RPM problems and analogical reasoning in general. The inherent representational power and temporal processing capabilities of spiking networks are highlighted as promising avenues for future exploration.

Summary updated

Abstract

Raven's Progressive Matrices have been widely used for measuring abstract reasoning and intelligence in humans. However for artificial learning systems, abstract reasoning remains a challenging problem. In this paper we investigate how neural networks augmented with biologically inspired spiking modules gain a significant advantage in solving this problem. To illustrate this, we first investigate the performance of our networks with supervised learning, then with unsupervised learning. Experiments on the RAVEN dataset show that the overall accuracy of our supervised networks surpass human-level performance, while our unsupervised networks significantly outperform existing unsupervised methods. Finally, our results from both supervised and unsupervised learning illustrate that, unlike their non-augmented counterparts, networks with spiking modules are able to extract and encode temporal features without any explicit instruction, do not heavily rely on training data, and generalise more readily to new problems. In summary, the results reported here indicate that artificial neural networks with spiking modules are well suited to solving abstract reasoning.
BibTeX
@misc{omari2020analogical,
  author = {Rollin Omari and Bob McKay and Tom Gedeon},
  title = {{Analogical and Relational Reasoning with Spiking Neural Networks}},
  year = {2020},
  eprint = {2010.06746},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2010.06746},
}
Figure