arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.11891cs.AIcs.CLcs.HC
收藏

大型语言模型能借助形式化验证工具严格求解真实世界规划问题

Large Language Models Can Solve Real-World Planning Rigorously with Formal Verification Tools

MIT(麻省理工学院);Harvard University(哈佛大学);MIT-IBM Watson AI Lab(麻省理工学院-IBM沃森人工智能实验室)

Yilun Hao, Yongchao Chen, Yang Zhang, Chuchu Fan

AI总结:

提出基于LLM的规划框架,将复杂多约束规划形式化为约束可满足性问题并交由求解器处理,在TravelPlanner基准上实现93.9%成功率,具备零样本泛化能力,并能识别不可满足查询提供修改建议。

摘要:

大型语言模型(LLMs)难以直接为复杂的多约束规划问题生成正确的方案,即使具备自我验证和自我批评能力也是如此。例如,Xie等人(2024年)提出了一个美国国内旅行规划基准TravelPlanner,在提供所有所需信息的情况下,最佳的LLM OpenAI o1-preview只能以10%的成功率找到可行的旅行方案。在这项工作中,我们通过提出一个基于LLM的规划框架来解决这一问题,该框架将复杂的多约束规划问题形式化为约束可满足性问题,并交由可靠且完备的可满足性求解器进一步处理。我们以TravelPlanner作为主要用例,表明我们的框架实现了93.9%的成功率,并且对各种释义提示具有鲁棒性。更重要的是,我们的框架具有强大的零样本泛化能力,能够在我们新建的未见国际旅行数据集中成功处理未见约束,并良好地泛化到全新的根本不同的领域。此外,当用户输入的查询不可行时,我们的框架能够识别不可满足的核心,提供失败原因,并给出个性化的修改建议。我们表明,我们的框架能够对来自两个数据集中平均81.6%和91.7%的不可满足查询进行修改和求解,并通过消融实验证明了我们框架的所有关键组件都是有效且必要的。项目页面:https://sites.google.com/view/llm-rwplanning。

英文摘要:

Large Language Models (LLMs) struggle to directly generate correct plans for complex multi-constraint planning problems, even with self-verification and self-critique. For example, a U.S. domestic travel planning benchmark TravelPlanner was proposed in Xie et al. (2024), where the best LLM OpenAI o1-preview can only find viable travel plans with a 10% success rate given all needed information. In this work, we tackle this by proposing an LLM-based planning framework that formalizes and solves complex multi-constraint planning problems as constrained satisfiability problems, which are further consumed by sound and complete satisfiability solvers. We start with TravelPlanner as the primary use case and show that our framework achieves a success rate of 93.9% and is effective with diverse paraphrased prompts. More importantly, our framework has strong zero-shot generalizability, successfully handling unseen constraints in our newly created unseen international travel dataset and generalizing well to new fundamentally different domains. Moreover, when user input queries are infeasible, our framework can identify the unsatisfiable core, provide failure reasons, and offers personalized modification suggestions. We show that our framework can modify and solve for an average of 81.6% and 91.7% unsatisfiable queries from two datasets and prove with ablations that all key components of our framework are effective and necessary. Project page: https://sites.google.com/view/llm-rwplanning.

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

↑