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

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Brahman, Faeze, Bhagavatula, Chandra, Pyatkin, Valentina, Hwang, Jena D., Li, Xiang Lorraine, Arai, Hirona J., Sanyal, Soumya, Sakaguchi, Keisuke, Ren, Xiang, Choi, Yejin
Formato: Preprint
Publicado: 2023
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866917778752012288
author Brahman, Faeze
Bhagavatula, Chandra
Pyatkin, Valentina
Hwang, Jena D.
Li, Xiang Lorraine
Arai, Hirona J.
Sanyal, Soumya
Sakaguchi, Keisuke
Ren, Xiang
Choi, Yejin
author_facet Brahman, Faeze
Bhagavatula, Chandra
Pyatkin, Valentina
Hwang, Jena D.
Li, Xiang Lorraine
Arai, Hirona J.
Sanyal, Soumya
Sakaguchi, Keisuke
Ren, Xiang
Choi, Yejin
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2305_19472
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle PlaSma: Making Small Language Models Better Procedural Knowledge Models for (Counterfactual) Planning
Brahman, Faeze
Bhagavatula, Chandra
Pyatkin, Valentina
Hwang, Jena D.
Li, Xiang Lorraine
Arai, Hirona J.
Sanyal, Soumya
Sakaguchi, Keisuke
Ren, Xiang
Choi, Yejin
Computation and Language
Artificial Intelligence
Machine Learning
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.
title PlaSma: Making Small Language Models Better Procedural Knowledge Models for (Counterfactual) Planning
topic Computation and Language
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2305.19472