arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2310.18562cs.CVcs.AIcs.LG
收藏

跨人活动识别的无优化测试时自适应

Optimization-Free Test-Time Adaptation for Cross-Person Activity Recognition

University of Macau(澳门大学);Microsoft Research Asia(微软亚洲研究院);Southern University of Science and Technology(南方科技大学);Nanjing Normal University(南京师范大学)

Shuoyuan Wang, Jindong Wang, HuaJun Xi, Bob Zhang, Lei Zhang, Hongxin Wei

AI总结:

提出无优化测试时自适应框架OFTTA,通过指数衰减测试时归一化和原型距离调整,在跨人活动识别中实现高效且优于现有方法的性能。

摘要:

人类活动识别(HAR)模型在实际应用中常因个体间活动模式的分布偏移而性能下降。测试时自适应(TTA)是一种新兴的学习范式,旨在利用测试流在实时推理中调整预测,此前尚未在HAR中探索。然而,基于优化的TTA算法计算成本高,难以在资源受限的边缘设备上运行。本文提出了一种用于基于传感器HAR的无优化测试时自适应(OFTTA)框架。OFTTA以无优化方式同时调整特征提取器和线性分类器。对于特征提取器,我们提出指数衰减测试时归一化(EDTN)来替代传统的批量归一化(CBN)层。EDTN结合CBN和测试时批量归一化(TBN),以提取对抗域偏移的可靠特征,且TBN的影响在更深层中呈指数衰减。对于分类器,我们通过计算特征与原型之间的距离来调整预测,原型由维护的支持集计算得出。此外,支持集的更新基于伪标签,这可受益于EDTN提取的可靠特征。在三个公开的跨人HAR数据集和两种不同的TTA设置上的大量实验表明,OFTTA在分类性能和计算效率上均优于最先进的TTA方法。最后,我们在边缘设备上验证了所提出的OFTTA的优越性,表明其在实际应用中的部署可能性。我们的代码可在https://github.com/Claydon-Wang/OFTTA获取。

英文摘要:

Human Activity Recognition (HAR) models often suffer from performance degradation in real-world applications due to distribution shifts in activity patterns across individuals. Test-Time Adaptation (TTA) is an emerging learning paradigm that aims to utilize the test stream to adjust predictions in real-time inference, which has not been explored in HAR before. However, the high computational cost of optimization-based TTA algorithms makes it intractable to run on resource-constrained edge devices. In this paper, we propose an Optimization-Free Test-Time Adaptation (OFTTA) framework for sensor-based HAR. OFTTA adjusts the feature extractor and linear classifier simultaneously in an optimization-free manner. For the feature extractor, we propose Exponential DecayTest-time Normalization (EDTN) to replace the conventional batch normalization (CBN) layers. EDTN combines CBN and Test-time batch Normalization (TBN) to extract reliable features against domain shifts with TBN's influence decreasing exponentially in deeper layers. For the classifier, we adjust the prediction by computing the distance between the feature and the prototype, which is calculated by a maintained support set. In addition, the update of the support set is based on the pseudo label, which can benefit from reliable features extracted by EDTN. Extensive experiments on three public cross-person HAR datasets and two different TTA settings demonstrate that OFTTA outperforms the state-of-the-art TTA approaches in both classification performance and computational efficiency. Finally, we verify the superiority of our proposed OFTTA on edge devices, indicating possible deployment in real applications. Our code is available at https://github.com/Claydon-Wang/OFTTA.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑