Training on Test Data with Bayesian Adaptation for Covariate Shift
Not on the map. Why?
Abstract (arXiv)
When faced with distribution shift at test time, deep neural networks often make inaccurate predictions with unreliable uncertainty estimates. While improving the robustness of neural networks is one promising approach to mitigate this issue, an appealing alternate to robustifying networks against all possible test-time shifts is to instead directly adapt them to unlabeled inputs from the particular distribution shift we encounter at test time. However, this poses a challenging question: in the standard Bayesian model for supervised learning, unlabeled inputs are conditionally independent of model parameters when the labels are unobserved, so what can unlabeled data tell us about the model parameters at test-time? In this paper, we derive a Bayesian model that provides for a well-defined relationship between unlabeled inputs under distributional shift and model parameters, and show how approximate inference in this model can be instantiated with a simple regularized entropy minimization procedure at test-time. We evaluate our method on a variety of distribution shifts for image classification, including image corruptions, natural distribution shifts, and domain adaptation settings, and show that our method improves both accuracy and uncertainty estimation.
Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). Builds on 38 of its 58 references that are in the map. First posted on arXiv 27 Sep 2021.
Builds on
38 of 58 references.
References · 38
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2016Simple and Scalable Predictive Uncertainty Estimation using Deep Ensemblescited by 3,926
- 2015Domain-Adversarial Training of Neural Networkscited by 3,044
- 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,877
- 2020FixMatch: Simplifying Semi-Supervised Learning with Consistency and Confidencecited by 2,085
- 2016Identity Mappings in Deep Residual Networkscited by 1,965
- 2020The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalizationcited by 1,850
- 2019MixMatch: A Holistic Approach to Semi-Supervised Learningcited by 1,391
- 2019Self-training with Noisy Student improves ImageNet classificationcited by 1,311
- 2019Can You Trust Your Model's Uncertainty? Evaluating Predictive Uncertainty Under Dataset Shiftcited by 1,287
- 2018Averaging Weights Leads to Wider Optima and Better Generalizationcited by 1,209
- 2019Unsupervised Data Augmentation for Consistency Trainingcited by 1,060
26 more
- 2017Virtual Adversarial Training: A Regularization Method for Supervised and Semi-Supervised Learningcited by 920
- 2019AugMix: A Simple Data Processing Method to Improve Robustness and Uncertaintycited by 901
- 2020Do We Really Need to Access the Source Data? Source Hypothesis Transfer for Unsupervised Domain Adaptationcited by 848
- 2018Deep Visual Domain Adaptation: A Surveycited by 635
- 2019A Simple Baseline for Bayesian Uncertainty in Deep Learningcited by 560
- 2020Bayesian Deep Learning and a Probabilistic Perspective of Generalizationcited by 480
- 2020Measuring Robustness to Natural Distribution Shifts in Image Classificationcited by 454
- 2019Deep Ensembles: A Loss Landscape Perspectivecited by 443
- 2016Regularization With Stochastic Transformations and Perturbations for Deep Semi-Supervised Learningcited by 441
- 2019Semi-supervised Domain Adaptation via Minimax Entropycited by 335
- 2019A Baseline for Few-Shot Image Classificationcited by 298
- 2020Evaluating Prediction-Time Batch Normalization for Robustness under Covariate Shiftcited by 236
- 2020Universal Source-Free Domain Adaptationcited by 220
- 2020Efficient and Scalable Bayesian Neural Nets with Rank-1 Factorscited by 171
- 2019Functional Variational Bayesian Neural Networkscited by 127
- 2019Adversarial Examples Are a Natural Consequence of Test Error in Noisecited by 114
- 2017AutoDIAL: Automatic DomaIn Alignment Layerscited by 75
- 2020Calibrated Prediction with Covariate Shift via Unsupervised Domain Adaptationcited by 43
- 2020Transferable Calibration with Lower Bias and Variance in Domain Adaptationcited by 41
- 2020Towards Trustworthy Predictions from Deep Neural Networks with Fast Adversarial Calibrationcited by 34
- 2020Revisiting One-vs-All Classifiers for Predictive Uncertainty and Out-of-Distribution Detection in Neural Networkscited by 31
- 2018Bayesian Semi-supervised Learning with Graph Gaussian Processescited by 28
- 2019A Flexible Generative Framework for Graph-based Semi-supervised Learningcited by 24
- 2020Unlabelled Data Improves Bayesian Uncertainty Calibration under Covariate Shiftcited by 21
- 2019Graph Convolutional Gaussian Processescited by 20
- 2020Unsupervised Calibration under Covariate Shiftcited by 15
Built on by
Citing papers per year: 2022: 3; 2023: 3; 2024: 1; 2025: 1.
8 papers.
- 2022Continual Test-Time Domain Adaptationcited by 525
- 2022A Probabilistic Framework for Lifelong Test-Time Adaptationcited by 46
- 2022Adversarial Unlearning: Reducing Confidence Along Adversarial Directionscited by 14
- 2023Energy-Based Test Sample Adaptation for Domain Generalizationcited by 14
- 2023Federated Learning under Covariate Shifts with Generalization Guaranteescited by 6
- 2023Towards Unified and Effective Domain Generalizationcited by 5
- 2024Source-Free Test-Time Adaptation For Online Surface-Defect Detectioncited by 0
- 2025Efficient Learning Under Density Shift in Incremental Settings Using Cram'er-Rao-Based Regularizationcited by 0
- 2025Efficient Learning Under Density Shift in Incremental Settings Using Cram'er-Rao-Based Regularization18 Feb 2025
- 2024Source-Free Test-Time Adaptation For Online Surface-Defect Detection18 Aug 2024
- 2023Towards Unified and Effective Domain Generalization16 Oct 2023
- 2023Federated Learning under Covariate Shifts with Generalization Guarantees8 Jun 2023
- 2023Energy-Based Test Sample Adaptation for Domain Generalization22 Feb 2023
- 2022A Probabilistic Framework for Lifelong Test-Time Adaptation19 Dec 2022
- 2022Adversarial Unlearning: Reducing Confidence Along Adversarial Directions3 Jun 2022
- 2022Continual Test-Time Domain Adaptation25 Mar 2022