[Paper Review] Biologically Plausible Learning of Text Representation with Spiking Neural Networks
This paper proposes a biologically plausible spiking neural network (SNN) framework for learning low-dimensional spike-based text representations via unsupervised Spike-Timing-Dependent Plasticity (STDP) learning. It transforms text into spike trains, trains an SNN encoder to generate compact, discriminative representations, achieving 80.19% accuracy on the 20 newsgroups bydate dataset—surpassing existing shallow methods using low-dimensional outputs.
This study proposes a novel biologically plausible mechanism for generating low-dimensional spike-based text representation. First, we demonstrate how to transform documents into series of spikes spike trains which are subsequently used as input in the training process of a spiking neural network (SNN). The network is composed of biologically plausible elements, and trained according to the unsupervised Hebbian learning rule, Spike-Timing-Dependent Plasticity (STDP). After training, the SNN can be used to generate low-dimensional spike-based text representation suitable for text/document classification. Empirical results demonstrate that the generated text representation may be effectively used in text classification leading to an accuracy of $80.19\%$ on the bydate version of the 20 newsgroups data set, which is a leading result amongst approaches that rely on low-dimensional text representations.
Motivation & Objective
- To develop a biologically plausible method for learning low-dimensional spike-based text representations using spiking neural networks.
- To address the challenge of high-dimensional text data by transforming it into spike trains and training an SNN encoder for dimensionality reduction.
- To evaluate the impact of network architecture, inhibition, and synaptic pruning on representation quality and classification performance.
- To establish a foundation for future deep SNN architectures in natural language processing.
Proposed method
- Text documents are converted into spike trains using a sparse, fixed-frequency encoding scheme based on term frequency.
- A spiking neural network (SNN) with excitatory and inhibitory neurons is trained using unsupervised Spike-Timing-Dependent Plasticity (STDP) to learn low-dimensional representations.
- The SNN encoder generates a compact, low-dimensional spike-based output representation suitable for downstream classification.
- The network employs synaptic weight decay and adaptive inhibition to stabilize learning and improve representation quality.
- Post-training, connections with the lowest weights are pruned to assess robustness and computational efficiency.
- A linear classifier (Logistic Regression) is applied to the SNN’s final output for document classification.
Experimental results
Research questions
- RQ1Can a biologically plausible SNN learn meaningful, low-dimensional spike-based representations from raw text input using unsupervised STDP learning?
- RQ2How does the inclusion of inhibition affect the quality of the learned text representation?
- RQ3To what extent can synaptic connections be pruned without degrading classification performance?
- RQ4How does the size of the SNN encoder influence the accuracy of the resulting text representation?
- RQ5How does the proposed method compare to existing shallow models that produce low-dimensional text representations?
Key findings
- The proposed SNN-based text representation achieved 80.19% classification accuracy on the 20 newsgroups bydate dataset, setting a new state-of-the-art among shallow models using low-dimensional outputs.
- Disabling inhibition during evaluation significantly improved classification performance, indicating that inhibition may hinder representation learning in inference.
- Pruning up to 90% of the weakest synaptic connections had no negative impact on accuracy, suggesting high redundancy and robustness in the learned representations.
- The best performance was achieved with a 2,200-neuron SNN encoder and 90% pruning, maintaining accuracy above 77.5% even after aggressive pruning.
- Smaller SNNs (under 1,100 neurons) showed rapid accuracy gains with increasing size, while larger networks exhibited slower improvements, indicating a saturation point in performance scaling.
- The method effectively reduced input dimensionality from ~130,000 (vocabulary size) to 550–2,200 neurons, demonstrating strong dimensionality reduction with preserved discriminative power.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.