DATTA: Domain-Adversarial Test-Time Adaptation for Cross-Domain WiFi-Based Human Activity Recognition

Julian Strohmayer, Rafael Sterzinger, Matthias Wödlinger, Martin Kampel
11/20/2024
cs.CVcs.AIcs.ET

Official code: StrohmayerJ/DATTA (11 stars, last commit 2025-11-16).

Abstract

Cross-domain generalization is an open problem in WiFi-based sensing due to variations in environments, devices, and subjects, causing domain shifts in channel state information. To address this, we propose Domain-Adversarial Test-Time Adaptation (DATTA), a novel framework combining domain-adversarial training (DAT), test-time adaptation (TTA), and weight resetting to facilitate adaptation to unseen target domains and to prevent catastrophic forgetting. DATTA is integrated into a lightweight, flexible architecture optimized for speed. We conduct a comprehensive evaluation of DATTA, including an ablation study on all key components using publicly available data, and verify its suitability for real-time applications such as human activity recognition. When combining a SotA video-based variant of TTA with WiFi-based DAT and comparing it to DATTA, our method achieves an 8.1% higher F1-Score. The PyTorch implementation of DATTA is publicly available at: https://github.com/StrohmayerJ/DATTA.

View on arXivView PDF

Code Implementations(1)

StrohmayerJ/DATTAOfficial100%
110PythonNov 11, 202411 months ago

Cite this paper

@article{strohmayer2024datta,
  title  = {DATTA: Domain-Adversarial Test-Time Adaptation for Cross-Domain WiFi-Based Human Activity Recognition},
  author = {Julian Strohmayer and Rafael Sterzinger and Matthias Wödlinger and Martin Kampel},
  year   = {2024},
  eprint = {2411.13284},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2411.13284v1}
}

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/2411.13284.svg)](https://codeofpaper.com/paper/2411.13284)

Discussion