HARFormer: WiFi-Based Human Activity Recognition with Dynamic Tanh Transformer

Human Activity Recognition (HAR) is essential for applications in smart healthcare, ambient intelligence, and behavior monitoring. Recently, deep learning-based WiFi HAR approaches have achieved high accuracy, particularly those based on transformer architectures. Transformer-based HAR methods adopt layer normalization layers to improve model's stability and performance. However, it requires tuning the training hyperparameters and dampens learning dynamics. Targeting these challenges, we proposed a novel HARFormer architecture, a lightweight and efficient Transformer-based model specifically designed for sequential sensor data in HAR tasks. Different with traditional transformer, we first introduce Dynamic Tanh (DyT) to replace Layer Normalization, a minimalist alternative that directly suppressing extreme activations and introducing nonlinearity. This HARFormer not only simplifies the model structure but also enhances training stability and scalability. Extensive experiments on in-domain (Day 1) and cross-domain (Day 2 and Day 3) Channel State Information (CSI) datasets are conducted and show that the proposed HARFormer outperforms state-of-the-art methods across three scenarios, achieving accuracies of 98.93%, 87.73%, and 88.84% respectively.

Institutions

Publication Details

Published
2025-08-04
DOI
https://doi.org/10.1109/iwem65640.2025.11168013
Primary Topic
Meat and Animal Product Quality
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

HARFormer: WiFi-Based Human Activity Recognition with Dynamic Tanh Transformer

Meat and Animal Product Quality
article

HARFormer: WiFi-Based Human Activity Recognition with Dynamic Tanh Transformer

article en

Abstract

Human Activity Recognition (HAR) is essential for applications in smart healthcare, ambient intelligence, and behavior monitoring. Recently, deep learning-based WiFi HAR approaches have achieved high accuracy, particularly those based on transformer architectures. Transformer-based HAR methods adopt layer normalization layers to improve model's stability and performance. However, it requires tuning the training hyperparameters and dampens learning dynamics. Targeting these challenges, we proposed a novel HARFormer architecture, a lightweight and efficient Transformer-based model specifically designed for sequential sensor data in HAR tasks. Different with traditional transformer, we first introduce Dynamic Tanh (DyT) to replace Layer Normalization, a minimalist alternative that directly suppressing extreme activations and introducing nonlinearity. This HARFormer not only simplifies the model structure but also enhances training stability and scalability. Extensive experiments on in-domain (Day 1) and cross-domain (Day 2 and Day 3) Channel State Information (CSI) datasets are conducted and show that the proposed HARFormer outperforms state-of-the-art methods across three scenarios, achieving accuracies of 98.93%, 87.73%, and 88.84% respectively.

University of International Business and Economics (CN), King's College London (GB), Northumbria University (GB)
Openalex Percentile: Top 45%
Meat and Animal Product Quality
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.

HARFormer: WiFi-Based Human Activity Recognition with Dynamic Tanh Transformer · (2025) | TGRS Research Map | TGRS