MYSTIQUE: Few-Shot Facial Identity Transfer with Performance Preservation
Organizations: Vanderbilt University · Carnegie Mellon University · Netflix
Abstract
In visual effects, identity transfer replaces the identity in a driving image with that of a target person, while preserving the expression, lighting, pose and scene of that image. Paired ground truth is rarely available, so many methods are trained by self-reconstruction, where the model can learn a shortcut by copying identity cues from the driving image. This shortcut causes identity leakage at inference, where the driving image shows a different person. Our key observation is that leakage can enter through any input that reads the driving image. We therefore present MYSTIQUE, a diffusion-based identity transfer method that takes identity from a set of the target's photos and reads expression, lighting and scene through separate streams. It learns to disentangle identity from the other streams through multi-stage training, with disentanglement strategies at their inputs: a random block mask whose boundaries do not follow the face outline, self-augmentation, which randomly changes the face shape in the expression input and keeps its expression, and face randomization, which replaces the person in the expression and lighting inputs while the ground truth stays the driving image. At inference, we also warp the lighting input onto the face shape of a first pass, which reduces face-shape leakage through the lighting stream. Since face-recognition scores and human judgments each have limits, we evaluate identity with both, together with face-shape metrics on rendered faces of known shape. In a user study, raters judge MYSTIQUE's results more like the target than those of each compared method. Among these methods, MYSTIQUE also recovers the target's face shape most accurately, and its recognition score gains the most as more photos of the target are given.
Figures & tables
| Method | Pref. | ArcFace | Expr. | Pose | Light | FaceScore |
|---|---|---|---|---|---|---|
| SimSwap [ 7 ] | 97 | 0.500 | 0.243 | 2.03 | 0.96 | 3.67 |
| FaceDancer [ 58 ] | 81 | 0.394 | 0.205 | 2.38 | 0.96 | 4.39 |
| BlendFace [ 63 ] | 92 | 0.487 | 0.231 | 4.42 | 0.90 | 3.73 |
| GHOST [ 18 ] | 99 | 0.548 | 0.337 | 4.60 | 0.93 | 4.02 |
| InSwapper [ 31 ] | 98 | 0.715 | 0.258 | 2.70 | 0.93 | 3.92 |
| HifiFace [ 71 ] | 100 | 0.528 | 0.345 | 3.14 | 0.90 | 4.02 |
| Identity benchmark | Shape benchmark | ||||||
| Variant | Id. | Expr. | Pose | Light | Leak | 3D | |
| Stage 2, lighting off | |||||||
| Face mask | 0.599 | 0.268 | 3.44 | 0.74 | 0.124 | 0.82 | 1.51 |
| Random block mask | 0.610 | 0.248 | 3.68 | 0.67 | 0.098 | 0.54 | 1.37 |
| + self-augmentation | 0.610 | 0.256 | 3.98 | 0.66 | 0.082 | 0.38 | 1.34 |
| + face randomization | 0.618 | 0.256 | 3.78 | 0.67 | 0.087 | 0.45 | 1.28 |
| Stream | Input | Encoder | Tokens | Trained in |
|---|---|---|---|---|
| Identity | photos of the target, px; face, ears and neck | CLIP ViT-H/14 and attention pooling | Stage 1 | |
| Expression (geometry) | driving image, px | keypoint extractor, pretrained separately | frozen; embedding in Stage 2 | |
| Expression (latent) | driving image, px | X-NeMo expression encoder [ 81 ] | Stage 2 | |
| Lighting | face of the driving image, px | convolutional network on a grid | Stage 3 | |
| Scene | driving image without the face, and | autoencoder and patch embedding | Stages 2 and 3 |
| Stage | Step | Steps | LR | Batch | GPUs | Trained |
|---|---|---|---|---|---|---|
| 1, identity | reconstruction | k | people | H200 | identity encoder, masked decoder | |
| flow matching | k | H200 | identity encoder, identity cross-attention | |||
| 2, identity transfer | fixed face mask | k | B200 | latent branch; projections and cross-attention of the identity and expression streams; scene patch embedding; low-rank update | ||
| random block mask and both strategies | k | H200 | as in the first step of Stage 2 | |||
| 3, lighting | – | k | H200 | lighting encoder and cross-attention; scene patch embedding |
| Generated | Same person | Other person | InSwapper | |
| Identity and face shape: should change | ||||
| ArcFace | 0.39 | 0.73 | 0.01 | 0.03 |
| Jawline | 0.14 | 0.51 | 0.72 | 0.09 |
| Expression, pose and lighting: should stay | ||||
| EmoNet | 0.20 | 0.37 | 0.48 | 0.31 |
| 6DRepNet (deg) | 3.6 | 27.0 | 37.5 | 3.1 |
| Method | All | ||
|---|---|---|---|
| SimSwap | 0.500 | 0.496 | 0.495 |
| FaceDancer | 0.394 | 0.386 | 0.386 |
| BlendFace | 0.487 | 0.471 | 0.473 |
| GHOST | 0.548 | 0.545 | 0.545 |
| InSwapper | 0.715 | 0.714 | 0.714 |
| HifiFace | 0.528 | 0.525 | 0.529 |
| Condition | Sex | Ethnicity | Age gap | Brightness gap |
|---|---|---|---|---|
| A | same | same | ||
| B | different | same | ||
| C | same | different | ||
| D | same | same | – |
| Jawline warp | Ratio warp | |||||
|---|---|---|---|---|---|---|
| Version | Noise | Driving | ||||
| (a) coefficients | 2.56 | 6.32 | 2.84 | 2.62 | 4.07 | 3.68 |
| (b) coefficients, painted | 2.59 | 6.05 | 2.12 | 1.79 | 4.12 | 3.82 |
| (c) mesh (ours) | 1.14 | 3.49 | 1.46 | 1.22 | 4.03 | 3.38 |
| Method | Code and checkpoint | Resolution | Target’s photos |
|---|---|---|---|
| SimSwap [ 7 ] | “people” model, face-parsing paste-back | mean of 24 ArcFace embeddings, renormalized | |
| FaceDancer [ 58 ] | configuration C, HQ | mean of 24 ArcFace embeddings | |
| BlendFace [ 63 ] | AEI-Net with the BlendFace encoder | mean of 24 unit embeddings | |
| GHOST [ 18 ] | U-Net generator, 2 blocks, no super-resolution | mean of 24 embeddings | |
| InSwapper [ 31 ] | inswapper_128 , InsightFace buffalo_l | mean of 24 normalized ArcFace embeddings | |
| HifiFace [ 71 ] | maum-ai reimplementation, trained on VGGFace2 | mean of 24 ArcFace embeddings and 3D coefficients |
| AdaFace | ArcFace | FaceNet | |
|---|---|---|---|
| Real photo of the target | 0.656 | 0.677 | 0.736 |
| Photo of another person | 0.012 | 0.011 | 0.012 |
| Identity benchmark, warped | Shape benchmark | |||||
| Measure | Jawline | Jawline | Self-augmentation | Other character | Other lighting | Methods |
| HopeNet (deg) | 2.30 | 2.23 | 3.11 | 3.32 | 1.45 | 2.03–7.52 |
| 6DRepNet (deg) | 1.55 | 1.40 | 1.79 | 2.62 | 1.06 | 1.99–8.18 |
| EmoNet | 0.094 | 0.075 | 0.123 | 0.263 | 0.095 | 0.205–0.372 |
| SMIRK | 0.311 | 0.311 | 0.396 | 0.553 | 0.263 | 0.420–0.696 |
| Blendshapes | 0.026 | 0.023 | 0.027 | 0.050 | 0.013 | 0.036–0.058 |
| EmoNet | SMIRK | HopeNet (deg) | 6DRepNet (deg) | Lighting corr. | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Method | D | GT | D | GT | D | GT | D | GT | D | GT |
| Ground truth | 0.262 | – | 0.550 | – | 3.33 | – | 2.64 | – | 0.802 | – |
| SimSwap | 0.221 | 0.256 | 0.411 | 0.457 | 1.60 | 3.42 | 1.52 | 3.12 | 0.970 | 0.847 |
| FaceDancer | 0.203 | 0.263 | 0.409 | 0.450 | 1.90 | 3.59 | 1.61 | 3.37 | 0.975 | 0.850 |
| BlendFace | 0.142 | 0.215 | 0.348 | 0.440 | 2.14 | 3.61 | 1.75 | 3.00 | 0.952 | 0.847 |
| GHOST | 0.389 | 0.367 | 0.558 | 0.539 | 1.81 | 3.44 | 1.74 | 3.08 | 0.957 | 0.832 |
| Baseline | Likeness | Realism | ||
| SimSwap | 96.5 [93.1, 99.1] | 200 | 97.5 [94.8, 99.5] | 200 |
| FaceDancer | 80.7 [74.2, 86.8] | 207 | 62.1 [54.4, 70.2] | 206 |
| BlendFace | 92.4 [88.0, 96.2] | 210 | 92.0 [87.2, 95.9] | 212 |
| GHOST | 98.7 [97.1, 100] | 226 | 99.6 [98.6, 100] | 226 |
| InSwapper | 97.6 [95.3, 99.5] | 210 | 97.6 [94.5, 100] | 210 |
| HifiFace | 100 [100, 100] | 235 | 100 [100, 100] | 236 |
| Likeness | Realism | |||
|---|---|---|---|---|
| Baselines | IB | Celeb. | IB | Celeb. |
| Eight of Table 2 | 90.3 [88.2, 92.1] | 89.3 [86.6, 91.9] | 88.9 [86.9, 91.0] | 88.6 [85.5, 91.3] |
| Other six | 75.1 [70.7, 79.3] | 75.1 [71.4, 79.0] | 63.1 [58.9, 66.9] | 66.1 [60.8, 71.3] |
| All fourteen | 84.0 [81.6, 86.3] | 83.2 [80.4, 85.6] | 78.3 [75.7, 80.7] | 78.8 [75.5, 82.2] |
| Identity | Expression | Pose | Lighting | Realism | |||||||||||
| Method | AdaFace | ArcFace | FaceNet | EmoNet | SMIRK | Blendsh. | HopeNet | 6DRepNet | Corr. | FaceScore | DSL-FIQA | ||||
| SimSwap | 24 | 240 | 0.399 | 0.500 | 0.573 | 0.243 | 0.422 | 0.037 | 2.03 | 2.04 | 0.96 | 2.4 | 2.03 | 3.67 | 0.556 |
| 1 | 240 | 0.326 | 0.414 | 0.506 | 0.241 | 0.424 | 0.036 | 2.08 | 2.04 | 0.96 | 2.3 | 2.01 | 3.64 | 0.555 | |
| FaceDancer | 24 | 240 | 0.314 | 0.394 | 0.618 | 0.205 | 0.420 | 0.037 | 2.38 | 1.99 | 0.96 | 2.5 | 1.21 | 4.39 | 0.711 |
| 1 | 240 | 0.260 | 0.335 | 0.544 | 0.208 | 0.421 | 0.037 | 2.31 | 1.97 | 0.96 | 2.3 | 1.15 | 4.39 | 0.711 | |
| BlendFace | 24 | 240 | 0.425 | 0.487 | 0.537 | 0.231 | 0.466 | 0.041 | 4.42 | 3.97 | 0.90 | 6.3 | 1.39 | 3.73 | 0.640 |
| AdaFace | ArcFace | FaceNet | |||||||||||||||
| Method | A | B | C | D | All | A | B | C | D | All | A | B | C | D | All | ||
| SimSwap | 24 | 240 | 0.441 | 0.373 | 0.384 | 0.399 | 0.399 | 0.535 | 0.480 | 0.491 | 0.493 | 0.500 | 0.621 | 0.548 | 0.571 | 0.551 | 0.573 |
| FaceDancer | 24 | 240 | 0.335 | 0.297 | 0.312 | 0.311 | 0.314 | 0.401 | 0.387 | 0.395 | 0.391 | 0.394 | 0.630 | 0.614 | 0.625 | 0.605 | 0.618 |
| BlendFace | 24 | 240 | 0.461 | 0.431 | 0.408 | 0.400 | 0.425 | 0.528 | 0.478 | 0.479 | 0.463 | 0.487 | 0.601 | 0.521 | 0.529 | 0.497 | 0.537 |
| GHOST | 24 | 240 | 0.493 | 0.468 | 0.473 | 0.457 | 0.473 | 0.571 | 0.542 | 0.550 | 0.530 | 0.548 | 0.654 | 0.614 | 0.611 | 0.580 | 0.615 |
| InSwapper | 24 | 240 | 0.691 | 0.684 | 0.696 | 0.688 | 0.690 | 0.718 | 0.709 | 0.722 | 0.712 | 0.715 | 0.727 | 0.693 | 0.712 | 0.694 | 0.706 |
| ArcFace | Expression | Pose | Lighting | Realism | ||||||
| Method | Pool | Held-out | EmoNet | SMIRK | HopeNet | Corr. | FaceScore | DSL-FIQA | ||
| SimSwap | 24 | 176 | 0.513 | 0.501 | 0.277 | 0.421 | 1.70 | 0.96 | 4.34 | 0.533 |
| FaceDancer | 24 | 176 | 0.404 | 0.403 | 0.240 | 0.429 | 1.81 | 0.95 | 5.12 | 0.696 |
| BlendFace | 24 | 176 | 0.550 | 0.544 | 0.226 | 0.362 | 1.86 | 0.92 | 4.56 | 0.624 |
| GHOST | 24 | 176 | 0.562 | 0.572 | 0.378 | 0.551 | 2.27 | 0.92 | 4.62 | 0.545 |
| InSwapper | 24 | 176 | 0.733 | 0.724 | 0.274 | 0.491 | 2.27 | 0.91 | 4.57 | 0.469 |
| Emotions (front camera) | Camera views | |||||||
|---|---|---|---|---|---|---|---|---|
| Method | Match | VA | SMIRK | ArcFace | Match | VA | SMIRK | ArcFace |
| InSwapper | 0.54 | 0.34 | 0.59 | 0.718 | 0.87 | 0.17 | 0.66 | 0.708 |
| Face-Adapter | 0.35 | 0.35 | 0.73 | 0.464 | 0.89 | 0.21 | 0.72 | 0.443 |
| DreamID-V | 0.41 | 0.39 | 0.90 | 0.510 | 0.86 | 0.30 | 0.78 | 0.509 |
| Ours | 0.68 | 0.20 | 0.63 | 0.567 | 1.00 | 0.12 | 0.62 | 0.527 |
| Input of the stream | ArcFace | AdaFace | Expr. | Pose | Light | FaceScore | Leak | |
|---|---|---|---|---|---|---|---|---|
| Face (default) | 0.601 | 0.573 | 0.253 | 3.99 | 0.83 | 4.62 | 0.083 | 0.34 |
| Face, ears and neck | 0.589 | 0.562 | 0.245 | 3.85 | 0.84 | 4.49 | 0.086 | 0.34 |
| Method | Leak | 3D | |
|---|---|---|---|
| SimSwap | 0.125 | 0.95 | 1.83 |
| FaceDancer | 0.122 | 0.91 | 1.85 |
| BlendFace | 0.119 | 0.86 | 1.99 |
| GHOST | 0.132 | 0.90 | 2.21 |
| InSwapper | 0.116 | 0.81 | 1.48 |
| HifiFace | 0.138 | 0.78 | 2.03 |
| Third | ||||
| Method | Closest | Middle | Farthest | All |
| Driving image | 0.052 | 0.105 | 0.226 | 0.128 |
| SimSwap | 0.053 | 0.100 | 0.222 | 0.125 |
| FaceDancer | 0.056 | 0.101 | 0.208 | 0.122 |
| BlendFace | 0.054 | 0.098 | 0.205 | 0.119 |
| GHOST | 0.069 | 0.108 | 0.218 | 0.132 |
| 3D | ||||||||||||
| Skin brightness | Sex | Age | Skin brightness | Sex | Age | |||||||
| Method | sim. | diff. | same | diff. | sim. | diff. | sim. | diff. | same | diff. | sim. | diff. |
| Driving image | 0.135 | 0.120 | 0.129 | 0.127 | 0.122 | 0.139 | 3.35 | 3.66 | 3.26 | 3.74 | 3.28 | 3.88 |
| SimSwap | 0.132 | 0.117 | 0.129 | 0.121 | 0.116 | 0.141 | 1.73 | 1.94 | 1.78 | 1.88 | 1.72 | 2.03 |
| FaceDancer | 0.128 | 0.114 | 0.125 | 0.118 | 0.115 | 0.134 | 1.77 | 1.93 | 1.87 | 1.82 | 1.75 | 2.01 |
| BlendFace | 0.126 | 0.110 | 0.122 | 0.116 | 0.110 | 0.134 | 1.90 | 2.09 | 1.89 | 2.09 | 1.87 | 2.20 |
| Dilation | Leak | 3D | ArcFace | |
|---|---|---|---|---|
| px | 0.090 | 0.41 | 1.36 | 0.761 |
| px (default) | 0.083 | 0.34 | 1.35 | 0.772 |
| px | 0.084 | 0.32 | 1.36 | 0.778 |
| px | 0.091 | 0.28 | 1.38 | 0.782 |
| Whole image | 0.113 | 0.28 | 1.36 | 0.792 |
| Warps | Id. | Expr. | Pose | Light | Leak | 3D | |
|---|---|---|---|---|---|---|---|
| Both (full model) | 0.616 | 0.256 | 3.97 | 0.66 | 0.081 | 0.33 | 1.26 |
| MLS only | 0.615 | 0.259 | 3.96 | 0.66 | 0.084 | 0.37 | 1.27 |
| Aspect only | 0.616 | 0.251 | 3.94 | 0.67 | 0.085 | 0.39 | 1.26 |
| Identity benchmark | Shape benchmark | ||||||||
| Scales | ArcFace | Expr. | Pose | Light | FaceScore | Leak | 3D | ||
| 0.601 | 0.253 | 3.99 | 0.833 | 4.62 | 7.8 | 0.0830 | 0.337 | 1.35 | |
| 0.615 | 0.266 | 4.18 | 0.811 | 4.61 | 8.2 | 0.0809 | 0.327 | 1.26 | |
| 0.608 | 0.281 | 4.47 | 0.773 | 4.47 | 8.6 | 0.0810 | 0.333 | 1.28 | |
Image Generation
Image generation studies models that create or edit images from text, examples, layouts, and other structured controls.
See all 520 papers