Hostname: page-component-74656f9884-8r8nv Total loading time: 0 Render date: 2026-11-09T15:18:55.941Z Has data issue: false hasContentIssue false

PortraitGAN for flexible portrait manipulation

Published online by Cambridge University Press:  06 October 2020

Jiali Duan*
Affiliation:
University of Southern California, 3740 McClintock Avenue, Los Angeles, USA
Xiaoyuan Guo
Affiliation:
Emory University, 201 Dowman Dr, Atlanta, USA
C.-C. Jay Kuo
Affiliation:
University of Southern California, 3740 McClintock Avenue, Los Angeles, USA
*
Corresponding author: Jiali Duan Email: jialidua@usc.edu

Abstract

Previous methods have dealt with discrete manipulation of facial attributes such as smile, sad, angry, surprise, etc., out of canonical expressions and they are not flexible, operating in single modality. In this paper, we propose a novel framework that supports continuous edits and multi-modality portrait manipulation using adversarial learning. Specifically, we adapt cycle-consistency into the conditional setting by leveraging additional facial landmarks information. This has two effects: first cycle mapping induces bidirectional manipulation and identity preserving; second pairing samples from different modalities can thus be utilized. To ensure high-quality synthesis, we adopt texture-loss that enforces texture consistency and multi-level adversarial supervision that facilitates gradient flow. Quantitative and qualitative experiments show the effectiveness of our framework in performing flexible and multi-modality portrait manipulation with photo-realistic effects. Code will be made public: shorturl.at/chopD.

Information

Type
Original Paper
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted re-use, distribution, and reproduction in any medium, provided the original work is properly cited.
Copyright
Copyright © The Author(s), 2020. Published by Cambridge University Press.
Figure 0

Fig. 1. More results for continuous shape edits and simultaneous shape and modality manipulation results by PortraitGAN.

Figure 1

Fig. 2. Overview of training pipeline: In the forward cycle, original image $IA$ is first translated to $\widehat {IB}$ given target emotion $LB$ and modality $C$ and then mapped back to $\widehat {IA}$ given condition pair ($LA$,$C'$) encoding the original image. The backward cycle follows similar manner starting from $IB$ but with opposite condition encodings using the same generator $G$. Identity preservation and modality constraints are explicitly modeled in our loss design.

Figure 2

Fig. 3. Multi-level adversarial supervision.

Figure 3

Fig. 4. Interactive manipulation without constraints. Column 1st–2nd: Original image and auto-detected facial landmarks; 3rd: generated image from 1st-2nd; 4th: manipulated target landmark; 5th: inverse modality generation from 3rd–4th; 6th: photo to style generation with landmarks of 5th.

Figure 4

Fig. 5. Given leftmost and rightmost face, we first interpolate the middle one (e.g. the 4th one), then we can interpolate 2nd (with 1st and 4th) and 5th (with 4th and 7th). Lastly, we interpolate 3rd (with 2nd and 4th) and 6th (with 5th and 7th).

Figure 5

Fig. 6. Failure cases: The reason could be that facial landmarks do not capture well enough details of micro-emotions.

Figure 6

Fig. 7. Left: original image; Right: generated image.

Figure 7

Fig. 8. Left: original image; Right: generated image.

Figure 8

Fig. 9. Left: original image; Right: generated image.

Figure 9

Fig. 10. Left: original image; Right: generated image.

Figure 10

Fig. 11. Left: original image; Right: generated image.

Figure 11

Fig. 12. Left: original image; Right: generated image.

Figure 12

Fig. 13. Left: original image; Right: generated image.

Figure 13

Fig. 14. Left: original image; Right: generated image.

Figure 14

Fig. 15. Effect of multi-level adversarial supervision. Left/Right: wo/w multi-level adversarial supervision. Please also refer to the supplementary material for the high-resolution ($512\times 512$) version.

Figure 15

Fig. 16. Comparison with StarGAN and CycleGAN. Images generated by our model exhibit closer texture proximity to groundtruth, due to adoption of texture consistency loss.

Figure 16

Table 1. Quantitative evaluation for generated image. Our model is slightly slower than StarGAN but achieves the best MSE and SSIM.

Figure 17

Table 2. Subjective ranking for different models based on perceptual quality. Our model is close to CycleGAN but is much better than StarGAN.