Skip to main content
QUICK REVIEW

[Paper Review] Episodic Training for Domain Generalization

Da Li, Jianshu Zhang|arXiv (Cornell University)|Jan 31, 2019
Domain Adaptation and Few-Shot LearningComputer Science42 references29 citations
TL;DR

This paper proposes episodic training for domain generalization (DG) by simulating domain shift during training through adversarial interaction between feature extractor and classifier modules, achieving state-of-the-art performance on standard DG benchmarks and demonstrating improved robustness of ImageNet pre-trained features for downstream tasks on the large-scale Visual Decathlon benchmark.

ABSTRACT

Domain generalization (DG) is the challenging and topical problem of learning models that generalize to novel testing domains with different statistics than a set of known training domains. The simple approach of aggregating data from all source domains and training a single deep neural network end-to-end on all the data provides a surprisingly strong baseline that surpasses many prior published methods. In this paper, we build on this strong baseline by designing an episodic training procedure that trains a single deep network in a way that exposes it to the domain shift that characterises a novel domain at runtime. Specifically, we decompose a deep network into feature extractor and classifier components, and then train each component by simulating it interacting with a partner who is badly tuned for the current domain. This makes both components more robust, ultimately leading to our networks producing state-of-the-art performance on three DG benchmarks. Furthermore, we consider the pervasive workflow of using an ImageNet trained CNN as a fixed feature extractor for downstream recognition tasks. Using the Visual Decathlon benchmark, we demonstrate that our episodic-DG training improves the performance of such a general-purpose feature extractor by explicitly training a feature for robustness to novel problems. This shows that DG training can benefit standard practice in computer vision.

Motivation & Objective

  • To improve model robustness to domain shift in the absence of target domain data, a key challenge in domain generalization (DG).
  • To develop a simple, model-agnostic training method that enhances generalization without relying on complex architectures or optimizers.
  • To demonstrate the practical value of DG training beyond isolated benchmarks by improving standard vision workflows using ImageNet pre-trained features.
  • To evaluate episodic DG on a large-scale, heterogeneous benchmark (Visual Decathlon) with diverse domains and label spaces.

Proposed method

  • The method decomposes a deep network into a feature extractor and classifier, training each by simulating interaction with a poorly tuned partner module to mimic domain shift.
  • Episodic training is implemented by creating synthetic training episodes where the classifier is randomly initialized or poorly tuned for the current domain, forcing the feature extractor to adapt.
  • The approach uses a random classifier (R) variant to support heterogeneous label spaces, enabling training across domains with different classes.
  • A multi-domain training loop is used where each episode samples a source domain and a randomly initialized classifier, and the feature extractor is trained to generalize across these adversarial setups.
  • The method is end-to-end, model-agnostic, and compatible with standard optimizers and architectures, such as ResNet-18.
  • For practical evaluation, the trained feature extractor is combined with ImageNet pre-trained features via concatenation and mean-pooling to improve performance on downstream tasks.

Experimental results

Research questions

  • RQ1Can episodic training improve domain generalization performance on standard DG benchmarks without requiring specialized architectures or optimizers?
  • RQ2Does episodic training lead to more robust features that generalize to novel, unseen domains in a heterogeneous setting?
  • RQ3Can DG training improve the performance of standard ImageNet pre-trained CNNs as fixed feature extractors for downstream tasks?
  • RQ4How does episodic training scale to large, real-world benchmarks with diverse domains and label spaces, such as the Visual Decathlon?

Key findings

  • The proposed episodic training method achieves state-of-the-art performance on three major DG benchmarks, outperforming existing methods including MLDG, CrossGrad, and DANN.
  • On the Visual Decathlon benchmark, the episodic-DG method (Epi-R) achieves higher average accuracy and VD score than the strong AGG baseline and other DG competitors.
  • The method improves the performance of ImageNet pre-trained features when used as fixed extractors for downstream tasks, demonstrating practical value beyond isolated benchmarks.
  • The combination of ImageNet pre-trained features with VD-DG trained features via concatenation and mean-pooling yields the best overall performance, outperforming direct inclusion of ImageNet as a source domain.
  • The results show that episodic training can effectively improve feature robustness in a large-scale, heterogeneous domain generalization setting, marking the first such demonstration at scale.
  • The method is efficient, model-agnostic, and does not require non-standard training procedures, making it suitable for widespread adoption in computer vision workflows.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.