Paperdoi:10.1145/3799682.3840756

Next Token Prediction for Generalizable Human Activity Recognition (NextHAR; CIKM 2026)

Venue listed2026Added Nov 5, 2026

Authors: Yize Cai, Anlan Yu, Baoshen Guo, Yunhuai Liu, Zhiqing Hong

CIKM 2026 (Proc. 35th ACM CIKM, published 2026-11-06), CC BY 4.0

TL;DR

Tokenizer: frequency-space sensor tokens ("motion-semantic tokens"). Pretraining: next-token-group prediction, modelling inter-channel and temporal structure jointly. Benchmark: SBHAR (=UCI HAPT), HHAR, Shoaib, Motion (MotionSense), DSADS, PAMAP2, TNDA, USC-HAD, KU-HAR; three settings of increasing difficulty, four datasets each. Protocol: fine-tune on a few labelled source samples, evaluate cross-dataset.

  • Form factor: phone/wrist/body (benchmark mix)

Abstract

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.

Verbatim from Semantic Scholar (opens in a new tab) · Abstract via Semantic Scholar; © the authors/publisher

Results on ChatPPG leaderboards

All leaderboards

No results from this paper on ChatPPG leaderboards yet. Browse the leaderboards.

Tasks & signals

Tasks

Activity recognition

Signals

Keywords

HARNext Token PredictionTokenizerCross DomainBenchmarkCIKMCode ReleasedNo Weights

Datasets used

Models

How it works

How NextHAR works: Setup → Method → TargetSetup: Signals (acc, gyro); Form factor (phone/wrist/body (benchmark mix)). Method: NextHAR. Target: Activity recognition.SetupSignals: acc, gyroxyzSignalsacc, gyroForm factor: phone/wrist/body (benchmark mix)Form factorphone/wrist/body (benchmark mix)MethodNextHARTargetActivity recognitionActivity recognition

Cite this paper

Cite this paper with the fields recorded here. Check it against the publisher before submitting.

Cai, Y., Yu, A., Guo, B., Liu, Y., & Hong, Z. (2026). Next Token Prediction for Generalizable Human Activity Recognition (NextHAR; CIKM 2026). CIKM 2026 , CC BY 4.0. https://doi.org/10.1145/3799682.3840756
Cai, Yize, Anlan Yu, Baoshen Guo, Yunhuai Liu, and Zhiqing Hong. 2026. "Next Token Prediction for Generalizable Human Activity Recognition (NextHAR; CIKM 2026)." CIKM 2026 , CC BY 4.0. https://doi.org/10.1145/3799682.3840756.
Cai, Y., Yu, A., Guo, B., Liu, Y. and Hong, Z. (2026) 'Next Token Prediction for Generalizable Human Activity Recognition (NextHAR; CIKM 2026)', CIKM 2026 , CC BY 4.0. doi: 10.1145/3799682.3840756.
Cai, Yize, et al. "Next Token Prediction for Generalizable Human Activity Recognition (NextHAR; CIKM 2026)." CIKM 2026 , CC BY 4.0, 2026. https://doi.org/10.1145/3799682.3840756.
Y. Cai, A. Yu, B. Guo, Y. Liu, and Z. Hong, "Next Token Prediction for Generalizable Human Activity Recognition (NextHAR; CIKM 2026)," CIKM 2026 , CC BY 4.0, 2026, doi: 10.1145/3799682.3840756.
@article{cai2026next,
  title         = {{Next Token Prediction for Generalizable Human Activity Recognition (NextHAR; CIKM 2026)}},
  author        = {Cai, Yize and Yu, Anlan and Guo, Baoshen and Liu, Yunhuai and Hong, Zhiqing},
  year          = {2026},
  journal       = {CIKM 2026 , CC BY 4.0},
  doi           = {10.1145/3799682.3840756}
}

Added to the ChatPPG research hub