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

Shuoyuan Wang, Jindong Wang, HuaJun Xi, Bob Zhang, Lei Zhang +1 more
10/28/2023
cs.CVcs.AIcs.LG

Official code: Claydon-Wang/OFTTA (25 stars, last commit 2023-10-28).

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 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.

View on arXivView PDF

Code Implementations(1)

Claydon-Wang/OFTTAOfficial100%

[IMWUT/UbiComp 2024] Optimization-Free Test-Time Adaptation for Cross-Person Activity Recognition

254Shell, PythonMay 22, 20232 years ago

Similar Papers

Cite this paper

@article{wang2023optimizationfree,
  title  = {Optimization-Free Test-Time Adaptation for Cross-Person Activity Recognition},
  author = {Shuoyuan Wang and Jindong Wang and HuaJun Xi and Bob Zhang and Lei Zhang and Hongxin Wei},
  year   = {2023},
  eprint = {2310.18562},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2310.18562v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2310.18562.svg)](https://codeofpaper.com/paper/2310.18562)

Discussion