RunAgent:通过约束引导执行解释自然语言计划
RunAgent: Interpreting Natural-Language Plans with Constraint-Guided Execution
AI总结:
RunAgent通过约束引导执行解释自然语言计划,结合代理语言的显式控制构造,提升结构化工作流执行的可靠性。
摘要:
人类通过执行针对性计划解决问题,但大型语言模型(LLMs)在结构化工作流执行中仍不可靠。我们提出了RunAgent,一个多代理计划执行平台,通过约束和标准来引导逐步执行,将自然语言的表达力与编程的确定性结合。RunAgent通过代理语言中的显式控制构造(如IF、GOTO、FORALL)实现这一点。除了验证每一步输出的语法和语义验证外,RunAgent还根据任务描述及其实例在每一步中自主推导和验证约束。RunAgent还动态选择基于LLM的推理、工具使用和代码生成与执行(例如Python),并纳入错误纠正机制以确保正确性。最后,RunAgent通过在每一步执行中保留相关信息来过滤上下文历史。在Natural-plan和SciBench数据集上的评估表明,RunAgent在基准LLMs和最先进的PlanGEN方法上表现更优。
英文摘要:
Humans solve problems by executing targeted plans, yet large language models (LLMs) remain unreliable for structured workflow execution. We propose RunAgent, a multi-agent plan execution platform that interprets natural-language plans while enforcing stepwise execution through constraints and rubrics. RunAgent bridges the expressiveness of natural language with the determinism of programming via an agentic language with explicit control constructs (e.g., \texttt{IF}, \texttt{GOTO}, \texttt{FORALL}). Beyond verifying syntactic and semantic verification of the step output, which is performed based on the specific instruction of each step, RunAgent autonomously derives and validates constraints based on the description of the task and its instance at each step. RunAgent also dynamically selects among LLM-based reasoning, tool usage, and code generation and execution (e.g., in Python), and incorporates error correction mechanisms to ensure correctness. Finally, RunAgent filters the context history by retaining only relevant information during the execution of each step. Evaluations on Natural-plan and SciBench Datasets demonstrate that RunAgent outperforms baseline LLMs and state-of-the-art PlanGEN methods.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。