Skip to main content
Kent Academic Repository

MagicMask: A fast and high-fidelity face swapping method robust to face pose

Yu, Jongmin, Harit, Anoushka, Deng, JianKang, Yang, Jinhong, Sun, Zhongtian (2025) MagicMask: A fast and high-fidelity face swapping method robust to face pose. In: Proceedings of the 17th Asian Conference on Machine Learning. (KAR id:116737)

Abstract

Recent face-swapping methods excel under controlled conditions but often fail when presented with extreme facial poses. Diffusion-based approaches may be able to overcome these issues, but they still face significant computational costs. This paper introduces MagicMask, a novel face-swapping framework that robustly handles various poses in real time by fusing visual and geometric information. Our method incorporates explicit, identity-adapted geometric cues into the latent feature space via a multi-head attention mechanism. It employs an Adversarial Facial Silhouette Alignment (AFSA) loss to preserve detailed facial boundaries adapted to source identity. Comprehensive experiments on multiple benchmarks demonstrate that MagicMask competes with state-of-the-art methods under standard conditions and significantly outperforms them in extreme pose scenarios. The source code for the demonstration of MagicMask is attached as supplementary materials.

Item Type: Conference proceeding
Uncontrolled keywords: Face identity swap, face swap, pose robustness, generative adversarial network, transformer
Subjects: Q Science > QA Mathematics (inc Computing science)
Institutional Unit: Schools > School of Computing
Former Institutional Unit:
There are no former institutional units.
Funders: University of Kent (https://ror.org/00xkeyj56)
Depositing User: Zhongtian Sun
Date Deposited: 06 Oct 2026 10:01 UTC
Last Modified: 07 Oct 2026 02:43 UTC
Resource URI: https://kar.kent.ac.uk/id/eprint/116737 (The current URI for this page, for reference purposes)

University of Kent Author Information

  • Depositors only (login required):

Total unique views of this page since July 2020. For more details click on the image.