TL;DR
Large deep learning models excel at estimating heart rate from wearable photoplethysmography (PPG) sensors, but their high computational demands make real-time edge deployment difficult. This paper systematically evaluates four knowledge distillation strategies across varying model capacities, demonstrating that Decoupled Knowledge Distillation (DKD) yields the best performance and that distilled student models follow predictable exponential scaling laws.
What Problem Does This Paper Address?
Smartwatches and fitness trackers rely heavily on photoplethysmography (PPG)—an optical method of measuring blood volume pulses—to monitor cardiovascular metrics like heart rate. While large neural networks have significantly improved heart rate estimation accuracy, their substantial memory footprints and high latency prevent them from running locally on resource-constrained wearable hardware.
Knowledge distillation (KD)—where a compact "student" model is trained to mimic a large "teacher" model—is a proven compression technique. However, its exact scaling behavior and efficiency have not been well-characterized within the physiological sensing domain. This paper fills that gap by exploring how teacher-student capacities and different distillation algorithms impact final model performance and hardware efficiency.
Methods
The authors frame heart rate estimation as a 180-class classification task (covering 30 to 210 BPM) using 8-second PPG signal windows. They employ a 1D-ResNet backbone and systematically vary model capacity by sweeping the number of residual blocks (from 1 to 12 blocks, corresponding to ~23K to 863K parameters).
To find the optimal compression approach, they evaluate four distinct distillation strategies:
- Hard Distillation: The student learns solely from the teacher's discrete, final argmax outputs.
- Soft Distillation: The student trains on the teacher's full output probability distributions, capturing inter-class uncertainties.
- Decoupled Knowledge Distillation (DKD): Separates the teacher's outputs into target and non-target class components, allowing flexible loss weighting.
- Feature Distillation: Forces the student to match the intermediate, learned feature maps of the teacher.
Additionally, they compare a ResNet student architecture against a Multilayer Perceptron (MLP) backbone to evaluate how architectural choices influence distillation scaling.
Datasets
The study leverages three free-living PPG datasets containing a combined total of 107 hours of sensor signals:
- WildPPG
- PPG-DaLiA
- GalaxyPPG
For all datasets, the green light channel was resampled to 25 Hz and segmented. Ground truth heart rate values were derived from simultaneous electrocardiogram (ECG) recordings. The authors utilized a participant-independent 80/20 train-test split with 2-fold cross-validation.
Key Insights and Ideas
- Distillation is Always a Win: Across all tested capacities, student models trained via knowledge distillation consistently outperformed identical baseline models trained from scratch.
- DKD Reigns Supreme: DKD consistently achieved the lowest error rates. Because heart rate classification bins are semantically ordinal (e.g., 70 BPM is closer to 71 BPM than 120 BPM), DKD’s ability to heavily weigh non-target class probabilities (8x more than target probabilities in their optimal setup) allows the student to capture crucial structural relationships that standard loss functions miss.
- Predictable Exponential Scaling: The performance of distilled PPG models follows a predictable exponential scaling curve relative to student and teacher size, with performance gains beginning to saturate around 6 residual blocks (139K parameters).
- Inductive Biases Matter: ResNet students demonstrate vastly superior scaling efficiency and a lower error floor compared to MLP students. The innate ability of convolutional layers to smoothly filter time-series signals provides a critical inductive bias for physiological data.
Key Results
- Superior Accuracy with DKD: When distilling from a fixed 12-block teacher, DKD dramatically outperformed hard distillation. For example, a tiny 1-block student achieved a Mean Absolute Error (MAE) of 8.899 BPM with DKD, compared to a much worse 11.734 BPM using hard distillation.
- Massive Resource Savings: Compressing a 12-block model down to a 1-block student yielded a ~90% reduction in inference time (from 4.758s to 0.512s) and a 60% reduction in peak memory usage (from 23.483 MB to 9.468 MB), while incurring only a modest 30% relative penalty in MAE performance.
Limitations and Future Work
- Dataset Generalization: The evaluation relied on a cross-validation scheme that shuffled samples across all three datasets simultaneously. True cross-dataset generalization (training on one dataset and testing on an entirely unseen one) was not explicitly measured.
- Supervised Teachers Only: The study utilized a straightforward supervised ResNet teacher. The authors note that exploring larger self-supervised or contrastive foundation models as teachers could provide richer internal representations for students to inherit.
- Standard Distillation Frameworks: The strategies evaluated were standard, off-the-shelf KD methods. Developing novel distillation losses specifically tailored to the continuous, ordinal nature of physiological time-series data remains an open and promising direction.
Summary updated