Submitted:
24 November 2023
Posted:
27 November 2023
You are already at the latest version
Abstract
Keywords:
1. Introduction
- –
- We design a probabilistic sparse connectivity approach to creating a two-layer spiking neural network, implement a bagging ensemble of two-layer SNNs, and compare these two methods;
- –
- We propose an efficiency index that facilitates the comparison among different methods of connectivity reduction, and apply it to the SNNs used in the study;
- –
- We demonstrate that both connectivity reduction methods achieve competitive results on handwritten and spoken digits classification tasks and can be used with the memristive plasticity models.
2. Literature Review
3. Materials and Methods
3.1. Datasets and Preprocessing
- (1)
- Feature engineering: for Digits, the original features in the form of pixel intensity were used without changes; for FSDD, features were extracted by splitting the signal into frames, extracting 30 Mel Frequency Cepstral Coefficients [27] (MFCC) and then averaging across frames.
- (2)
- Normalization: Depending on the type of plasticity, the input vectors were normalized either by reducing to zero mean and one standard deviation (Standard Scaling) or by L2 normalization.
- (3)
- Gaussian Receptive Fields (GRF): This step is necessary to significantly increase the selectivity of the network, as a consequence, increase the number of weights between the input and output layers of the spike network. At this stage, the normalized feature vectors were divided into M equal intervals for each feature. At each interval , a Gaussian peak was constructed with center and standard deviation (see Eq. 1, Figure 1). The value of each component of the input vector was replaced by a set of values characterizing the proximity of to the center of the j-th receptive field. Thus, the dimension of the input vector increased M times.
- (4)
- Spike encoding: To convert the normalized and GRF-processed input vectors into spike sequences, we used a frequency-based approach. With this encoding method, each input neuron (spike generator) emits spikes at frequency during the entire sample time , where . Here is the maximum frequency of spike emission, and k is the value of the input vector component. After time has passed, the generators do not emit spikes for ms to allow the neuron potentials to return to their original values.

3.2. Synaptic Plasticity Models
3.3. Spiking Classification Models
3.3.1. Classification Ensemble
- –
- n_estimators: defines the number of models within the ensemble.
- –
- max_features: determines the proportion of input features that are passed to the input of each of the models in the ensemble.
3.3.2. Sparse Connectivity
- (1)
- The presynaptic neuron projects onto the plane of the postsynaptic neurons.
- (2)
- The projection of the presynaptic neuron becomes the center of a circular neighborhood, all postsynaptic neurons within which will be connected to this presynaptic neuron with some probability.
- –
- Probability P of connection formation between pre- and postsynaptic neurons.
- –
- The radius of the circular neighborhood is R. This parameter is defined only for connections between the inhibitory and excitatory layers since neurons in the input layer do not have a spatial structure.
4. Experiments and Results
5. Discussion
6. Conclusions
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
Abbreviations
| SNN | Spiking Neural Network |
| ANN | Artificial Neural Network |
| STDP | Spike Timing-Dependent Plasticity |
| NC | Nanocomposite |
| PPX | Poly-p-xylylene |
| WTA | Winner-Takes-All |
| FSDD | Free Spoken Digits Dataset |
Appendix A. Experimental Hyperparameters
- –
- norm – input normalization method: L2 or standard scaling (STD);
- –
- n_fields – number of Gaussian receptive fields (GRF);
- –
- n_neurons – number of excitatory neurons in the network;
- –
- n_estimators – number of networks in the bagging ensemble (for the ensemble approach, everywhere else it is equal to 1);
- –
- and – characteristic time of the membrane potential decay for the excitatory and inhibitory neurons in milliseconds;
- –
- frequency – maximal spiking frequency of the poisson generators;
- –
- and – refractory time for the excitatory and inhibitory neurons in milliseconds;
- –
- and – synaptic weights of the excitatory-to-inhibitory and inhibitory-to-excitatory connections, respectively.
| Dataset | Parameter | STDP | NC | PPX |
|---|---|---|---|---|
| Digits | norm | L2 | STD | STD |
| Digits | n_fields | 5 | 5 | 5 |
| Digits | n_neurons | 400 | 400 | 400 |
| Digits | 130 | 130 | 130 | |
| Digits | 30 | 30 | 30 | |
| Digits | frequency | 600 | 350 | 450 |
| Digits | t | 5 | 4 | 6 |
| Digits | t | 3 | 3 | 3 |
| Digits | w | 18 | 20 | 20 |
| Digits | w | -13 | -15 | -15 |
| FSDD | norm | L2 | STD | L2 |
| FSDD | n_fields | 10 | 10 | 10 |
| FSDD | n_neurons | 400 | 400 | 400 |
| FSDD | 130 | 130 | 130 | |
| FSDD | 30 | 30 | 30 | |
| FSDD | frequency | 800 | 800 | 800 |
| FSDD | t | 5 | 4 | 4 |
| FSDD | t | 3 | 3 | 3 |
| FSDD | w | 20 | 20 | 20 |
| FSDD | w | -13 | -15 | -13 |
| Dataset | Parameter | STDP | NC | PPX |
|---|---|---|---|---|
| Digits | norm | STD | STD | STD |
| Digits | n_fields | 7 | 7 | 7 |
| Digits | n_neurons | 50 | 50 | 100 |
| Digits | n_estimators | 21 | 21 | 5 |
| Digits | 50 | 50 | 50 | |
| Digits | 60 | 60 | 60 | |
| Digits | frequency | 500 | 500 | 500 |
| Digits | t | 4 | 4 | 4 |
| Digits | t | 9 | 9 | 9 |
| Digits | w | 20 | 20 | 20 |
| Digits | w | -15 | -15 | -15 |
| FSDD | norm | STD | STD | STD |
| FSDD | n_fields | 7 | 7 | 7 |
| FSDD | n_neurons | 100 | 100 | 100 |
| FSDD | n_estimators | 11 | 11 | 11 |
| FSDD | 130 | 130 | 130 | |
| FSDD | 30 | 30 | 30 | |
| FSDD | frequency | 550 | 550 | 550 |
| FSDD | t | 4 | 4 | 4 |
| FSDD | t | 3 | 3 | 3 |
| FSDD | w | 13 | 13 | 13 |
| FSDD | w | -12 | -12 | -12 |
| Dataset | Parameter | STDP | NC | PPX |
|---|---|---|---|---|
| Digits | norm | L2 | STD | STD |
| Digits | n_fields | 5 | 5 | 5 |
| Digits | n_neurons | 400 | 400 | 400 |
| Digits | 130 | 130 | 130 | |
| Digits | 30 | 30 | 30 | |
| Digits | frequency | 600 | 350 | 450 |
| Digits | t | 5 | 4 | 6 |
| Digits | t | 3 | 3 | 3 |
| Digits | w | 18 | 20 | 20 |
| Digits | w | -13 | -15 | -15 |
| FSDD | norm | L2 | STD | L2 |
| FSDD | n_fields | 10 | 10 | 10 |
| FSDD | n_neurons | 400 | 400 | 400 |
| FSDD | 130 | 130 | 130 | |
| FSDD | 30 | 30 | 30 | |
| FSDD | frequency | 800 | 800 | 800 |
| FSDD | t | 5 | 4 | 4 |
| FSDD | t | 3 | 3 | 3 |
| FSDD | w | 20 | 20 | 20 |
| FSDD | w | -13 | -15 | -13 |
References
- Merolla, P.A.; Arthur, J.V.; Alvarez-Icaza, R.; Cassidy, A.S.; Sawada, J.; Akopyan, F.; Jackson, B.L.; Imam, N.; Guo, C.; Nakamura, Y.; et al. A million spiking-neuron integrated circuit with a scalable communication network and interface. Science 2014, 345, 668–673. [Google Scholar] [CrossRef] [PubMed]
- Davies, M.; Srinivasa, N.; Lin, T.H.; Chinya, G.; Cao, Y.; Choday, S.H.; Dimou, G.; Joshi, P.; Imam, N.; Jain, S.; et al. Loihi: A neuromorphic manycore processor with on-chip learning. IEEE Micro 2018, 38, 82–99. [Google Scholar] [CrossRef]
- Rajendran, B.; Sebastian, A.; Schmuker, M.; Srinivasa, N.; Eleftheriou, E. Low-Power Neuromorphic Hardware for Signal Processing Applications: A review of architectural and system-level design approaches. IEEE Signal Processing Magazine 2019, 36, 97–110. [Google Scholar] [CrossRef]
- Ambrogio, S.; Narayanan, P.; Okazaki, A.; Fasoli, A.; Mackin, C.; Hosokawa, K.; Nomura, A.; Yasuda, T.; Chen, A.; Friz, A.; et al. An analog-AI chip for energy-efficient speech recognition and transcription. Nature 2023, 620, 768–775. [Google Scholar] [CrossRef] [PubMed]
- Shvetsov, B.S.; Minnekhanov, A.A.; Emelyanov, A.V.; Ilyasov, A.I.; Grishchenko, Y.V.; Zanaveskin, M.L.; Nesmelov, A.A.; Streltsov, D.R.; Patsaev, T.D.; Vasiliev, A.L.; et al. Parylene-based memristive crossbar structures with multilevel resistive switching for neuromorphic computing. Nanotechnology 2022, 33, 255201. [Google Scholar] [CrossRef] [PubMed]
- Matsukatova, A.N.; Iliasov, A.I.; Nikiruy, K.E.; Kukueva, E.V.; Vasiliev, A.L.; Goncharov, B.V.; Sitnikov, A.V.; Zanaveskin, M.L.; Bugaev, A.S.; Demin, V.A.; et al. Convolutional Neural Network Based on Crossbar Arrays of (Co-Fe-B) x (LiNbO3) 100- x Nanocomposite Memristors. Nanomaterials 2022, 12, 3455. [Google Scholar] [CrossRef] [PubMed]
- Amiri, M.; Jafari, A.H.; Makkiabadi, B.; Nazari, S. Recognizing intertwined patterns using a network of spiking pattern recognition platforms. Scientific Reports 2022, 12, 19436. [Google Scholar] [CrossRef] [PubMed]
- Cohen, G.; Afshar, S.; Tapson, J.; Van Schaik, A. EMNIST: Extending MNIST to handwritten letters. In Proceedings of the 2017 international joint conference on neural networks (IJCNN). IEEE; 2017; pp. 2921–2926. [Google Scholar]
- Chen, Y.; Yu, Z.; Fang, W.; Huang, T.; Tian, Y. Pruning of deep spiking neural networks through gradient rewiring. arXiv preprint, arXiv:2105.04916.2021.
- LeCun, Y.; Bottou, L.; Bengio, Y.; Haffner, P. Gradient-based learning applied to document recognition. Proceedings of the IEEE 1998, 86, 2278–2324. [Google Scholar] [CrossRef]
- Krizhevsky, A.; Hinton, G.; et al. Learning multiple layers of features from tiny images 2009.
- Nguyen, T.N.; Veeravalli, B.; Fong, X. Connection pruning for deep spiking neural networks with on-chip learning. In Proceedings of the International Conference on Neuromorphic Systems 2021, 2021, 1–8. [Google Scholar]
- Lien, H.H.; Chang, T.S. Sparse compressed spiking neural network accelerator for object detection. IEEE Transactions on Circuits and Systems I: Regular Papers 2022, 69, 2060–2069. [Google Scholar] [CrossRef]
- Tsai, C.C.; Yang, Y.H.; Lin, H.W.; Wu, B.X.; Chang, E.C.; Liu, H.Y.; Lai, J.S.; Chen, P.Y.; Lin, J.J.; Chang, J.S.; et al. The 2020 embedded deep learning object detection model compression competition for traffic in Asian countries. In Proceedings of the 2020 IEEE International Conference on Multimedia & Expo Workshops (ICMEW). IEEE, 2020, pp. 1–6.
- Rathi, N.; Panda, P.; Roy, K. STDP-based pruning of connections and weight quantization in spiking neural networks for energy-efficient recognition. IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems 2018, 38, 668–677. [Google Scholar] [CrossRef]
- Emery, R.; Yakovlev, A.; Chester, G. Connection-centric network for spiking neural networks. In Proceedings of the 2009 3rd ACM/IEEE International Symposium on Networks-on-Chip. IEEE; 2009; pp. 144–152. [Google Scholar]
- Han, B.; Zhao, F.; Zeng, Y.; Pan, W. Adaptive sparse structure development with pruning and regeneration for spiking neural networks. arXiv preprint, arXiv:2211.12219.2022.
- Amir, A.; Taba, B.; Berg, D.; Melano, T.; McKinstry, J.; Di Nolfo, C.; Nayak, T.; Andreopoulos, A.; Garreau, G.; Mendoza, M.; et al. A low power, fully event-based gesture recognition system. In Proceedings of the Proceedings of the IEEE conference on computer vision and pattern recognition, 2017, pp. 7243–7252.
- Orchard, G.; Jayawant, A.; Cohen, G.K.; Thakor, N. Converting static image datasets to spiking neuromorphic datasets using saccades. Frontiers in neuroscience 2015, 9, 437. [Google Scholar] [CrossRef] [PubMed]
- Saunders, D.J.; Patel, D.; Hazan, H.; Siegelmann, H.T.; Kozma, R. Locally connected spiking neural networks for unsupervised feature learning. Neural Networks 2019, 119, 332–340. [Google Scholar] [CrossRef] [PubMed]
- Diehl, P.U.; Cook, M. Unsupervised learning of digit recognition using Spike-Timing-Dependent Plasticity. Frontiers in Computational Neuroscience 2015. [Google Scholar] [CrossRef]
- Sboev, A.; Vlasov, D.; Rybka, R.; Davydov, Y.; Serenko, A.; Demin, V. Modeling the Dynamics of Spiking Networks with Memristor-Based STDP to Solve Classification Tasks. Mathematics 2021, 9, 3237, 2021. [Google Scholar] [CrossRef]
- Sboev, A.; Davydov, Y.; Rybka, R.; Vlasov, D.; Serenko, A. A Comparison of Two Variants of Memristive Plasticity for Solving the Classification Problem of Handwritten Digits Recognition. In Proceedings of the Biologically Inspired Cognitive Architectures Meeting. Springer, 2021, pp. 438–446.
- Sboev, A.; Rybka, R.; Vlasov, D.; Serenko, A. Solving a classification task with temporal input encoding by a spiking neural network with memristor-type plasticity in the form of hyperbolic tangent. In Proceedings of the AIP Conference Proceedings. AIP Publishing, 2023, Vol. 2849.
- Pedregosa, F.; Varoquaux, G.; Gramfort, A.; Michel, V.; Thirion, B.; Grisel, O.; Blondel, M.; Prettenhofer, P.; Weiss, R.; Dubourg, V.; et al. Scikit-learn: Machine Learning in Python. Journal of Machine Learning Research 2011, 12, 2825–2830. [Google Scholar]
- Jackson, Z.; Souza, C.; Flaks, J.; Pan, Y.; Nicolas, H.; Thite, A. Jakobovski/free-spoken-digit-dataset: v1.0.8, 2018. [CrossRef]
- Aizawa, K.; Nakamura, Y.; Satoh, S. Advances in Multimedia Information Processing-PCM 2004: 5th Pacific Rim Conference on Multimedia, Tokyo, Japan, November 30-December 3, 2004, Proceedings, Part II; Vol. 3332, Springer, 2004.
- Demin, V.; Nekhaev, D.; Surazhevsky, I.; Nikiruy, K.; Emelyanov, A.; Nikolaev, S.; Rylkov, V.; Kovalchuk, M. Necessary conditions for STDP-based pattern recognition learning in a memristive spiking neural network. Neural Networks 2021, 134, 64–75. [Google Scholar] [CrossRef] [PubMed]
- Minnekhanov, A.A.; Shvetsov, B.S.; Martyshov, M.M.; Nikiruy, K.E.; Kukueva, E.V.; Presnyakov, M.Y.; Forsh, P.A.; Rylkov, V.V.; Erokhin, V.V.; Demin, V.A.; et al. On the resistive switching mechanism of parylene-based memristive devices. Organic Electronics 2019, 74, 89–95. [Google Scholar] [CrossRef]
- Song, S.; Miller, K.D.; Abbott, L.F. Competitive Hebbian learning through spike-timing-dependent synaptic plasticity. Nature Neuroscience 2000, 3, 919–926. [Google Scholar] [CrossRef] [PubMed]
- Gewaltig, M.O.; Diesmann, M. NEST (Neural Simulation Tool). Scholarpedia 2007, 2, 1430. [Google Scholar] [CrossRef]
- Buitinck, L.; Louppe, G.; Blondel, M.; Pedregosa, F.; Mueller, A.; Grisel, O.; Niculae, V.; Prettenhofer, P.; Gramfort, A.; Grobler, J.; et al. API design for machine learning software: experiences from the scikit-learn project. In Proceedings of the ECML PKDD Workshop: Languages for Data Mining and Machine Learning, 2013, pp. 108–122.
| 1 |
https://motivnt.ru/neurochip-altai (accessed 23 November 2023) |


| Connection type | WTA model for Digits | WTA model for FSDD |
|---|---|---|
| Gen-to-Exc | 128000 | 120000 |
| Exc-to-Inh | 400 | 400 |
| Inh-to-Exc | 159600 | 159600 |
| Gen-to-Inh | 12800 | 12000 |
| Reduction type | Connection type | Digits | FSDD | ||||
|---|---|---|---|---|---|---|---|
| STDP | NC | PPX | STDP | NC | PPX | ||
| Bagging | Gen-to-Exc | 470400 | 470400 | 224000 | 231000 | 231000 | 231000 |
| Exc-to-Inh | 1050 | 1050 | 500 | 1100 | 1100 | 1100 | |
| Inh-to-Exc | 51450 | 51450 | 49500 | 108900 | 108900 | 108900 | |
| Gen-to-Inh | 47040 | 47040 | 22400 | 23100 | 23100 | 23100 | |
| Sparse Conn. | Gen-to-Exc | 51376 | 51379 | 51440 | 231000 | 231000 | 231000 |
| Exc-to-Inh | 400 | 400 | 400 | 400 | 400 | 400 | |
| Inh-to-Exc | 59184 | 59548 | 59215 | 59505 | 59919 | 58941 | |
| Gen-to-Inh | 12800 | 12800 | 12800 | 12000 | 12000 | 12000 | |
| Reduction type | Digits | FSDD | ||||
|---|---|---|---|---|---|---|
| STDP | NC | PPX | STDP | NC | PPX | |
| Base (no reduction) | 0.84 | 0.96 | 0.95 | 0.90 | 0.91 | 0.82 |
| Bagging | 0.88 | 0.92 | 0.91 | 0.96 | 0.93 | 0.94 |
| Sparse Conn. | 0.90 | 0.89 | 0.89 | 0.83 | 0.83 | 0.80 |
| Sparsity | Plasticity | Dataset | ||
|---|---|---|---|---|
| Bagging | STDP | Digits | 0.35 | 2.50 |
| Bagging | NC | Digits | 0.35 | 2.61 |
| Bagging | PPX | Digits | 0.60 | 1.52 |
| Bagging | STDP | FSDD | 0.25 | 3.86 |
| Bagging | NC | FSDD | 0.25 | 3.74 |
| Bagging | PPX | FSDD | 0.25 | 3.78 |
| Sparse Conn. | STDP | Digits | 0.79 | 1.14 |
| Sparse Conn. | NC | Digits | 0.79 | 1.13 |
| Sparse Conn. | PPX | Digits | 0.79 | 1.13 |
| Sparse Conn. | STDP | FSDD | 0.41 | 2.02 |
| Sparse Conn. | NC | FSDD | 0.41 | 2.02 |
| Sparse Conn. | PPX | FSDD | 0.41 | 1.96 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).