Recurrent Transformer Variational Autoencoders for Multi-Action Motion Synthesis

Rania Briq, Chuhang Zou, Leonid Pishchulin, Chris Broaddus, Juergen GallarXiv 2022

Synthesizing realistic human motion is a cornerstone of computer animation, virtual reality, and robotics. While modern AI models excel at generating isolated actions like "walking" or "sitting," they often struggle with complex sequences involving multiple actions and the transitions between them. Standard models frequently produce robotic movements or physically impossible transitions when chaining actions together.

A new approach, RTVAE-Multi, introduces a novel architecture designed to synthesize smooth, multi-action human motion sequences of arbitrary length with linear computational complexity.

The Challenge of Multi-Action Synthesis

Generating realistic human motion over extended periods presents three primary technical hurdles:

  1. The Memory Wall: Standard Transformers possess quadratic complexity. As motion sequences grow, memory requirements explode, leading to "context fragmentation" where the model loses track of earlier movements.
  2. The Transition Gap: Most models are trained on single actions. When forced to chain actions, the lack of temporal context results in jarring, unnatural transitions.
  3. Multi-Action Complexity: Real-world actions often overlap (e.g., walking while reaching into a pocket). Modeling these simultaneous dependencies is computationally expensive and mathematically complex.

The RTVAE-Multi Architecture

To address these issues, the researchers combined Recurrent Transformers (RT) with Conditional Variational Autoencoders (VAE). This hybrid model maintains a "hidden state" that carries information across time, reducing computational costs from quadratic to linear.

The RTVAE-Multi architecture utilizes a recurrent formulation for both the encoder and decoder to maintain temporal context with linear complexity.

Key innovations in the architecture include:

  • Look-Back-Ahead Strategy: To ensure smooth transitions, the decoder does not just look at the current action. It "stacks" latent vectors from multiple actions in the sequence, allowing the model to reason about the preceding and succeeding movements simultaneously.
  • Last-Frame Distribution Parameters: The encoder processes SMPL body meshes and action labels, specifically saving distribution parameters from the last frame of an action sub-sequence. The authors hypothesized that this frame contains the most "accumulated knowledge" of a movement, leading to more refined latent representations.

Data Preparation and Training

The team utilized two primary datasets, requiring significant preprocessing for the multi-action task:

  • PROX Dataset: Originally containing 3D poses in indoor scenes, the authors augmented it with ground-truth multi-action labels.
  • Charades Dataset: A large-scale dataset of daily activities. Since it lacked 3D mesh data, the authors used a custom pipeline to fit SMPL meshes to video frames and implemented filtering to remove poor pose estimates caused by clutter or motion blur.

Key Results and Performance

RTVAE-Multi was compared against a modified version of ACTOR, the previous state-of-the-art. On the PROX dataset, RTVAE-Multi achieved significantly lower Fréchet Inception Distance (FID) scores (e.g., 590 vs. 680 for 60-frame sequences), indicating higher motion realism.

RTVAE-Multi demonstrates superior semantic match rates compared to the ACTOR-Multi baseline as the number of action classes increases.

Furthermore, the model showed exceptional Semantic Consistency. When evaluated by an action recognition model, the motions generated by RTVAE-Multi were recognized correctly far more often than those from the baseline, particularly as the sequence length and complexity increased. Qualitatively, the model handles "custom" action combinations—even those not seen during training—with significantly smoother crossovers than previous methods.

Limitations and Future Directions

While RTVAE-Multi represents a significant step forward, several challenges remain. Specifying the exact frame duration for sub-actions during inference remains difficult, as the model learns these durations in a weakly supervised manner. Additionally, the model currently lacks high-level "semantic logic" to prevent nonsensical action pairings (e.g., running while lying down). Future work will focus on integrating common-sense reasoning and more complex interactions between the synthesized body and 3D scene objects.

Summary updated

BibTeX
@misc{briq2022recurrent,
  author = {Rania Briq and Chuhang Zou and Leonid Pishchulin and Chris Broaddus and Juergen Gall},
  title = {{Recurrent Transformer Variational Autoencoders for Multi-Action Motion Synthesis}},
  year = {2022},
  eprint = {2206.06741},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2206.06741},
}
Figure