Style-Hallucinated Dual Consistency Learning: A Unified Framework for Visual Domain Generalization

Yuyang Zhao, Zhun Zhong, Na Zhao, Nicu Sebe, Gim Hee Lee
12/18/2022
cs.CV

Official code: HeliosZhao/SHADE-VisualDG (21 stars, Python, MIT, PyTorch, last commit 2022-12-21).

Abstract

Domain shift widely exists in the visual world, while modern deep neural networks commonly suffer from severe performance degradation under domain shift due to the poor generalization ability, which limits the real-world applications. The domain shift mainly lies in the limited source environmental variations and the large distribution gap between source and unseen target data.

Show full abstract

To this end, we propose a unified framework, Style-HAllucinated Dual consistEncy learning (SHADE), to handle such domain shift in various visual tasks. Specifically, SHADE is constructed based on two consistency constraints, Style Consistency (SC) and Retrospection Consistency (RC). SC enriches the source situations and encourages the model to learn consistent representation across style-diversified samples. RC leverages general visual knowledge to prevent the model from overfitting to source data and thus largely keeps the representation consistent between the source and general visual models. Furthermore, we present a novel style hallucination module (SHM) to generate style-diversified samples that are essential to consistency learning. SHM selects basis styles from the source distribution, enabling the model to dynamically generate diverse and realistic samples during training. Extensive experiments demonstrate that our versatile SHADE can significantly enhance the generalization in various visual recognition tasks, including image classification, semantic segmentation and object detection, with different models, i.e., ConvNets and Transformer.

View on arXivView PDF

Code Implementations(1)

PyTorchMIT

Style-Hallucinated Dual Consistency Learning: A Unified Framework for Visual Domain Generalization

210Python, CudaDec 16, 20223 years agoMIT
generalizationpytorchsemantic-segmentation

Similar Papers

Cite this paper

@article{zhao2022stylehallucinated,
  title  = {Style-Hallucinated Dual Consistency Learning: A Unified Framework for Visual Domain Generalization},
  author = {Yuyang Zhao and Zhun Zhong and Na Zhao and Nicu Sebe and Gim Hee Lee},
  year   = {2022},
  eprint = {2212.09068},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2212.09068}
}

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/2212.09068.svg)](https://codeofpaper.com/paper/2212.09068)

Discussion