Abstract
Synthesizing photorealistic images from semantic labels—such as sketches, pose skeletons, or segmentation maps—while maintaining the specific "style" of an exemplar image remains a significant challenge in computer vision. We present a generative adversarial framework that addresses this by decoupling structure from style. Our approach introduces a style-consistency discriminator and an adaptive semantic consistency loss, enabling the model to mimic complex attributes like human identity or atmospheric conditions without the need for perfectly paired training datasets.
Introduction
Image-to-image translation has seen remarkable progress with frameworks like pix2pixHD, which excel at generating realistic images from labels. However, providing fine-grained control over the output's "style" (e.g., a specific person's face or a particular weather condition) remains difficult. Traditional style transfer methods often fail to preserve the rigid semantic structure required by input labels. The primary obstacle is the lack of "ground truth" datasets where the same subject is captured across all possible poses and environments. This paper proposes a method to learn style consistency from unpaired data by leveraging temporal proximity in videos.
Methodology
The proposed architecture builds upon pix2pixHD and introduces three key components to ensure style fidelity:
1. Style Consistency Discriminator ($D_{SC}$)
Unlike standard discriminators that evaluate the realism of a single image, $D_{SC}$ operates on pairs. It compares the synthetic output with the exemplar image to determine if they share the same style. This adversarial setup forces the generator to incorporate the exemplar's unique characteristics into the final synthesis.
2. Adaptive Semantic Consistency Loss
To handle cases where the exemplar and the target output are not perfectly matched (style-inconsistent), we utilize a modified VGG-based perceptual loss. The model adaptively downweights deeper layers of the VGG network when dealing with inconsistent pairs. This prevents the generator from incorrectly forcing the identity of a mismatched exemplar onto the output, focusing instead on high-level semantic layout.
3. Weakly Supervised Sampling
The framework utilizes video data to overcome the lack of paired training sets. Frames within close temporal proximity are treated as "style-consistent" (sharing identity, clothing, and lighting), while frames from different videos are "style-inconsistent." This strategy allows the model to learn the nuances of "style" across thousands of diverse examples.
Experimental Results
The method was evaluated across three domains: face synthesis (FaceForensics), dance generation (YouTube Dances), and street scene parsing (BDD100K).
Quantitative Performance
The model significantly outperformed state-of-the-art baselines such as MUNIT. In face synthesis, it achieved a Fréchet Inception Distance (FID) of 31.26, compared to 39.86 for pix2pixHD and 148.57 for MUNIT. Furthermore, the model maintained a high pixel-wise semantic accuracy of 84.71% in street scene tasks, demonstrating that style control does not compromise structural integrity.
Human Evaluation
In user studies, participants preferred the proposed method's results over 80% of the time when evaluating style matching against exemplars.
Conclusion and Future Work
This framework successfully demonstrates example-guided synthesis that is both semantically accurate and style-consistent. While highly effective, limitations include lower resolution testing (256x256) and occasional background blurring in subjects with sparse semantic maps. Future research will focus on extending this approach to full video-to-video synthesis to ensure temporal style stability across sequences.
Summary updated