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

Learning to Plan with Natural Language(利用自然语言学习规划)

Learning to Plan with Natural Language

Wangxuan Institute of Computer Technology, Peking University(北京大学王选计算机研究所);Microsoft Research Asia(微软亚洲研究院)

Yiduo Guo, Yaobo Liang, Chenfei Wu, Wenshan Wu, Dongyan Zhao, Nan Duan

AI总结:

针对大语言模型直接生成的复杂任务规划易出错、不完整的问题,提出Learning to Plan两阶段方法,通过训练误差反馈迭代优化规划并用于引导推理,在多类推理任务上验证有效,还发现了跨模型的迁移学习新范式。

摘要:

大语言模型(Large Language Models, LLMs)已在各类基础自然语言任务中展现出卓越性能。但要完成复杂任务,我们仍需制定任务规划,以引导LLMs逐步生成具体解决方案。LLMs虽可直接生成任务规划,但这些规划可能仍存在事实错误或内容不完整的问题。高质量的任务规划应包含适用于所有场景的正确分步解决方案,以及用于规避错误的行为指令。为获取此类规划,我们提出Learning to Plan方法,该方法包含两个阶段:(1)在首个任务规划学习阶段,通过提示LLMs从训练误差反馈中推导得到新的分步解决方案与行为指令,以此迭代更新任务规划;(2)在后续的测试阶段,LLM利用已学习的任务规划,引导其在测试集上的推理过程。我们在5类不同的推理任务(共8个数据集)上验证了该方法的有效性。此外,分析实验表明,由某一LLM学习得到的任务规划可直接引导另一LLM提升性能,这揭示了一种全新的迁移学习范式。我们已在https://github.com/Eureka6174/LearnNLPlan 发布相关代码。

英文摘要:

Large Language Models (LLMs) have shown remarkable performance in various basic natural language tasks. For completing the complex task, we still need a plan for the task to guide LLMs to generate the specific solutions step by step. LLMs can directly generate task plans, but these plans may still contain factual errors or are incomplete. A high-quality task plan contains correct step-by-step solutions for solving all situations and behavioral instructions for avoiding mistakes. To obtain it, we propose the Learning to Plan method, which involves two phases: (1) In the first learning task plan phase, it iteratively updates the task plan with new step-by-step solutions and behavioral instructions, which are obtained by prompting LLMs to derive from training error feedback. (2) In the subsequent test phase, the LLM uses the learned task plan to guide the inference of LLM on the test set. We demonstrate the effectiveness of our method on the five different reasoning type tasks (8 datasets). Further, our analysis experiment shows that the task plan learned by one LLM can directly guide another LLM to improve its performance, which reveals a new transfer learning paradigm. We release the code at \url{https://github.com/Eureka6174/LearnNLPlan}

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

↑