NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Robust Motion In-betweening

Félix G. Harvey, Mike Yurick, Derek Nowrouzezahrai, Christopher J. Pal · DOI

Abstract

In this work we present a novel, robust transition generation technique that can serve as a new tool for 3D animators, based on adversarial recurrent neural networks. The system synthesizes high-quality motions that use temporally-sparse keyframes as animation constraints. This is reminiscent of the job of in-betweening in traditional animation pipelines, in which an animator draws motion frames between provided keyframes. We first show that a state-of-the-art motion prediction model cannot be easily converted into a robust transition generator when only adding conditioning information about future keyframes. To solve this problem, we then propose two novel additive embedding modifiers that are applied at each timestep to latent representations encoded inside the network's architecture. One modifier is a time-to-arrival embedding that allows variations of the transition length with a single model. The other is a scheduled target noise vector that allows the system to be robust to target distortions and to sample different transitions given fixed keyframes. To qualitatively evaluate our method, we present a custom MotionBuilder plugin that uses our trained model to perform in-betweening in production scenarios. To quantitatively evaluate performance on transitions and generalizations to longer time horizons, we present well-defined in-betweening benchmarks on a subset of the widely used Human3.6M dataset and on LaFAN1, a novel high quality motion capture dataset that is more appropriate for transition generation. We are releasing this new dataset along with this work, with accompanying code for reproducing our baseline results.

Introduction

In the field of 3D animation, "in-betweening"—the process of generating smooth motion between sparse keyframes—is a fundamental yet labor-intensive task. While traditional methods like splines or linear interpolation are computationally efficient, they often result in robotic movements and physical artifacts such as "foot sliding." Recent advances in deep learning have produced impressive motion prediction models, but these often fail when repurposed for transition generation. Without a continuous sense of temporal constraints, standard models tend to "stall" or "teleport" to reach target poses.

A visualization of the motion in-betweening task, showing a character successfully navigating an obstacle through a synthesized transition.

We address these challenges by introducing a robust, adversarial recurrent neural network (RNN) system. Our approach enables the synthesis of high-quality, variable-length transitions that adhere strictly to user-defined keyframe constraints while maintaining natural human motion characteristics.

Methodology

Our system is built upon a Recurrent Transition Network (RTN) architecture, utilizing a Long Short-Term Memory (LSTM) core. To achieve robustness and flexibility, we introduce two key additive embedding modifiers.

The RTN architecture diagram illustrating the integration of state, offset, and target encoders with the LSTM core and novel embedding modifiers.

Time-to-Arrival (TTA) Embeddings

To solve the "stalling" problem, we implement TTA embeddings. These are sinusoidal signals, similar to Transformer positional encodings, but designed to count down to the target frame. By adding these to the network's latent state, the model maintains a dense, continuous representation of the remaining time, allowing it to pace the motion correctly regardless of the transition's duration.

Scheduled Target Noise

To move beyond deterministic outputs, we incorporate a scheduled noise vector into the target keyframe embedding. This noise is high at the start of a transition, encouraging diverse motion paths, and scales down to zero as the character approaches the target. This ensures that the character always reaches the exact required pose while allowing for natural variations in movement.

Adversarial Training

To ensure realism and minimize artifacts, we utilize a dual-timescale adversarial training framework. Two discriminators evaluate the motion: one focuses on long-term flow (10-frame windows) and another on short-term realism (2-frame windows), effectively penalizing unnatural artifacts like foot sliding.

Datasets and Results

We evaluate our model using the standard Human3.6M dataset and a newly introduced high-quality motion capture dataset, LaFAN1. LaFAN1 contains nearly 500,000 frames of diverse actions captured in a production-grade environment, specifically designed for benchmarking transition generation.

Quantitative results demonstrate that our complete model (TGcomplete) significantly outperforms both standard interpolation and previous state-of-the-art RNN baselines across metrics such as L2 distance for quaternions (L2Q) and global positions (L2P). Furthermore, the model exhibits strong generalization, producing realistic transitions for durations up to 4 seconds, even when trained on shorter windows. The system is production-ready, integrated into a MotionBuilder plugin capable of generating 30-frame transitions in approximately 0.3 seconds on a standard CPU.

Conclusion

This work presents a robust solution for automated motion in-betweening that balances user control with high-fidelity synthesis. By providing the network with a temporal "deadline" via TTA embeddings and enabling diversity through scheduled noise, we offer a powerful new tool for the animation pipeline. Future research will focus on incorporating explicit style control and refining kinematic chain constraints for even greater precision.

Summary updated

BibTeX
@article{harvey2020robust,
  author = {Félix G. Harvey and Mike Yurick and Derek Nowrouzezahrai and Christopher J. Pal},
  title = {{Robust Motion In-betweening}},
  journal = {ACM Trans. Graphics},
  year = {2020},
  doi = {10.1145/3386569.3392480},
}
Figure