DSOM: Dual-Space Optimization Via Test-Time Adaptation for Open-Set Activity Recognition
Test-time adaptation (TTA) has emerged as a promising approach for sensor-based human activity recognition (HAR) in ubiquitous computing, particularly when applied to healthcare-related monitoring scenarios. However, existing TTA methods largely rely on the assumption of independently and identically distributed (i.i.d.) data with balanced class distributions, which rarely holds in practice. Real-world HAR data are typically non-stationary, temporally correlated, and person-dependent, which leads to severe performance degradation under cross-person and cross-category out-of-distribution (OOD) conditions, especially when monitoring different groups of patients with varying physical conditions. To address these challenges, we propose a Dual-Space Optimization Model (DSOM) that performs a two-stage adaptation process: first aligning the feature space via backbone normalization, and then refining prototype embeddings through energy-space optimization. DSOM leverages progressive pseudo-labeling to adapt normalization parameters online and employs energy regularization with prior-anchored prototypes to enhance class- wise discrimination and improve target-domain classification under distribution shifts. Extensive experiments on three public HAR datasets: UCI-HAR, OPPORTUNITY, and PAMAP2, as well as edge-device deployments, demonstrate that DSOM achieves robust adaptation under non-i.i.d., small-batch, and real-time conditions, confirming its effectiveness and practical applicability in real-world HAR scenarios. The code will be publicly available at https://github.com/JohnsonJeune/DSOM_TTA.
Authors
- Hao Wu (ORCID: https://orcid.org/0000-0002-3696-9281)
- Xiaohui Ye (ORCID: https://orcid.org/0009-0004-7982-5693)
- Aiguo Song (ORCID: https://orcid.org/0000-0002-1982-6780)
- Shuoyuan Wang (ORCID: https://orcid.org/0000-0003-1795-4161)
- Lei Zhang (ORCID: https://orcid.org/0000-0001-8749-7459)
- Chaoda Song (ORCID: https://orcid.org/0009-0001-5392-6304)
- Guangjie Chen (ORCID: https://orcid.org/0009-0002-3971-8768)
Institutions
- Nanjing Normal University (CN)
- Yunnan University (CN)
- Southern University of Science and Technology (CN)
- Case Western Reserve University (US)
- Southeast University (CN)
Publication Details
- Journal
- IEEE Journal of Biomedical and Health Informatics
- Published
- 2026-12-02
- DOI
- https://doi.org/10.1109/jbhi.2026.3759440
- Primary Topic
- Domain Adaptation and Few-Shot Learning
- Type
- article
- Field-Weighted Citation Impact
- 0.00