mlsanityData to 14 Oct 2026

Training on Test Data with Bayesian Adaptation for Covariate Shift

arXiv 2109.12746 ↗First posted 27 Sep 2021cs.LGcited by 8

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

  1. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  2. 2016Simple and Scalable Predictive Uncertainty Estimation using Deep Ensemblescited by 3,926
  3. 2015Domain-Adversarial Training of Neural Networkscited by 3,044
  4. 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,877
  5. 2020FixMatch: Simplifying Semi-Supervised Learning with Consistency and Confidencecited by 2,085
  6. 2016Identity Mappings in Deep Residual Networkscited by 1,965
  7. 2020The Many Faces of Robustness: A Critical Analysis of Out-of-Distribution Generalizationcited by 1,850
  8. 2019MixMatch: A Holistic Approach to Semi-Supervised Learningcited by 1,391
  9. 2019Self-training with Noisy Student improves ImageNet classificationcited by 1,311
  10. 2019Can You Trust Your Model's Uncertainty? Evaluating Predictive Uncertainty Under Dataset Shiftcited by 1,287
  11. 2018Averaging Weights Leads to Wider Optima and Better Generalizationcited by 1,209
  12. 2019Unsupervised Data Augmentation for Consistency Trainingcited by 1,060
26 more
  1. 2017Virtual Adversarial Training: A Regularization Method for Supervised and Semi-Supervised Learningcited by 920
  2. 2019AugMix: A Simple Data Processing Method to Improve Robustness and Uncertaintycited by 901
  3. 2020Do We Really Need to Access the Source Data? Source Hypothesis Transfer for Unsupervised Domain Adaptationcited by 848
  4. 2018Deep Visual Domain Adaptation: A Surveycited by 635
  5. 2019A Simple Baseline for Bayesian Uncertainty in Deep Learningcited by 560
  6. 2020Bayesian Deep Learning and a Probabilistic Perspective of Generalizationcited by 480
  7. 2020Measuring Robustness to Natural Distribution Shifts in Image Classificationcited by 454
  8. 2019Deep Ensembles: A Loss Landscape Perspectivecited by 443
  9. 2016Regularization With Stochastic Transformations and Perturbations for Deep Semi-Supervised Learningcited by 441
  10. 2019Semi-supervised Domain Adaptation via Minimax Entropycited by 335
  11. 2019A Baseline for Few-Shot Image Classificationcited by 298
  12. 2020Evaluating Prediction-Time Batch Normalization for Robustness under Covariate Shiftcited by 236
  13. 2020Universal Source-Free Domain Adaptationcited by 220
  14. 2020Efficient and Scalable Bayesian Neural Nets with Rank-1 Factorscited by 171
  15. 2019Functional Variational Bayesian Neural Networkscited by 127
  16. 2019Adversarial Examples Are a Natural Consequence of Test Error in Noisecited by 114
  17. 2017AutoDIAL: Automatic DomaIn Alignment Layerscited by 75
  18. 2020Calibrated Prediction with Covariate Shift via Unsupervised Domain Adaptationcited by 43
  19. 2020Transferable Calibration with Lower Bias and Variance in Domain Adaptationcited by 41
  20. 2020Towards Trustworthy Predictions from Deep Neural Networks with Fast Adversarial Calibrationcited by 34
  21. 2020Revisiting One-vs-All Classifiers for Predictive Uncertainty and Out-of-Distribution Detection in Neural Networkscited by 31
  22. 2018Bayesian Semi-supervised Learning with Graph Gaussian Processescited by 28
  23. 2019A Flexible Generative Framework for Graph-based Semi-supervised Learningcited by 24
  24. 2020Unlabelled Data Improves Bayesian Uncertainty Calibration under Covariate Shiftcited by 21
  25. 2019Graph Convolutional Gaussian Processescited by 20
  26. 2020Unsupervised Calibration under Covariate Shiftcited by 15

Built on by

Cited by year

Citing papers per year: 2022: 3; 2023: 3; 2024: 1; 2025: 1.

8 papers.