Cross-Domain Self-Supervised Multi-Task Feature Learning Using Synthetic Imagery

Zhongzheng Ren, Yong Jae Lee

Abstract

In human learning, it is common to use multiple sources of information jointly. However, most existing feature learning approaches learn from only a single task. In this paper, we propose a novel multi-task deep network to learn generalizable high-level visual representations. Since multi-task learning requires annotations for multiple properties of the same training instance, we look to synthetic images to train our network. To overcome the domain difference between real and synthetic data, we employ an unsupervised feature space domain adaptation method based on adversarial learning. Given an input synthetic RGB image, our network simultaneously predicts its surface normal, depth, and instance contour, while also minimizing the feature space domain differences between real and synthetic data. Through extensive experiments, we demonstrate that our network learns more transferable representations compared to single-task baselines. Our learned representation produces state-of-the-art transfer learning results on PASCAL VOC 2007 classification and 2012 detection.

Introduction

Deep learning's success is largely fueled by massive, manually labeled datasets like ImageNet. However, human labeling is expensive, slow, and doesn't scale well as models grow more complex. Self-supervised learning (SSL) aims to solve this by creating "pretext" tasks where the data provides its own supervision. While promising, most SSL methods focus on a single task, which can lead the model to "cheat" by learning low-level shortcuts rather than general semantic features.

This paper argues that synthetic imagery (CGI) is an untapped goldmine because graphics engines can generate perfect, multi-task labels—such as depth, surface normals, and instance contours—for free. However, a significant "domain gap" exists: models trained on clean synthetic data often fail when faced with the complexity of the real world.

Methodology

The proposed framework combines Multi-task Learning with Adversarial Domain Adaptation to bridge the gap between synthetic and real-world data.

Multi-task Pretext Training

The network is trained on synthetic RGB images to simultaneously predict three mid-level properties: surface normals, depth maps, and instance contours. By using instance masks to generate contours, the model learns to ignore textures and shadows and focus on object boundaries, which are more semantically meaningful.

Synthetic image and its corresponding ground truth labels for depth, surface normals, and instance contours.

Adversarial Domain Adaptation

To ensure features are useful for real images, an adversarial setup is employed. A "Base" network extracts features from both synthetic and real images. A "Discriminator" (Domain D) attempts to distinguish between synthetic and real feature sets. The Base network is trained to "fool" this discriminator, forcing it to extract domain-invariant features.

The proposed multi-task architecture with shared weights and an adversarial domain adaptation module.

The backbone is based on AlexNet, with domain adaptation performed at the conv5 layer to balance high-level semantics and transferability.

Experimental Results

The model was trained on synthetic datasets SUNCG and SceneNet RGB-D, with Places365 used for unlabeled real-world adaptation.

Transfer Learning Performance

The approach achieved state-of-the-art results in self-supervised transfer learning:

  • PASCAL VOC 2007 Classification: Reached 68.0% mAP, surpassing previous leaders like Jigsaw and Split-brain.
  • Object Detection: On VOC 2007, it achieved 52.6% mAP, competitive with methods trained on much larger real-world video datasets.
  • Scalability: Performance consistently improved as the synthetic dataset size increased from 0.5M to 1.5M images.

Key Insights

Training on three complementary tasks significantly outperformed single-task baselines. For instance, understanding depth aids in identifying object boundaries. Furthermore, without adversarial adaptation, performance on real-world tasks dropped significantly, highlighting the necessity of explicit feature alignment.

Conclusion

This work demonstrates that synthetic data can serve as a scalable teacher for high-level feature learning. By combining multi-task supervision with adversarial domain adaptation, the model learns representations that generalize well to real-world semantic tasks. Future work may explore more sophisticated alignment techniques and address dataset biases, as the current model is primarily trained on indoor scenes.

Summary updated

BibTeX
@inproceedings{ren2018cross,
  author = {Zhongzheng Ren and Yong Jae Lee},
  title = {{Cross-Domain Self-Supervised Multi-Task Feature Learning Using Synthetic Imagery}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2018},
  url = {https://openreview.net/forum?id=SkZ__yMdWH},
}
Figure