End-to-End Learnable Recurrence Plot for Sleep Stage Classification Using Non-Contact Ballistocardiography
Executive Summary
This study introduces a novel end-to-end Learnable Recurrence Plot (RP) framework for classifying sleep stages (Wake, NREM, REM) from single-channel ballistocardiography (BCG) signals. The method features multi-scale phase-space reconstruction at physiologically motivated time delays (τ = 5, 10, 20), differentiable per-scale thresholds, and attention-based spatial fusion, all optimized jointly with deep learning backbones. Evaluated on 50 overnight BCG recordings using 10-fold cross-validation, the Learnable RP outperformed four baseline transformation methods (GAF, MTF, Classical RP, Modified RP), achieving a mean accuracy of 73.60% (up to 78.91% with EfficientNet-B5), with all 24 pairwise comparisons reaching statistical significance (p < 0.001). This approach eliminates the need for explicit physiological feature engineering, offering a robust path toward unobtrusive, home-based sleep monitoring.
Answer Machine Insights
Q: How does the Learnable RP framework compare to fixed-parameter methods for sleep stage classification from BCG?
The Learnable RP consistently outperformed all four baseline transformation methods (GAF, MTF, Classical RP, Modified RP) across six backbone architectures, with accuracy gains ranging from 5.02 to 17.26 percentage points.
The Learnable RP achieved the highest performance across all metrics, attaining 73.60% accuracy... It outperformed the runner-up (Modified RP) by 5.35 percentage points (pp) in accuracy and 6.53 pp in macro F1-score.
Q: What is the clinical significance of the model’s performance for sleep stage classification?
The model achieved robust discrimination between Wake, NREM, and REM stages, with per-class ROC-AUC values above 0.83 and a best-case accuracy of 80.24%, supporting its potential for practical home-based sleep monitoring.
The single best model across all 300 analyzed runs was the Learnable RP paired with EfficientNet-B5 in Fold 8, achieving 80.24% test accuracy... all per-class AUC values exceeding 0.83.
Q: Does the Learnable RP require manual feature engineering or physiological signal decomposition?
No, the Learnable RP framework eliminates the need for explicit physiological feature engineering, enabling end-to-end learning directly from raw BCG epochs.
This approach eliminates the need for explicit physiological feature engineering, offering a viable path toward end-to-end unobtrusive sleep monitoring.
Q: What are the main limitations of this study?
The main limitations are the use of Dreem Headband (EEG-based) rather than gold-standard PSG for reference labels, a moderate sample size (N=50), and the focus on three-class (not five-class) sleep staging.
First, the present study should be interpreted as a proof-of-concept demonstration rather than a large-scale validation... reference sleep-stage labels were obtained using the Dreem Headband rather than manually scored polysomnography (PSG).
Key Results
Learnable RP achieved a mean accuracy of 73.60% (SD 3.19%) and macro F1-score of 68.87% across 50 subjects, outperforming the best baseline by 5.35 percentage points.
All 24 pairwise comparisons with baseline methods were statistically significant (p < 0.001), with Cohen’s d ranging from 1.82 to 14.64.
Visual Evidence

Figure 2. Aggregate performance comparison of five transformation methods across six backbone architectures (ConvNeXt-Tiny excluded). (a) Classification accuracy; (b) F1-macro score; (c) Cohen’s κ; (d) ROC-AUC. Error bars indicate ± 1 SD. The red bar indicates the proposed Learnable RP; gray bars indicate baseline methods. Bold numbers above bars indicate the mean value for each method.
Clinical Snapshot
Evidence Rating
Relevance
high Priority