Self-supervision of wearable sensors time-series data for influenza detection

Arinbjörn Kolbeinsson, Piyusha Gade, Raghu Kainkaryam, Filip Jankovic, Luca FoschiniarXiv 2021

Abstract

Obtaining ground-truth labels for disease detection in digital health is often prohibitively expensive and logistically challenging. This research explores the application of self-supervised learning (SSL) to wearable sensor time-series data to improve influenza-like illness (ILI) detection. By pre-training a Transformer-based model to predict future physiological metrics from unlabeled heart rate and sleep data, the authors demonstrate that models can achieve high diagnostic accuracy (AUC ~0.79) even with limited labeled clinical cases.

Introduction

The proliferation of wearable devices provides a continuous stream of physiological data, yet the scarcity of confirmed medical labels remains a significant bottleneck for supervised learning. Traditional transfer learning often struggles with the heterogeneity of digital health studies. This paper investigates whether SSL—specifically "next-day" prediction tasks—can enable models to learn robust representations of human physiology, thereby reducing the dependency on large labeled datasets for specific diagnostic tasks like influenza detection.

Methodology

The researchers implemented a decoder-only Transformer architecture to process physiological time-series data. The approach consists of two primary phases: self-supervised pre-training and task-specific fine-tuning.

Overview of the self-supervised training and adaptation process.

Self-Supervised Objectives

The model was trained on 10-day sequences of activity data, including resting heart rate (RHR), time-in-bed (TIB), and active calories. The self-supervised task required the model to predict the value of one of these features for the subsequent day. Three distinct objectives were compared:

  1. Predicting next-day Resting Heart Rate (RHR).
  2. Predicting next-day Time-in-Bed (TIB).
  3. Predicting next-day Active Calories Expended.

Model Architecture and Adaptation

The model utilized four Transformer blocks with 2048-dimensional self-attention. Following the SSL phase, the Transformer weights were frozen, and a classification layer was added. This layer was then trained on a small labeled dataset from the HomeKit study (5,229 participants) to predict lab-confirmed viral infections (e.g., Influenza, SARS-CoV-2).

Results

The study evaluated model performance using Area Under the ROC Curve (AUC) across varying sizes of adaptation datasets (N = 25 to 400).

Model performance (AUC) for different self-supervised objectives across varying adaptation sample sizes.

Key findings include:

  • Predictive Power of RHR and TIB: Models pre-trained to predict RHR and TIB significantly outperformed the calorie-prediction model. Both reached an AUC of approximately 0.78–0.79 with 400 labeled samples.
  • Sample Efficiency: The RHR-based model demonstrated remarkable robustness at low data volumes, achieving an AUC of 0.55 with only 25 labeled examples.
  • Performance Saturation: For RHR and TIB objectives, performance gains began to saturate around 200 samples, indicating that SSL effectively captures the underlying physiological "grammar" needed for disease detection.

Discussion and Limitations

The results suggest that RHR and sleep patterns are more sensitive indicators of infection than general physical activity levels. By learning the "rhythm" of healthy physiology, SSL models can bridge the gap between massive unlabeled datasets and small clinical cohorts.

However, several limitations remain. The current model predicts lab results rather than symptom onset, which may lag by several days. Additionally, the study does not fully address data "missingness"—such as a user removing their device due to illness—which could serve as an informative signal. Future work should explore joint prediction of multiple metrics to capture more complex physiological interactions and improve early warning capabilities.

Summary updated

BibTeX
@misc{kolbeinsson2021self,
  author = {Arinbjörn Kolbeinsson and Piyusha Gade and Raghu Kainkaryam and Filip Jankovic and Luca Foschini},
  title = {{Self-supervision of wearable sensors time-series data for influenza detection}},
  year = {2021},
  eprint = {2112.13755},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2112.13755},
}
Figure