Self-supervised Activity Representation Learning with Incremental Data: An Empirical Study

Jason Liu, Shohreh Deldari, Hao Xue, Van Nguyen, Flora D. Salim · DOI

Abstract

In the domain of mobile sensing, the proliferation of unlabeled time-series data presents both an opportunity and a challenge for Human Activity Recognition (HAR). This study investigates the efficacy of self-supervised representation learning (SSRL) when data is provided incrementally. By evaluating the state-of-the-art TS2Vec model across multiple benchmarks, the research explores whether the "big data" promise of continuous improvement holds true. The findings reveal a significant "plateau effect," where classification accuracy stabilizes early, suggesting that a small, diverse subset of unlabeled data can be as effective for pre-training as an entire, ever-growing dataset.

Introduction

Mobile devices and wearables generate a constant stream of sensor data, yet the manual annotation required for supervised learning remains a bottleneck. Self-supervised learning (SSL) has emerged as a solution, allowing models to learn the underlying structure of data through pre-training on unlabeled streams before fine-tuning on limited labeled sets. However, most SSL research assumes a static, batch-processing environment. In real-world applications, data arrives incrementally. This paper addresses three critical questions: Does increasing the volume of unlabeled data over time consistently improve representations? How does the distribution of that data (new users vs. new activities) affect performance? And can representations learned on one dataset generalize to entirely different domains?

Methodology

The researchers implemented a two-phase workflow to evaluate incremental learning:

  1. Pre-training Phase: The study utilized TS2Vec, a hierarchical contrastive learning framework designed for time-series data, to generate feature embeddings. Two incremental scenarios were tested:
  2. Instance Incremental: Gradually adding data from new subjects or users.
  3. Class Incremental: Gradually introducing data from entirely new activity categories.
  4. Downstream Phase: The encoder developed during pre-training was frozen and used to extract features from labeled data. These features were then classified using a standard Support Vector Machine (SVM).

The study focused on how variations in the size and diversity of the pre-training pool influenced the final classification accuracy on four major benchmarks: UCIHAR (smartphone sensors), PAMAP2 (multi-IMU sensors), Opportunity (complex daily living activities), and the UEA Multivariate Time Series Archive (30 diverse datasets).

Key Insights and Empirical Results

The Plateau Effect and Data Efficiency

One of the most significant findings is that the benefits of additional unlabeled data diminish rapidly. On the UCIHAR dataset, classification performance improved sharply during the first 25% of the incremental data addition but plateaued thereafter. This suggests that SSL models for HAR can capture the fundamental "physics" of human movement from relatively small initial datasets, making them highly efficient for resource-constrained mobile environments.

Diversity Over Volume

In class-incremental experiments, the researchers found that pre-training on a limited subset of activities (e.g., only two out of six) yielded an accuracy of 94%—nearly identical to the performance achieved when pre-training on all six classes. This indicates that the model learns universal motion features that are not strictly tied to specific activity labels.

Cross-Domain Robustness

The study demonstrated impressive generalizability. An encoder pre-trained on the PAMAP2 dataset and subsequently applied to UCIHAR data performed nearly as well as an encoder trained directly on UCIHAR. This cross-domain capability suggests that SSL captures high-level representations of human kinetics that transcend specific experimental setups or sensor placements.

SSL vs. Supervised Learning

TS2Vec consistently outperformed traditional supervised architectures, such as LSTMs and GRUs. Furthermore, it matched the performance of high-end supervised models like InceptionTime, even though the latter had the advantage of label access during the entire training process. On the UCIHAR dataset, the SSL pre-training phase boosted accuracy from 92% (without pre-training) to 97%.

Statistical Significance

Using the UEA benchmark's 30 datasets, the authors confirmed a statistically significant difference (p-value 0.02) between models with and without pre-training. However, there was no statistically significant difference between models pre-trained on the full dataset versus those pre-trained on a random subset or a single-class subset, reinforcing the conclusion that massive data volume is not always a prerequisite for high-quality representations.

Conclusion and Future Directions

This empirical study challenges the assumption that more data is always better in the context of self-supervised HAR. The results suggest that researchers can achieve state-of-the-art performance by focusing on data diversity rather than sheer volume.

However, the authors note several areas for future exploration. The current study used a static downstream classifier; in a truly dynamic environment, labels would also arrive incrementally, necessitating more complex Continual Learning (CL) strategies to prevent "catastrophic forgetting." Additionally, future work will investigate the performance of these techniques in "low-label" regimes, where only a fraction of the data is ever annotated, to further bridge the gap between laboratory research and real-world deployment.

Summary updated

BibTeX
@inproceedings{liu2023self,
  author = {Jason Liu and Shohreh Deldari and Hao Xue and Van Nguyen and Flora D. Salim},
  title = {{Self-supervised Activity Representation Learning with Incremental Data: An Empirical Study}},
  booktitle = {MDM},
  year = {2023},
  url = {https://openreview.net/forum?id=xpw8onXPRA},
}
Figure