Explainable deep learning for freezing-of-gait detection from wearable accelerometry: a leakage-controlled cross-dataset external validation study

Freezing of gait (FoG) is a disabling, episodic gait disturbance in Parkinson’s disease (PD) and a leading cause of falls. Wearable inertial sensors combined with machine learning promise continuous, objective FoG monitoring, but most published models are validated only within a single dataset, so their transportability to new patients, devices and protocols is unknown. We benchmarked four detectors—Random Forest, XGBoost, a one-dimensional convolutional neural network (1D-CNN) and a CNN-LSTM—on the Daphnet FoG dataset (10 people with PD, 64 Hz) using leave-one-subject-out cross-validation (LOSO-CV) with all standardisation parameters fitted on training folds only, and then performed a cross-dataset external validation on an independent 100-subject lower-back accelerometer cohort (TLVMC; 62 subjects recorded in the laboratory, “tdcsfog”, and 38 recorded at home under a structured FoG-provoking protocol, “defog”) with different hardware, placement and sampling rate. To make internal and external estimates directly comparable, all models were trained on the trunk sensor only; uncertainty was quantified by subject-level bootstrap and by repeated training seeds. Under LOSO-CV the 1D-CNN reached a subject-mean AUROC of 0.84 (95% CI 0.77–0.91) and detected 146 of 180 annotated freezing episodes (81%), with substantially higher sensitivity than the feature-based baselines (0.68 vs. 0.34–0.52). Without any adaptation to the target data, the same model reached a pooled-window AUROC of 0.80 (0.68–0.86) in the external laboratory cohort and 0.61 (0.55–0.68) in the home-protocol cohort; the participant-level AUROC, the estimand reported internally, was 0.66 (0.61–0.72) and 0.59 (0.54–0.63), respectively. The feature-based baselines transferred less well (pooled AUROC 0.52–0.70). Reverse-transfer experiments showed that laboratory and home recordings from the same source transfer well to each other (AUROC 0.78–0.92), suggesting that the change of data source (device, placement, population and annotation) contributed more to the transfer loss than the laboratory-versus-home setting. Discrimination transferred across datasets but calibration did not: at the default threshold external sensitivity was low, whereas a threshold calibrated on the training data alone, combined with causal median filtering, raised window-level sensitivity in the laboratory cohort to 0.27–0.42 at specificity ≥ 0.95; causal median filtering reduced false alarms three- to seven-fold but also reduced episode-level sensitivity and lengthened detection latency. Integrated Gradients attributed 58–61% of the deep models’ decision evidence to the 3–8 Hz “freeze” band in every held-out subject, convergent with SHAP analysis of the XGBoost comparator and with established FoG physiology. These results provide a leakage-controlled, uncertainty-quantified estimate of how wearable FoG detectors generalise, and suggest that cross-source transfer and calibration remain major obstacles to deployment; clinical utility was not evaluated.

Authors

Institutions

Publication Details

Journal
Scientific Reports
Published
2026-11-23
DOI
https://doi.org/10.1038/s41598-026-81436-7
Primary Topic
Balance, Gait, and Falls Prevention
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Explainable deep learning for freezing-of-gait detection from wearable accelerometry: a leakage-controlled cross-dataset external validation study

Qiufeng Cheng, Guifeng Zhang, jingjing zhang, Fengyun Wang
Scientific Reports
Balance, Gait, and Falls Prevention
article

Explainable deep learning for freezing-of-gait detection from wearable accelerometry: a leakage-controlled cross-dataset external validation study

Qiufeng Cheng, Guifeng Zhang, jingjing zhang, Fengyun Wang
article en

Abstract

Freezing of gait (FoG) is a disabling, episodic gait disturbance in Parkinson’s disease (PD) and a leading cause of falls. Wearable inertial sensors combined with machine learning promise continuous, objective FoG monitoring, but most published models are validated only within a single dataset, so their transportability to new patients, devices and protocols is unknown. We benchmarked four detectors—Random Forest, XGBoost, a one-dimensional convolutional neural network (1D-CNN) and a CNN-LSTM—on the Daphnet FoG dataset (10 people with PD, 64 Hz) using leave-one-subject-out cross-validation (LOSO-CV) with all standardisation parameters fitted on training folds only, and then performed a cross-dataset external validation on an independent 100-subject lower-back accelerometer cohort (TLVMC; 62 subjects recorded in the laboratory, “tdcsfog”, and 38 recorded at home under a structured FoG-provoking protocol, “defog”) with different hardware, placement and sampling rate. To make internal and external estimates directly comparable, all models were trained on the trunk sensor only; uncertainty was quantified by subject-level bootstrap and by repeated training seeds. Under LOSO-CV the 1D-CNN reached a subject-mean AUROC of 0.84 (95% CI 0.77–0.91) and detected 146 of 180 annotated freezing episodes (81%), with substantially higher sensitivity than the feature-based baselines (0.68 vs. 0.34–0.52). Without any adaptation to the target data, the same model reached a pooled-window AUROC of 0.80 (0.68–0.86) in the external laboratory cohort and 0.61 (0.55–0.68) in the home-protocol cohort; the participant-level AUROC, the estimand reported internally, was 0.66 (0.61–0.72) and 0.59 (0.54–0.63), respectively. The feature-based baselines transferred less well (pooled AUROC 0.52–0.70). Reverse-transfer experiments showed that laboratory and home recordings from the same source transfer well to each other (AUROC 0.78–0.92), suggesting that the change of data source (device, placement, population and annotation) contributed more to the transfer loss than the laboratory-versus-home setting. Discrimination transferred across datasets but calibration did not: at the default threshold external sensitivity was low, whereas a threshold calibrated on the training data alone, combined with causal median filtering, raised window-level sensitivity in the laboratory cohort to 0.27–0.42 at specificity ≥ 0.95; causal median filtering reduced false alarms three- to seven-fold but also reduced episode-level sensitivity and lengthened detection latency. Integrated Gradients attributed 58–61% of the deep models’ decision evidence to the 3–8 Hz “freeze” band in every held-out subject, convergent with SHAP analysis of the XGBoost comparator and with established FoG physiology. These results provide a leakage-controlled, uncertainty-quantified estimate of how wearable FoG detectors generalise, and suggest that cross-source transfer and calibration remain major obstacles to deployment; clinical utility was not evaluated.

Scientific Reports
Fourth People's Hospital of Liaocheng (CN), Liaocheng People's Hospital (CN), Shandong First Medical University (CN)
Eidgenössische Technische Hochschule Zürich, RWTH Aachen University
Balance, Gait, and Falls Prevention
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon