Biphasic Face Photo-Sketch Synthesis via Semantic-Driven Generative Adversarial Network with Graph Representation Learning

Xingqun Qi, Muyi Sun, Zijian Wang, Jiaming Liu, Qi Li, Fang Zhao, Shanghang Zhang, Caifeng Shan

TL;DR

This paper introduces a Semantic-Driven Generative Adversarial Network (SD-GAN) that achieves state-of-the-art results in biphasic face photo-sketch synthesis. By integrating Graph Representation Learning to model both local facial details and global structural relationships, and employing a novel biphasic iterative cycle training strategy, the model produces highly realistic, identity-preserving images that outperform existing holistic generation methods.

What Problem Does This Paper Address?

Face photo-sketch synthesis is a "biphasic" task: generating artistic sketches from photos (useful for digital entertainment) and reconstructing realistic photos from sketches (critical for law enforcement and criminal identification).

The core challenge lies in the tension between identity preservation and style transformation. Previous approaches often treated the face as a single holistic block. This frequently resulted in "over-smoothed" images that lacked fine-grained details (like the texture of hair or the specific shape of an ear) or suffered from structural distortions, especially when dealing with complex lighting or artistic deformations. The authors argue that because human faces have distinct, well-defined spatial structures, a successful model must explicitly account for these semantic components and their relationships.

Methods

The authors propose a multi-pronged architecture built on a Pix2Pix backbone, enhanced by three key innovations:

  1. Semantic Injection (SI) Modules: Instead of just feeding a raw image, the network uses a pre-trained parser to generate semantic layouts (e.g., eyes, nose, hair). These layouts are injected into the decoder via SI ResBlocks. Similar to the SPADE architecture, these modules produce pixel-level normalization parameters ($\gamma$ and $\beta$) to provide style-based spatial supervision, ensuring the facial structure is well-preserved.

    Fig. 2. The pipeline of our semantic-driven network. (a) The over architecture of the network exploits Pix2Pix as the backbone. The decoder contains several Semantic Injection (SI) ResBlocks with upsampling layers. (b) Details of Semantic Injection (SI) ResBlocks. (c) Details of Semantic Injection Module. In each Semantic Injection Module, the semantic map is convoluted to produce pixel-level normalization parameters γ and β.
  2. Graph Representation Learning (IASG & IRSG): To move beyond simple pixel-wise losses, the authors construct two types of graphs:

  3. IntrA-class Semantic Graph (IASG): Models the correlation within a single facial component (e.g., ensuring all pixels in the "eye" region are consistent with the "eye" mean and variance).
  4. InteR-class Structure Graph (IRSG): Models the global spatial relationships between different components (e.g., the distance and orientation between the eyes and the mouth).

    Illustration of the IASG and IRSG modeling intra-class and inter-class relationships.
  5. Biphasic Iterative Cycle Training: Recognizing that a photo and its corresponding sketch share the same underlying identity, the authors use a pre-trained generator from one domain (e.g., photo-to-sketch) as a "knowledge extractor" to refine the generator of the other domain. This iterative process allows the models to "teach" each other about identity-specific features across multiple stages.

Datasets

The model was evaluated on two primary benchmarks:

  • CUFS (CUHK Face Sketch Dataset): Includes 606 faces from three sub-databases (CUHK, AR, and XM2VTS) drawn under natural lighting.
  • CUFSF (CUHK Face Sketch FERET Dataset): A more challenging set of 1,194 faces featuring complex illumination variations and significant artistic deformations in the sketches.

Key Insights and Ideas

  • Structure over Pixels: The most significant "aha moment" is that pixel-wise loss (like L1) isn't enough for faces. By using Graph Representation Learning, the model treats facial components as nodes, allowing it to optimize for structural coordination that human vision is highly sensitive to.
  • Saliency as a Prior: The authors found that incorporating saliency maps (identifying the most prominent parts of a face) helps the model focus on identity-defining features, though they noted that for the highly distorted CUFSF dataset, discarding noisy saliency maps actually improved performance.
  • Cross-Domain Knowledge Transfer: The iterative cycle training treats the opposite-domain generator as a teacher. This effectively leverages the "multi-level feature consistency" between a photo and a sketch to boost perceptual quality.

Key Results

The proposed method achieved state-of-the-art (SOTA) performance across nearly all metrics:

  • Quantitative: On the CUFS dataset, the model reached an FID (Frechet Inception Distance) of 33.256, outperforming competitors like SCAGAN (34.2) and Pix2Pix (44.27). It also showed superior Face Verification Rates (FVR), indicating better identity preservation.
  • Qualitative: Visual comparisons show that the SD-GAN produces much sharper hair textures and more accurate ear and eye contours compared to "blurry" results from methods like CycleGAN or MDAL.
Visual comparison of generated sketches. The red boxes highlight the superior detail in hair and facial features compared to SOTA methods.

Limitations and Future Work

While the model performs exceptionally well on standard datasets, the authors acknowledge that CUFSF remains a challenge. The generated photos from highly deformed sketches are not yet perfectly "vivid and realistic," leading to lower face verification rates compared to the CUFS dataset.

Future research will likely focus on handling even larger deformations between the photo and sketch domains, perhaps by further refining the graph-based structural constraints to be more robust against artistic exaggeration.

Summary updated

BibTeX
@article{qi2022biphasic,
  author = {Xingqun Qi and Muyi Sun and Zijian Wang and Jiaming Liu and Qi Li and Fang Zhao and Shanghang Zhang and Caifeng Shan},
  title = {{Biphasic Face Photo-Sketch Synthesis via Semantic-Driven Generative Adversarial Network with Graph Representation Learning}},
  journal = {IEEE Trans. Neural Networks Learn. Syst.},
  year = {2022},
  doi = {10.1109/tnnls.2023.3341246},
}
Figure