arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2507.03293cs.AIcs.CLcs.LGcs.SYeess.SY
收藏

LogicGuard:通过基于时序逻辑的评论家改进具身大语言模型智能体

LogicGuard: Improving Embodied LLM agents through Temporal Logic based Critics

Department of Mechanical Engineering, University of California at Santa Barbara(加州大学圣芭芭拉分校机械工程系);Department of Electrical and Computer Engineering, Michigan State University(密歇根州立大学电气与计算机工程系)

Anand Gokhale, Vaibhav Srivastava, Francesco Bullo

AI总结:

LogicGuard 提出一种模块化演员-评论家架构,利用 LLM 评论家通过线性时序逻辑生成约束来引导 LLM 演员,从而在长时程规划任务中提升具身智能体的可靠性、效率与安全性。

摘要:

大语言模型(LLMs)在零样本和单步推理与决策问题中已展现出潜力,但在长时程顺序规划任务中,其错误会不断累积,往往导致不可靠或低效的行为。我们提出 LogicGuard,一种模块化的演员-评论家架构,其中 LLM 演员由轨迹级 LLM 评论家引导,该评论家通过线性时序逻辑(LTL)进行通信。我们的设置结合了语言模型的推理优势与形式逻辑的保证。演员根据自然语言观测选择高层动作,而评论家分析完整轨迹并提出新的 LTL 约束,以保护演员免受未来不安全或低效行为的影响。LogicGuard 同时支持固定安全规则和自适应学习约束,并且与模型无关:任何基于 LLM 的规划器都可以充当演员,LogicGuard 则作为生成逻辑的包装器。我们将规划形式化为符号约束下的图遍历,使 LogicGuard 能够分析失败或次优轨迹,并生成新的时序逻辑规则以改进未来行为。为证明通用性,我们在两种不同设置下评估 LogicGuard:短时程通用任务和长时程专业任务。在包含 100 个家务任务的 Behavior 基准上,LogicGuard 相比基线 InnerMonologue 规划器将任务完成率提高了 25%。在 Minecraft 钻石挖掘任务中——该任务具有长时程特性且需要多个相互依赖的子目标——与 SayCan 和 InnerMonologue 相比,LogicGuard 同时提升了效率和安全性。这些结果表明,让 LLM 通过时序逻辑相互监督,能够为具身智能体带来更可靠、更高效和更安全的决策。

英文摘要:

Large language models (LLMs) have shown promise in zero-shot and single step reasoning and decision making problems, but in long horizon sequential planning tasks, their errors compound, often leading to unreliable or inefficient behavior. We introduce LogicGuard, a modular actor-critic architecture in which an LLM actor is guided by a trajectory level LLM critic that communicates through Linear Temporal Logic (LTL). Our setup combines the reasoning strengths of language models with the guarantees of formal logic. The actor selects high-level actions from natural language observations, while the critic analyzes full trajectories and proposes new LTL constraints that shield the actor from future unsafe or inefficient behavior. LogicGuard supports both fixed safety rules and adaptive, learned constraints, and is model-agnostic: any LLM-based planner can serve as the actor, with LogicGuard acting as a logic-generating wrapper. We formalize planning as graph traversal under symbolic constraints, allowing LogicGuard to analyze failed or suboptimal trajectories and generate new temporal logic rules that improve future behavior. To demonstrate generality, we evaluate LogicGuard across two distinct settings: short-horizon general tasks and long-horizon specialist tasks. On the Behavior benchmark of 100 household tasks, LogicGuard increases task completion rates by 25% over a baseline InnerMonologue planner. On the Minecraft diamond-mining task, which is long-horizon and requires multiple interdependent subgoals, LogicGuard improves both efficiency and safety compared to SayCan and InnerMonologue. These results show that enabling LLMs to supervise each other through temporal logic yields more reliable, efficient and safe decision-making for both embodied agents.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑