Contrastive Learning Based Human Activity Recognition Using Body Sensors
Chuanshi Xie, Yu Zhou, Dandan Yu, Shilong Sun, Xiao Zhang · 2023
Pervasive sensing and wearable sensor techniques have been increasingly employed to monitor and recognize human activities through body sensors in areas of smart healthcare and manufacturing. However, conventional machine learning or deep learning based human activity recognition (HAR) requires a large amount of labeled data, which is cost-expensive in real-world scenarios. To tackle this issue, we propose a contrastive learning framework for HAR (CL-HAR), which utilizes the generated unlabeled data as the input and explores the supervised features of the unlabeled data under the principle of self-supervised learning. A simple yet effective backbone network as a feature extractor for subsequent activity recognition is proposed. By using a small portion of the labeled samples as the training set which is fed into our learned feature extractor, we build a classifier and use the rest of the data to verify the feasibility and effectiveness of our CL method. Extensive experiments on three benchamark datasets and one real-world dataset demonstrate that CL-HAR can achieve better classification accuracy than compared supervised and semi-supervised methods with less labelled samples, which is of practical use.