基于加速度计的人类活动识别的频率感知掩码自编码器
Frequency-Aware Masked Autoencoders for Human Activity Recognition using Accelerometers
AI总结:
本文提出频率感知掩码自编码器,利用频谱图损失函数在大型未标记加速度计数据上预训练变换器模型,提升人体活动识别性能,LMM损失显著优于MSE损失。
摘要:
可穿戴加速度计被广泛用于身体活动的连续监测。长期以来,监督机器学习和深度学习算法被用于从原始加速度计数据中提取有意义的活动信息,但进展一直受到公开可用的标记数据数量有限的阻碍。利用自监督预训练来开发大型未标记数据集,是人体活动识别(HAR)领域中相对较新且未被充分探索的方法。我们采用时间序列变换器掩码自编码器(MAE)方法进行自监督预训练,并提出了两种新颖的基于频谱图的损失函数:对数尺度平均幅度(LMM)损失和对数尺度幅度方差(LMV)损失。我们将这些损失与用于MAE训练的均方误差(MSE)损失进行了比较。我们利用大型未标记的英国生物银行加速度计数据集(n = 109k)进行预训练,并使用线性分类器在较小的标记数据集中评估下游HAR性能。我们发现,与使用MSE损失预训练的MAE相比,使用LMM损失进行预训练提高了性能,在线性探测时,受试者级F1分数提高了12.7%。与最先进的基于ResNet的HAR模型相比,我们的LMM预训练变换器模型在线性探测时表现更好(F1分数提高9.8%),在使用LSTM分类器进行微调时表现相当。将LMV添加到LMM损失中,与单独使用LMM损失相比,性能有所下降。这些发现确立了LMM损失作为一种稳健且有效的方法,用于在加速度计数据上预训练MAE模型以进行HAR,并展示了预训练基于序列的模型在自由生活HAR中的潜力。
英文摘要:
Wearable accelerometers are widely used for continuous monitoring of physical activity. Supervised machine learning and deep learning algorithms have long been used to extract meaningful activity information from raw accelerometry data, but progress has been hampered by the limited amount of labeled data that is publicly available. Exploiting large unlabeled datasets using self-supervised pretraining is a relatively new and underexplored approach in the field of human activity recognition (HAR). We used a time-series transformer masked autoencoder (MAE) approach to self-supervised pretraining and propose two novel spectrogram-based loss functions: the log-scale meanmagnitude (LMM) and log-scale magnitude variance (LMV) losses. We compared these losses with the mean squared error (MSE) loss for MAE training. We leveraged the large unlabeled UK Biobank accelerometry dataset (n = 109k) for pretraining and evaluated downstream HAR performance using a linear classifier in a smaller labelled dataset. We found that pretraining with the LMM loss improved performance compared to an MAE pretrained with the MSE loss, with 12.7% increase in subject-wise F1 score when using linear probing. Compared with a state-of-the-art ResNet-based HAR model, our LMM-pretrained transformer models performed better (+9.8% F1) with linear probing and comparably when fine-tuned using an LSTM classifier. The addition of the LMV to the LMM loss decreased performance compared to the LMM loss alone. These findings establish the LMM loss as a robust and effective method for pretraining MAE models on accelerometer data for HAR and show the potential of pretraining sequence-based models for free-living HAR.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。