ASSAFormer: a sensor data-based approach to human activity recognition

Human Activity Recognition (HAR) plays a significant role in the field of health monitoring. By accurately identifying common activities such as walking, go up/down stairs, sitting, standing, and lying down, continuous tracking, analysis of an individual's behavioral state can be achieved. This is of great importance for health monitoring and intelligent healthcare. However, due to the noise in data collected by wearable sensors and the variability in data distribution, existing HAR methods still face limitations in accuracy and generalization ability, making it difficult to maintain stable and reliable early-warning performance across diverse motion scenarios and individual differences. To address these challenges, a human activity recognition method ASSAFormer is proposed in this paper. ASSAFormer integrates mode decomposition, heuristic optimization algorithms, and an improved Transformer for health monitoring. During data preprocessing, variational mode decomposition (VMD) is employed to filter noise from sensor data sequences, while the Whale Optimization Algorithm (WOA) optimizes the number of decomposition modes and the penalty factor, thereby mitigating the parameter sensitivity issue in mode decomposition. In terms of network architecture design, Adaptive Sparse Self-Attention (ASSA) and Contrastive Normalization (ContraNorm) are introduced into the vanilla Transformer. Firstly, the self-attention mechanism in Transformer is prone to introducing low correlation interference information and leading to overfitting. Therefore, an Adaptive Sparse Self-Attention (ASSA) mechanism is proposed. The Sparse Self-Attention (SSA) branch of ASSA filters query-key matching scores, allowing only highly relevant information to pass through, thereby reducing noise interference. Meanwhile, the Dense Self-Attention (DSA) of ASSA branch retains weakly relevant yet useful information that might be overlooked due to excessive sparsification. Secondly, Contrastive Normalization (ContraNorm) is introduced to alleviate dimensional collapse, enabling better implicit dispersion of representations in the feature space. The comparative experiments demonstrate that the proposed method achieves the best performance on both the UCI dataset and URFD dataset, respectively. And the ablation studies further validate the effectiveness of the improved modules.

Authors

Institutions

Publication Details

Journal
Scientific Reports
Published
2026-01-02
DOI
https://doi.org/10.1038/s41598-025-34401-9
Citations
1
Primary Topic
Context-Aware Activity Recognition Systems
Type
article
Field-Weighted Citation Impact
46.84

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

ASSAFormer: a sensor data-based approach to human activity recognition

Changzhou Chen, Beiping Peng, Jinzhu Zeng
1 citations
Scientific Reports
Context-Aware Activity Recognition Systems
46.84
article

ASSAFormer: a sensor data-based approach to human activity recognition

Changzhou Chen, Beiping Peng, Jinzhu Zeng
article en
1 citations

Abstract

Human Activity Recognition (HAR) plays a significant role in the field of health monitoring. By accurately identifying common activities such as walking, go up/down stairs, sitting, standing, and lying down, continuous tracking, analysis of an individual's behavioral state can be achieved. This is of great importance for health monitoring and intelligent healthcare. However, due to the noise in data collected by wearable sensors and the variability in data distribution, existing HAR methods still face limitations in accuracy and generalization ability, making it difficult to maintain stable and reliable early-warning performance across diverse motion scenarios and individual differences. To address these challenges, a human activity recognition method ASSAFormer is proposed in this paper. ASSAFormer integrates mode decomposition, heuristic optimization algorithms, and an improved Transformer for health monitoring. During data preprocessing, variational mode decomposition (VMD) is employed to filter noise from sensor data sequences, while the Whale Optimization Algorithm (WOA) optimizes the number of decomposition modes and the penalty factor, thereby mitigating the parameter sensitivity issue in mode decomposition. In terms of network architecture design, Adaptive Sparse Self-Attention (ASSA) and Contrastive Normalization (ContraNorm) are introduced into the vanilla Transformer. Firstly, the self-attention mechanism in Transformer is prone to introducing low correlation interference information and leading to overfitting. Therefore, an Adaptive Sparse Self-Attention (ASSA) mechanism is proposed. The Sparse Self-Attention (SSA) branch of ASSA filters query-key matching scores, allowing only highly relevant information to pass through, thereby reducing noise interference. Meanwhile, the Dense Self-Attention (DSA) of ASSA branch retains weakly relevant yet useful information that might be overlooked due to excessive sparsification. Secondly, Contrastive Normalization (ContraNorm) is introduced to alleviate dimensional collapse, enabling better implicit dispersion of representations in the feature space. The comparative experiments demonstrate that the proposed method achieves the best performance on both the UCI dataset and URFD dataset, respectively. And the ablation studies further validate the effectiveness of the improved modules.

Scientific ReportsVol. 16(1)
Shanghai University of Sport (CN), Hunan University of Finance and Economics (CN)
National Office for Philosophy and Social Sciences
Openalex Percentile: Top 2%
Context-Aware Activity Recognition Systems
46.84
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.