arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2411.01790cs.AIcs.LG
收藏

向前与向后思考:利用大型语言模型进行有效的反向规划

Thinking Forward and Backward: Effective Backward Planning with Large Language Models

Princeton University(普林斯顿大学);Google DeepMind(谷歌DeepMind)

Allen Z. Ren, Brian Ichter, Anirudha Majumdar

AI总结:

针对LLM规划中的方向不对称性,提出先翻转问题再前向规划的后向规划算法,结合双向规划与自我验证,在三个领域将成功率提升4-24%。

摘要:

大型语言模型(LLMs)已展现出卓越的推理和规划能力。该领域的大多数先前工作利用LLMs从初始状态逐步推理至目标状态或标准,从而有效地进行前向推理。然而,许多规划问题存在固有的不对称性,使得从目标开始向后规划显著更容易——例如,当瓶颈接近目标时。我们受此观察启发,并证明这一偏差同样适用于LLM规划:某一方向的规划性能与该方向问题的规划复杂度相关。然而,我们的实验也揭示了导致后向规划性能不佳的系统性偏差。基于此认识,我们提出了一种面向LLMs的后向规划算法,该算法首先翻转问题,然后在翻转后的问题中进行前向规划。这有助于避免后向偏差,生成更多样化的候选规划,并利用规划问题中前向与后向方向之间的不对称性——我们发现,将两个方向的规划与自我验证相结合,在三个规划领域中将整体规划成功率提高了4%至24%。

英文摘要:

Large language models (LLMs) have exhibited remarkable reasoning and planning capabilities. Most prior work in this area has used LLMs to reason through steps from an initial to a goal state or criterion, thereby effectively reasoning in a forward direction. Nonetheless, many planning problems exhibit an inherent asymmetry such that planning backward from the goal is significantly easier -- for example, if there are bottlenecks close to the goal. We take inspiration from this observation and demonstrate that this bias holds for LLM planning as well: planning performance in one direction correlates with the planning complexity of the problem in that direction. However, our experiments also reveal systematic biases which lead to poor planning in the backward direction. With this knowledge, we propose a backward planning algorithm for LLMs that first flips the problem and then plans forward in the flipped problem. This helps avoid the backward bias, generate more diverse candidate plans, and exploit asymmetries between the forward and backward directions in planning problems -- we find that combining planning in both directions with self-verification improves the overall planning success rates by 4-24% in three planning domains.

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

↑