arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2502.04728cs.AI
收藏

通过大语言模型的测试时扩展生成符号化世界模型

Generating Symbolic World Models via Test-time Scaling of Large Language Models

Westlake University(西湖大学);The Chinese University of Hong Kong(香港中文大学);The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));Max Planck Institute for Intelligent Systems, Tübingen(智能系统马克斯·普朗克研究所(图宾根));Environmental Systems Research Institute, Inc.(环境系统研究所);Shanghai Artificial Intelligence Laboratory(上海人工智能实验室);SEED, Bytedance(字节跳动SEED团队);The Hong Kong University of Science and Technology(香港科技大学)

Zhouliang Yu, Yuhuan Yuan, Tim Z. Xiao, Fuxiang Frank Xia, Jie Fu, Ge Zhang, Ge Lin, Weiyang Liu

AI总结:

本文提出通过扩展大语言模型的测试时计算来增强其PDDL推理能力,结合Best-of-N采样与言语化机器学习精炼,无需额外训练即可高质量生成PDDL领域,并在竞赛级规划任务上超越现有方法。

摘要:

解决复杂规划问题需要大语言模型(LLMs)显式地对状态转移进行建模,以避免违反规则、满足约束并确保最优性——这一任务受到自然语言固有歧义的阻碍。为了克服这种歧义,规划领域定义语言(PDDL)被用作一种规划抽象,能够提供精确且形式化的状态描述。借助PDDL,我们可以生成一个符号化世界模型,在该模型中,A*等经典搜索算法可以被无缝地应用于寻找最优规划。然而,由于缺乏PDDL训练数据,使用当前的大语言模型直接生成PDDL领域仍然是一个尚未解决的挑战。为了应对这一挑战,我们提出扩展大语言模型的测试时计算,以增强其PDDL推理能力,从而生成高质量的PDDL领域。具体而言,我们引入了一种简单而有效的算法,该算法首先采用Best-of-N采样方法来提高初始解的质量,然后通过言语化机器学习以细粒度的方式对解进行精炼。我们的方法在PDDL领域生成方面以相当大的优势超越了o1-mini,在两项任务(即从自然语言描述或PDDL问题生成PDDL领域)上取得了超过50%的成功率,且无需额外训练。通过利用PDDL作为状态抽象,我们的方法能够在几乎所有竞赛级规划任务上超越当前最先进的方法。

英文摘要:

Solving complex planning problems requires Large Language Models (LLMs) to explicitly model the state transition to avoid rule violations, comply with constraints, and ensure optimality-a task hindered by the inherent ambiguity of natural language. To overcome such ambiguity, Planning Domain Definition Language (PDDL) is leveraged as a planning abstraction that enables precise and formal state descriptions. With PDDL, we can generate a symbolic world model where classic searching algorithms, such as A*, can be seamlessly applied to find optimal plans. However, directly generating PDDL domains with current LLMs remains an open challenge due to the lack of PDDL training data. To address this challenge, we propose to scale up the test-time computation of LLMs to enhance their PDDL reasoning capabilities, thereby enabling the generation of high-quality PDDL domains. Specifically, we introduce a simple yet effective algorithm, which first employs a Best-of-N sampling approach to improve the quality of the initial solution and then refines the solution in a fine-grained manner with verbalized machine learning. Our method outperforms o1-mini by a considerable margin in the generation of PDDL domains, achieving over 50\% success rate on two tasks (i.e., generating PDDL domains from natural language description or PDDL problems). This is done without requiring additional training. By taking advantage of PDDL as state abstraction, our method is able to outperform current state-of-the-art methods on almost all competition-level planning tasks.

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

↑