Skip to main content
QUICK REVIEW

[Paper Review] Visual Attribute Transfer through Deep Image Analogy

Jing Liao, Yuan Yao|arXiv (Cornell University)|May 2, 2017
Generative Adversarial Networks and Image SynthesisComputer Science59 references32 citations
TL;DR

This paper proposes deep image analogy, a method for visual attribute transfer between semantically similar but visually dissimilar images (e.g., sketches to photos, paintings to scenes) by leveraging deep features from a pre-trained CNN to establish semantically meaningful dense correspondences. The approach uses a coarse-to-fine nearest-neighbor field computation in a deep feature space, enabling robust transfer of color, texture, and style even under extreme appearance variations, outperforming prior methods in style transfer, color transfer, and time-lapse generation.

ABSTRACT

We propose a new technique for visual attribute transfer across images that may have very different appearance but have perceptually similar semantic structure. By visual attribute transfer, we mean transfer of visual information (such as color, tone, texture, and style) from one image to another. For example, one image could be that of a painting or a sketch while the other is a photo of a real scene, and both depict the same type of scene. Our technique finds semantically-meaningful dense correspondences between two input images. To accomplish this, it adapts the notion of "image analogy" with features extracted from a Deep Convolutional Neutral Network for matching; we call our technique Deep Image Analogy. A coarse-to-fine strategy is used to compute the nearest-neighbor field for generating the results. We validate the effectiveness of our proposed method in a variety of cases, including style/texture transfer, color/style swap, sketch/painting to photo, and time lapse.

Motivation & Objective

  • Address the challenge of transferring visual attributes (color, texture, style) between images with drastically different appearances but similar semantic content.
  • Overcome limitations of low-level matching methods (e.g., optical flow, PatchMatch) that fail under large visual variations such as sketches vs. photos.
  • Enable dense, semantically meaningful correspondences between images from different domains (e.g., paintings, sketches, photos) where traditional methods fail.
  • Develop a general-purpose framework for visual attribute transfer that generalizes across diverse image pairs without domain-specific tuning.
  • Achieve high-quality stylization and transfer results by combining deep features with a coarse-to-fine nearest-neighbor field strategy.

Proposed method

  • Adapt the image analogy framework to a deep feature space using pre-trained CNNs (e.g., VGG-19) to represent semantic content and enable cross-domain matching.
  • Use intermediate feature maps from the CNN to establish spatially consistent, semantically meaningful dense correspondences between source and reference images.
  • Implement a coarse-to-fine strategy to compute the nearest-neighbor field (NNF), improving matching accuracy and efficiency.
  • Formulate the visual attribute transfer problem as a bidirectional inference task: jointly estimating both the transferred image and the reconstructed reference image.
  • Leverage the hierarchical nature of CNN features, where lower layers encode texture and color, and higher layers encode semantic structure, to guide attribute transfer.
  • Enforce spatial consistency and smoothness in the NNF using energy minimization, improving robustness in textureless or ambiguous regions.

Experimental results

Research questions

  • RQ1Can deep features from a pre-trained CNN enable robust dense correspondence between images with very different appearances but similar semantic content?
  • RQ2How does deep image analogy compare to traditional low-level matching methods (e.g., PatchMatch, optical flow) in handling extreme visual variations like sketches to photos?
  • RQ3To what extent can the method generalize across diverse visual attribute transfer tasks, including style transfer, color transfer, and time-lapse generation?
  • RQ4Can the method produce high-quality results without requiring segmentation masks or video sequences, unlike some state-of-the-art approaches?
  • RQ5What are the failure modes of the method, and how do they relate to limitations in CNN-based feature representations or geometric invariance?

Key findings

  • The method successfully transfers visual attributes (color, texture, style) between semantically similar but visually dissimilar images, such as sketches to photos or paintings to real scenes.
  • It outperforms NRDC in local color transfer, particularly in region-specific mappings (e.g., grass regions), due to its local, correspondence-based approach.
  • The method enables time-lapse sequence generation using a single reference image, achieving plausible semantic consistency across frames by matching corresponding scene elements (e.g., tree to tree).
  • Compared to Luan et al. [2017], the method avoids posterization effects in facial and structural regions, producing more natural results.
  • The approach produces visually comparable results to Shih et al. [2013] and Luan et al. [2017] in photo-to-photo transfer but requires only a single reference image, avoiding the need for video or segmentation masks.
  • Failure cases include mismatched regions (e.g., hats), scale/viewpoint variations, and textureless areas with low activation, indicating limitations in deep feature representation for fine-grained or geometrically complex structures.

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.