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

学习并利用验证器以提升预训练语言模型的规划能力

Learning and Leveraging Verifiers to Improve Planning Capabilities of Pre-trained Language Models

Indian Institute of Technology, Delhi(印度理工学院德里分校);Arizona State University(亚利桑那州立大学)

Daman Arora, Subbarao Kambhampati

AI总结:

本文针对预训练语言模型规划能力不足的问题,提出训练验证器对动作有效性进行分类并剪枝无效轨迹,在Blocksworld领域显著提升了微调GPT-2的规划成功率。

摘要:

文献中广泛声称预训练大语言模型具有涌现的推理能力。然而,近期研究发现,它们的规划能力仍然存疑。通过使用GPT-2进行实验,我们实证表明,微调后的基线模型表现不佳,原因是它在生成的计划中违反了动作的前提条件。为了提升微调后大语言模型的规划能力,我们训练了一个验证器,该验证器能够对特定状态下动作的有效性或无效性进行分类。通过从同一数据集中随机采样动作,我们生成无效动作的示例,并用这些示例训练一个能够检查动作适用性的验证器。在生成器进行多样化采样以及验证器能够剪枝无效轨迹的情况下,我们在Blocksworld领域上展示了成功率的显著提升。此外,我们还表明,对GPT-2生成器本身进行微调以构建验证器,其泛化效果优于对基础GPT-2进行微调。最后,我们研究了采样温度的作用,该温度可用于控制探索与利用之间的权衡。

英文摘要:

There have been wide spread claims in the literature about the emergent reasoning capabilities of Pretrained Large Language Models. However, recent studies, have found that their ability to plan remains questionable. Through our experiments using GPT-2, we empirically demonstrate that the performance of a finetuned baseline remains poor because it violates pre-conditions of actions in the plans that it generates. To improve the planning capabilities of a finetuned LLM, we train a verifier, which can classify actions as being valid or invalid in a particular state. By randomly sampling actions from the same dataset, we generate examples of invalid actions which are then used to train a verifier which can check for action applicability. In the presence of diverse sampling from a generator and a verifier which can prune invalid trajectories, we show significant gains in the success rate on the Blocksworld domain. Additionally, we show that finetuning the GPT-2 generator itself to create the verifier generalizes better than finetuning the base GPT-2. Lastly, we investigate the role of the sampling temperature which can be used to control the exploration-exploitation tradeoff.

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

↑