Nested Scale-Editing for Conditional Image Synthesis

Lingzhi Zhang, Jiancong Wang, Yinshuang Xu, Jie Min, Tarmily Wen, James C. Gee, Jianbo Shi

Abstract

We propose an image synthesis approach that provides stratified navigation in the latent code space. With a tiny amount of partial or very low-resolution image, our approach can consistently out-perform state-of-the-art counterparts in terms of generating the closest sampled image to the ground truth. We achieve this through scale-independent editing while expanding scale-specific diversity. Scale-independence is achieved with a nested scale disentanglement loss. Scale-specific diversity is created by incorporating a progressive diversification constraint. We introduce semantic persistency across the scales by sharing common latent codes. Together they provide better control of the image synthesis process. We evaluate the effectiveness of our proposed approach through various tasks, including image outpainting, image superresolution, and cross-domain image translation.

Introduction

Conditional image synthesis, such as generating a high-resolution face from a low-resolution input or completing a cropped image, is a challenging multimodal problem. A single ambiguous input can correspond to numerous plausible high-resolution outputs. Existing state-of-the-art models, including BicycleGAN and MUNIT, often function as "black boxes" where users sample random latent codes without fine-grained control over specific image attributes. If a generated result is partially satisfactory—for instance, having the correct facial structure but the wrong texture—users are typically forced to resample the entire image. This paper addresses the need for "steerable" synthesis that allows for surgical edits across different scales.

Methodology

The proposed framework utilizes a cascading decoder architecture inspired by the Laplacian image pyramid. The approach is built upon three technical pillars:

  1. Multi-scale Disentanglement ($L_{disent}$): To ensure scale-specific editing, the model enforces a downsampling consistency loss. A generated high-resolution image, when downsampled, must match the image generated at the preceding coarser scale. This forces the model to isolate new information to the appropriate resolution level.
  2. Progressive Diversification ($L_{Ndiv}$): To avoid mode collapse, a diversity constraint is applied at every level of the decoder, ensuring that latent codes introduce variation at every stage, from global structure to fine texture.
  3. Semantic Persistency: By sharing the same base latent variable across scales during training, the model maintains consistent semantic meaning (e.g., specific facial features) across different resolutions.

Key Insights: Stratified Navigation

The disentanglement of scales enables a "coarse-to-fine" search strategy. Users can navigate the latent space by sampling coarse layers to establish global structures (like head shape or breed) and then "locking" those codes to sample only the fine-grained layers for details like skin tone or hair texture.

Figure 1: Sampling coarse-level features allows for broad structural changes, such as dog breed variations, while maintaining the underlying layout.

Experimental Results

The model was evaluated on CelebA for face outpainting and super-resolution, and on a Cat/Dog dataset for cross-domain translation.

Quantitative Performance

In identity recovery tasks, "Nested Scale-Editing" consistently outperformed baseline models:

  • Outpainting: The model achieved a recovery count of 34.78%, surpassing MSGAN (28.93%) and BicycleGAN (15.34%).
  • Super-resolution: It recorded the shortest distance to ground truth (0.125) and superior landmark alignment (4.261), indicating higher structural fidelity.

Qualitative Control

The framework allows for precise manipulation. For example, in "Cat2Dog" translation, users can independently modify coarse breed features while preserving fine fur textures.

Figure 6: Sampling fine-level features enables subtle variations in texture and lighting without altering the core identity or structure.

Conclusion and Future Work

Nested Scale-Editing provides a navigable latent space that significantly improves identity recovery and user control in conditional synthesis. While the current implementation shows strong results on faces and animals, future work could address the computational overhead of multi-scale diversification and extend the approach to more complex, irregular domains like urban landscapes.

Summary updated

BibTeX
@inproceedings{zhang2020nested,
  author = {Lingzhi Zhang and Jiancong Wang and Yinshuang Xu and Jie Min and Tarmily Wen and James C. Gee and Jianbo Shi},
  title = {{Nested Scale-Editing for Conditional Image Synthesis}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2020},
  url = {https://openreview.net/forum?id=cVN8f5XGf8a},
}
Figure