Retargeting Motions to Diverse Skeletons via Learnable Flattening

Kia-Jüng Yang, Fabian H. Sinz, Paweł A. PierzchlewiczarXiv 2026

TL;DR

This paper introduces a Transformer-based autoencoder that achieves state-of-the-art motion retargeting across diverse, unseen skeletal topologies in a zero-shot, unsupervised manner. By reinterpreting joint concatenation as a "learnable flattening" operation with multiplicative graph positional encodings, the model creates a topology-invariant latent space that reduces joint position errors by 43–47% compared to previous benchmarks.

What Problem Does This Paper Address?

Motion retargeting—the process of transferring animation from a source character to a target character with a different skeletal structure—is a cornerstone of character animation. While deep learning has made strides here, two major hurdles remain:

  1. Zero-Shot Generalization: Most models struggle to handle "unseen" skeletons (topologies not present in the training set) without retraining or manual bone mapping.
  2. Architecture Mismatch: While Transformers have revolutionized NLP and Vision, they have historically failed to outperform specialized geometric methods in motion tasks. Standard Transformers struggle to encode the hierarchical, graph-based nature of skeletons, often failing to decouple motion semantics from specific skeletal structures.

The authors aim to bridge this gap by creating a model that can handle arbitrary humanoid skeletons within a single, unified architecture without requiring paired training data.

Methods

The core innovation is a learnable flattening of skeletal graphs. In standard neural networks, "flattening" usually means concatenating joint features into a long vector, which unfortunately ties the representation size to the joint count.

The authors decompose this operation into a mathematical interaction between content features and a positional mask. This leads to three key architectural components:

  • Skeleton Position Encoding: Using a GraphSAGE network, the model generates a spatial mask from the character's rest pose.
  • Multiplicative Positional Encoding: Unlike standard Transformers that add positional information to content, this model integrates graph-based encodings multiplicatively. This acts as a structural gating mechanism, allowing the model to "activate" specific slots in the latent space based on joint identity and hierarchy.
  • Disentangled Latent Space: The encoder produces two distinct tokens: a pose token ($z_p$) and a trajectory token ($z_t$). This ensures that global movement (like walking across a room) doesn't get "baked into" the local joint rotations.
Figure 2: Schematic of the our model architecture. The Skeleton Position Encoding uses Graph- SAGE to produce a spatial mask from the rest pose S. The Encoder ”flattens” skeletal data into latent pose and trajectory tokens, while the Decoder ”unflattens” them to recover joint rotations.

The model is trained using cycle consistency and augmentation consistency. By perturbing skeletons (scaling bones, removing joints) and requiring the model to reconstruct the original motion, it learns to ignore skeletal specifics and focus on motion semantics.

Figure 3: Schematic of the training framework.

Datasets

The authors utilized a wide array of publicly available motion capture datasets for training and evaluation:

  • Training: LaFAN1, ACCAD, TotalCapture, PFNN, SFU, and CMU.
  • Zero-Shot Evaluation: Bandai-Namco and 100Style (datasets entirely unseen during training).
  • Retargeting Benchmarks: Mixamo (used for both intra-structure and cross-structure comparisons).

Notably, the model is trained in a fully unsupervised way, meaning it never saw "ground truth" retargeted pairs during training.

Key Insights and Ideas

  • Flattening as Gating: The most significant "aha moment" is the realization that the standard joint-concatenation operation is implicitly a multiplicative positional encoding process. By making this process learnable and continuous, the model can map any number of joints into a fixed-dimensional, topology-agnostic latent space.
  • Multiplication is Mandatory: Ablation studies revealed that switching from multiplicative to standard additive positional encodings increased error by up to 57%. Multiplication is critical for preserving spatial structure across different joint counts.
  • Direct Trajectory Prediction: Many recent models (like SAME) use delta-based root predictions, which lead to "catastrophic drift" over long sequences. This paper predicts the global root trajectory directly, eliminating drift entirely.
Figure 5: Translation invariance of our pose latent space. Left shows distributions of cosine simi- larities between latents of untranslated and translated motions. SAME is invariant by definition, so all the values are 1. Right shows the mean cosine similarities across translations in the x-, z- and xz-axes.

Key Results

  • Quantitative Superiority: In zero-shot reconstruction on the Bandai-Namco dataset, the model reduced Joint Position (JP) error from 12.40cm (previous state-of-the-art) to 2.63cm—a 78% improvement.
  • Retargeting Accuracy: Across cross-structural tasks, the model outperformed the next best method by at least 43% in Global Joint Position error.
  • Human Evaluation: A user study with 37 participants (including 8 professional animators) ranked this method highest in both motion alignment and physical plausibility ($p < 0.05$).
Figure 1: Our method retargets a source motion (left) to characters with vastly different skeletal topologies via learnable flattening of skeletal graphs in a fully zero-shot setting.

Limitations and Future Work

Despite the impressive results, the authors acknowledge several limitations:

  • T-Pose Dependency: The model assumes input data is preprocessed into a T-pose rest configuration.
  • Mesh Ignorance: The loss functions focus on skeletal kinematics but ignore surface geometry. This can lead to self-penetration ( e.g., an arm passing through a bulky torso) for characters with voluminous meshes.

  • Non-Humanoid Structures: While it handles diverse humanoid skeletons well, it struggles with non-standard body parts like capes, wings, or extra protruding limbs.

Future work aims to incorporate mesh-aware constraints and extend the latent space to handle even more radical skeletal configurations.

Summary updated

BibTeX
@misc{yang2026retargeting,
  author = {Kia-Jüng Yang and Fabian H. Sinz and Paweł A. Pierzchlewicz},
  title = {{Retargeting Motions to Diverse Skeletons via Learnable Flattening}},
  year = {2026},
  eprint = {2609.38578},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.38578},
}
Figure