Factors of Influence for Transfer Learning Across Diverse Appearance Domains and Task Types

Thomas Mensink, Jasper R. R. Uijlings, Alina Kuznetsova, Michael Gygli, Vittorio Ferrari · DOI

Introduction

Transfer learning—the practice of pre-training a model on a large-scale dataset like ImageNet before fine-tuning on a target task—has become the standard paradigm in computer vision. However, while its efficacy is well-documented for image classification, its behavior remains less understood for complex, structured output tasks such as semantic segmentation, object detection, and depth estimation. This is particularly true when the source and target datasets exhibit significant domain shifts, such as moving from consumer photography to specialized aerial or underwater imagery.

This paper presents a comprehensive empirical study involving over 2,000 transfer learning experiments. By analyzing 20 datasets across seven distinct image domains and four task types, the authors systematically disentangle the factors that drive transfer success.

Experimental Framework

To ensure rigorous comparisons, the study utilizes a unified "Transfer Chain": ILSVRC’12 (ImageNet) -> Source Task -> Target Task. This methodology measures the relative performance gain achieved by adding a specific intermediate source task over a standard ImageNet-only baseline.

All experiments employ the HRNetV2 architecture as a backbone. HRNetV2 is specifically chosen for its ability to maintain high-resolution spatial features throughout the network, which is critical for structured prediction tasks. The authors implemented specialized, lightweight heads for four primary task types: semantic segmentation, object detection (via CenterNet), keypoint detection, and monocular depth estimation.

Dataset Diversity and Domain Distance

The study spans 20 public datasets categorized into seven diverse appearance domains: Consumer (e.g., COCO, Pascal VOC), Driving (e.g., Cityscapes), Aerial (e.g., ISPRS), Underwater, Indoor, Synthetic, and Close-ups.

Sample images from the CityScapes dataset, representing the ground-level driving domain.
Sample images from the ISPRS dataset, representing the top-down aerial domain.

To move beyond qualitative labels, the authors introduced a continuous domain distance metric based on visual features. This metric allows for a quantitative assessment of how visual similarity between datasets influences the effectiveness of knowledge transfer.

Core Insights

1. Domain Trumps Task

The single most significant finding is that the image domain is a stronger predictor of transfer success than the task type. For example, a model trained for semantic segmentation in a driving environment is typically a superior source for driving-related depth estimation than a segmentation model trained on general consumer photos.

2. The Inclusion Principle

Transfer performance is maximized when the source domain "includes" or encompasses the target domain. Broad datasets like COCO (Consumer) serve as excellent general-purpose sources because they contain elements of many specialized scenes. Conversely, highly specialized datasets (like driving-specific KITTI) transfer poorly to general consumer tasks.

3. Task Asymmetry

While cross-task transfer is generally beneficial, it is often asymmetric. Object detection and keypoint detection frequently complement one another, but semantic segmentation tends to provide a more significant boost to detection tasks than the reverse.

Quantitative Results

The empirical results highlight the limitations of relying solely on ImageNet pre-training:

  • Superiority over ImageNet: In low-data regimes, a domain-matched source task outperformed the standard ImageNet baseline in 85% of the target tasks.
  • Significant Performance Gains: For 67% of target tasks with limited training data, the best source tasks provided a relative performance gain of over 10%.
  • Data Scaling: The benefits of specialized transfer learning are most pronounced when target data is scarce. As the volume of target data increases, the relative advantage of a specific source task narrows, though it rarely disappears.
  • Multi-Source Robustness: Training on multiple datasets simultaneously emerged as a highly reliable strategy, consistently yielding positive transfer across all tested domains.

Conclusion

The study concludes that while ImageNet is a robust starting point, the visual domain of the source data is the primary driver of transfer learning performance for structured tasks. Future research and dataset curation should prioritize the creation of massive, multi-domain datasets for structured prediction to overcome the inherent biases of classification-centric pre-training.

Summary updated

BibTeX
@article{mensink2022factors,
  author = {Thomas Mensink and Jasper R. R. Uijlings and Alina Kuznetsova and Michael Gygli and Vittorio Ferrari},
  title = {{Factors of Influence for Transfer Learning Across Diverse Appearance Domains and Task Types}},
  journal = {IEEE Trans. Pattern Anal. Mach. Intell.},
  year = {2022},
  doi = {10.1109/tpami.2021.3129870},
}
Figure