Abstract
In this work, we present a new deep generative model for disentangling image shape from its appearance through differentiable warping. We propose to use implicit neural representations for modeling the deformation field and show that coordinate-based representations hold the necessary inductive bias. Unlike the previous warping-based approaches, which tend to model only local and small-scale displacements, our method is able to learn complex deformations and is not restricted to reversible mappings. We study the convergence of warping-based generative models and find that the high-frequency nature of the textures leads to shattered learning gradients, slow convergence, and suboptimal solutions. To cope with this problem, we propose to use invertible blurring, which smooths the gradients and leads to improved results. As a way to further facilitate the convergence of warping, we train the deformation module jointly as a vanilla GAN generator to guide the learning process in a self-distillation manner. Our complete pipeline shows decent results on the LSUN churches dataset. Finally, we demonstrate various applications of our model, like composable texture editing, controllable deformation editing, and keypoint detection.
Introduction
Disentangling an object's appearance (texture) from its geometry (shape) is a fundamental challenge in generative modeling. While standard Generative Adversarial Networks (GANs) produce high-quality images, they typically entangle these factors in a single latent space. This makes independent editing of shape or texture nearly impossible. Previous warping-based approaches attempted to solve this by deforming a canonical texture, but they often failed to scale beyond small, local displacements and suffered from the "shattered gradient" problem. High-frequency details in textures create a noisy gradient landscape during backpropagation through warping layers, hindering convergence.
Methodology
The authors introduce a novel GAN framework that utilizes Implicit Neural Representations (INRs) for differentiable warping. The architecture consists of two primary components: a Texture Generator that produces a static template atlas and a Deformation Generator (an INR-based MLP) that predicts a 2D warping field.
To address the shattered gradient problem, the framework employs two key stabilization techniques:
- Reversible Laplacian Pyramid Blurring: Training images are decomposed into a Laplacian Pyramid. By initially training on blurred, low-resolution versions and gradually reintroducing high-frequency details, the optimization landscape is smoothed.
- Guided Self-Distillation: The deformation module is trained jointly with a "vanilla" GAN branch that produces RGB values directly. This vanilla branch acts as a teacher, providing stable gradients to guide the warping branch.
Experiments and Results
The model was evaluated on the LSUN Churches and CelebA-HQ datasets. On LSUN Churches, it achieved an FID score of 18.4. While this is higher than non-disentangled baselines, the visual quality remains high, and the distilled vanilla branch reached an FID of 5, indicating that warping artifacts primarily affect the metric rather than perceived quality.
Key applications demonstrated include:
- One-Shot Segmentation: Propagating labels from a single reference texture to all generated images.
- Consistent Editing: Applying a texture change (e.g., adding a beard) to the canonical atlas, which then propagates consistently across all generated instances.
- Unsupervised Alignment: The model naturally learns to align objects (like church doors) to consistent locations on the shared texture atlas.
Conclusion
By leveraging the inductive bias of INRs for smooth deformations and introducing invertible blurring to stabilize gradients, this work provides a robust path toward unsupervised appearance and shape disentanglement. While it may face challenges with highly complex scenes, its ability to perform consistent editing and one-shot segmentation marks a significant step forward in controllable generative modeling.
Summary updated