Optimization-Free Test-Time Adaptation for Cross-Person Activity Recognition
Open Access
- 19 December 2023
- journal article
- research article
- Published by Association for Computing Machinery (ACM) in Proceedings of the ACM on Interactive, Mobile, Wearable and Ubiquitous Technologies
- Vol. 7 (4) , 1-27
Abstract
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 Decay Test-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.Keywords
All Related Versions
Funding Information
- National Natural Science Foundation of China (61602540, 62373194)
This publication has 28 references indexed in Scilit:
- Deep learning for sensor-based activity recognition: A surveyPattern Recognition Letters, 2019
- Scaling Human Activity Recognition via Deep Learning-based Domain Adaptation2018
- UniMiB SHAR: A Dataset for Human Activity Recognition Using Acceleration Data from SmartphonesApplied Sciences, 2017
- Robust least squares twin support vector machine for human activity recognitionApplied Soft Computing, 2016
- Deep Convolutional and LSTM Recurrent Neural Networks for Multimodal Wearable Activity RecognitionSensors, 2016
- Convolutional Neural Networks for Human Activity Recognition using Mobile Sensors2014
- A tutorial on human activity recognition using body-worn inertial sensorsACM Computing Surveys, 2014
- Robust human action recognition via long short-term memory2013
- Collecting complex activity datasets in highly rich networked sensor environments2010
- Divergence measures based on the Shannon entropyIEEE Transactions on Information Theory, 1991