[Paper Review] MorphGANFormer: Transformer-based Face Morphing and De-Morphing
A transformer-based MorphGANFormer with a compositional latent space enables high-quality face morphing and latent-space demorphing, showing improved visual realism and a defined vulnerability–detectability trade-off compared to GAN-based methods.
Semantic face image manipulation has received increasing attention in recent years. StyleGAN-based approaches to face morphing are among the leading techniques; however, they often suffer from noticeable blurring and artifacts as a result of the uniform attention in the latent feature space. In this paper, we propose to develop a transformer-based alternative to face morphing and demonstrate its superiority to StyleGAN-based methods. Our contributions are threefold. First, inspired by GANformer, we introduce a bipartite structure to exploit long-range interactions in face images for iterative propagation of information from latent variables to salient facial features. Special loss functions are designed to support the optimization of face morphing. Second, we extend the study of transformer-based face morphing to demorphing by presenting an effective defense strategy with access to a reference image using the same generator of MorphGANFormer. Such demorphing is conceptually similar to unmixing of hyperspectral images but operates in the latent (instead of pixel) space. Third, for the first time, we address a fundamental issue of vulnerability-detectability trade-off for face morphing studies. It is argued that neither doppelganger norrandom pair selection is optimal, and a Lagrangian multiplier-based approach should be used to achieve an improved trade-off between recognition vulnerability and attack detectability.
Motivation & Objective
- Motivate a transformer-based alternative to StyleGAN-based face morphing to reduce artifacts and enable finer regional control.
- Introduce a compositional latent space (16 local-style components + 1 global-style component) for region-specific morphing control.
- Develop a bidirectional MorphGANFormer generator using bipartite transformer attention to propagate information between latent codes and image features.
- Design loss functions tailored for face morphing (biometric, landmark-based, perceptual, MSE) to balance realism and attack success.
- Extend morphing to demorphing using the same generator and analyze vulnerability–detectability trade-offs with latent-space demorphing.
Proposed method
- Use a GANformer-based generator with bipartite transformer attention to enable long-range, linear-scaling interactions between latent components and image features.
- Adopt a compositional latent code with 16 local-style components and 1 global-style component to modulate different facial regions.
- Stack nine synthesis blocks to generate 1024x1024 images, with simplex and duplex attention to propagate latent information to the image grid.
- Optimize latent codes via a loss that combines Wing loss (landmarks), biometric loss (HOG-based cosine distance), perceptual loss (VGG-16 features), and pixel-wise MSE.
- Morphing is done by interpolating latent codes; demorphing is performed in latent space using a trusted live capture as reference.
- Introduce a Lagrangian-multiplier-inspired approach to study vulnerability–detectability trade-offs for morphing attacks.
Experimental results
Research questions
- RQ1How can transformer-based architectures improve the quality and realism of face morphing compared to StyleGAN-based methods?
- RQ2Can a compositional, region-aware latent space provide finer control and reduce artifacts in morphing?
- RQ3Is it feasible to perform demorphing in latent space using the same generator and a reference live capture?
- RQ4What is the vulnerability–detectability trade-off for morphing attacks, and how should image pairs be selected to optimize it?
- RQ5How do MorphGANFormer attacks compare to existing morphing attacks in terms of detection and biometric preservation?
Key findings
- MorphGANFormer achieves high-quality morphs with fewer artifacts than StyleGAN-based methods under 1024x1024 resolution.
- A compositional latent space with 16 local and 1 global components enables region-specific control and bidirectional information flow between latent codes and image features.
- Demorphing can be performed in latent space using a trusted live capture, showing restoration of the second bona fide identity.
- The MorphGANFormer attacks demonstrate competitive or higher MMPMR scores than some baselines and reveal a meaningful trade-off between recognition vulnerability and attack detectability.
- Vulnerability–detectability analysis indicates neither doppelganger nor random-pair selection is optimal; a Lagrangian approach improves the trade-off.
- Demorphing results show restored faces resemble the corresponding bona fide identities across datasets, illustrating defense potential against morphing threats.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.