mlsanityData to 7 Oct 2026

MedBN: Robust Test-Time Adaptation against Malicious Test Samples

arXiv 2403.19326 ↗First posted 28 Mar 2024cs.LG cs.CR cs.CVcited by 10

Not on the map. Why?

Abstract (arXiv)

Test-time adaptation (TTA) has emerged as a promising solution to address performance decay due to unforeseen distribution shifts between training and test data. While recent TTA methods excel in adapting to test data variations, such adaptability exposes a model to vulnerability against malicious examples, an aspect that has received limited attention. Previous studies have uncovered security vulnerabilities within TTA even when a small proportion of the test batch is maliciously manipulated. In response to the emerging threat, we propose median batch normalization (MedBN), leveraging the robustness of the median for statistics estimation within the batch normalization layer during test-time inference. Our method is algorithm-agnostic, thus allowing seamless integration with existing TTA frameworks. Our experimental results on benchmark datasets, including CIFAR10-C, CIFAR100-C and ImageNet-C, consistently demonstrate that MedBN outperforms existing approaches in maintaining robust performance across different attack scenarios, encompassing both instant and cumulative attacks. Through extensive experiments, we show that our approach sustains the performance even in the absence of attacks, achieving a practical balance between robustness and performance.

Key facts. Cited by 10 papers in the map (data through 7 Oct 2026). Builds on 42 of its 62 references that are in the map. First posted on arXiv 28 Mar 2024.

Builds on

42 of 62 references.

References · 42

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 6,979
  3. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
  4. 2016The Cityscapes Dataset for Semantic Urban Scene Understandingcited by 4,427
  5. 2016DeepLab: Semantic Image Segmentation with Deep Convolutional Nets, Atrous Convolution, and Fully Connected CRFscited by 3,239
  6. 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,857
  7. 2013Visualizing and Understanding Convolutional Networkscited by 2,278
  8. 2020Sharpness-Aware Minimization for Efficiently Improving Generalizationcited by 1,404
  9. 2020WILDS: A Benchmark of in-the-Wild Distribution Shiftscited by 1,366
  10. 2019AugMix: A Simple Data Processing Method to Improve Robustness and Uncertaintycited by 897
  11. 2018Byzantine-Robust Distributed Learning: Towards Optimal Statistical Ratescited by 698
  12. 2020RobustBench: a standardized adversarial robustness benchmarkcited by 659
30 more
  1. 2022Continual Test-Time Domain Adaptationcited by 520
  2. 2018Poison Frogs! Targeted Clean-Label Poisoning Attacks on Neural Networkscited by 500
  3. 2022Efficient Test-Time Model Adaptation without Forgettingcited by 467
  4. 2020Improving robustness against common corruptions by covariate shift adaptationcited by 427
  5. 2023Towards Stable Test-Time Adaptation in Dynamic Wild Worldcited by 409
  6. 2021MEMO: Test Time Robustness via Adaptation and Augmentationcited by 376
  7. 2018The Hidden Vulnerability of Distributed Learning in Byzantiumcited by 324
  8. 2017Certified Defenses for Data Poisoning Attackscited by 288
  9. 2019A Little Is Enough: Circumventing Defenses For Distributed Learningcited by 285
  10. 2022Contrastive Test-Time Adaptationcited by 258
  11. 2020Evaluating Prediction-Time Batch Normalization for Robustness under Covariate Shiftcited by 235
  12. 2021RobustNet: Improving Domain Generalization in Urban-Scene Segmentation via Instance Selective Whiteningcited by 213
  13. 2023Robust Test-Time Adaptation in Dynamic Scenarioscited by 185
  14. 2022NOTE: Robust Continual Test-time Adaptation Against Temporal Correlationcited by 150
  15. 2021Poisoning and Backdooring Contrastive Learningcited by 149
  16. 2019Fall of Empires: Breaking Byzantine-tolerant SGD by Inner Product Manipulationcited by 136
  17. 2023EcoTTA: Memory-Efficient Continual Test-time Adaptation via Self-distilled Regularizationcited by 123
  18. 2023TTN: A Domain-Shift Aware Batch Normalization in Test-Time Adaptationcited by 101
  19. 2022Test-Time Adaptation via Conjugate Pseudo-labelscited by 98
  20. 2018Generalized Byzantine-tolerant SGDcited by 94
  21. 2022Improving Test-Time Adaptation via Shift-agnostic Weight Regularization and Nearest Source Prototypescited by 67
  22. 2022Byzantine Machine Learning Made Easy by Resilient Averaging of Momentumscited by 63
  23. 2021SITA: Single Image Test-time Adaptationcited by 57
  24. 2020Collaborative Learning in the Jungle (Decentralized, Byzantine, Heterogeneous, Asynchronous and Nonconvex Learning)cited by 54
  25. 2021If your data distribution shifts, use self-learningcited by 36
  26. 2019Four Things Everyone Should Know to Improve Batch Normalizationcited by 28
  27. 2019EvalNorm: Estimating Batch Normalization Statistics for Evaluationcited by 20
  28. 2023Uncovering Adversarial Risks of Test-Time Adaptationcited by 12
  29. 2018Diverse feature visualizations reveal invariances in early layers of deep neural networkscited by 8
  30. 2023Test-Time Poisoning Attacks Against Test-Time Adaptation Modelscited by 7

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 3; 2025: 3; 2026: 4.

10 papers.