TEACH: Temporal Action Composition for 3D Humans

Nikos Athanasiou, Mathis Petrovich, Michael J. Black, Gül VarolarXiv 2022

TL;DR

TEACH introduces a hierarchical framework for generating continuous 3D human motions from a sequence of natural language prompts. By combining non-autoregressive generation within individual actions with an autoregressive mechanism across actions, it enables the synthesis of long, multi-action sequences with smooth, natural transitions.

What Problem Does This Paper Address?

While text-conditioned 3D motion synthesis has made significant strides, existing state-of-the-art models are largely constrained to single actions described by a single sentence (e.g., "a person walks"). Real human behavior, however, is a continuous stream of sequential actions (e.g., "walk forward, stumble, then place your right hand on the ground").

Generating these temporal action compositions introduces several key challenges:

  1. Computational Complexity: Standard transformer-based motion generators operate non-autoregressively, meaning they generate the entire sequence at once. Because transformers scale quadratically with sequence length, this approach quickly becomes intractable for long, multi-action sequences.
  2. Data Scarcity: Most existing motion-text datasets lack diverse, sequential action annotations.
  3. Boundary Discontinuities: Naively stitching independently generated motions together results in jarring, physically unrealistic "teleportation" or snapping effects at the transitions.
Figure 1. Goal: Given a sequence of descriptions and durations as input, our goal is to generate a 3D human motion respecting the instruction and achieving temporal action compositionality. We design a recursive approach, TEACH, that can produce a variable number of actions given a stream of textual prompts. Note that the color saturation is aligned with the progress of each action.

Methods

The authors propose TEACH (TEmporal Action Compositions for Human motions), a hybrid architecture designed to get the best of both worlds: high-quality generation within an action and infinite scalability across actions.

  • Action-Level Autoregression: Instead of generating frame-by-frame or predicting the entire multi-action sequence at once, TEACH generates one action at a time.
  • Past-Conditioned Text Encoder: When generating the next action in a sequence, the model doesn't just look at the new text prompt. A Past Encoder takes the last $P$ frames of the previously generated motion and feeds them into the text encoder alongside the text tokens (processed via a frozen DistilBERT).
  • Variational Autoencoder (VAE) Formulation: This joint text-and-motion context is mapped to a latent distribution from which a vector $z^i$ is sampled.
  • Motion Decoder: A non-autoregressive transformer decoder takes $z^i$ and synthesizes the full duration of the current action as a sequence of 3D body poses using the SMPL body model format.
  • Transition Smoothing: To polish the final output, spherical linear interpolation (Slerp) is applied over a short 8-frame window at the boundary to eliminate any remaining minor joint rotation discontinuities.
Figure 2. Method overview: Our TEACH model is a variational encoder-decoder neural network. The current text instruction and the past frames are encoded by the corresponding encoders and are fed to Tenc along with the additional tokens. Tenc produces the distribution parameters from which the latent vector is sam- pled and given to the decoder to generate a sequence of 3D human poses. In this figure, we omit the motion encoder for simplicity.

Datasets

  • BABEL: The primary dataset used for training and evaluation. It contains free-form English labels for the massive AMASS motion capture collection. Crucially, BABEL features frame-level, overlapping annotations that capture natural transitions between sequential actions.
  • KIT Motion-Language: Used to contrast dataset statistics, highlighting that BABEL possesses a significantly larger vocabulary and a wider variety of action categories.
Figure 3. BABEL vs KIT: We provide a comparative analysis of the amount of data and the vocabulary of verbs. On the top, the number of tokens (i.e. different words) in each dataset is plotted against various frequency thresholds, i.e. the number of words that appear at least freq. threshold times. We see that BABEL consis- tently has at least twice as many tokens as KIT. On the bottom, the verb histogram shows that BABEL has more samples across a wide range of actions. Note that there are differences in how the datasets label actions with generic words like “do” and “perform” being common in KIT and rare in BABEL, which is more specific.

Key Insights and Ideas

  • Hierarchical Generation Scales Better: Bypassing the quadratic complexity of long-sequence transformers by chunking the generation at the action level allows the model to theoretically generate infinitely long sequences.
  • Geometric Context Drives Smooth Transitions: Simply conditioning the text encoder on the final frames of the previous motion gives the model enough geometric context to naturally plan the starting pose of the next action.
  • Combinatorial Generalization: Rather than requiring training data for every possible sequence combination (e.g., "run then sit", "walk then sit"), TEACH learns to transition from any arbitrary past physical state to a new text-described action.

Key Results

The authors compared TEACH against two baselines adapted from prior state-of-the-art work (TEMOS): an Independent baseline (generating actions separately and aligning them post-hoc) and a Joint baseline (concatenating prompts with commas and generating the entire sequence in one shot).

  • Quantitative Superiority: TEACH outperformed both baselines on the BABEL validation set across all positional and variance metrics. For example, TEACH achieved a root joint Average Positional Error (APE) of 0.674, compared to 0.729 for the Independent baseline and 0.790 for the Joint baseline.
  • Inherent Smoothness: To test the impact of the past-conditioning mechanism, the authors measured boundary discontinuity without Slerp post-processing. TEACH achieved a transition distance of 0.107m, significantly lower than the Independent baseline's 0.151m, proving that the model inherently plans smoother transitions.

Limitations and Future Work

  • Acceleration Peaks: Despite planning smoother transitions, the model can still suffer from sudden jerky movements or acceleration spikes at boundary frames, meaning post-processing smoothing (like Slerp) is still required.
  • No Look-Ahead Capability: TEACH only looks backward in time. In reality, humans plan current movements based on future goals (e.g., altering a stride because they intend to jump next). Incorporating future intent is an open area for research.
  • Physical Constraints: The model does not explicitly model environmental interactions or foot-ground contact, which can occasionally lead to artifacts like foot sliding or floating.

Summary updated

BibTeX
@misc{athanasiou2022teach,
  author = {Nikos Athanasiou and Mathis Petrovich and Michael J. Black and Gül Varol},
  title = {{TEACH: Temporal Action Composition for 3D Humans}},
  year = {2022},
  eprint = {2209.04066},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2209.04066},
}
Figure