One-Shot Image-to-Image Translation via Part-Global Learning With a Multi-Adversarial Framework

Ziqiang Zheng, Zhibin Yu, Haiyong Zheng, Yang Yang, Heng Tao Shen

TL;DR

This paper tackles the challenging problem of one-shot image-to-image translation, where the goal is to translate images from a source domain with many examples to a target domain with only a single example. They introduce a novel "part-global learning" framework with a multi-adversarial setup to effectively learn from limited target data, outperforming existing methods.

What Problem Does This Paper Address?

Deep learning models typically require large amounts of labeled data to perform well. Image-to-image translation, which aims to transform images from one domain to another (e.g., photos to sketches), is no exception. However, in many real-world scenarios, obtaining sufficient training data for the target domain is difficult or even impossible, sometimes leaving us with just one example. This "one-shot" setting poses a significant challenge for existing translation models, which often overfit to the limited target data or fail to capture essential semantic details. The paper addresses this gap by proposing a method that can learn to translate from a rich source domain to a target domain with only a single training image, mimicking human analogical reasoning.

Methods

The core of the proposed solution is a Multi-Adversarial (MA) framework built upon part-global learning.

  • Part-Global Discriminators: Inspired by how humans reason about objects by looking at both the overall structure and individual parts, the authors introduce a novel discriminator architecture. This architecture combines a global discriminator that analyzes the entire image with a part discriminator that focuses on randomly cropped local regions of the image. This "divide-and-conquer" strategy helps the model learn fine-grained semantic details from the single target image while also preserving the overall structure.
  • Multi-Adversarial Mechanism: To further enhance the translation capability and unearth high-level semantic representations, the framework employs multiple discriminators. This ensemble of discriminators provides richer guidance to the generator.
  • Balanced Adversarial Loss: A key challenge in one-shot learning with imbalanced data is preventing the discriminator from overfitting to the limited target data. The authors introduce a balanced adversarial loss function that uses a hyper-parameter to control the convergence speed of the discriminators for the source and target domains, stabilizing the training process.
  • Threaded Discriminators: Similar to prior work, they divide discriminators into multiple "threads" to improve efficiency and capture more fine-grained semantic details.

Datasets

The proposed method was evaluated on several standard datasets:

  • Day2night: For scene change translation.
  • Cat2dog: For cross-species image translation.
  • Photo-Sketch: For photo-to-sketch translation.
  • Caricature: For photo-to-caricature translation.
  • IIIT-CFW: Another dataset for photo-to-caricature translation.
  • CelebA+Portrait: For portrait translation.

The paper focuses on the "one vs. many" setting, where only one image from the target domain is used for training, while the source domain has abundant images.

Key Insights and Ideas

  • Human-like Analogical Reasoning: The paper draws a strong parallel between its "part-global" approach and human analogical reasoning, suggesting that understanding both the whole and its parts is crucial for learning from limited examples.
  • The Power of Local Details: The success of the part discriminator highlights that capturing fine-grained local features is essential for accurate one-shot translation, especially when the target domain has very few examples.
  • Balancing Act for Stability: The introduction of a balanced adversarial loss is a critical insight for stabilizing training in highly imbalanced one-shot scenarios, preventing the model from collapsing to trivial solutions.
  • Multi-Adversarial Synergy: Combining multiple discriminators, each potentially focusing on different aspects, provides a more robust and comprehensive learning signal for the generator.

Key Results

The proposed method consistently outperforms state-of-the-art one-shot image-to-image translation methods across various datasets.

  • On the Day2night dataset, the proposed method achieved the lowest FID (Fréchet Inception Distance) and highest SSIM (Structural Similarity Index Measure) among one-shot methods.
  • For Photo-Caricature tasks (Caricature and IIIT-CFW datasets), the method demonstrated the lowest LPIPS (Learned Perceptual Image Patch Similarity) and highest SSIM compared to other one-shot approaches.
  • In Photo-Sketch translation, the proposed method also achieved the lowest FID, LPIPS, and highest SSIM.
  • On the challenging Cat2dog dataset, the method showed superior performance in the one-shot setting, producing more precise semantic features and detailed information compared to competitors.

Qualitatively, the generated images often preserve the pose, layout, and identity of the input source images while adopting the style of the single target image.

Limitations and Future Work

  • Limitation with "Unknown" Objects: The authors acknowledge that their approach struggles when the source and target objects are not apparently correlated or when the target domain contains objects (like "cloud" or "lake" in their examples) that have never been observed in the target domain. This can lead to difficulties in preserving background elements or translating novel concepts.
  • Future Work: The authors plan to investigate the interpretability of their model further. They also aim to incorporate additional conditional information to guide the model to focus more precisely on semantic representations.

Summary updated

Abstract

It is well known that humans can learn and recognize objects effectively from several limited image samples. However, learning from just a few images is still a tremendous challenge for existing main-stream deep neural networks. Inspired by analogical reasoning in the human mind, a feasible strategy is to &#x201C;translate&#x201D; the abundant images of a rich source domain to enrich the relevant yet different target domain with insufficient image data. To achieve this goal, we propose a novel, effective multi-adversarial framework (<b>MA</b>) based on part-global learning, which accomplishes the one-shot cross-domain image-to-image translation. In specific, we first devise a part-global adversarial training scheme to provide an efficient way for feature extraction and prevent discriminators from being overfitted. Then, a multi-adversarial mechanism is employed to enhance the image-to-image translation ability to unearth the high-level semantic representation. Moreover, a balanced adversarial loss function is presented, which aims to balance the training data and stabilize the training process. Extensive experiments demonstrate that the proposed approach can obtain impressive results on various datasets between two extremely imbalanced image domains and outperform state-of-the-art methods on one-shot image-to-image translation. Our code will be released with this paper at <uri>https://github.com/zhengziqiang/OST</uri>.
BibTeX
@article{zheng2021one,
  author = {Ziqiang Zheng and Zhibin Yu and Haiyong Zheng and Yang Yang and Heng Tao Shen},
  title = {{One-Shot Image-to-Image Translation via Part-Global Learning With a Multi-Adversarial Framework}},
  journal = {IEEE Transactions on Multimedia},
  year = {2021},
  doi = {10.1109/tmm.2021.3053775},
}
Figure