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

从大型语言模型中蒸馏脚本知识以实现约束语言规划

Distilling Script Knowledge from Large Language Models for Constrained Language Planning

Fudan University(复旦大学);Brain Technologies, Inc.(脑科技公司);System Inc.(系统公司);Fudan-Aishu Cognitive Intelligence Joint Research Center(复旦-爱数认知智能联合研究中心)

Siyu Yuan, Jiangjie Chen, Ziquan Fu, Xuyang Ge, Soham Shah, Charles Robert Jankowski, Yanghua Xiao, Deqing Yang

AI总结:

本文首次定义约束语言规划任务,提出先过度生成再过滤的方法并构建含 55,000 个脚本的 CoScript 数据集,有效提升大模型及小模型在约束条件下的语言规划能力。

摘要:

在日常生活中,人类通常通过遵循以目标为导向的脚本来逐步规划行动。先前的工作利用语言模型(LMs)为刻板活动的抽象目标(例如“制作蛋糕”)进行规划,但对具有多方面约束的更具体目标(例如“为糖尿病患者制作蛋糕”)研究不足。在本文中,我们首次定义了约束语言规划任务。我们提出了一种先过度生成再过滤的方法,以改进大型语言模型(LLMs)在此任务上的表现,并利用该方法蒸馏出一个新颖的约束语言规划数据集 CoScript,该数据集包含 55,000 个脚本。实证结果表明,我们的方法显著提高了 LLMs 的约束语言规划能力,尤其是在约束忠实性方面。此外,CoScript 被证明在赋予较小规模 LMs 约束语言规划能力方面相当有效。

英文摘要:

In everyday life, humans often plan their actions by following step-by-step instructions in the form of goal-oriented scripts. Previous work has exploited language models (LMs) to plan for abstract goals of stereotypical activities (e.g., "make a cake"), but leaves more specific goals with multi-facet constraints understudied (e.g., "make a cake for diabetics"). In this paper, we define the task of constrained language planning for the first time. We propose an overgenerate-then-filter approach to improve large language models (LLMs) on this task, and use it to distill a novel constrained language planning dataset, CoScript, which consists of 55,000 scripts. Empirical results demonstrate that our method significantly improves the constrained language planning ability of LLMs, especially on constraint faithfulness. Furthermore, CoScript is demonstrated to be quite effective in endowing smaller LMs with constrained language planning ability.

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

↑