TY - JOUR
T1 - A Simple Optimization Strategy via Contrastive Loss for Recognizing Human Activity Using Wearable Sensors
AU - Li, Ying
AU - Wu, Junsheng
AU - Fang, Aiqing
AU - Li, Weigang
N1 - Publisher Copyright:
© 2023 IEEE.
PY - 2023/9/15
Y1 - 2023/9/15
N2 - The key toward sensor-based human activity recognition (SHAR) recently lies in how to learn more contextual representation from complex activities. In this work, we present a simple-yet-effective optimization strategy based on mutual information maximization to directly optimize the distance or similarity between samples and thus control the shape of the decision boundary for recognizing complex activities. Specifically, our optimization introduces contrastive loss into the HAR task to generalize the performance. The contrastive loss can maximize the mutual information between similar samples, where the positive selection is significant for learning decision boundaries. To this end, we also propose a positive selection strategy to avoid the inconsistency of the amplified in time and space when augmentation, which leverages the different representations of the same samples as positives and the corresponding contradiction pairs as negatives. Extensive experiments conducted on three benchmark SHAR datasets, i.e., PAMAP2, USC-HAD, and UNIMIB, demonstrate the superiority of our optimization strategy. It is worth mentioning that by applying our strategy, excellent results can be achieved just with a shallow ResNet encoder.
AB - The key toward sensor-based human activity recognition (SHAR) recently lies in how to learn more contextual representation from complex activities. In this work, we present a simple-yet-effective optimization strategy based on mutual information maximization to directly optimize the distance or similarity between samples and thus control the shape of the decision boundary for recognizing complex activities. Specifically, our optimization introduces contrastive loss into the HAR task to generalize the performance. The contrastive loss can maximize the mutual information between similar samples, where the positive selection is significant for learning decision boundaries. To this end, we also propose a positive selection strategy to avoid the inconsistency of the amplified in time and space when augmentation, which leverages the different representations of the same samples as positives and the corresponding contradiction pairs as negatives. Extensive experiments conducted on three benchmark SHAR datasets, i.e., PAMAP2, USC-HAD, and UNIMIB, demonstrate the superiority of our optimization strategy. It is worth mentioning that by applying our strategy, excellent results can be achieved just with a shallow ResNet encoder.
KW - Contrastive loss
KW - human activity recognition (HAR)
KW - sample selection
KW - wearable sensors
UR - http://www.scopus.com/inward/record.url?scp=85167807254&partnerID=8YFLogxK
U2 - 10.1109/JSEN.2023.3303214
DO - 10.1109/JSEN.2023.3303214
M3 - 文章
AN - SCOPUS:85167807254
SN - 1530-437X
VL - 23
SP - 21588
EP - 21598
JO - IEEE Sensors Journal
JF - IEEE Sensors Journal
IS - 18
ER -