Unsupervised Test-Time Adaptation of Deep Neural Networks at the Edge: A Case Study

被引:0
|
作者
Bhardwaj, Kshitij [1 ]
Diffenderfer, James [1 ]
Kailkhura, Bhavya [1 ]
Gokhale, Maya [1 ]
机构
[1] Lawrence Livermore Natl Lab, Livermore, CA 94550 USA
关键词
Robust deep learning; on-device neural network adaptation; unsupervised adaptation; edge devices;
D O I
暂无
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Deep learning is being increasingly used in mobile and edge autonomous systems. The prediction accuracy of deep neural networks (DNNs), however, can degrade after deployment due to encountering data samples whose distributions are different than the training samples. To continue to robustly predict, DNNs must be able to adapt themselves post-deployment. Such adaptation at the edge is challenging as new labeled data may not be available, and it has to be performed on a resource-constrained device. This paper performs a case study to evaluate the cost of test-time fully unsupervised adaptation strategies on a real-world edge platform: Nvidia Jetson Xavier NX. In particular, we adapt pretrained state-of-the-art robust DNNs (trained using data augmentation) to improve the accuracy on image classification data that contains various image corruptions. During this prediction-time on-device adaptation, the model parameters of a DNN are updated using a single backpropagation pass while optimizing entropy loss. The effects of following three simple model updates are compared in terms of accuracy, adaptation time and energy: updating only convolutional (Conv-Tune); only fully-connected (FC-Tune); and only batch-norm parameters (BN-Tune). Our study shows that BN-Tune and Conv-Tune are more effective than FC-Tune in terms of improving accuracy for corrupted images data (average of 6.6%, 4.97%, and 4.02%, respectively over no adaptation). However, FC-Tune leads to significantly faster and more energy efficient solution with a small loss in accuracy. Even when using FC-Tune, the extra overheads of on-device fine-tuning are significant to meet tight real-time deadlines (209ms). This study motivates the need for designing hardware-aware robust algorithms for efficient ondevice adaptation at the autonomous edge.
引用
收藏
页码:412 / 417
页数:6
相关论文
共 50 条
  • [21] Video Test-Time Adaptation for Action Recognition
    Lin, Wei
    Mirza, Muhammad Jehanzeb
    Kozinski, Mateusz
    Possegger, Horst
    Kuchne, Hilde
    Bischof, Horst
    2023 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR), 2023, : 22952 - 22961
  • [22] DomainAdaptor: A Novel Approach to Test-time Adaptation
    Zhang, Jian
    Qi, Lei
    Shi, Yinghuan
    Gao, Yang
    2023 IEEE/CVF INTERNATIONAL CONFERENCE ON COMPUTER VISION (ICCV 2023), 2023, : 18925 - 18935
  • [23] When Model Meets New Normals: Test-Time Adaptation for Unsupervised Time-Series Anomaly Detection
    Kim, Dongmin
    Park, Sunghyun
    Choo, Jaegul
    THIRTY-EIGHTH AAAI CONFERENCE ON ARTIFICIAL INTELLIGENCE, VOL 38 NO 12, 2024, : 13113 - 13121
  • [24] Unsupervised Test-Time Adaptation Learning for Effective Hyperspectral Image Super-Resolution With Unknown Degeneration
    Zhang, Lei
    Nie, Jiangtao
    Wei, Wei
    Zhang, Yanning
    IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, 2024, 46 (07) : 5008 - 5025
  • [25] Unsupervised Detection and Correction of Model Calibration Shift at Test-Time
    Shashikumar, Supreeth P.
    Amrollahi, Fatemeh
    Nemati, Shamim
    2023 45TH ANNUAL INTERNATIONAL CONFERENCE OF THE IEEE ENGINEERING IN MEDICINE & BIOLOGY SOCIETY, EMBC, 2023,
  • [26] In Search of Lost Online Test-Time Adaptation: A Survey
    Wang, Zixin
    Luo, Yadan
    Zheng, Liang
    Chen, Zhuoxiao
    Wang, Sen
    Huang, Zi
    INTERNATIONAL JOURNAL OF COMPUTER VISION, 2025, 133 (03) : 1106 - 1139
  • [27] Navigating Continual Test-time Adaptation with Symbiosis Knowledge
    Yang, Xu
    Li, Mogi
    Yin, Jie
    Wei, Kun
    Deng, Cheng
    PROCEEDINGS OF THE THIRTY-THIRD INTERNATIONAL JOINT CONFERENCE ON ARTIFICIAL INTELLIGENCE, IJCAI 2024, 2024, : 5326 - 5334
  • [28] Parameter-free Online Test-time Adaptation
    Boudiaf, Malik
    Mueller, Romain
    Ben Ayed, Ismail
    Bertinetto, Luca
    2022 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR), 2022, : 8334 - 8343
  • [29] Domain Alignment Meets Fully Test-Time Adaptation
    Thopalli, Kowshik
    Turaga, Pavan
    Thiagarajan, Jayaraman J.
    Proceedings of Machine Learning Research, 2022, 189 : 1006 - 1021
  • [30] Improved Self-Training for Test-Time Adaptation
    Ma, Jing
    2024 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR), 2024, : 23701 - 23710