Next Token Prediction for Generalizable Human Activity Recognition

One major challenge of sensor-based Human Activity Recognition (HAR) is data heterogeneity, where domain shifts between training and testing data could significantly degrade recognition performance. Recently, large language models (LLMs) have demonstrated strong cross-domain generalization capabilities by modeling language with next-token prediction, offering a promising paradigm for mitigating domain shifts in HAR. In this paper, we propose NextHAR, a novel self-supervised sensor pretraining framework for generalizable HAR. NextHAR first tokenizes sensor data in the frequency space, converting them into motion-semantic tokens. Then, to learn human motion dynamics, NextHAR jointly models inter-channel correlations and temporal dependencies by predicting the next sensor token groups. Furthermore, we introduce a comprehensive cross-domain HAR benchmark to enable systematic evaluation. Extensive experiments on this benchmark show that NextHAR outperforms state-of-the-art methods by 13.83% in accuracy and 15.00% in F1-score. Moreover, NextHAR achieves an average inference latency of 0.033 seconds on wearable devices, highlighting its efficiency for real-world applications. Our code and organized benchmark are publicly available at https://github.com/saiketa/NextHAR.

Link
https://www.semanticscholar.org/paper/b5bca0ba44ddbdc8589bf599283f4cf59611954f
Found by
Semantic Scholar
Authors
Yi-Ze Cai, An-Lan Yu, Bao-Shen Guo, Yun-Huai Liu, Zhi-Qing Hong
Categories
benchmark, evaluation
Published
2026-11-06
Last seen by the radar
2026-11-07
Citations
0
Influential citations
0
Radar score
40.75 / 100 (how it is scored)
Why it scored so
Matched: benchmark, evaluat; Primary record: Semantic Scholar
Related links
https://doi.org/10.1145/3799682.3840756
Is this record right? If you made this work and something here is wrong or missing, tell us what to fix.

More records found by Semantic Scholar