Topology-Agnostic Animal Motion Generation from Text Prompt

Keyi Chen, Mingze Sun, Zhenyu Liu, Zhangquan Chen, Ruqi Huang

Introduction

Generating realistic 3D motion from text prompts has seen significant success for human characters, largely due to the consistent skeletal topology shared across human models. However, animating animals remains a formidable challenge. Unlike humans, animals exhibit a vast diversity of skeletal structures—ranging from the four legs of a horse to the many joints of a spider or the wings of a bird. Existing text-to-motion methods typically rely on fixed skeletal templates, meaning a model trained on one species cannot easily generalize to another with a different joint count or hierarchy.

To address this "topology gap," this research introduces OmniZoo, a massive dataset of animal motions, and a novel framework designed to generate animations for any skeletal structure from a simple text prompt. By treating skeletons as flexible graphs rather than fixed lists of coordinates, the system enables high-fidelity motion generation across 140 different species.

Methodology: A Topology-Agnostic Approach

The core innovation of this work lies in its ability to understand the functional role of joints across varying body plans. The framework consists of three primary components:

1. Generalized Motion Residual VQ-VAE

To handle varying joint counts, the model employs a Vector Quantized-Variational AutoEncoder (VQ-VAE) with joint-level padding and binary masking. This allows the model to compress motion into a discrete token space regardless of the animal's complexity. A residual approach captures both the broad trajectory of movement and the fine-grained nuances of specific limbs.

2. Topology-Aware Skeleton Embedding

Instead of a standard linear embedding, the researchers utilize a Graph Transformer. By representing the skeleton as a graph, the model uses attention biases based on the shortest topological distance between joints. This ensures the model understands that a "wing" joint in a bird and a "foreleg" joint in a mammal may share functional similarities in motion, even if their exact coordinates differ.

A graph-based skeletal representation allows the model to understand functional relationships between joints regardless of species.

3. Two-Stage Conditional Transformer

The final stage fuses text embeddings (derived from SigLip2) with skeletal embeddings. A Masked Transformer predicts base motion tokens, while a Residual Transformer fills in high-frequency details, ensuring the final animation is both semantically accurate to the prompt and physically plausible for the specific skeleton.

The OmniZoo Dataset

High-quality animal motion data has historically been scarce. The researchers introduced OmniZoo to fill this void, significantly expanding the available benchmarks:

  • Scale: Over 32,000 motion sequences (approx. 2.5 million frames) across 140 species.
  • Diversity: Includes mammals, birds, insects, dinosaurs, fish, and reptiles.
  • Multimodal Richness: Each sequence is paired with 3D meshes, skeletons, and detailed text descriptions ranging from simple action labels to complex narratives.

Key Results and Discussion

The framework demonstrates state-of-the-art performance in both quantitative and qualitative evaluations. It achieved a Fréchet Inception Distance (FID) of 0.044, a 48.2% improvement over previous baselines, indicating that the generated motions are significantly more realistic.

Generated motion sequence showing a realistic running gait for a fox-like topology.

Beyond standard generation, the model excels in Cross-Species Transfer. For example, it can apply a "leaping" motion to a buzzard, naturally incorporating wing-flapping behaviors consistent with the bird's anatomy that were not explicitly in the source motion. Furthermore, the model shows strong Zero-Shot Generalization, successfully animating skeletons reconstructed from 2D images of species it never encountered during training.

While the model currently faces minor limitations regarding human-animal hybrids and physical artifacts like foot sliding, it represents a major leap toward universal motion synthesis for the animal kingdom.

Summary updated

BibTeX
@misc{chen2025topology,
  author = {Keyi Chen and Mingze Sun and Zhenyu Liu and Zhangquan Chen and Ruqi Huang},
  title = {{Topology-Agnostic Animal Motion Generation from Text Prompt}},
  year = {2025},
  eprint = {2512.10352},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.10352},
}
Figure