Human Activity Recognition (HAR) has become crucial across various domains, including healthcare, smart homes, and security systems, owing to the proliferation of Internet of Things (IoT) devices. Several Machine Learning (ML) techniques, including Convolutional Neural Networks (CNNs) and Long Short-Term Memory (LSTM), have been proposed for HAR. However, they are still deficient in addressing the challenges of noisy features and insufficient data. This paper introduces a novel approach to tackle these two challenges, employing a Deep Learning (DL) Ensemble-Based Stacking Neural Network (SNN) combined with Generative Adversarial Networks (GANs) for HAR based on ambient sensors. Our proposed deep learning ensemble-based approach outperforms traditional ML techniques and enables robust and reliable recognition of activities in real-world scenarios. Comprehensive experiments conducted on six benchmark datasets from the CASAS smart home project demonstrate that the proposed stacking framework achieves superior accuracy on five out of six datasets when compared to literature-reported state-of-the-art baselines, with improvements ranging from 3.36 to 39.21 percentage points and an average gain of 13.28 percentage points. Although the baseline marginally outperforms the proposed models on one dataset (Aruba) in terms of accuracy, this exception does not alter the overall trend of consistent performance gains across diverse environments. Statistical significance of these improvements is further confirmed using the Wilcoxon signed-rank test. Moreover, the ASGAN-augmented models consistently improve macro-F1 performance over the corresponding baselines on five out of six datasets, while achieving comparable performance on the Milan dataset. The proposed GAN-based method further improves the activity recognition accuracy by a maximum of 4.77 percentage points, and an average of 1.28 percentage points compared to baseline models. By combining ensemble-based DL with GAN-generated synthetic data, a more robust and effective solution for ambient HAR addressing both accuracy and data imbalance challenges in real-world smart home settings is achieved.
Zhao et al. (Mon,) studied this question.