TL;DR
This paper introduces POEX, a novel framework for "policy executable" jailbreak attacks against LLM-powered robots. It highlights that traditional LLM jailbreaks are insufficient for robots, as they must generate executable harmful actions, not just harmful text. The authors also propose defenses to mitigate these new, physical-world threats.
What Problem Does This Paper Address?
Large Language Models (LLMs) are increasingly being integrated into robotic systems to translate natural language instructions into executable robot actions. While this promises more intuitive human-robot interaction, it also inherits LLMs' vulnerability to "jailbreak" attacks – prompts designed to bypass safety filters and elicit harmful or undesirable outputs. The critical difference with robots is that these harmful outputs aren't just text; they can translate into dangerous physical actions. Traditional LLM jailbreak research focuses on text-based harms (like hate speech or misinformation), but this paper addresses the much more severe risk of LLM-based robots performing physically destructive or harmful tasks. The authors ask: can existing jailbreak methods work on robots? What unique challenges arise? And how can we defend against these new threats?
Methods
The core of the paper is the POEX (Policy Executable) jailbreak framework. To tackle the challenge of generating executable harmful policies, POEX employs several key techniques:
- Hidden Layer Gradient Optimization: This method aims to find adversarial "suffixes" (short sequences of text) that not only bypass LLM safety mechanisms but also guide the LLM towards generating policies that are physically executable. It does this by optimizing the similarity loss between the hidden states of an LLM with and without safety constraints.
- Multi-Agent Evaluator: To address the difficulty of assessing whether a generated policy is truly executable and harmful, POEX uses a system of four specialized agents:
- Acceptance Agent: Checks if the LLM rejected the harmful instruction.
- Harmfulness Agent: Determines if the generated policy is semantically harmful.
- Logic Agent: Verifies if the policy is logically sound and executable by the robot's hardware.
- Conciseness Agent: Ensures the policy doesn't contain unnecessary or redundant steps.
- Word-level Constraints: To ensure the adversarial suffixes can be reliably recognized by Automatic Speech Recognition (ASR) systems used in robots, POEX restricts candidate tokens to English words.
The paper also proposes prompt-based defenses (integrating safety constraints into system prompts) and model-based defenses (using external models to filter instructions and policies).
Datasets
The authors introduce a new benchmark called Harmful-RLbench. This dataset is designed to specifically assess the usability and security of LLM-based robot systems. It contains 300 tasks, split equally between harmless (for usability testing) and harmful (for security testing). These tasks cover various "human-object-environment" safety risks, such as mechanical damage, chemical damage, and environmental damage, and are designed to be executable by robotic arms.
Key Insights and Ideas
- Traditional jailbreaks don't translate: The most significant insight is that simply generating harmful text isn't enough for robot jailbreaks. The generated "policy" must be physically executable by the robot, which traditional LLM jailbreak methods fail to guarantee.
- Executable harm is the real threat: The paper emphasizes that the true danger lies in LLM-based robots performing actions that cause physical harm, not just outputting harmful text.
- "Over-defending" can hurt usability: While safety measures are crucial, some LLMs, even with safeguards, can become overly restrictive, leading to a decrease in their ability to perform harmless tasks. This highlights a trade-off between security and usability.
- Transferability of attacks: Adversarial suffixes optimized on one LLM can often be transferred to attack other LLMs, even those that are "black-box" (where the attacker has limited knowledge of the model's internals).
Key Results
- POEX effectiveness: POEX achieved an average acceptance rate of 70% and an execution success rate of 60% on harmful instructions across various LLMs and robotic platforms.
- Superior ESR: POEX consistently outperformed traditional jailbreak methods (like GCG and BadRobot) in terms of Execution Success Rate (ESR), meaning it was more successful at generating executable harmful policies. For example, on Mistral-8B and Qwen2.5-7B, POEX's ESR significantly surpassed other methods.
- Defense efficacy: The proposed prompt-based and model-based defenses showed promise in mitigating attacks, though no single defense was universally perfect.
- Real-world validation: Experiments on Franka Panda and Unitree G1 robots demonstrated that POEX could indeed induce harmful robot actions in real-world scenarios.
Limitations and Future Work
- LLM-specific vulnerabilities: The paper notes that the effectiveness of attacks and defenses can vary significantly across different LLMs, suggesting that model architecture and training data play a role.
- Trade-off between usability and security: The authors acknowledge that implementing strong safety measures can sometimes degrade the LLM's overall usability for legitimate tasks. Finding an optimal balance remains an open challenge.
- Model-based defense limitations: Current model-based defenses often struggle with robotic-specific semantic instructions and can have high false positive rates, blocking harmless actions.
- Future work: The authors suggest that future safety alignment methods for LLMs in robotics should incorporate datasets like Harmful-RLbench and focus on developing robust safety mechanisms specifically tailored to the unique challenges of embodied AI. They also emphasize the need for further research into model-based defenses that can effectively balance safety and usability.
Summary updated