Profile

Settings

Loading…

← Papers

Help

FAQ

Which features require signing in?

You can read the commentary, paper info, Model Structure and related papers of public papers without signing in. Sign in to manage your account or contact us about your inquiries.

Can I upload a PDF file?

Upload papers with an arXiv or DOI link; the commentary is public to everyone. Papers whose source and terms of use can't be verified, so the commentary can't be made public, can't be uploaded. Uploading PDF files and keeping papers private are for subscribers only, and a paper uploaded as a file is saved as private only. Searching for official info by title runs only when you press the button.

Are the figures and AI commentary accurate?

Figures come only from the original paper, and only those whose terms of use are verified are shown. The commentary is written by AI and may be wrong. Check important claims, numbers and figure context against the evidence in the original paper.

I want to report a copyright issue.

Terms of use and the source of the original paper are on the Paper info tab. If there's a problem, choose "Paper content, figures and copyright" under Contact us and send the paper link, the part in question, and evidence that you hold the rights. Receiving your report doesn't confirm any rights or remove anything right away. You can see the result of the review under My inquiries.

I forgot my password.

If you signed up with email, use Forgot password in the sign-in window to reset it with your verified email. If you signed up with Google, Naver or Kakao, change your password with that service.

What should I include in an inquiry?

Tell us which screen you were on and what you were doing when the problem happened, along with the paper link. Don't include personal information such as passwords, API keys, verification codes or phone numbers. Inquiries and replies are stored in Refivu and you can see them under My inquiries.

How do I delete my account?

In Settings, under My account, press Delete account. Review what will be deleted and complete identity verification to delete your account. For other requests, choose "Account" under Contact us.

Paper commentary

High-Resolution Image Synthesis and Semantic Manipulation with Conditional GANs

Multi-scale conditional GANs synthesize 2048x1024 photo-realistic images from label maps

  • Problem Conditional GANs in the pix2pix style stay at 256x256 on Cityscapes and become unstable at higher resolution. The perceptual-loss alternative reaches 2048x1024 but its results lack fine detail and realistic texture.
  • Method Pix2pixHD trains a coarse-to-fine generator with three multi-scale discriminators and a feature matching loss. It adds instance boundary maps and per-instance feature codes so users can edit objects.
  • Results On Cityscapes, the method reaches pixel-wise accuracy 83.78 and mean IoU 0.6389 under PSPNet segmentation, against 78.34 and 0.3948 for pix2pix.

Why high-resolution label-to-photo synthesis is hard

Conditional GANs can turn a semantic label map into a photo, but the pix2pix framework used as the baseline here produces Cityscapes images only up to 256× 256. The authors found that applying this setup directly at higher resolution gave unstable training and unsatisfactory image quality. Chen and Koltun avoided the adversarial instability by regressing to the output with a perceptual loss; their model was the first to reach 2048× 1024, but its results lack fine detail and realistic texture.

The paper asks whether adversarial training alone, with a changed objective and a changed network layout, can reach 2048× 1024 photo-realism. The main result uses no hand-crafted losses and no pre-trained network, and a perceptual term from a pre-trained VGG network is treated as an optional addition. The same framework is then extended to diverse outputs and object-level editing, which needs instance information and a way to vary each object's appearance.

Coarse-to-fine generator

The generator is split into a global generator G1 and a local enhancer G2. G1 works at 1024× 512, and G2 outputs an image with 4× the output size of the previous one, which is 2× along each image dimension.

G1 follows the architecture of Johnson et al., with a convolutional front-end, a set of residual blocks and a transposed convolutional back-end. G2 has the same three-part layout, but its residual blocks receive the element-wise sum of two feature maps: the front-end output of G2 and the last back-end feature map of G1. That sum carries the global information computed at low resolution into the high-resolution branch.

Training is staged: the global generator is trained first, then the local enhancer in order of resolution, and finally all networks are fine-tuned jointly. The authors justify the two-level design by pointing to multi-resolution practice in computer vision and noting that two scales are often enough.

Multi-scale discriminators and the full objective

Judging high-resolution real and synthesized images needs a discriminator with a large receptive field. A deeper network or larger kernels would add capacity and overfitting risk, and would also need more memory, which is already scarce at high resolution.

Three discriminators share one architecture and work on an image pyramid of three scales, with the real and synthesized images downsampled by factors of 2 and 4. The coarsest discriminator has the largest receptive field and keeps the image globally consistent, while the finest one pushes the generator toward finer details. A finer discriminator can be added to a trained low-resolution model without retraining from scratch, and without the multi-scale set the authors saw repeated patterns in the output.

With three discriminators, the learning problem becomes a multi-task problem written as the sum of the GAN losses over the three discriminators. \[ \min_G \max_{D_1,D_2,D_3} \sum_{k=1,2,3} \mathcal{L}_{GAN}(G, D_k) \] The feature matching loss compares the discriminator activations of a real pair and a synthesized pair layer by layer, using L1 distances divided by the element count of each layer.

\[ \mathcal{L}_{FM}(G,D_k) = \mathbb{E}_{(s,x)} \sum_{i=1}^{T} \frac{1}{N_i} \big[ \lVert D_k^{(i)}(s,x) - D_k^{(i)}(s,G(s)) \rVert_1 \big] \] The full objective adds this loss to the summed GAN losses, weighted by λ. \[ \min_G \Big( \big( \max_{D_1,D_2,D_3} \sum_{k=1,2,3} \mathcal{L}_{GAN}(G,D_k) \big) + \lambda \sum_{k=1,2,3} \mathcal{L}_{FM}(G,D_k) \Big) \] Inside the feature matching term, D_k acts only as a feature extractor and is not maximized, and λ is 10 in every experiment.

Instance boundary maps

A semantic label map gives every connected car the same label, so the regions cannot be told apart. The authors argue that the critical missing information is the object boundary, which matters most on street scenes where parked cars or pedestrians stand next to each other.

Reserving a fixed number of channels per class, such as 10, fails when that number is too small and wastes memory when it is too large.

The instance boundary map sets a pixel to 1 when its object ID differs from any of its 4-neighbors, and to 0 otherwise. This map is concatenated with the one-hot label map as generator input, and the discriminator receives it together with the label map and the real or synthesized image. With the boundary information, adjacent cars get sharper boundaries in the results.

Instance-level feature codes for diverse outputs

Mapping a label map to images is one-to-many, so the generator should be able to produce varied, realistic outputs from the same input. Prior approaches either produce a fixed number of discrete outputs or use a latent code for the whole image, and the authors find both unsuitable for object-level editing. The first gives the user no intuitive control over the kinds of images produced, and the second changes global color and texture without object-level control.

Low-dimensional feature channels are added to the generator input, and because they are continuous, the model could in principle generate infinitely many images. Instance-wise average pooling averages the encoder output over each instance and broadcasts the average to all pixels of that instance, so each object has a consistent code. The generator then takes \( G(s, E(x)) \) in place of \( G(s) \) in the objective.

After encoder training, the features of all training instances are clustered with K-means clustering separately for each semantic category, with K set to 10. At inference, one cluster center is picked at random and used as the encoded feature for an instance, then concatenated with the label map, and the codes are 3-dimensional. The authors tried a Kullback-Leibler loss on the feature space but found it too involved for users to adjust latent vectors directly, so each instance offers K modes to choose from.

Training and implementation settings

LSGANs are used for stable training. The weight λ is 10 in all experiments, K is 10 for K-means, and each object instance is encoded as a 3-dimensional vector.

An optional VGG perceptual loss is added with the same weight of 10, summing L1 differences of VGG layer activations, each divided by the element count of its layer. \[ \lambda \sum_{i=1}^{N} \frac{1}{M_i} \big[ \lVert F^{(i)}(x) - F^{(i)}(G(s)) \rVert_1 \big] \] Two variants are reported, ours with the VGG loss and ours without it, and the authors observe that the VGG loss slightly improves the results.

The authors also note that visually appealing results remain without the VGG loss.

Segmentation scores on Cityscapes

The evaluation runs PSPNet on each synthesized image and compares its predicted labels with the input label map. The reasoning is that realistic images matching a label map should let an off-the-shelf segmenter recover those labels. The two scores are pixel-wise accuracy and mean IoU.

On Cityscapes, the proposed method reaches pixel-wise accuracy 83.78 and mean IoU 0.6389, against 78.34 and 0.3948 for pix2pix and 70.55 and 0.3483 for CRN. The original images, used as the oracle, score 84.29 and 0.6857, so the proposed result is close on pixel-wise accuracy and below the oracle on mean IoU.

The authors read the oracle score as the theoretical upper bound of realism reachable with this protocol. The evidence here comes from one segmenter on one dataset, so it measures label recoverability on Cityscapes rather than realism in general.

Pairwise human judgments on Cityscapes

Pairwise A/B tests on Amazon Mechanical Turk follow the procedure of Chen and Koltun on Cityscapes. In the unlimited-time version, each of 500 test images was compared 10 times, giving 5, 000 judgments per method.

Table 2 reports the proposed result with and without the VGG loss, each against pix2pix and CRN, with chance at 50%. Against pix2pix the full model is preferred at 93.8% and the version without VGG at 94.6%, while against CRN the values are 86.2% and 85.2%. The VGG term therefore moves the pix2pix preference up slightly and the CRN preference down slightly.

In the limited-time test, a display duration was drawn between 1/8 and 8 seconds, following prior work, and the proposed result was compared with CRN and the original image. The authors report that the differences between the three image types become more apparent as the viewing time grows.

Ablations of loss, discriminators, generator and instance maps

The loss study compares the final objective with two variants using unlimited-time judgments. The final objective is preferred over GAN loss alone at 68.55%, and over GAN plus feature matching at 58.90%. Adding feature matching raises preference, and the VGG term raises it further, although the authors call the VGG term not critical.

With the generator and loss held fixed, a single discriminator reaches mean IoU 0.5775 and pixel-wise accuracy 82.87 on Cityscapes, against 0.6389 and 83.78 with multi-scale discriminators. In A/B tests, 69.2% of participants preferred the results from multi-scale discriminators. The authors also say the multi-scale design stabilizes adversarial training, but these numbers measure final output quality, not training stability.

With other components fixed, the coarse-to-fine generator reaches pixel-wise accuracy 83.78 and mean IoU 0.6389, against 77.86 and 0.3905 for U-Net and 78.96 and 0.3994 for CRN. Between the two baselines, CRN scores higher than U-Net on both measures. Pairwise, the coarse-to-fine generator is preferred over U-Net at 80.0% and over CRN at 76.6%.

For instance maps, participants judged which car region looked more realistic, and the version with instance maps was preferred at 64.34%. The authors read this as evidence that instance maps improve realism, especially around object boundaries.

Additional datasets and interactive editing

On the NYU dataset under unlimited-time comparison, the proposed method is preferred over pix2pix at 86.7% and over CRN at 63.7%. The Figure 8 caption describes the NYU outputs as more realistic and colorful than those of the other methods.

Interactive editing changes object labels, for example replacing trees with buildings, or changes the colors of cars and the textures of the road. On the Helen Face dataset, the same mechanism edits facial parts, for example skin color or adding eyebrows and beards. ADE20K results are qualitative and are described as similar in realism to the original images.

The model also handles edge-to-photo translation, shown for CelebA-HQ edge maps in Figure 2 and Figure 13.

Limitations

Segmentation scores are reported only for Cityscapes, and the human studies on Cityscapes use the labels-only model. NYU is compared only in unlimited-time form against pix2pix and CRN. ADE20K and Helen Face results are qualitative only.

The unlimited-time human study therefore does not measure the instance-map variant. The VGG perceptual loss is optional, and the authors describe its gain as slight.

The instability finding concerns direct application of pix2pix at high resolution, and the paper reports no systematic comparison of other stabilizing choices. Editing results appear as figures and an interactive demo on the website, with no measured editing scores.

Paper info

Authors
Ting-Chun Wang, Ming-Yu Liu, Jun-Yan Zhu, Andrew Tao, Jan Kautz, Bryan Catanzaro
Venue
arXiv · Preprint
First published
2017-11-30
Added
2026-11-12
Updated
2018-8-20
Version
v2
arXiv
1711.11585
Category
cs.CV · cs.GR · cs.LG
Original paper terms
arXiv non-exclusive 1.0
What we show
Paper info and commentary

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

Quote from the paper

Ting-Chun Wang, Ming-Yu Liu, Jun-Yan Zhu, Andrew Tao, Jan Kautz, Bryan Catanzaro (2017). High-Resolution Image Synthesis and Semantic Manipulation with Conditional GANs. arXiv:1711.11585v2. https://arxiv.org/abs/1711.11585v2

BibTeX
@misc{wang2017high,
  title = {{High-Resolution Image Synthesis and Semantic Manipulation with Conditional GANs}},
  author = {Ting-Chun Wang and Ming-Yu Liu and Jun-Yan Zhu and Andrew Tao and Jan Kautz and Bryan Catanzaro},
  year = {2017},
  eprint = {1711.11585},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1711.11585v2}
}

See related papersBrowse other papers

Paper preview
Account security

Connect Google account

If you connect a Google account, you can sign in with it too.

Refivu

Delete account

Refivu
Refivu

Sign up