Abstract
Sensor-based human activity recognition (HAR) is a cornerstone of modern smart environments and personal healthcare. However, as these systems are deployed long-term, they must adapt to new activities without forgetting previously learned ones. This paper provides a comprehensive benchmark of 10 state-of-the-art Continual Learning (CL) techniques across 8 diverse HAR datasets. Our analysis reveals that while standard regularization methods struggle, rehearsal-based approaches are essential for mitigating catastrophic forgetting in the HAR domain.
The Challenge of Continual Learning in HAR
Most HAR systems are static, trained on a fixed set of activities. Yet, human behavior is dynamic; users may start new hobbies or change routines. Ideally, a HAR system should learn these new activities autonomously. The primary technical hurdle is Catastrophic Forgetting (CF): when a neural network is trained on a new task, it tends to overwrite the knowledge required for previous tasks.
In HAR, this is particularly challenging due to sensor noise and data imbalance. As shown in the figure below, without effective CL strategies, a model's accuracy on "old" classes plummets as it learns "new" ones, even if it performs perfectly on the latest task.
Benchmarking Methodology
The study evaluates two main families of CL algorithms:
- Regularization-based: These methods (e.g., EWC, MAS, LwF) add penalties to the loss function to preserve weights important for past tasks.
- Rehearsal-based: These methods (e.g., iCaRL, GEM, ILOS) maintain a small "memory" of representative samples from old tasks to replay during new training phases.
The benchmark utilizes 8 publicly available datasets covering both binary sensors (smart homes) and accelerometers (wearables), with activity classes ranging from 7 to 23.
Key Insights and Results
The empirical analysis yielded several critical findings for the HAR community:
- Regularization is Insufficient: In contrast to results in computer vision, regularization-only methods performed nearly as poorly as naive fine-tuning. The distinct signatures of different activities create a distribution shift that simple weight protection cannot handle.
- Rehearsal is Essential: Storing even a tiny number of samples (as few as 4 to 6 per class) leads to a massive performance jump—often a 50% improvement in F1-scores over regularization.
- Simplicity Wins: Surprisingly, random sampling for memory often outperformed sophisticated geometric techniques like "herding," likely because sensor data is too noisy for complex sampling to be reliable.
- Top Performers: Methods that specifically address the imbalance between new data and the small memory buffer, such as ILOS (Incremental Learning in Online Scenario) and WA-ADB (Weight Alignment for Adjusting Decision Boundary), emerged as the most effective.
Conclusion and Future Directions
This benchmark demonstrates that while rehearsal-based CL is viable for HAR on edge devices (with average training times of ~33 seconds), significant challenges remain. Future work should focus on "open-world" learning where task boundaries are unknown, and on few-shot learning to reduce the burden of manual data labeling for users.
Summary updated