Choosing how to represent human motion—as 3D coordinates, joint rotations, or 2D heatmaps—is often treated as a minor implementation detail. However, a new paper from researchers at UNC Charlotte suggests that this choice is actually a "first-order design decision" that fundamentally limits how well a model can learn a discrete motion vocabulary.
TL;DR
While different pose encodings can achieve similar reconstruction errors in a VQ-VAE, they yield "effective vocabularies" that differ by an order of magnitude. Rotation-based encodings are the most efficient, while redundant kinematic features and 2D heatmaps severely bottleneck a model's ability to utilize its full codebook capacity.
What Problem Does This Paper Address?
Many state-of-the-art motion generation and understanding models work by first "tokenizing" continuous motion. They use a Vector-Quantized Variational Autoencoder (VQ-VAE) to map short motion segments to a finite set of discrete "words" in a codebook.
The problem is that the geometry of the latent space where these words live is inherited from the input pose encoding. Researchers typically choose an encoding based on convention or their data source without considering if that geometric space is easy for a model to discretize. If the encoding is poor, the model might only use a tiny fraction of its codebook, effectively "wasting" its vocabulary and losing fine-grained motion details that no downstream model can ever recover.
Methods
The authors conducted a controlled study comparing four common skeletal encodings:
- Heatmaps: 2D Gaussian blobs on a pixel lattice (common in 2D pose estimation).
- Positions: Root-relative 3D joint coordinates.
- Rotations: Local joint rotations using a continuous 6D embedding to avoid mathematical discontinuities.
- Full Kinematics: A redundant set combining rotations, positions, velocities, and foot contacts.
They trained VQ-VAE tokenizers where the latent vectors are normalized to a unit hypersphere. Geometrically, this partitions the sphere into Voronoi cells—regions belonging to the nearest codeword. To measure quality, they looked beyond simple reconstruction loss and introduced effective vocabulary size ($K_{eff}$). This metric uses entropy to calculate how many "equally likely" codewords the model is actually using.
Datasets
The experiments were conducted using Motion-X, a large-scale 3D dataset containing expressive whole-body human motions.
Key Insights and Ideas
- Intrinsic Degrees of Freedom $\neq$ Usable Vocabulary: Positions, rotations, and full kinematics all describe the same underlying 42-degree-of-freedom pose family. Yet, their ability to fill a codebook varies wildly.
- Rotations are the Gold Standard: The rotation encoding was the most "efficient," with its effective vocabulary size continuing to grow as the total codebook size increased. It makes the best use of the spherical latent space.
- Redundancy is a Bottleneck: Counter-intuitively, the "Full Kinematics" encoding—which includes extra information like velocity—performed poorly. It saturated quickly, meaning that adding more codewords just created "dead" cells that the model never used.
- The Double-Discretization Trap of Heatmaps: Heatmaps are discretized twice: once on the pixel grid and once in the VQ-VAE latent space. This leads to a massive collapse in vocabulary; even with a codebook of 8192 words, the heatmap model effectively used fewer than 60.
- Reconstruction Loss is Deceptive: The authors found that two models could have nearly identical reconstruction losses while one had an effective vocabulary ten times larger than the other. Relying on loss alone can hide a fundamentally broken tokenizer.
Key Results
The most striking result is the divergence in effective vocabulary size ($K_{eff}$) as the total codebook size ($K$) grows.
At a codebook size of $K = 8192$:
- Rotations utilized ~5200 effective codewords.
- Positions utilized ~3000 effective codewords.
- Full Kinematics utilized only ~380 effective codewords.
- Heatmaps never exceeded an effective size of 59.
Additionally, the study found that lower code dimensions (e.g., $D=32$) generally yielded higher utilization, suggesting that human motion latents naturally concentrate on a low-dimensional manifold within the hypersphere.
Limitations and Future Work
The authors note that their study, while controlled, involved different architectures for different encodings (e.g., Transformers for heatmaps vs. CNNs for others) and single training runs per configuration.
The next steps involve:
- Downstream Validation: Proving that a higher $K_{eff}$ directly translates to better performance in generative tasks (like text-to-motion).
- Geometric Analysis: Treating the learned codebooks as spherical point sets to analyze how they "pack" the latent space.
- Matched Architectures: Repeating the study with perfectly matched neural architectures to further isolate the geometric effect of the encoding.
Summary updated