File Classification Based on Spiking Neural Networks

Ana Stanojevic, Giovanni Cherubini, Timoleon Moraitis, Abu Sebastian

TL;DR

This paper introduces a novel system for classifying files using Spiking Neural Networks (SNNs) by encoding file metadata into spike patterns. This approach offers a more energy-efficient and potentially faster alternative to traditional machine learning methods, especially for handling asynchronous data streams and resource-constrained environments.

What Problem Does This Paper Address?

The ever-increasing volume of digital data presents a significant challenge for storage, management, and analysis. Efficiently classifying files is crucial for tasks like optimizing storage systems and deriving insights from labeled datasets. Traditional machine learning algorithms, while powerful, can be computationally expensive and power-hungry. The authors aim to address this by proposing a file classification system based on Spiking Neural Networks (SNNs), which are inherently more energy-efficient due to their event-driven nature and can handle asynchronous data inputs, a common scenario in data management systems where files are ingested at irregular intervals.

Methods

The core of the proposed system lies in a novel Correlative Time Encoding (CTE) scheme. This method translates key-value pairs from file metadata into spike patterns that serve as input to an SNN. Here's how it works:

  • Metadata to Spikes: Each metadata key is associated with a set of input neurons in the SNN. The values of these keys determine the timing of pseudo-random spikes generated by these neurons. Crucially, identical key-value pairs across different files result in identical spike patterns, fostering correlation.
  • Spiking Neural Networks (SNNs): The paper explores different SNN learning paradigms:
  • Unsupervised/Supervised STDP: Spike-Timing-Dependent Plasticity (STDP) is a biologically inspired learning rule that allows for efficient, on-line learning.
  • Probabilistic Backpropagation: This method uses a spike response neuron model and aims to maximize the log-likelihood of target output patterns.
  • Deterministic Backpropagation: This approach uses a discrete-time model and minimizes the binary cross-entropy loss between the neuron output and the target signal.
  • Memristive Synapses: The authors also investigate the realization of SNNs using memristive crossbar arrays, which can efficiently implement synaptic weights. This hardware-level optimization is key to achieving the proposed system's efficiency.

Datasets

The paper evaluates the proposed system on four publicly available datasets from the UCI Machine Learning Repository:

  • Adult
  • Nursery
  • Car Evaluation
  • Connect-4

These datasets contain tens of thousands of elements, allowing for a robust comparison with existing methods.

Key Insights and Ideas

  • Metadata as Temporal Patterns: The CTE scheme is a significant innovation, effectively bridging the gap between structured metadata and the temporal, event-driven nature of SNNs. This allows SNNs to leverage the rich information within metadata for classification.
  • Correlation for Learning: By ensuring that similar metadata translates to correlated spike patterns, CTE facilitates the learning process for the SNN. This is particularly beneficial for larger datasets where learning similarities is crucial for accuracy.
  • Hardware Efficiency: The integration of memristive devices for synaptic weights highlights a path towards highly energy-efficient, hardware-accelerated SNNs, making them practical for real-world applications with limited resources.
  • Robustness to Noise: The memristive synapse implementation demonstrated remarkable robustness to conductance variations, a common challenge in such devices, suggesting their viability for neuromorphic hardware.

Key Results

  • The proposed SNN-based system, particularly when using deterministic backpropagation and CTE, achieved classification accuracies comparable to, and in some cases surpassing, standard machine learning algorithms like logistic regression and non-linear SVM.
  • The system demonstrated good performance even with unsupervised STDP learning, suggesting its potential for continuously learning file classifiers.
  • Simulations of the system implemented with memristive synapses showed that conductance variations did not significantly degrade classification accuracy, even at levels 5-10 times higher than experimentally measured.

Limitations and Future Work

  • Approximations in Learning Rules: While deterministic backpropagation achieved the best results, it relies on approximations of the update rule. Future work could explore more direct or biologically plausible learning rules for SNNs.
  • Hardware Implementation Details: While simulations were promising, a full hardware implementation and testing would be the next logical step to validate the real-world performance and efficiency gains.
  • Broader Applicability: The authors suggest that this system is well-suited for real-time classification of asynchronously ingested files, pointing towards future applications in dynamic data management and edge computing scenarios.

Summary updated

BibTeX
@inproceedings{stanojevic2020file,
  author = {Ana Stanojevic and Giovanni Cherubini and Timoleon Moraitis and Abu Sebastian},
  title = {{File Classification Based on Spiking Neural Networks}},
  booktitle = {ISCAS},
  year = {2020},
  doi = {10.1109/iscas45731.2020.9180812},
}
Figure