BoTTA: Benchmarking on-device Test Time Adaptation
Authors:
Preprint
Abstract
The performance of deep learning models depends heavily on test samples at runtime, and shifts from the training data distribution can significantly reduce accuracy. Test-time adaptation (TTA) addresses this by adapting models during inference without requiring labeled test data or access to the original training set. While research has explored TTA from various perspectives like algorithmic complexity, data and class distribution shifts, model architectures, and offline versus continuous learning, constraints specific to mobile and edge devices remain underexplored. We propose BoTTA, a benchmark designed to evaluate TTA methods under practical constraints on mobile and edge devices. Our evaluation targets four key challenges caused by limited resources and usage conditions: (i) limited test samples, (ii) limited exposure to categories, (iii) diverse distribution shifts, and (iv) overlapping shifts within a sample. We assess state-of-the-art TTA methods under these scenarios using benchmark datasets and report system-level metrics on a real testbed. Furthermore, unlike prior work, we align with on-device requirements by advocating periodic adaptation instead of continuous inference-time adaptation. Experiments reveal key insights: many recent TTA algorithms struggle with small datasets, fail to generalize to unseen categories, and depend on the diversity and complexity of distribution shifts. BoTTA also reports device-specific resource use. For example, while SHOT improves accuracy by $2.25\times$ with $512$ adaptation samples, it uses $1.08\times$ peak memory on Raspberry Pi versus the base model. BoTTA offers actionable guidance for TTA in real-world, resource-constrained deployments.
Keywords
All Related Versions
This publication has 7 references indexed in Scilit:
- A Comprehensive Survey on Test-Time Adaptation Under Distribution ShiftsInternational Journal of Computer Vision, 2024
- Towards Real-World Test-Time Adaptation: Tri-net Self-Training with Balanced NormalizationProceedings of the AAAI Conference on Artificial Intelligence, 2024
- Optimization-Free Test-Time Adaptation for Cross-Person Activity RecognitionProceedings of the ACM on Interactive, Mobile, Wearable and Ubiquitous Technologies, 2023
- SoTTA: Robust Test-Time Adaptation on Noisy Data Streams2023
- NOTE: Robust Continual Test-Time Adaptation Against Temporal Correlation2022
- A Survey of Unsupervised Deep Domain AdaptationACM Transactions on Intelligent Systems and Technology, 2020
- A Systematic Study of Unsupervised Domain Adaptation for Robust Human-Activity RecognitionProceedings of the ACM on Interactive, Mobile, Wearable and Ubiquitous Technologies, 2020