Test-time Batch Statistics Calibration for Covariate Shift

10/06/2021
by   Fuming You, et al.
0

Deep neural networks have a clear degradation when applying to the unseen environment due to the covariate shift. Conventional approaches like domain adaptation requires the pre-collected target data for iterative training, which is impractical in real-world applications. In this paper, we propose to adapt the deep models to the novel environment during inference. An previous solution is test time normalization, which substitutes the source statistics in BN layers with the target batch statistics. However, we show that test time normalization may potentially deteriorate the discriminative structures due to the mismatch between target batch statistics and source parameters. To this end, we present a general formulation α-BN to calibrate the batch statistics by mixing up the source and target statistics for both alleviating the domain shift and preserving the discriminative structures. Based on α-BN, we further present a novel loss function to form a unified test time adaptation framework Core, which performs the pairwise class correlation online optimization. Extensive experiments show that our approaches achieve the state-of-the-art performance on total twelve datasets from three topics, including model robustness to corruptions, domain generalization on image classification and semantic segmentation. Particularly, our α-BN improves 28.4% to 43.9% on GTA5 → Cityscapes without any training, even outperforms the latest source-free domain adaptation method.

READ FULL TEXT

page 8

page 14

page 18

research
05/30/2022

Few-Shot Adaptation of Pre-Trained Networks for Domain Shift

Deep networks are prone to performance degradation when there is a domai...
research
08/30/2022

FUSION: Fully Unsupervised Test-Time Stain Adaptation via Fused Normalization Statistics

Staining reveals the micro structure of the aspirate while creating hist...
research
06/19/2020

Evaluating Prediction-Time Batch Normalization for Robustness under Covariate Shift

Covariate shift has been shown to sharply degrade both predictive accura...
research
06/30/2020

Improving robustness against common corruptions by covariate shift adaptation

Today's state-of-the-art machine vision models are vulnerable to image c...
research
07/27/2023

Test Time Adaptation for Blind Image Quality Assessment

While the design of blind image quality assessment (IQA) algorithms has ...
research
10/07/2020

Revisiting Batch Normalization for Improving Corruption Robustness

Modern deep neural networks (DNN) have demonstrated remarkable success i...
research
11/25/2020

Batch Normalization Embeddings for Deep Domain Generalization

Domain generalization aims at training machine learning models to perfor...

Please sign up or login with your details

Forgot password? Click here to reset