arXiv cs.RO· Ali Taheri, Alireza Taban, Qizhou Wang, Wanhua Li·· 2026-10-20AI 评分37
RuleGraph:让 LLM 机器人拒绝有害子任务并完成合法任务的多智能体规则图规划
Refuse the Harm, Complete the Task via Graph-of-Rules Planning for LLM-Enabled Robots
AI 导读
针对 LLM 驱动机器人易受越狱攻击、且现有推理时防御只评估单一危险短指令的问题,研究者提出 RuleGraph 多智能体规则图规划框架,把安全约束分散到多个推理与验证阶段,使机器人在拒绝指令中有害部分的同时完成合法部分。该框架用五个协作智能体将通用安全原则落地为具体世界规则、结合上下文评估各子任务并从未被判定有害的子任务中推导安全目标,再把规划组织成规则节点图,高层节点继承父节点规则并逐步验证聚合候选方案,直到单一方案满足所有相关规则。在两个环境、两个基准上以 ASR 和 TSR 评估,RuleGraph 将两个基准的 ASR 均降至 0%,同时取得最高 TSR:RoboGuard 基准 98.57%,其自建长程复合指令集 84.54%。
正文
Abstract:Large Language Models (LLMs) are increasingly used in embodied AI for robotic manipulation and planning, but their deployment in physical systems exposes vulnerabilities such as jailbreak attacks that induce unsafe behavior. Existing inference-time defenses are mainly evaluated on short instructions containing a single hazard, whereas realistic tasks may interleave safe and unsafe sub-tasks, conceal hazardous steps, or combine individually safe actions into unsafe outcomes. Such compound instructions make it harder for a single safety decision to distinguish hazardous sub-tasks from legitimate ones, risking either overlooking the hazard or rejecting the whole instruction. We introduce safe task completion, a task that requires an LLM-enabled robot to refuse the harmful part of an instruction while completing its legitimate part. To address this problem, we propose RuleGraph, a multi-agent Graph-of-Rules planning framework that distributes safety enforcement across multiple reasoning and verification stages. Five cooperating agents are used to ground general safety principles into world-specific rules, assess the instruction's sub-tasks in context, and derive a safe goal from the legitimate ones. Planning toward this goal is then organized as a graph of rule-specific nodes, where higher-level nodes inherit the union of their parents' rules, and candidate plans are progressively verified and aggregated until a single plan satisfies every relevant rule. In this way, RuleGraph reduces reliance on a single centralized safety decision. We evaluate RuleGraph on pure-attack and compound instructions across two benchmarks in two environments using Attack Success Rate (ASR) and Task Success Rate (TSR). RuleGraph reduces ASR to 0% on both benchmarks while achieving the highest TSR among all methods, reaching 98.57% on the RoboGuard benchmark and 84.54% on our long-horizon compound instructions.
| Subjects: | Robotics (cs.RO) |
| Cite as: | arXiv:2610.24603 [cs.RO] |
| (or arXiv:2610.24603v1 [cs.RO] for this version) | |
| https://doi.org/10.48550/arXiv.2610.24603 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Ali Taheri [view email]
[v1]
Sat, 17 Oct 2026 10:13:12 UTC (2,938 KB)
来源:arXiv cs.RO · arxiv.org