[Paper Review] Transformers for 1D Signals in Parkinson's Disease Detection from Gait
This paper proposes a two-stage Transformer-based model for Parkinson’s disease detection from 1D gait signals, using temporal self-attention on individual foot sensor signals followed by spatial self-attention across sensors to extract spatio-temporal features. The method achieves 95.2% accuracy on the PhysioNet dataset, outperforming state-of-the-art approaches with improved stability and reduced variance.
This paper focuses on the detection of Parkinson's disease based on the analysis of a patient's gait. The growing popularity and success of Transformer networks in natural language processing and image recognition motivated us to develop a novel method for this problem based on an automatic features extraction via Transformers. The use of Transformers in 1D signal is not really widespread yet, but we show in this paper that they are effective in extracting relevant features from 1D signals. As Transformers require a lot of memory, we decoupled temporal and spatial information to make the model smaller. Our architecture used temporal Transformers, dimension reduction layers to reduce the dimension of the data, a spatial Transformer, two fully connected layers and an output layer for the final prediction. Our model outperforms the current state-of-the-art algorithm with 95.2\% accuracy in distinguishing a Parkinsonian patient from a healthy one on the Physionet dataset. A key learning from this work is that Transformers allow for greater stability in results. The source code and pre-trained models are released in https://github.com/DucMinhDimitriNguyen/Transformers-for-1D-signals-in-Parkinson-s-disease-detection-from-gait.git
Motivation & Objective
- To develop a deep learning model that automatically extracts relevant features from 1D gait signals for Parkinson’s disease detection.
- To investigate the effectiveness of Transformers in 1D signal processing, particularly for gait analysis in Parkinson’s disease.
- To reduce memory consumption in Transformer-based models for 1D signals by decoupling temporal and spatial attention mechanisms.
- To improve classification stability and performance over existing hand-crafted feature and deep learning methods.
- To demonstrate that a two-branch Transformer architecture can effectively capture long-range temporal and spatial dependencies in gait signals.
Proposed method
- The model uses a temporal Transformer encoder to process individual 18-channel 1D gait signals (VGRF) and extract temporal dependencies.
- Dimension reduction via a fully connected layer (FC-0) reduces sequence length and memory usage before spatial attention.
- A spatial Transformer encoder is applied to the reduced representations to model inter-sensor relationships across the foot.
- The final features are passed through two fully connected layers and a softmax output layer for binary classification.
- Positional encoding is applied using fixed sinusoidal embeddings due to consistent input sequence length.
- Majority voting across segmented gait cycles is used to classify an entire walk as Parkinsonian or healthy.
Experimental results
Research questions
- RQ1Can a two-branch Transformer architecture effectively extract spatio-temporal features from 1D gait signals for Parkinson’s disease detection?
- RQ2How does decoupling temporal and spatial attention in Transformers improve performance and memory efficiency on 1D signals?
- RQ3Does the proposed method achieve higher accuracy and lower variance compared to state-of-the-art methods on the PhysioNet gait dataset?
- RQ4What is the contribution of each component (temporal Transformer, spatial Transformer, dimension reduction) to the final model performance?
- RQ5Can Transformers be effectively applied to 1D biomedical signals like gait data, despite their typical use in NLP and vision?
Key findings
- The proposed model achieves 95.2% accuracy, outperforming the current state-of-the-art on the PhysioNet dataset.
- The model exhibits lower variance (2.3% standard deviation) compared to recent methods, indicating greater stability in predictions.
- The ablation study shows that removing the temporal Transformer or spatial Transformer leads to a drop in accuracy and increased standard deviation.
- Model C, which uses a single spatio-temporal Transformer, achieves only 92.0% accuracy due to memory constraints limiting sequence length.
- The use of separate temporal and spatial Transformers improves performance by enabling better long-range dependency modeling within manageable memory budgets.
- The sensitivity of 98.1% indicates that nearly all Parkinsonian patients are correctly detected, while specificity (86.8%) is lower, suggesting more false positives from atypical healthy gaits.
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.