Abstract
Is the Text to Motion model robust? Recent advancements in Text to Motion models primarily stem from more accurate predictions of specific actions. However, the text modality typically relies solely on pre-trained Contrastive Language-Image Pretraining (CLIP) models. Our research has uncovered a significant issue with the text-to-motion model: its predictions often exhibit inconsistent outputs, resulting in vastly different or even incorrect poses when presented with semantically similar or identical text inputs. In this paper, we undertake an analysis to elucidate the underlying causes of this instability, establishing a clear link between the unpredictability of model outputs and the erratic attention patterns of the text encoder module. Consequently, we introduce a formal framework aimed at addressing this issue, which we term the Stable Text-to-Motion Framework (SATO). SATO consists of three modules, each dedicated to stable attention, stable prediction, and maintaining a balance between accuracy and robustness trade-off. We present a methodology for constructing an SATO that satisfies the stability of attention and prediction. To verify the stability of the model, we introduced a new textual synonym perturbation dataset based on HumanML3D and KIT-ML. Results show that SATO is significantly more stable against synonyms and other slight perturbations while keeping its high accuracy performance.
Introduction: The Fragility of Text-to-Motion
Generating 3D human motion from text (Text-to-Motion or T2M) has seen massive leaps recently, but these models suffer from a hidden "instability" issue. Because most T2M models rely on pre-trained CLIP encoders, they are highly sensitive to "textual perturbations."
For example, a model might correctly animate "a person walks forward," but if you change the input to "a human goes ahead," the model might produce a completely different, or even physically impossible, motion. This instability stems from erratic shifts in the text encoder's attention patterns when words are swapped, leading to a "cascade of errors" in the temporal motion generation.
The SATO Framework
To address this, we propose SATO (Stable Text-to-Motion Framework), a plug-and-play architecture designed to be integrated into existing T2M models like T2M-GPT or MoMask. SATO ensures that semantically similar sentences produce consistent, high-quality human motions through three core modules:
- Perturbation Module: During training, this module intentionally "attacks" the input text using Random Synonym Replacement (RSR) and Projected Gradient Descent (PGD). This forces the model to learn robustness against noisy or varied inputs.
- Stable Attention Module: This module uses a novel surrogate loss ($L_{Topk}$) to ensure the model's attention remains focused on key descriptive words (the "top-k" tokens) even when the sentence structure changes slightly.
- Pretrained Teacher Module: To maintain accuracy while improving stability, SATO uses a frozen, pre-trained T2M model as a "teacher." This prevents the model from over-optimizing for stability at the expense of motion quality.
Experimental Setup and Datasets
We evaluated SATO on two industry-standard benchmarks: HumanML3D and KIT-ML. To specifically measure stability, we introduced a new textual synonym perturbation dataset containing 55,000 perturbed text pairs based on these benchmarks.
Insights on Model Instability
Our analysis revealed several key findings:
- The "First Token" Criticality: If a text perturbation causes the model to predict the very first motion token incorrectly, the entire subsequent sequence usually fails. Correcting just that first token often "fixes" the whole animation.
- Attention Jitter: There is a direct correlation between the "jitter" in a model's attention across a sentence and the deviation of the resulting motion from the intended action.
- The Stability-Accuracy Trade-off: Maximizing stability can sometimes lead the model to ignore nuances in the text. The Teacher Module is essential for balancing robustness with precision.
Results and Evaluation
SATO demonstrates a massive improvement in stability with negligible impact on raw accuracy. On HumanML3D, SATO (built on T2M-GPT) achieved an $FID_D$ of 0.021, compared to the original model's 1.443—representing a nearly 70x improvement in consistency.
In human evaluations, users preferred SATO's outputs 93% of the time when presented with perturbed text, noting its ability to avoid the "catastrophic failures" common in other state-of-the-art models. Furthermore, SATO showed superior generalization; when trained on HumanML3D and tested on KIT-ML, it maintained 85% accuracy compared to the baseline's 49.5%.
Conclusion and Future Work
While SATO significantly improves robustness, there is a slight trade-off in standard FID scores (accuracy on original text) compared to less stable models. Future work will explore applying SATO to multi-person motion generation and other generative fields like text-to-video, where temporal consistency remains a major challenge.
Summary updated