Negative Selection by Clustering for Contrastive Learning in Human Activity Recognition

Jinqiang Wang, Tao Zhu, Liming Chen, Huansheng Ning, Yaping Wan

Research output: Contribution to journalArticlepeer-review

13 Citations (Scopus)
112 Downloads (Pure)

Abstract

Contrastive learning is an emerging and important self-supervised learning paradigm that has been successfully applied to sensor-based human activity recognition (HAR) because it can achieve competitive performance relative to supervised learning. Contrastive learning methods generally involve instance discrimination, which means that the instances are regarded as negatives of each other, and thus their representations are pulled away from each other during the training process. However, instance discrimination could cause overclustering, meaning that the representations of instances from the same class could be overly separated. To alleviate this overclustering phenomenon, we propose a new contrastive learning framework to select negatives by clustering in HAR, which is named clustering for contrastive learning in human activity recognition (ClusterCLHAR). First, ClusterCLHAR clusters the instance representations, and for each instance, only those from different clusters are regarded as negatives. Second, a new contrastive loss function is proposed to mask the same-cluster instances from the negative pairs. We evaluate ClusterCLHAR on three popular benchmark data sets: 1) USC-HAD; 2) MotionSense; and 3) UCI-HAR, using the mean F1-score as an evaluation metric for downstream tasks. The experimental results show that ClusterCLHAR outperforms all the state-of-the-art methods applied to HAR in self-supervised learning and semi-supervised learning.

Original languageEnglish
Pages (from-to)1-13
Number of pages13
JournalIEEE Internet of Things
Volume10
Issue number12
Early online date26 Jan 2023
DOIs
Publication statusPublished online - 26 Jan 2023

Bibliographical note

Publisher Copyright:
© 2014 IEEE.

Keywords

  • Clustering
  • contrastive learning
  • human activity recognition
  • negative selection
  • sensor data

Fingerprint

Dive into the research topics of 'Negative Selection by Clustering for Contrastive Learning in Human Activity Recognition'. Together they form a unique fingerprint.

Cite this