Human activity recognition (HAR) is a machine learning task with important applications in healthcare especially in the context of home care of patients and older adults. HAR is often based on data collected from smart sensors, particularly smart home IoT devices such as smartphones, wearables and other body sensors. Deep learning techniques like convolutional neural networks (CNNs) and recurrent neural networks (RNNs) have been used for HAR, both in centralized and federated settings. However, these techniques have certain limitations: RNNs cannot be easily parallelized, CNNs have the limitation of sequence length, and both are computationally expensive. Moreover, in home healthcare applications the centralized approach can raise serious privacy concerns since the sensors used by a HAR classifier collect a lot of highly personal and sensitive data about people in the home. In this paper, to address some of such challenges facing HAR, we propose a novel lightweight (one-patch) transformer, which can combine the advantages of RNNs and CNNs without their major limitations, and also TransFed, a more privacy-friendly, federated learning-based HAR classifier using our proposed lightweight transformer. We designed a testbed to construct a new HAR dataset from five recruited human participants, and used the new dataset to evaluate the performance of the proposed HAR classifier in both federated and centralized settings. Additionally, we use another public dataset to evaluate the performance of the proposed HAR classifier in centralized setting to compare it with existing HAR classifiers. The experimental results showed that our proposed new solution outperformed state-of-the-art HAR classifiers based on CNNs and RNNs, whiling being more computationally efficient.
翻译:人类活动识别(HAR)是一种机器学习任务,在卫生保健中,特别是在病人和年长成年人的家庭护理方面,这是一个重要的应用(HAR)的机械学习任务,在保健方面,特别是在病人和年长成年人的家庭护理方面,健康通常是基于从智能传感器收集的数据,特别是智能手机、磨损器和其他身体传感器等智能家庭 IOT 设备等智能型家庭 IOT 设备,特别是智能手机、磨损器和其他身体传感器等智能家庭 IOT 设备收集的数据。在中央和联邦环境下,HAR 神经网络和经常性神经网络(RNNNS)等深层次的学习技术被用于健康网络(HAR),但是,这些技术有一定的局限性:RNNN和CN的优势不能轻易地平行,CNNN的序列长度有限,CN的序列长度有限,而且两者都计算成本昂贵。 此外,在家庭保健应用程序中,中央化的ICHR