Manuscript Offprint

arXiv:2610.34321

TopX: Text-to-Motion for Unseen Skeletons from the Skeleton File Alone

Tengjiao Sun, Pengcheng Fang, Xiaoyu Zhan, Dongjie Fu, Xiaohao Cai, Hansung Kim

Abstract

Text-to-motion models generate for the skeletons they were trained on, while a new character arrives as a skeleton file and nothing else. We study text-to-motion for skeletons that no training clip has used, with no clips of the character, no template, no retargeting and no fine-tuning. We present TopX, a 73M-parameter flow-matching transformer that generates joint rotations and a root trajectory for any kinematic tree from its tree, rest pose and joint names. Motion is normalised by the rest pose and the size of the skeleton, and the rest pose enters as a world-frame descriptor that does not depend on how the rig's author oriented each joint, with rest conventions randomised in training. Attention is factorised over the joints and the frames of a motion and carries a spatial–temporal encoding designed for skeleton graphs of any topology: queries and keys are rotated across joints by a heat-kernel coordinate of the skeleton graph, which is defined for every tree and does not change with the order of its joints or the eigenbasis of its Laplacian, and across frames by a rotary encoding of frame order. To measure what this buys, we build SkelShift: four motion corpora under one codec, 143,334 captioned clips on skeletons of 4 to 142 joints, from which 4,232 clips on 2,043 skeletons are held out by clip, rig, tree class or species and organised along topology, joint count, body plan, species and rig source, and scored by motion quality: Fréchet distances on public kinetic features and on kinematic descriptors, foot skating and ground contact. Against UniMate trained on the same clips, on test rigs without a training clip, TopX lowers the descriptor FID from 5.73 to 4.58 when UniMate's guidance is tuned for the kinetic FID, and the kinetic FID from 1.48 to 0.55 when it is tuned for the descriptor FID, also on motions no training skeleton performs; fewer of its frames sink below the ground.

1 Introduction

Text-to-motion generation has become fluent on the human body [11, 14, 15, 42], and nearly all of it assumes one skeleton: the joint count, joint order and rest pose of the training body are built into the model. Games, film and virtual production animate casts of characters that are not human, each rigged with its own tree, joint names, joint order and rest pose. When such a character is created, its skeleton file is all there is—no clips of it to normalise with, adapt to or retarget from. A text-to-motion model for these pipelines has to animate a skeleton from that file.

Three properties of a skeleton file make this hard. Scale: without clips, the size of a character's motion and the spread of each joint's channels are unknown, so a normalisation by per-rig motion statistics cannot be applied. Conventions: the order in which a file lists its joints, the names it gives them and the orientation of each joint's rest frame are choices of the rig's author, and the motion should not depend on them. Shape: the tree itself may lie outside the training data, with a new topology, more joints or an unfamiliar body plan. Retargeting [1, 44] and template bodies [45–47] exclude whatever the template cannot express. AnyTop [12] generates on arbitrary trees without captions and normalises each skeleton with statistics of that skeleton's motions. UniMate [31], the closest system to ours, is text-conditioned and serves a new skeleton from its rest pose, topology and joint names; its released model serves up to 71 joints and 60 frames.

How far such models generalise is hard to tell, because unseen skeletons have been evaluated on a handful of held-out skeleton types [31], on held-out species of one shared topology [46], or without text [33]. Measuring generalisation needs held-out skeletons whose distance from the training data is controlled and stated, and metrics that stay valid on them. A learned text–motion evaluator can lose much of its ceiling off its training distribution—on held-out species the real clips’ R@1 drops from 0.899 to 0.594 in [46]—so we score motion quality with evaluator-free statistics, as UniMate does.

We present TopX (Fig. 1), a text-conditioned flow-matching transformer that reads a rig's tree, rest pose and joint names. It normalises motion by the rest pose and the skeleton's size, and reads the rest pose in the world frame while being trained under randomised rest conventions. Its attention is factorised over the joints and the frames of a motion, and the two axes carry one spatial–temporal encoding designed for skeleton graphs: a heat-kernel coordinate of the graph, with a tree-hop bias, on the joint axis and the frame order on the time axis, both applied as rotations of queries and keys. No learned table is indexed by joint slot or by frame, so one set of weights reads any kinematic tree. The model learns from four corpora under kinematics-preserving skeleton augmentation. Our contributions:

• Text-to-motion from the skeleton file. One 73M-parameter model generates for any kinematic tree from its tree, rest pose and joint names, with no clip of the target: motion is normalised by the rest pose and the skeleton’s size, and the rest pose enters as a world-frame descriptor that does not depend on how each joint’s rest frame was authored, with rest conventions randomised in training. It returns joint rotations and a root trajectory that the rig plays directly (Secs. 3.1 and 3.3).

• A spatial–temporal encoding designed for skeleton graphs of any topology. The two axes of the factorised joint×frame attention are encoded as a pair: across joints, a heat-kernel coordinate computed from the skeleton graph rotates queries and keys, next to a tree-hop and direction bias; across frames, a rotary encoding of frame order. The joint coordinate is defined for every tree, unchanged when the joints are relabelled and independent of the eigenbasis of the graph Laplacian, which eigenvector encodings [31, 35] leave open for repeated eigenvalues (Sec. 3.2).

• SkelShift, a corpus and a benchmark for unseen skeletons. Four motion corpora are brought under one codec, one ground and one contact rule: 143,334 captioned clips on skeletons of 4 to 142 joints, every joint described in text. From them, 4,232 clips on 2,043 rigs and 736 distinct trees are held out by unit, in buckets along five axes of skeleton shift, with a dev/test split, annotations of tree distance and reused motion, and evaluator-free motion-quality metrics (Sec. 4).

Against UniMate trained on the same clips, TopX lowers each Fréchet distance when UniMate's guidance is tuned for the other, on test rigs with no training clip and on novel motions; on these rigs fewer of its frames sink below the ground (Tab. 2). On held-out game species, a caption retrieves the motion our four-corpus model generated for it at R@1 0.915, and that of UniMate's released model at 0.279. In ablations, the full recipe has the lowest KID desc_{desc} on unseen topologies, rare body plans, new species and Truebones rigs (Tab. 4).

References (49)

  • Skeleton-aware networks for deep motion retargeting
  • LLM2Vec: Large language models are secretly powerful text encoders
  • Demystifying MMD GANs
  • Graph positional and structural encoder
  • Topology-agnostic animal motion generation from text prompt (opens arXiv in a new tab)
  • Motion2Motion: Cross-topology motion transfer with sparse correspondence
  • Executing your commands via motion diffusion in latent space
  • Objaverse-XL: A universe of 10M+ 3D objects
  • Graph neural networks with learnable structural and positional representations
  • Go to zero: Towards zero-shot motion generation with million-scale data
  • AnyTop: Character animation diffusion with any topology
  • MoCapAnything: Unified 3D motion capture for arbitrary skeletons from monocular videos
  • Generating diverse and natural 3D human motions from text
  • MoMask: Generative masked modeling of 3D human motions
  • Classifier-Free Diffusion Guidance
  • SALAD: Skeleton-aware latent diffusion for text-driven motion generation and editing
  • Skinned motion retargeting via artifact-driven kinematic prior refinement
  • On the stability of expressive positional encodings for graphs
  • Guided motion diffusion for controllable human motion synthesis
  • UniMoGen: Universal motion generation (opens arXiv in a new tab)
  • SAME: Skeleton-agnostic motion embedding for character animation
  • How to move your dragon: Text-to-motion synthesis for large-vocabulary objects
  • Back to basics: Let denoising generative models denoise
  • Sign and basis invariant networks for spectral graph representation learning
  • Motion-X: A large-scale 3D expressive whole-body human motion dataset
  • Flow matching for generative modeling
  • Text-to-any-skeleton motion generation without retargeting
  • Flow straight and fast: Learning to generate and transfer data with rectified flow
  • ACT: A unified framework for rigging and animating characters with arbitrary topologies
  • UniMate: One Unified Model to Animate Diverse Skeletons
  • Scalable diffusion models with transformers
  • TopoCap: Learning topology-agnostic motion priors for monocular video-to-animation (opens the publisher in a new tab)
  • Recipe for a general, powerful, scalable graph transformer
  • Rotary position encodings for graphs
  • Kimodo: Scaling controllable human motion generation (opens arXiv in a new tab)
  • Embodied hands: Modeling and capturing hands and bodies together
  • DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lighter
  • Bailando: 3D dance generation by actor-critic GPT with choreographic memory
  • RoFormer: Enhanced transformer with rotary position embedding
  • A concise and provably informative multi-scale signature based on heat diffusion
  • Human motion diffusion model
  • Neural kinematic networks for unsupervised motion retargeting
  • AniMo: Species-aware model for text-driven animal motion generation
  • X-MoGen: Unified motion generation across humans and animals
  • OmniMotionGPT: Animal motion generation with limited data
  • Mode-adaptive neural networks for quadruped motion control
  • Generating human motion from textual descriptions with discrete representations
  • MotionDiffuse: Text-driven human motion generation with diffusion model
  • Semantic-aware motion encoding for topology-agnostic character animation