MedBN: Robust Test-Time Adaptation against Malicious Test Samples
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
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 6,979
- 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
- 2016The Cityscapes Dataset for Semantic Urban Scene Understandingcited by 4,427
- 2016DeepLab: Semantic Image Segmentation with Deep Convolutional Nets, Atrous Convolution, and Fully Connected CRFscited by 3,239
- 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,857
- 2013Visualizing and Understanding Convolutional Networkscited by 2,278
- 2020Sharpness-Aware Minimization for Efficiently Improving Generalizationcited by 1,404
- 2020WILDS: A Benchmark of in-the-Wild Distribution Shiftscited by 1,366
- 2019AugMix: A Simple Data Processing Method to Improve Robustness and Uncertaintycited by 897
- 2018Byzantine-Robust Distributed Learning: Towards Optimal Statistical Ratescited by 698
- 2020RobustBench: a standardized adversarial robustness benchmarkcited by 659
30 more
- 2022Continual Test-Time Domain Adaptationcited by 520
- 2018Poison Frogs! Targeted Clean-Label Poisoning Attacks on Neural Networkscited by 500
- 2022Efficient Test-Time Model Adaptation without Forgettingcited by 467
- 2020Improving robustness against common corruptions by covariate shift adaptationcited by 427
- 2023Towards Stable Test-Time Adaptation in Dynamic Wild Worldcited by 409
- 2021MEMO: Test Time Robustness via Adaptation and Augmentationcited by 376
- 2018The Hidden Vulnerability of Distributed Learning in Byzantiumcited by 324
- 2017Certified Defenses for Data Poisoning Attackscited by 288
- 2019A Little Is Enough: Circumventing Defenses For Distributed Learningcited by 285
- 2022Contrastive Test-Time Adaptationcited by 258
- 2020Evaluating Prediction-Time Batch Normalization for Robustness under Covariate Shiftcited by 235
- 2021RobustNet: Improving Domain Generalization in Urban-Scene Segmentation via Instance Selective Whiteningcited by 213
- 2023Robust Test-Time Adaptation in Dynamic Scenarioscited by 185
- 2022NOTE: Robust Continual Test-time Adaptation Against Temporal Correlationcited by 150
- 2021Poisoning and Backdooring Contrastive Learningcited by 149
- 2019Fall of Empires: Breaking Byzantine-tolerant SGD by Inner Product Manipulationcited by 136
- 2023EcoTTA: Memory-Efficient Continual Test-time Adaptation via Self-distilled Regularizationcited by 123
- 2023TTN: A Domain-Shift Aware Batch Normalization in Test-Time Adaptationcited by 101
- 2022Test-Time Adaptation via Conjugate Pseudo-labelscited by 98
- 2018Generalized Byzantine-tolerant SGDcited by 94
- 2022Improving Test-Time Adaptation via Shift-agnostic Weight Regularization and Nearest Source Prototypescited by 67
- 2022Byzantine Machine Learning Made Easy by Resilient Averaging of Momentumscited by 63
- 2021SITA: Single Image Test-time Adaptationcited by 57
- 2020Collaborative Learning in the Jungle (Decentralized, Byzantine, Heterogeneous, Asynchronous and Nonconvex Learning)cited by 54
- 2021If your data distribution shifts, use self-learningcited by 36
- 2019Four Things Everyone Should Know to Improve Batch Normalizationcited by 28
- 2019EvalNorm: Estimating Batch Normalization Statistics for Evaluationcited by 20
- 2023Uncovering Adversarial Risks of Test-Time Adaptationcited by 12
- 2018Diverse feature visualizations reveal invariances in early layers of deep neural networkscited by 8
- 2023Test-Time Poisoning Attacks Against Test-Time Adaptation Modelscited by 7
Built on by
Citing papers per year: 2024: 3; 2025: 3; 2026: 4.
10 papers.
- 2024Gradient Alignment Improves Test-Time Adaptation for Medical Image Segmentationcited by 11
- 2025Monitoring Risks in Test-Time Adaptationcited by 10
- 2025Smoothing the Shift: Towards Stable Test-Time Adaptation under Complex Multimodal Noisescited by 9
- 2024On the Adversarial Risk of Test Time Adaptation: An Investigation into Realistic Test-Time Data Poisoningcited by 4
- 2025Test-Time Adaptation with Binary Feedbackcited by 3
- 2024R.I.P.: A Simple Black-box Attack on Continual Test-time Adaptationcited by 0
- 2026Matching High-Dimensional Geometric Quantiles for Test-Time Adaptation of Transformers and Convolutional Networks Alikecited by 0
- 2026Learning Robustness at Test-Time from a Non-Robust Teachercited by 0
- 2026Sample-wise Targeted Adversarial Attacks on Test-time Adaptationcited by 0
- 2026Reliability-Guided Adaptive Ensembling for Robust Test-Time Adaptationcited by 0
- 2026Reliability-Guided Adaptive Ensembling for Robust Test-Time Adaptation21 Jun 2026
- 2026Sample-wise Targeted Adversarial Attacks on Test-time Adaptation22 May 2026
- 2026Learning Robustness at Test-Time from a Non-Robust Teacher13 Apr 2026
- 2026Matching High-Dimensional Geometric Quantiles for Test-Time Adaptation of Transformers and Convolutional Networks Alike16 Jan 2026
- 2025Monitoring Risks in Test-Time Adaptation11 Jul 2025
- 2025Test-Time Adaptation with Binary Feedback24 May 2025
- 2025Smoothing the Shift: Towards Stable Test-Time Adaptation under Complex Multimodal Noises4 Mar 2025
- 2024R.I.P.: A Simple Black-box Attack on Continual Test-time Adaptation2 Dec 2024
- 2024On the Adversarial Risk of Test Time Adaptation: An Investigation into Realistic Test-Time Data Poisoning7 Oct 2024
- 2024Gradient Alignment Improves Test-Time Adaptation for Medical Image Segmentation14 Aug 2024