Skip to main content
QUICK REVIEW

[Paper Review] Sketch-to-Image Generation Using Deep Contextual Completion.

Yongyi Lu, Shangzhe Wu|arXiv (Cornell University)|Nov 24, 2017
Generative Adversarial Networks and Image SynthesisComputer Science26 references7 citations
TL;DR

This paper proposes a contextual GAN that treats sketches as weak constraints rather than strict edge guides, enabling more realistic image generation from poor-quality sketches by jointly learning image and sketch completion in a shared space. The method outperforms state-of-the-art conditional GANs on challenging inputs across three datasets, achieving better realism and generalization.

ABSTRACT

In this paper we investigate image generation guided by hand sketch. When the input sketch is badly drawn, the output of common image-to-image translation follows the input edges due to the hard condition imposed by the translation process. Instead, we propose to use sketch as weak constraint, where the output edges do not necessarily follow the input edges. We address this problem using a novel joint image completion approach, where the sketch provides the image context for completing, or generating the output image. We train a generated adversarial network, i.e, contextual GAN to learn the joint distribution of sketch and the corresponding image by using joint images. Our contextual GAN has several advantages. First, the simple joint image representation allows for simple and effective learning of joint distribution in the same image-sketch space, which avoids complicated issues in cross-domain learning. Second, while the output is related to its input overall, the generated features exhibit more freedom in appearance and do not strictly align with the input features as previous conditional GANs do. Third, from the joint image's point of view, image and sketch are of no difference, thus exactly the same deep joint image completion network can be used for image-to-sketch generation. Experiments evaluated on three different datasets show that our contextual GAN can generate more realistic images than state-of-the-art conditional GANs on challenging inputs and generalize well on common categories.

Motivation & Objective

  • To address the limitation of existing image-to-image translation models that rigidly follow poorly drawn sketch edges, leading to unrealistic outputs.
  • To enable more flexible and realistic image generation by treating sketches as contextual guidance rather than hard constraints.
  • To learn the joint distribution of sketch and image pairs in a shared image-sketch space to simplify cross-domain learning.
  • To develop a unified deep network capable of both image-to-sketch and sketch-to-image generation using the same architecture.
  • To improve generalization and realism on common image categories despite noisy or incomplete sketch inputs.

Proposed method

  • The method employs a contextual GAN that jointly trains on paired sketch and image data to learn the joint distribution in a shared image-sketch space.
  • A joint image representation is used where both sketch and image are treated as equally valid inputs, enabling symmetric generation in both directions.
  • The network uses adversarial training to generate realistic images conditioned on sketch context, with the generator free to deviate from input sketch edges.
  • The model leverages a shared deep feature extractor and completion network that operates on the joint representation to fill in missing or ambiguous regions.
  • The training objective encourages the generator to produce realistic outputs that align with the overall context of the sketch, not just its edges.
  • The framework avoids complex cross-domain adaptation by learning in a unified space where sketch and image are treated as equivalent modalities.

Experimental results

Research questions

  • RQ1Can sketch-to-image generation be improved by treating sketches as weak contextual constraints rather than strict edge templates?
  • RQ2How does joint learning of sketch and image in a shared space affect the realism and diversity of generated images?
  • RQ3To what extent can a single deep network perform both image-to-sketch and sketch-to-image generation with consistent performance?
  • RQ4Does the proposed method generalize better than conditional GANs on common image categories when given low-quality or incomplete sketches?
  • RQ5Can the model generate more realistic outputs by allowing deviation from input sketch edges while preserving semantic consistency?

Key findings

  • The contextual GAN generates more realistic images than state-of-the-art conditional GANs, especially on challenging, poorly drawn sketches.
  • The model exhibits greater freedom in appearance generation, avoiding rigid alignment with input sketch edges while maintaining semantic coherence.
  • The joint image representation simplifies learning by eliminating complex cross-domain adaptation, leading to more stable and effective training.
  • The same deep network can be used for both sketch-to-image and image-to-sketch generation, demonstrating architectural symmetry and versatility.
  • The method generalizes well across common image categories, showing robustness to variations in sketch quality and completeness.
  • Experiments on three datasets confirm consistent performance gains in realism and diversity over baseline conditional GANs.

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.