Hash-MMDC: Enhancing human activity recognition with hash-based optimization
Human Activity Recognition (HAR) is the task of automatically identifying and characterizing human behaviors from sensor or video observations. HAR is a vibrant field with significant practical importance. Recent advances in artificial intelligence and multimodal sensing have led to a surge in data scale and complexity, imposing higher demands on models’ discriminability and generalizability. Traditional machine learning relies on hand-crafted features and struggles to handle complex scenarios. Although deep learning enables automatic representation learning, it still faces bottlenecks in cross-scenario transfer as well as inference and storage overheads. To address these issues, we propose the Hash-MMDC method, which adopts a ResNet backbone and integrates attention-based feature selection to produce efficient, discriminative representations; in the hash embedding stage, we approximate the non-differentiable $$sgn$$ with a differentiable $$tanh$$ to obtain near-binary hash codes (e.g., $$+1, -1$$ ); furthermore, we maximize class-wise Maximum Mean Discrepancy (MMD) in the hash space to enhance inter-class separability and employ a self-updating center loss to reduce intra-class dispersion. We evaluate the proposed method on multiple benchmark HAR datasets (OPPORTUNITY, PAMAP2, WISDM, UniMiB_SHAR), and the results show that our approach outperforms mainstream baseline models in accuracy and exhibits robust generalization, demonstrating its potential for deployment in real-world IoT scenarios.
Authors
- Qiang Liu (ORCID: https://orcid.org/0000-0001-8466-3108)
- Shi Cheng (ORCID: https://orcid.org/0000-0002-5129-995X)
- Jie Wan (ORCID: https://orcid.org/0000-0002-7826-0422)
Institutions
- Nantong University (CN)
Publication Details
- Journal
- Journal of King Saud University - Computer and Information Sciences
- Published
- 2025-10-20
- DOI
- https://doi.org/10.1007/s44443-025-00297-8
- Primary Topic
- Context-Aware Activity Recognition Systems
- Type
- article
- Field-Weighted Citation Impact
- 0.00