Agnostic Domain Generalization

Fabio Maria Carlucci, Paolo Russo, Tatiana Tommasi, Barbara Caputo

Abstract

Domain shift remains a significant hurdle for deep learning models, particularly in Domain Generalization (DG) where target data is entirely unavailable during training. We present Agnostic DomAin GEneralization (ADAGE), a framework that employs a "Hallucinator" network to transform source images into domain-agnostic representations. By leveraging dual-level adversarial training—at both the pixel and feature levels—ADAGE effectively strips away domain-specific styles while preserving semantic integrity. Our approach achieves state-of-the-art performance across multiple benchmarks, including digit recognition and object classification.

Introduction

Standard machine learning models often fail when deployed in environments that differ from their training data. While Domain Adaptation (DA) addresses this by using unlabeled target samples, Domain Generalization (DG) requires models to perform on unseen domains without prior exposure. ADAGE addresses this by "hallucinating" a style-free world, focusing on pixel-level adaptation to create a cleaner signal for downstream classification.

Methodology

The core of ADAGE is a two-part architecture: the Hallucinator (H) and the Domain Generalizer.

Figure 1: Overview of the ADAGE architecture, showing the Hallucinator (H) and the adversarial components of the Domain Generalizer.

The Hallucinator is a lightweight convolutional network that transforms source images into "agnostic" versions. Unlike standard residual networks, it stacks and propagates features from every layer to the next, maintaining efficiency and preventing overfitting. The Domain Generalizer then processes these images through an Image Domain Discriminator (I) to ensure style removal, a Feature Extractor (F) and Feature Domain Discriminator (D) for invariant representations, and a final Classifier (C). Gradient Reversal Layers (GRL) facilitate end-to-end adversarial training in a min-max game between the hallucinator and the discriminators.

Experimental Evaluation

ADAGE was evaluated on several challenging benchmarks:

  • Digits: A combination of MNIST, MNIST-M (colored), USPS, SVHN (Street View House Numbers), and SYNTH (synthetic digits).
  • Rotated MNIST: MNIST digits rotated at angles from 0° to 75°.
  • ETH-80: An object classification dataset containing 8 categories viewed from various angles and poses.

Results and Discussion

ADAGE significantly outperforms existing methods. In DG tasks on the Digits benchmark, it achieved an average accuracy of 80.3%, compared to the previous 76.7% state-of-the-art (MLDG). In multi-source DA, accuracy reached 91.3%, an 8.6% improvement over the competitive MDAN baseline. On the ETH-80 dataset, it reached 90.2% accuracy, outperforming D-MTAE (87.9%).

Qualitative analysis via t-SNE visualizations confirms that ADAGE produces tighter, more distinct class clusters across domains compared to baseline methods, indicating successful domain fusion into a shared feature space.

Figure 3: t-SNE visualizations comparing (a) naive source combination, (b) DG ADAGE, and (c) DA ADAGE, illustrating superior domain alignment.

A key insight is that the "hallucinated" images are optimized for machine consumption rather than human aesthetics, often appearing as high-contrast edge maps. This pixel-level adaptation provides a cleaner signal for the feature extractor, leading to superior generalization. Furthermore, the Hallucinator is highly efficient, using only one-third of the parameters of similar previous architectures.

Conclusion

ADAGE demonstrates that pixel-level hallucination combined with feature-level alignment provides a robust solution for domain shift. The framework is efficient and versatile, working "out of the box" for both DG and multi-source DA. Future work will explore open-set scenarios and improving the interpretability of the generated agnostic images.

Summary updated

BibTeX
@inproceedings{carlucci2019agnostic,
  author = {Fabio Maria Carlucci and Paolo Russo and Tatiana Tommasi and Barbara Caputo},
  title = {{Agnostic Domain Generalization}},
  booktitle = {Workshops @ ICCV},
  year = {2019},
  doi = {10.1109/iccvw.2019.00403},
}
Figure