Adversarial Open Domain Adaptation for Sketch-to-Photo Synthesis

Xiaoyu Xiang, Ding Liu, Xiao Yang, Yiheng Zhu, Xiaohui Shen, Jan P. Allebach

Introduction

Sketch-to-photo synthesis involves transforming sparse, often distorted freehand drawings into texture-rich, geometrically accurate photographs. While Generative Adversarial Networks (GANs) have shown promise in image-to-image translation, they face two significant hurdles: the domain gap between clean algorithmic edge maps and messy human sketches, and the open-domain problem, where sketches for many object categories are unavailable during training.

The AODA Framework

To address these challenges, the authors propose Adversarial Open Domain Adaptation (AODA). This framework consists of a Photo-to-Sketch Generator ($G_s$) and a Sketch-to-Photo Generator ($G_p$). The core innovation is a Random-Mixed Sampling strategy. For object categories where real sketches are missing, $G_s$ generates "fake" sketches from real photos. These synthetic sketches are then mixed with real sketches to train $G_p$, effectively "fooling" the generator into treating them as real.

Overview of the AODA training and inference stages, highlighting the handling of missing sketch categories.

Bridging the Domain Gap

A key insight of this work is that algorithmic edges are not equivalent to human sketches. Models trained solely on clean edges often fail to handle the geometric distortions inherent in freehand drawings. By training $G_s$ and $G_p$ jointly, the "fake" sketches become increasingly human-like, allowing $G_p$ to learn the style of a sketch even for categories where it has only seen photos.

Comparison of synthesis results using synthetic (fake) sketches and real human sketches across various categories.

Experimental Results

The AODA model was evaluated on the Scribble and SketchyCOCO datasets, focusing on "unseen" classes during training.

  • Quantitative Performance: AODA achieved a Fréchet Inception Distance (FID) of 209.5 on the Scribble dataset, significantly lower than CycleGAN's 279.5, indicating higher image quality.
  • Classification and Human Study: A pre-trained classifier achieved 100% accuracy on AODA-generated images from the Scribble dataset. In human preference studies, users chose AODA's results 82.67% of the time for open-domain classes in SketchyCOCO.

Conclusion

AODA successfully addresses the open-domain sketch-to-photo synthesis problem by using synthesized sketches as a bridge for unseen categories. While the model currently focuses on single-object synthesis at standard resolutions, future work aims to scale to high-resolution images and complex natural scenes with multiple objects.

Summary updated

BibTeX
@inproceedings{xiang2022adversarial,
  author = {Xiaoyu Xiang and Ding Liu and Xiao Yang and Yiheng Zhu and Xiaohui Shen and Jan P. Allebach},
  title = {{Adversarial Open Domain Adaptation for Sketch-to-Photo Synthesis}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2022},
  doi = {10.1109/wacv51458.2022.00102},
}
Figure