Abstract
We show that the task of synthesizing human motion conditioned on a set of key frames can be solved more accurately and effectively if a deep learning based interpolator operates in the delta mode using the spherical linear interpolator as a baseline. We empirically demonstrate the strength of our approach on publicly available datasets achieving state-of-the-art performance. We further generalize these results by showing that the $\Delta$-regime is viable with respect to the reference of the last known frame (also known as the zero-velocity model). This supports the more general conclusion that operating in the reference frame local to input frames is more accurate and robust than in the global (world) reference frame advocated in previous work. Our code is publicly available at https://github.com/boreshkinai/delta-interpolator.
Introduction
In the field of 3D animation, "in-betweening" is the essential but labor-intensive process of filling in frames between artist-defined keyframes. While deep learning has shown promise in automating this task, existing models often struggle with accuracy and robustness. A significant challenge lies in the choice of coordinate systems; many high-performing models utilize a global reference frame, making them sensitive to a character's absolute position and rotation in the world. This sensitivity often leads to animation failure when characters are shifted or rotated during testing in ways not encountered during training.
The $\Delta$-Interpolator addresses these issues by demonstrating that "local is better." By operating in a local reference frame and learning the "delta" (residual) between a simple linear interpolation and the ground truth, the model achieves superior performance and remarkable robustness to out-of-distribution data.
Methods
The core of the proposed approach is the $\Delta$-Interpolator, which rests on three primary pillars:
- Residual Learning ($\Delta$-mode): Instead of predicting the full pose of a character, the network predicts a "delta" ($\Delta Y$) that is added to a baseline prediction ($\tilde{Y}$). The baseline used is the Spherical Linear Interpolator (SLERP), a standard mathematical tool for smooth rotations in animation.
- Local Reference Frames: The model's inputs and outputs are defined relative to a local reference frame, typically the last known pose. This makes the model mathematically invariant to global shifts, ensuring consistent performance regardless of the character's position in the scene.
- Cross-Attention Architecture: The model utilizes a Transformer-based design with a dedicated Key-frame encoder (self-attention) and a Missing frame encoder (cross-attention). This separation is computationally efficient and enforces a clear relationship between input keyframes and generated motion.
Furthermore, the model is trained to reconstruct input keyframes alongside predicting missing ones. This reconstruction task acts as a powerful regularizer, enhancing the overall quality and consistency of the generated motion.
Datasets and Evaluation
The researchers evaluated the $\Delta$-Interpolator on two primary benchmarks: LaFAN1, a high-quality motion capture dataset with over 4.5 hours of diverse human actions, and Anidance, which focuses on complex dance sequences. To support the research community, the authors have released processed versions of these datasets along with evaluation scripts.
Key Results
The $\Delta$-Interpolator achieves state-of-the-art (SOTA) performance across all major metrics, including L2Q for rotations, L2P for positions, and NPSS for motion smoothness.
Key findings from the experimental evaluation include:
- Efficiency: The specific Transformer architecture is approximately 3.7 times more computationally efficient than previous SOTA designs due to its separate encoder structure.
- Robustness: Qualitative tests confirm that the model remains stable under coordinate shifts that cause global-frame models to fail completely.
- Real-time Viability: The model is capable of running at over 200 frames per second within the Unity Editor, making it a practical tool for real-time animation pipelines.
- Baseline Flexibility: Ablation studies indicate that even using a simple "last known frame" (zero-velocity) as a baseline, the $\Delta$-mode remains highly effective, supporting its use in forward motion prediction.
Conclusion
The $\Delta$-Interpolator demonstrates that motion in-betweening is most effectively handled by operating in a local coordinate system and learning residuals from a baseline. This approach not only improves accuracy but also significantly enhances model robustness and computational efficiency. Future work will explore optimized baseline selections and the integration of lightweight Inverse Kinematics (IK) solutions to further refine output quality for production environments.
Summary updated