Uncertainty Modeling for Out-of-Distribution Generalization

Xiaotong Li, Yongxing Dai, Yixiao Ge, Jun Liu, Ying Shan +1 more
2/8/2022
cs.CVcs.LG

Official code: lixiaotong97/DSU (165 stars, Python, last commit 2022-03-27).

Abstract

Though remarkable progress has been achieved in various vision tasks, deep neural networks still suffer obvious performance degradation when tested in out-of-distribution scenarios. We argue that the feature statistics (mean and standard deviation), which carry the domain characteristics of the training data, can be properly manipulated to improve the generalization ability of deep learning models.

Show full abstract

Common methods often consider the feature statistics as deterministic values measured from the learned features and do not explicitly consider the uncertain statistics discrepancy caused by potential domain shifts during testing. In this paper, we improve the network generalization ability by modeling the uncertainty of domain shifts with synthesized feature statistics during training. Specifically, we hypothesize that the feature statistic, after considering the potential uncertainties, follows a multivariate Gaussian distribution. Hence, each feature statistic is no longer a deterministic value, but a probabilistic point with diverse distribution possibilities. With the uncertain feature statistics, the models can be trained to alleviate the domain perturbations and achieve better robustness against potential domain shifts. Our method can be readily integrated into networks without additional parameters. Extensive experiments demonstrate that our proposed method consistently improves the network generalization ability on multiple vision tasks, including image classification, semantic segmentation, and instance retrieval. The code can be available at https://github.com/lixiaotong97/DSU.

View on arXivView PDF

Code Implementations(1)

lixiaotong97/DSUOfficial100%

[ICLR 2022] Official pytorch implementation of "Uncertainty Modeling for Out-of-Distribution Generalization" in International Conference on Learning Representations (ICLR) 2022.

16517Python, ShellFeb 8, 20224 years ago
domain-generalizationiclr2022out-of-distribution

Similar Papers

Cite this paper

@article{li2022uncertainty,
  title  = {Uncertainty Modeling for Out-of-Distribution Generalization},
  author = {Xiaotong Li and Yongxing Dai and Yixiao Ge and Jun Liu and Ying Shan and Ling-Yu Duan},
  year   = {2022},
  eprint = {2202.03958},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2202.03958}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2202.03958.svg)](https://codeofpaper.com/paper/2202.03958)

Discussion