Introduction
Image animation is the process of animating a static "source" image using the motion patterns extracted from a "driving" video. The primary challenge in this field is effective motion transfer: warping the source pixels to match the driving action without compromising the subject's identity or introducing unnatural artifacts. Traditional unsupervised methods often rely on Affine transformations, which are too rigid for complex movements, or Thin-Plate Splines (TPS), which, while flexible, frequently cause global distortions that stretch the background or the subject's body unnaturally. Furthermore, these models often struggle with semantic consistency—ensuring that a keypoint, such as an elbow, correctly corresponds between the source and driving frames without explicit manual labeling.
Methods
To address these challenges, the researchers proposed the Continuous Piecewise-Affine Based Motion Model (CPABMM). This framework introduces three major innovations designed to improve both the flexibility and the semantic accuracy of the animation process.
CPAB Motion Model
Instead of applying a single global warp, the CPAB model divides the image into a tessellated grid. Each cell in the grid undergoes its own affine transformation, but the boundaries between cells are mathematically constrained to remain continuous. This approach creates a diffeomorphism—a mapping that preserves the topological structure of the image. Unlike TPS, which can "tear" or extremely distort the image, CPAB ensures smooth, invertible transformations that maintain the integrity of the subject's appearance.
Semantic and Structural Guidance
To overcome the lack of explicit labels in unsupervised learning, the model leverages the power of large-scale foundation models:
- SAM-Guided Keypoint Semantic Loss: The Segment Anything Model (SAM) is used to extract deep semantic features from both source and driving images. A novel loss function encourages the model to select keypoints with similar semantic "signatures," ensuring that a keypoint assigned to a specific body part (like a hand) remains consistently attached to that part throughout the animation.
- Structure Alignment Loss (DINO ViT): A pre-trained DINO ViT model provides structural guidance. By analyzing the self-similarity of features within the ViT layers, the system learns to align the spatial structure of the generated frame with the pose of the driving video, ensuring the final animation follows the intended motion accurately.
Key Results
The CPABMM was evaluated on four diverse datasets: TaiChiHD (martial arts), TED-talks (speakers), VoxCeleb (facial expressions), and MGif (animal animations). The results demonstrate that CPABMM consistently outperforms state-of-the-art models like TPSMM and FOMM.
Quantitative and Qualitative Performance
In terms of reconstruction quality, the model achieved significantly lower $L_1$ error and Average Euclidean Distance (AED) across all tested datasets. For instance, on the TaiChiHD dataset, the $L_1$ error was reduced from 0.045 (TPSMM) to 0.041. Qualitatively, the model excels at reconstructing complex limb movements that previous methods often blurred or distorted.
Identity Preservation vs. Motion Accuracy
A key insight from the study is the trade-off between identity preservation and motion accuracy. While TPS is highly effective at hitting specific keypoint targets, it often does so at the cost of the subject's visual identity. CPAB acts as a vital middle ground, providing enough flexibility for accurate motion while remaining locally rigid enough to keep the subject looking like themselves. In subjective user studies, 50-65% of participants preferred the results generated by CPABMM over competing methods.
Conclusion and Future Work
The Continuous Piecewise-Affine Based Motion Model represents a significant step forward in unsupervised image animation. By utilizing foundation models as "free" supervisors, the researchers have bypassed the need for expensive manual labeling while achieving superior semantic consistency.
Despite its strengths, the model occasionally shows slightly higher Average Keypoint Distance (AKD) compared to TPSMM, as TPS is more "aggressive" in forcing keypoint alignment. Future research will explore adaptive tessellation—using finer grid cells for high-detail areas like faces and larger cells for backgrounds—to further refine motion accuracy without sacrificing the identity-preserving benefits of the CPAB framework.
Summary updated