Semi-supervised Learning for Face Sketch Synthesis in the Wild

Chaofeng Chen, Wei Liu, Xiao Tan, Kwan-Yee K. Wong

Abstract

Face sketch synthesis (FSS) is a critical task in computer vision with significant applications in law enforcement and digital art. However, existing methods are often constrained by the scarcity of high-quality photo-sketch pairs, leading to poor performance on "in the wild" images characterized by varied lighting and poses. This paper proposes a novel semi-supervised framework that leverages a large dataset of unlabeled face photos alongside a small set of labeled pairs. By introducing a pseudo sketch feature generator that operates in a deep feature space, the model achieves state-of-the-art performance and high-speed inference, effectively bridging the gap between controlled laboratory settings and real-world scenarios.

Introduction

Generating realistic sketches from face photos is a classic challenge. While deep learning has advanced the field, the primary bottleneck remains data scarcity. High-quality datasets like CUFS and CUFSF are small and captured under ideal conditions. Consequently, models trained on this data often fail when presented with "in the wild" photos—images with expressive poses, cluttered backgrounds, or complex lighting. Traditional exemplar-based methods are computationally expensive and produce over-smoothed results, while standard Generative Adversarial Networks (GANs) frequently introduce artifacts or fail to preserve the subject's identity.

Proposed Method

The authors introduce a semi-supervised architecture designed to learn from both labeled and unlabeled data. The system consists of three primary components: a Generator ($G$), a Discriminator ($D$), and a Pseudo Sketch Feature Generator.

The proposed semi-supervised architecture, highlighting the Generator, Discriminator, and the Pseudo Sketch Feature Generator components.

The Pseudo Sketch Feature Generator

This component is the core innovation of the framework. For unlabeled "in the wild" photos, the system performs patch matching within the feature space of a pre-trained VGG-19 network. It identifies the most similar photo patches in a small reference set and retrieves their corresponding sketch patches. These are then aggregated to create a "pseudo sketch feature" representation, providing a robust supervision signal that is less sensitive to lighting and pose variations than raw pixel matching.

Learning Objectives

The model is optimized using a multi-part loss function:

  • Perceptual Loss: Measures the distance between generated features and the pseudo sketch features.
  • Adversarial Loss (LSGAN): Pushes the generator to produce realistic textures that can fool the discriminator.
  • Total Variation Loss: Applied to ensure spatial smoothness and reduce noise in the synthesized sketches.

Experimental Setup and Results

The model was evaluated on standard benchmarks including CUFS (606 pairs) and CUFSF (1,194 pairs). To facilitate semi-supervised learning, unlabeled photos were sourced from the VGG-Face dataset.

Performance Metrics

The proposed method achieved the highest Feature Similarity (FSIM) scores on both CUFS and CUFSF, outperforming existing GAN-based and exemplar-based approaches. In Mean Opinion Score (MOS) tests with 108 human raters, the synthesized sketches were ranked significantly higher for realism and identity preservation than those from competing models like FCN and Pix2Pix.

Comparison between a ground truth artist's sketch and the synthesized sketch produced by the proposed model.

Efficiency and Identity Preservation

Beyond visual quality, the model is highly efficient, requiring only ~7ms for a feed-forward pass on a GPU. Identity preservation was quantitatively validated using Null-space Linear Discriminant Analysis (NLDA), confirming that the synthesized sketches retain more identifiable facial features than previous state-of-the-art methods.

Conclusion

This research demonstrates that semi-supervision, guided by deep feature matching, can effectively overcome the limitations of small datasets in face sketch synthesis. By incorporating "in the wild" photos during training, the model learns a more robust distribution of human faces. Future work will focus on reducing the dependency on the initial reference set and improving robustness to extreme profile poses and highly cluttered backgrounds.

Summary updated

BibTeX
@inproceedings{chen2018semi,
  author = {Chaofeng Chen and Wei Liu and Xiao Tan and Kwan-Yee K. Wong},
  title = {{Semi-supervised Learning for Face Sketch Synthesis in the Wild}},
  booktitle = {ACCV},
  year = {2018},
  url = {https://openreview.net/forum?id=osoE9wHi4mZ},
}
Figure