TL;DR
This paper introduces Neural Implicit Morphing, a framework that leverages coordinate-based neural networks to create smooth, high-quality face transitions. By disentangling spatial warping from color blending and using continuous energy functionals for regularization, the method produces seamless morphs between unaligned faces of different genders and ethnicities, outperforming state-of-the-art generative models in both visual fidelity and temporal coherence.
What Problem Does This Paper Address?
Face morphing—the process of creating a smooth transition between two different faces—is a cornerstone of computer graphics with critical implications for digital forensics (e.g., "face-morphing attacks" on biometric systems).
Traditional methods often rely on discrete meshes, which can lead to artifacts. Conversely, modern generative models like StyleGAN or Diffusion Autoencoders (diffAE) are excellent at blending but often struggle with feature alignment. Because these models don't explicitly model the "path" a pixel takes, features like eyes or ears can "ghost" or pop in and out of existence during a transition. Furthermore, most generative approaches require faces to be strictly pre-aligned (eyes and mouths in fixed positions), making it impossible to morph between faces in different poses or rotations.
Methods
The authors propose a two-step approach: Neural Warping followed by Neural Blending.
1. Neural Warping
Instead of a discrete grid, the authors use a sinusoidal Multi-Layer Perceptron (MLP)—a type of coordinate-based network—to represent a time-dependent transformation $T(x, t)$. This network maps a point $x$ at time $t$ to its corresponding location in the source or target image.
- Self-Inverting: The network is trained to encode both direct and inverse transformations in a single model, satisfying the property that $T_{-t}$ is the inverse of $T_t$.
- Continuous Regularization: Because the MLP is differentiable, the authors apply thin-plate energy directly in the loss function. This penalizes sharp distortions, ensuring that the "path" each facial feature takes is physically plausible and smooth.
2. Neural Blending
Once the features are aligned via warping, the images must be blended. The authors explore three techniques:
- Linear Interpolation: A simple weighted average of the warped images.
- Gradient-Domain Blending: Inspired by Poisson image editing, this uses another neural network to blend the gradients of the images. This allows for "seamless cloning," where features from one face are integrated into the structure of another without harsh edges.
- Generative Blending: The warped images are embedded into the latent space of a Diffusion Autoencoder (diffAE). The transition happens in this semantic latent space, combining the alignment of warping with the high-frequency detail of diffusion models.
Datasets
The primary dataset used for training and evaluation is the FRLL (Face Research Lab London) dataset, which contains high-quality face images with diverse ethnicities and genders. For quantitative comparisons, the authors generated 1,220 morphs following standard forensic protocols. They also utilized pre-trained models (like diffAE) originally trained on the FFHQ dataset.
Key Insights and Ideas
- Disentanglement is Key: By separating the warping (where things go) from the blending (what they look like), the method avoids the "ghosting" artifacts common in pure generative interpolation.
- No Discretization Needed: Using coordinate-based networks allows for calculating derivatives in closed form. This means physical constraints like thin-plate energy can be applied exactly, rather than approximated on a mesh.
- Handling the "Wild": Unlike StyleGAN, which requires rigid alignment, this method can handle "unaligned" faces in different poses because the neural warping learns the specific transformation required for that pair of images.
Key Results
- Visual Fidelity: The "Seamless Mix" version of their method achieved a Fréchet Inception Distance (FID) of 22.604, significantly better than StyleGAN3 (35.653) and diffAE (41.356).
- Perceptual Similarity: In LPIPS tests (which measure how "real" a transition looks to human perception), the method consistently outperformed classical OpenCV warping and generative baselines.
- Forensic Impact: The authors tested their morphs against Face Morphing Attack Detectors (MAD). Their "Mix" and "diffAE" morphs proved highly challenging for current detectors to identify, suggesting this method could be used to create more robust training data for biometric security systems.
Limitations and Future Work
- Invertibility Issues: While the network is trained to be invertible, extreme deformations (like a region of the image collapsing to a point) can still cause mathematical inconsistencies.
- Landmark Dependency: The quality of the warping depends on the accuracy of the initial landmarks (though the authors show that automatic detection via DLib works well).
- Future Directions: The authors plan to extend this framework to non-facial images and 3D surface morphing. They also aim to release larger datasets to help the community build better morphing attack detectors.
Summary updated