Abstract
Personalization of activity recognition has become a topic of interest to improve recognition performance for diverse users. Recent researches show that deep neural networks improve generalization performance in activity recognition using inertial sensors, such as accelerometers and gyroscopes; however, personalizing deep neural networks is challenging because it has a thousands or millions of parameters but generally personalization should be done with small amount of labeled data.
Introduction: The "Last Mile" Problem in HAR
Deep learning has revolutionized Human Activity Recognition (HAR) using wearable sensors, but it faces a persistent "last mile" problem: personalization. While a model trained on thousands of people might work well on average, it often fails for a specific individual whose gait, age, or habits differ from the norm. Human movement is highly idiosyncratic; for instance, an 80-year-old’s "walking" signature looks very different from a 20-year-old’s.
The Challenge of Personalization
Deep Neural Networks (DNNs) are notoriously data-hungry. Attempting to "fine-tune" a massive DNN on just 5 or 10 labeled examples from a new user typically leads to overfitting—the model learns the noise of those few samples rather than the underlying pattern. Furthermore, labeling sensor data is labor-intensive, often requiring synchronized video and manual annotation. While labeled data is scarce, unlabeled sensor data is abundant and easy to collect just by having a user wear the device.
Proposed Method: Semi-Supervised Distillation (SSD)
To address these challenges, the authors propose a two-step framework centered on Semi-Supervised Distillation (SSD). This method bridges the gap between general models and individual nuances.
- General Training: A "Non-specific" model (the Teacher, Model G) is trained on a large dataset containing many different users to capture general human movement patterns.
- Personalization via SSD: This model is then adapted for a specific target user using a small set of labeled data and a larger set of unlabeled data.
The core innovation is the SSD loss function. Instead of training solely on the new user's labeled data, a distillation term is added. This term forces the personalized model (the Student) to mimic the output probability distribution of the Teacher model.
Key Technical Components
- Temperature Scaling ($T$): By smoothing the teacher's outputs using a temperature parameter, the model reveals "dark knowledge"—the subtle relationships between classes (e.g., recognizing that "walking" is more similar to "running" than to "sitting").
- Semi-Supervised Learning: Crucially, this distillation regularization is applied to unlabeled data from the target user. This acts as a structural prior, preventing the personalized model from straying too far from a sensible general solution while it learns user-specific nuances from the few available labels.
Experimental Evaluation
The researchers evaluated SSD on the Opportunity Activity Recognition Dataset, a benchmark featuring 4 users performing 18 kitchen-based activities (e.g., opening drawers, cleaning a table) recorded via accelerometers and gyroscopes.
Key Results
- Accuracy Improvement: With only 5 labeled samples per class, SSD improved the F-score by approximately 7 percentage points over the non-adapted base model.
- Stability: Unlike standard fine-tuning, which often decreased performance due to data sparsity, SSD remained stable and consistently improved results.
- Synergy with Compression: SSD can be combined with techniques like Singular Value Decomposition (SVD) for parameter reduction, yielding an additional 2% performance boost.
Discussion and Future Work
While effective, SSD has limitations. If the general teacher model is exceptionally poor for a specific user (as seen with user "S3" in the study), the distillation "anchor" can hinder progress. Future work may involve "annealing" the distillation—starting strong to prevent initial overfitting and then weakening it to allow for deeper specialization. Additionally, exploring self-training and scaling to larger, more diverse datasets remains a priority.
Conclusion
Semi-Supervised Distillation provides a robust pathway for personalizing deep models in HAR. By leveraging "dark knowledge" from a general model and utilizing unlabeled data, SSD overcomes the data scarcity problem, turning the "last mile" of personalization into a manageable step for wearable technology.
Summary updated