VALERIAN: Invariant Feature Learning for IMU Sensor-based Human Activity Recognition in the Wild

Yujiao Hao, Boyu Wang, Rong Zheng

Introduction

Human Activity Recognition (HAR) using Inertial Measurement Units (IMUs) is a cornerstone of wearable technology, enabling applications ranging from health monitoring to fitness tracking. However, a significant performance gap exists between models trained in controlled laboratory environments and those deployed "in the wild." In real-world scenarios, data is often unscripted, and labels are frequently inaccurate due to the limitations of crowdsourcing or self-reporting. VALERIAN (inVariant feAture LEarning foR In-the-wild domain AdaptatioN) addresses these challenges by disentangling individual movement variations from actual labeling errors.

The Challenge: Intertwined Noise and Diversity

Traditional HAR datasets are meticulously curated, with subjects performing specific tasks under supervision. In contrast, "in-the-wild" data suffers from significant label noise—for instance, a user might leave a "walking" label active while standing still or sitting.

Existing Learning with Noisy Labels (LNL) algorithms, primarily developed for computer vision, often rely on the "small-loss" hypothesis: the assumption that models learn clean, simple patterns before they begin to memorize noisy ones. In the context of HAR, this hypothesis is undermined by subject diversity, also known as the domain gap. Because every individual possesses a unique gait or movement style, a model may perceive a new user’s clean data as "noise" simply because it deviates from the learned average. This confusion leads to poor convergence and the rejection of valid, high-quality data.

The VALERIAN Framework

VALERIAN introduces a three-pronged architecture designed to learn robust, invariant features despite noisy environments:

  1. Self-Supervised Pre-training: To establish a baseline understanding of human motion without relying on potentially erroneous labels, the model undergoes pre-training on "pretext tasks." By predicting signal transformations—such as rotation, scaling, or reversal—the model develops a feature extractor grounded in the physics of motion rather than noisy human-provided labels.
  2. Multi-Task Learning (MTL) Architecture: To address subject diversity, VALERIAN treats each training subject as a distinct "task." While all tasks share a common feature-extraction backbone, each subject is assigned a lightweight, individual output head. This allows the model to accommodate personal movement quirks independently, preventing one person's unique style from being flagged as global label noise.
  3. Early Learning Regularization (ELR): To prevent the model from eventually memorizing incorrect labels, VALERIAN employs ELR. This technique encourages the model's current predictions to remain consistent with a "temporal ensemble" (a moving average) of its previous predictions, effectively smoothing out the influence of random labeling errors.

Experimental Methodology

The framework was evaluated across four datasets representing different noise profiles:

  • Controlled Environments (Synthetic Noise): USCHAD and WISDM were used to test resilience against synthetic symmetric and asymmetric noise injected into clean lab data.
  • In-the-Wild Environments (Natural Noise): ExtraSensory (crowdsourced smartphone data) and RealWorld (video-verified but naturally messy data) provided a testbed for unscripted human behavior and real-world labeling errors.

Key Results and Insights

VALERIAN demonstrates a superior ability to distinguish between individual movement variations and actual labeling errors. Key findings include:

  • Label Correction: The framework successfully identified and corrected between 75% and 93% of labeling errors in the source training data.
  • Robustness to Noise: On the USCHAD dataset with 40% injected noise, VALERIAN achieved approximately 83% test accuracy, significantly outperforming standard multi-task and subject-independent baselines.
  • Real-World Impact: On the challenging ExtraSensory dataset, VALERIAN provided an over 20% improvement in F1-Score compared to existing state-of-the-art methods.
  • Ablation Success: Studies confirmed that the multi-task component (Invariant Feature Learning) is the most critical element; removing it led to the sharpest decline in performance, proving that handling subject diversity is the "secret sauce" for real-world HAR.

Conclusion and Future Work

VALERIAN represents a significant step toward reliable HAR in unconstrained environments. By acknowledging that subject diversity and label noise are fundamentally intertwined, the framework provides a robust method for learning invariant features. While current iterations require a small amount of clean data (approximately 10 seconds per class) for fast adaptation to new users, future research will focus on fully unsupervised domain adaptation and improving the scalability of the multi-task architecture for population-scale datasets.

Summary updated

BibTeX
@inproceedings{hao2023valerian,
  author = {Yujiao Hao and Boyu Wang and Rong Zheng},
  title = {{VALERIAN: Invariant Feature Learning for IMU Sensor-based Human Activity Recognition in the Wild}},
  booktitle = {IoTDI},
  year = {2023},
  doi = {10.1145/3576842.3582390},
}
Figure