TL;DR
This paper introduces a novel self-supervised learning approach called Scalogram-Signal Correspondence Learning (SSCL) to extract meaningful representations from unlabeled multi-sensor data on edge devices. By unifying self-supervision with federated learning, it enables robust model training without data aggregation, addressing privacy and bandwidth concerns.
What Problem Does This Paper Address?
The proliferation of smartphones, wearables, and IoT devices generates vast amounts of sensor data. However, training supervised machine learning models on this data is challenging due to:
- Privacy Concerns: Users are hesitant to share personal data.
- Bandwidth Limitations: Transmitting large volumes of data from edge devices to a central server is impractical.
- Prohibitive Annotation Costs: Manually labeling sensor data (e.g., for sleep stage classification, activity recognition) is time-consuming, expensive, and requires domain expertise.
Existing federated learning approaches often still rely on labeled data, which doesn't fully solve the problem for unlabeled or difficult-to-label sensor streams. This paper aims to bridge this gap by enabling effective learning from unlabeled, decentralized sensor data.
Methods
The core of the proposed method is Scalogram-Signal Correspondence Learning (SSCL), a self-supervised auxiliary task. Here's how it works:
- Data Representation: Raw time-series sensor data (e.g., EEG, accelerometer) is transformed into a scalogram using a continuous wavelet transform (WT). A scalogram provides a time-frequency representation of the signal, offering complementary information to the raw time-series.
- Auxiliary Task: The network is trained to distinguish between aligned (positive) pairs of raw signals and their corresponding scalograms, and unaligned (negative) pairs. This is framed as a binary classification problem.
- Contrastive Objective: A contrastive loss function is employed to pull representations of aligned pairs closer in the embedding space and push unaligned pairs further apart. This encourages the network to learn semantic relationships between the time-domain signal and its time-frequency representation.
- Dual-Stream Architecture (Scalogram Contrastive Network - SCN): A deep temporal convolutional network with two parallel streams is used: one for processing the raw signal and another for processing the scalogram.
- Federated Learning Integration: The SSCL task is designed to be compatible with federated learning. This allows local models on edge devices to be trained on private, unlabeled data, and then aggregated on a central server without ever transmitting the raw data.
Datasets
The proposed method was evaluated on five publicly available datasets from diverse application areas:
- Sleep Stage Scoring: PhysioNet Sleep-EDF dataset (EEG signals).
- Human Activity Recognition: HHAR (accelerometer, gyroscope) and MobiAct (accelerometer, gyroscope) datasets.
- Device-Free Sensing: WiFi-CSI data.
- Physiological Stress Detection: WESAD dataset (blood volume pulse, electrodermal activity, temperature).
The paper does not introduce new benchmark datasets but rather utilizes existing ones to demonstrate the generalizability of their approach across different sensor modalities and tasks.
Key Insights and Ideas
- Wavelet Transform as a "Complementary View": Using a scalogram derived from a wavelet transform provides a powerful, complementary perspective on sensor data that is crucial for self-supervised learning. This is more effective than simply using raw data or other transformations like spectrograms alone.
- Unsupervised Learning for Privacy-Preserving AI: The SSCL approach, when combined with federated learning, offers a compelling solution for building intelligent systems on edge devices without compromising user privacy or requiring massive data transfers.
- Generalizable Representations: The learned representations are shown to be robust and transferable across different tasks and even different datasets, highlighting their general-purpose nature.
- Effectiveness in Low-Data Regimes: The self-supervised pre-training significantly boosts performance when only a small amount of labeled data is available for fine-tuning, making it highly practical for real-world applications.
Key Results
- Competitive Performance: The SCN achieved competitive performance compared to fully supervised networks across various datasets, even when trained on unlabeled data.
- Superior to Autoencoders: In both central and federated settings, SCN consistently outperformed pre-training with autoencoders, suggesting that the SSCL task is more effective at learning discriminative features.
- Improved Low-Data Performance: In semi-supervised settings (low-data regime), fine-tuning with SCN pre-trained representations improved F-scores by up to 5-6% compared to training from scratch.
- Robustness: Cross-validation results indicated that the SCN is robust against subject variations, demonstrating its ability to learn generalizable features.
- Federated Learning Efficacy: The performance in federated settings was comparable to centralized training, validating the effectiveness of their federated SSCL approach.
Limitations and Future Work
- Dataset Size and Heterogeneity: The authors acknowledge that for federated learning experiments, they had to use random partitioning due to the limited number of users in existing datasets. Evaluating on larger, more heterogeneous, and truly non-IID datasets is suggested for future work.
- Scalogram Network Discarded: The scalogram network is discarded after pre-training, and only features from the signal network are used for evaluation. While this simplifies the downstream task, exploring fusion strategies or using both streams might yield further improvements.
- Future Directions: The authors suggest exploring architecture search for SSCL, combining self-supervision with adversarial robustness in federated settings, and investigating the approach on larger datasets with more diverse sensor modalities and user populations.
Summary updated