Sensor-Integrated Transformer-RF Model for HAR

Published: 2024, Last Modified: 02 Feb 2026ICPADS 2024EveryoneRevisionsBibTeXCC BY-SA 4.0
Abstract: The precise classification of human activities through sensor data collection and analysis addresses the broad demands in healthcare, security surveillance, and smart home applications amidst the rapid development of IoT technology. However, achieving high efficiency and accuracy remains a significant challenge for HAR algorithms. This paper proposes a HAR algorithm based on Transformer and Random Forest (Transformer-RF). The algorithm extracts and integrates multimodal features in the time domain, frequency domain, and statistical metrics, constructing one-dimensional and two-dimensional feature sets through feature transformation. The Transformer component, leveraging self-attention mechanisms, captures long-range dependencies and extracts global contextual information. Concurrently, the Random Forest component randomly selects features and samples, enhancing model diversity and improving complex human activity recognization capabilities. Experimental results demonstrate that compared with state-of-the-art algorithms, the Transformer-RF model achieves superior performance on both one-dimensional and two-dimensional feature sets, with an accuracy of up to 94.17%. The primary contribution of this paper lies in the introduction of an innovative Transformer-RF human activity recognization method, which not only ensures high accuracy but also exhibits excellent generalization capability and practical application potential. This study provides new insights and technical solutions for the field of human activity recognization, offering significant theoretical and practical value.
Loading