Abstract
Human motion generation driven by deep generative models has enabled compelling applications, but the ability of text-to-motion (T2M) models to produce realistic motions from text prompts raises security concerns if exploited maliciously. Despite growing interest in T2M, few methods focus on safeguarding these models against adversarial attacks, with existing work on text-to-image models proving insufficient for the unique motion domain. In the paper, we propose ALERT-Motion, an autonomous framework leveraging large language models (LLMs) to craft targeted adversarial attacks against black-box T2M models. Unlike prior methods modifying prompts through predefined rules, ALERT-Motion uses LLMs' knowledge of human motion to autonomously generate subtle yet powerful adversarial text descriptions. It comprises two key modules: an adaptive dispatching module that constructs an LLM-based agent to iteratively refine and search for adversarial prompts; and a multimodal information contrastive module that extracts semantically relevant motion information to guide the agent's search. Through this LLM-driven approach, ALERT-Motion crafts adversarial prompts querying victim models to produce outputs closely matching targeted motions, while avoiding obvious perturbations. Evaluations across popular T2M models demonstrate ALERT-Motion's superiority over previous methods, achieving higher attack success rates with stealthier adversarial prompts. This pioneering work on T2M adversarial attacks highlights the urgency of developing defensive measures as motion generation technology advances, urging further research into safe and responsible deployment.
Introduction
Text-to-Motion (T2M) models have revolutionized the generation of realistic 3D human animations from natural language descriptions. While these advancements benefit the film and gaming industries, they introduce significant security vulnerabilities. Malicious actors could exploit these models to generate harmful content or, in a more critical scenario, hijack the control systems of humanoid robots.
Existing adversarial attack methodologies, largely adapted from the Text-to-Image (T2I) domain, typically rely on "brute-force" character or word-level mutations. For example, a baseline attack might swap a key verb like "walking" for a random string of characters. In the context of motion, these modifications are easily detected because they result in nonsensical or highly suspicious text. Furthermore, measuring the semantic similarity between two 3D motions is significantly more complex than comparing two static images, making targeted attacks—where the goal is to force a specific output—exceptionally difficult to execute.
The ALERT-Motion Framework
To address these challenges, we introduce ALERT-Motion, an autonomous framework that treats a Large Language Model (LLM) as an intelligent "attack agent." Unlike traditional methods that follow hard-coded mutation rules, ALERT-Motion leverages the LLM's inherent reasoning capabilities and vast knowledge of human motion to generate "stealthy" prompts that appear natural to human observers but trigger specific, unintended outputs from T2M models.
The framework is built upon two primary modules:
1. Adaptive Dispatching (AD) Module
The AD module serves as the "brain" of the attack. It utilizes the LLM to iteratively refine prompts through three distinct stages:
- Expansion ($I_E$): The agent generates a diverse set of candidate prompts based on the original input.
- Refinement ($I_R$): The agent polishes these candidates to ensure they are fluent, grammatically correct, and semantically relevant to human motion.
- Update ($I_U$): Using feedback from previous iterations, the agent performs a "crossover" operation, combining the most effective elements of successful prompts to converge on the target motion.
2. Multimodal Information Contrastive (MMIC) Module
Because LLMs cannot directly process 3D motion data, the MMIC module acts as a bridge. It employs a motion encoder to calculate the semantic similarity between the motion generated by the victim model and the attacker's target motion. This numerical similarity score is converted into textual feedback, allowing the LLM agent to reason about why a specific prompt failed and how to adjust its strategy in the next iteration.
Experimental Evaluation
We evaluated ALERT-Motion using the HumanML3D (H3D) dataset, the most comprehensive resource for T2M tasks, containing approximately 14,616 motion sequences paired with 45,000 textual descriptions. The framework was tested against two state-of-the-art victim models: Motion Latent Diffusion (MLD) and the Motion Diffusion Model (MDM).
Key Results
ALERT-Motion significantly outperformed baseline methods such as MacPromp and RIATIG across all critical metrics:
- Attack Success Rate: On the MDM model, ALERT-Motion achieved a top-1 R-Precision accuracy of 9/20, more than doubling the performance of baseline attacks (which scored 3/20 or 4/20).
- Stealth and Naturalness: Perplexity (PPL) scores, which measure how "natural" the text is, were dramatically lower for ALERT-Motion (~113-179) compared to baselines (~1100-3000). This indicates that ALERT-Motion's prompts are far more likely to bypass human moderators or automated safety filters.
- Motion Quality: The Frechet Inception Distance (FID) scores remained low, meaning the "tricked" model continued to produce high-quality, realistic-looking movement even while being diverted to a target motion.
Conclusion and Future Work
ALERT-Motion demonstrates that LLMs can be effectively weaponized to perform sophisticated, stealthy adversarial attacks on motion generation models. By shifting from random mutations to semantic reasoning, the framework exposes a significant security gap in current T2M architectures.
Future research must prioritize the development of robust defense mechanisms, such as adversarial training and advanced semantic filters. Furthermore, as humanoid robotics continue to evolve, understanding and mitigating these digital vulnerabilities is essential for ensuring physical safety in real-world deployments.
Summary updated