arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2505.01009cs.AI
收藏

利用动作序列相似性改进大型语言模型规划

Improving Large Language Model Planning with Action Sequence Similarity

Google DeepMind(谷歌DeepMind);Carnegie Mellon University(卡内基梅隆大学)

Xinran Zhao, Hanie Sedghi, Bernd Bohnet, Dale Schuurmans, Azade Nova

AI总结:

本文提出GRASE-DC两阶段流水线,利用动作序列相似性(AS)重新采样并动态聚类上下文学习示例,在多种规划任务中显著提升了LLM的规划准确率并减少了所需示例数量。

摘要:

规划对于人工智能系统至关重要,使其能够前瞻并主动确定行动方案,以在虚拟和现实世界中达成目标。近期关于大型语言模型(LLMs)的研究揭示了其在各种任务中的规划能力。然而,目前尚不清楚上下文中的哪些信号会影响模型性能。在本研究中,我们探讨了如何通过上下文学习(ICL)提升模型规划能力,具体而言,即哪些信号有助于选择示例。通过大量实验,我们观察到常用的问题相似性可能会产生假阳性,即计划截然不同,从而误导模型。为此,我们提出利用计划侧的动作序列相似性(AS)来采样和过滤示例。我们提出了GRASE-DC:一种两阶段流水线,首先重新采样高AS示例,然后对所选示例进行基于AS的动态聚类,以在相关性和多样性之间取得平衡。实验结果证实,GRASE-DC在各种规划任务上取得了显著的性能提升(绝对准确率最高提升约11-40个百分点,且平均所需示例减少27.3%)。在GRASE-DC* + VAL中,我们迭代应用GRASE-DC并结合验证器,性能还能进一步提升18.9%。广泛的分析验证了GRASE-DC在各种骨干LLM上,以及在经典规划和自然语言规划基准上的一致性能提升。与随机基线相比,使用较简单问题作为示例,GRASE-DC在更困难的问题上能进一步提升约24个绝对百分点的规划准确率。这证明了其泛化到分布外问题的能力。

英文摘要:

Planning is essential for artificial intelligence systems to look ahead and proactively determine a course of actions to reach objectives in the virtual and real world. Recent work on large language models (LLMs) sheds light on their planning capability in various tasks. However, it remains unclear what signals in the context influence the model performance. In this work, we explore how to improve the model planning capability through in-context learning (ICL), specifically, what signals can help select the exemplars. Through extensive experiments, we observe that commonly used problem similarity may result in false positives with drastically different plans, which can mislead the model. In response, we propose to sample and filter exemplars leveraging plan side action sequence similarity (AS). We propose GRASE-DC: a two-stage pipeline that first re-samples high AS exemplars and then curates the selected exemplars with dynamic clustering on AS to achieve a balance of relevance and diversity. Our experimental result confirms that GRASE-DC achieves significant performance improvement on various planning tasks (up to ~11-40 point absolute accuracy improvement with 27.3% fewer exemplars needed on average). With GRASE-DC* + VAL, where we iteratively apply GRASE-DC with a validator, we are able to even boost the performance by 18.9% more. Extensive analysis validates the consistent performance improvement of GRASE-DC with various backbone LLMs and on both classical planning and natural language planning benchmarks. GRASE-DC can further boost the planning accuracy by ~24 absolute points on harder problems using simpler problems as exemplars over a random baseline. This demonstrates its ability to generalize to out-of-distribution problems.

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

↑