Skip to content

Compromising LLM-driven embodied agents using context backdoor attacksCompromising Embodied Agents with Contextual Backdoor Attacks

arXiv· arXiv:2408.02882· Aishan Liu, Yuguang Zhou, Xianglong Liu, Tianyuan Zhang, Siyuan Liang, Jiakai Wang, Yanjun Pu, Tianlin Li, Junqi Zhang, Wenbo Zhou, Qing Guo, Dacheng Tao·Indexed by this site · 22 days ago· Originally publishedAttacks
AI summary

An arXiv paper proposes a context backdoor attack against LLM embodied agents: the attacker only needs to poison a small number of in-context examples to make a black-box LLM generate programs that appear logically normal but actually contain context-related defects; when the agent encounters specific trigger conditions in an interactive environment, the defects activate and cause unintended behavior. The method uses adversarial context to generate and optimize the poisoned examples; one LLM reviewer evaluates the poisoned prompt and reports to another LLM, which iteratively optimizes it through chain-of-thought reasoning in a two-player adversarial game; then, textual and visual bimodal triggers control the generation and execution of the defects, and five program defect patterns are designed, covering confidentiality, integrity, and availability. The experiments cover robot planning, robot manipulation, and compositional visual reasoning tasks, and the authors also demonstrate the method's potential impact by attacking a real autonomous driving system.

Read originalarxiv.org