Temporal Contrastive Learning for Sensor-Based Human Activity Recognition: A Self-Supervised Approach
Open accessThe DOI matches its Crossref record; 38 of the 39 references it cites were found in a registry or an index.
Abstract
Deep learning techniques can make use of a large amount of time-series data from wearable devices and greatly benefit the development of sensor-based human activity recognition (HAR). However, representation learning in a supervised manner requires massive labeled sensory data that are time-consuming to obtain and hindered by privacy concerns. To address these issues, we utilize the plentiful unlabeled sensory data and propose a novel self-supervised learning framework, namely temporal contrastive learning in HAR (TCLHAR), which learns the meaningful feature representations for time-series data without labels. Our TCLHAR framework utilizes the temporal co-occurrence relationship among time windows as the supervisory signals to construct positive pairs in the encoder pretraining stage. The encoder is designed for cross-modality fusion, which leverages the local interactions of each sensor modality and the global fusion of features from different sensors. The proposed framework is extensively evaluated on public HAR datasets in supervised, self-supervised, and semi-supervised settings. Our method outperforms several self-supervised learning benchmark models, achieving comparable results with fully labeled data training. When labeled data are scarce, our method can boost the${F}1$score by up to 65% over traditional supervised training, which demonstrates the effectiveness of our feature representations.
Overview
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
Citations
Cites
Adam: A Method for Stochastic Optimization
Kingma, D. P., & Ba, J. (2014) · arXiv · doi:10.48550/arxiv.1412.6980 · Cited by 98,946
BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
Devlin, J., Chang, M.-W., Lee, K., & Toutanova, K. (2018) · arXiv · doi:10.48550/arxiv.1810.04805 · Cited by 73,173
BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding
Devlin, J., Chang, M.-W., Lee, K., & Toutanova, K. (2019) · Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers) · doi:10.18653/v1/n19-1423 · Cited by 54,325 · cited 3×
“In [15], the mask reconstruction is adopted as the pretext task similar to the BERT model [29], which randomly masks out several timestamp readings of the raw data and pretrains the encoder to reconstruct the masked-out positions.”
Glove: Global Vectors for Word Representation
Pennington, J., Socher, R., & Manning, C. (2014) · Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP) · doi:10.3115/v1/d14-1162 · Cited by 34,071
Distributed Representations of Words and Phrases and their Compositionality
Mikolov, T., Sutskever, I., Chen, K., Corrado, G., & Dean, J. (2013) · arXiv · doi:10.48550/arxiv.1310.4546 · Cited by 24,533 · cited 2×
“Recently, self-supervised learning, a branch of the unsupervised learning technique, has raised a lot of interest and shown great success in multiple fields such as CV [24], [25], [26] and NLP [27], [28], [29].”
Momentum Contrast for Unsupervised Visual Representation Learning
He, K., Fan, H., Wu, Y., Xie, S., & Girshick, R. (2020) · 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr42600.2020.00975 · Cited by 13,347
Representation Learning with Contrastive Predictive Coding
Oord, A. V. D., Li, Y., & Vinyals, O. (2018) · arXiv · doi:10.48550/arxiv.1807.03748 · Cited by 6,242 · cited 3×
“We select InfoNCE loss [31] as our objective function in the pretraining stage, which has shown success in other self-supervised learning frameworks [5], [6].”
Context Encoders: Feature Learning by Inpainting
Pathak, D., Krahenbuhl, P., Donahue, J., Darrell, T., & Efros, A. A. (2016) · 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr.2016.278 · Cited by 5,691 · cited 2×
“Recently, self-supervised learning, a branch of the unsupervised learning technique, has raised a lot of interest and shown great success in multiple fields such as CV [24], [25], [26] and NLP [27], [28], [29].”
Deep Convolutional and LSTM Recurrent Neural Networks for Multimodal Wearable Activity Recognition
Ordóñez, F., & Roggen, D. (2016) · Sensors · doi:10.3390/s16010115 · Cited by 2,761 · cited 3×
“Supervised learning models for HAR have been widely developed and achieve promising performance [1], [3], [20], [21].”
Unsupervised Visual Representation Learning by Context Prediction
Doersch, C., Gupta, A., & Efros, A. A. (2015) · 2015 IEEE International Conference on Computer Vision (ICCV) · doi:10.1109/iccv.2015.167 · Cited by 2,629 · cited 2×
“Recently, self-supervised learning, a branch of the unsupervised learning technique, has raised a lot of interest and shown great success in multiple fields such as CV [24], [25], [26] and NLP [27], [28], [29].”
Research works printed but not linked: 4
- 10.5555/3524938.3525087 · doi:10.5555/3524938.3525087
- 10.5555/3495724.3497510 · doi:10.5555/3495724.3497510
- Goodfellow, 2016, Deep Learning
- Van der Maaten, 2008, Visualizing data using t-SNE, J. Mach. Learn. Res., 9, 1
Cited by
Kobir, M. I., Machado, P., Lotfi, A., Haider, D., & Ihianle, I. K. (2025) · Sensors · doi:10.3390/s25133955 · Cited by 18
“Recent approaches have also explored contrastive learning frameworks and diffusion-based methods for HAR, which learn robust representations by maximising inter-class separability and modelling temporal dynamics in latent space [19,20].”
Time-Series Contrastive Learning Against False Negatives and Class Imbalance
Jin, X., Wang, J., Ou, X., Liu, L., & Lin, Y. (2025) · IEEE Transactions on Neural Networks and Learning Systems · doi:10.1109/tnnls.2025.3568387 · Cited by 14
“In contrast, TCLHAR [34] constructs positive pairs by utilizing the temporal co-occurrence relationship between adjacent time windows.”
Guo, P., & Nakayama, M. (2025) · Sensors · doi:10.3390/s25226988 · Cited by 6
“For the self-supervised contrastive learning settings, we followed dataset-specific hyperparameter configurations as reported in previous studies [34,45].”
Li, Z., Fu, M., Fu, B., & Liu, Y. (2025) · Signal Image and Video Processing · doi:10.1007/s11760-025-04888-w · Cited by 4
Lim, G., & Yi, M.-K. (2025) · IEEE Sensors Journal · doi:10.1109/jsen.2025.3613260 · Cited by 2
“Chen et al. [17] proposed TCLHAR, a temporal contrastive learning framework that constructs positive pairs from adjacent time windows.”
Contrastive-learning-based wireless communication link quality assessment model for grids
Ma, M., Xie, H., Li, X., et al. (2026) · Energy Informatics · doi:10.1186/s42162-026-00622-z · Cited by 1
“Similarly, in sensor-based Human Activity Recognition (HAR), Chen et al. [22] developed a temporal contrastive learning framework (TCLHAR) that leverages cross-modality fusion to capture local interactions and global dependencies among heterogeneous sensors, significantly improving robustness under…”
Rotation-Robust Self-Supervised Learning for IMU-Based HAR With Multi-Scale Convolutional Backbones
Lim, G., & Yi, M.-K. (2026) · IEEE Transactions on Consumer Electronics · doi:10.1109/tce.2026.3682243 · Cited by 1
Temporal Distance Based Self-Supervised Learning for Human Activity Recognition
Bigelli, L., Contoli, C., Kania, N., & Lattanzi, E. (2025) · 2025 Sixth International Conference on Intelligent Data Science Technologies and Applications (IDSTA) · doi:10.1109/idsta66210.2025.11202839
“Only [15] considers temporal contrastive learning by building positive pairs similar to our approach, but the authors build negative pairs and carry out pretraining stage differently from our approach.”
Si, C., Huang, H., Sun, S., et al. (2025) · IEEE Sensors Journal · doi:10.1109/jsen.2025.3639506
“In the field of HAR, to address the challenges of limited feasible training samples and high data acquisition costs, some researchers have employed techniques such as contrastive learning and transfer learning [11].”
Biomechanics-Informed Masked Autoencoder With Anchor Alignment for Robust Human Activity Recognition
Guo, T., Hou, F., Pang, Y., & Wang, Z. (2026) · IEEE Access · doi:10.1109/access.2026.3713236
“The present convergence of advanced wearable sensor capabilities, sophisticated self-supervised learning (SSL) paradigms, and a deepened understanding of human biomechanics presents a timely and unique opportunity to address these long-standing challenges [6], [7].”
UniMoRe : Uni fied Mo tion Re presentation via Gait IMU Pretraining
Chakraborty, S., Kumar, A., & Nigam, A. (2026) · IEEE Sensors Journal · doi:10.1109/jsen.2026.3718949
“Several unimodal approaches adopt contrastive objectives enabling zero-shot or interbody-position transfer in HAR [28], [29], [30].”
Lamaakal, I., Yahyati, C., Maleh, Y., Makkaoui, K. E., & Ouahbi, I. (2026) · Internet of Things · doi:10.1016/j.iot.2026.102082 · Cited by 1
hu, Q. (2026) · SSRN Electronic Journal · doi:10.2139/ssrn.7438622
Metadata
- Authors
- Chen, X., Zhou, X., Sun, M., & Wang, H.
- Affiliations
- Louisiana State University (US)
- Stevens Institute of Technology (US)
- Venue
- IEEE Sensors Journal
- Published
- 2025-01-01
- Volume
- 25
- Issue
- 1
- Pages
- 1839-1850
- ISSN
- 1530-437X (ISSN-L)
- 1558-1748
- 2379-9153
- OpenAlex
- W4404410831
- Semantic Scholar
- 4a0df00a51ae79083514a5f36498a0e2826c3647
- Cited by
- 13
- References
- 39
- Citations by year
- 2026: 6 · 2025: 7
- FWCI
- 1.82
- Type
- journal article
- Language
- en
- Open access
- green
- repository.lsu.edu
- Licence
- Locations
- IEEE Sensors Journal (publishedVersion)
- Civil War Book Review (submittedVersion)
- Funders
- National Science Foundation (1943486, 2246757, 2315612, 2332011, 2403247, 2431595)
- Office of Research and Economic Development at Louisiana State University
- Topics
- Physical Sciences › Computer Science › Computer Vision and Pattern Recognition › Context-Aware Activity Recognition Systems
- Physical Sciences › Computer Science › Signal Processing › Time Series Analysis and Forecasting
- Physical Sciences › Computer Science › Artificial Intelligence › Domain Adaptation and Few-Shot Learning
- Keywords
- temporal contrastive learning, self-supervised learning, wearable sensors, time series representation learning, cross-modal fusion, unlabeled data, semi-supervised learning
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.