Exploring Regularization Methods for Domain Generalization in Accelerometer-Based Human Activity Recognition

Sensors (Basel). 2023 Jul 19;23(14):6511. doi: 10.3390/s23146511.

Abstract

The study of Domain Generalization (DG) has gained considerable momentum in the Machine Learning (ML) field. Human Activity Recognition (HAR) inherently encompasses diverse domains (e.g., users, devices, or datasets), rendering it an ideal testbed for exploring Domain Generalization. Building upon recent work, this paper investigates the application of regularization methods to bridge the generalization gap between traditional models based on handcrafted features and deep neural networks. We apply various regularizers, including sparse training, Mixup, Distributionally Robust Optimization (DRO), and Sharpness-Aware Minimization (SAM), to deep learning models and assess their performance in Out-of-Distribution (OOD) settings across multiple domains using homogenized public datasets. Our results show that Mixup and SAM are the best-performing regularizers. However, they are unable to match the performance of models based on handcrafted features. This suggests that while regularization techniques can improve OOD robustness to some extent, handcrafted features remain superior for domain generalization in HAR tasks.

Keywords: Domain Generalization; Human Activity Recognition; accelerometer; deep learning; regularization.

MeSH terms

  • Accelerometry
  • Awareness
  • Human Activities
  • Humans
  • Machine Learning*
  • Neural Networks, Computer*