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

PlaSma:让小型语言模型成为更优的(反事实)规划程序性知识模型

PlaSma: Making Small Language Models Better Procedural Knowledge Models for (Counterfactual) Planning

Allen Institute for Artificial Intelligence(艾伦人工智能研究所);University of Washington(华盛顿大学);University of Southern California(南加州大学);Tohoku University(东北大学)

Faeze Brahman, Chandra Bhagavatula, Valentina Pyatkin, Jena D. Hwang, Xiang Lorraine Li, Hirona J. Arai, Soumya Sanyal, Keisuke Sakaguchi, Xiang Ren, Yejin Choi

AI总结:

针对大语言模型用于程序性规划成本高、可复现性差的问题,提出双管齐下的PlaSma方法,通过符号化知识蒸馏与推理时算法赋能小模型,新增重新规划任务,证明小模型可媲美甚至超越大模型,并在具身环境中成功应用。

摘要:

程序性规划需要将高层目标分解为按时间顺序排列的步骤序列,对机器而言是一项重要却复杂的任务。它需要整合常识知识,对复杂且往往依赖语境的情境进行推理,例如“不用手机预约医生”。当前方法使用大语言模型(LLMs)虽取得了可观成果,但存在API调用成本高、可复现性差等缺陷。本文倡导使用小型语言模型进行规划,提出PlaSma这一双管齐下的新方法,为小型语言模型赋予程序性知识与(约束下的)语言规划能力。具体而言,我们开发了符号化程序性知识蒸馏方法以增强小型语言模型的常识知识,还提出了一种推理时算法以实现更结构化、更准确的推理。此外,我们引入了一项相关新任务——重新规划(Replanning),要求修改计划以应对受限情境。在规划与重新规划两种设置下,我们证明参数量小几个数量级的模型(7.7亿-110亿参数)可与更大的教师模型相媲美,且能力往往更优。最后,我们展示了PlaSma在具身环境VirtualHome中的成功应用。

英文摘要:

Procedural planning, which entails decomposing a high-level goal into a sequence of temporally ordered steps, is an important yet intricate task for machines. It involves integrating common-sense knowledge to reason about complex and often contextualized situations, e.g. ``scheduling a doctor's appointment without a phone''. While current approaches show encouraging results using large language models (LLMs), they are hindered by drawbacks such as costly API calls and reproducibility issues. In this paper, we advocate planning using smaller language models. We present PlaSma, a novel two-pronged approach to endow small language models with procedural knowledge and (constrained) language planning capabilities. More concretely, we develop symbolic procedural knowledge distillation to enhance the commonsense knowledge in small language models and an inference-time algorithm to facilitate more structured and accurate reasoning. In addition, we introduce a new related task, Replanning, that requires a revision of a plan to cope with a constrained situation. In both the planning and replanning settings, we show that orders-of-magnitude smaller models (770M-11B parameters) can compete and often surpass their larger teacher models' capabilities. Finally, we showcase successful application of PlaSma in an embodied environment, VirtualHome.

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

↑