STAL: Spike Threshold Adaptive Learning Encoder for Classification of Pain-Related Biosignal Data
Freek Hens, Mohammad Mahdi Dehshibi, Leila Bagheriye, Mahyar Shahsavari, Ana Tajadura-Jiménez
TL;DR
This work introduces Spike Threshold Adaptive Learning (STAL), a trainable encoder that converts continuous sEMG and IMU biosignals into spike trains, enabling spiking neural networks to classify chronic lower back pain using the EmoPain dataset. An ensemble of Spiking Recurrent Neural Networks (SRNNs) processes multi-stream modalities (sEMG, Angle, Energy) with a Random Forest meta-classifier for final decision, addressing small sample size and class imbalance through targeted oversampling. The STAL-SRNN pipeline achieves strong performance (e.g., 80.43% accuracy, MCC 0.437, AUC 0.679), outperforming rate- and latency-based encoders and surpassing the best deep learning model in MCC, highlighting the potential of neuromorphic approaches for energy-efficient, wearable pain monitoring. The study advances neuromorphic biosignal analysis and lays groundwork for robust, real-time pain assessment and personalized rehabilitation using low-power hardware.
Abstract
This paper presents the first application of spiking neural networks (SNNs) for the classification of chronic lower back pain (CLBP) using the EmoPain dataset. Our work has two main contributions. We introduce Spike Threshold Adaptive Learning (STAL), a trainable encoder that effectively converts continuous biosignals into spike trains. Additionally, we propose an ensemble of Spiking Recurrent Neural Network (SRNN) classifiers for the multi-stream processing of sEMG and IMU data. To tackle the challenges of small sample size and class imbalance, we implement minority over-sampling with weighted sample replacement during batch creation. Our method achieves outstanding performance with an accuracy of 80.43%, AUC of 67.90%, F1 score of 52.60%, and Matthews Correlation Coefficient (MCC) of 0.437, surpassing traditional rate-based and latency-based encoding methods. The STAL encoder shows superior performance in preserving temporal dynamics and adapting to signal characteristics. Importantly, our approach (STAL-SRNN) outperforms the best deep learning method in terms of MCC, indicating better balanced class prediction. This research contributes to the development of neuromorphic computing for biosignal analysis. It holds promise for energy-efficient, wearable solutions in chronic pain management.
