Distilling Script Knowledge from Large Language Models for Constrained Language Planning

05/09/2023
by   Siyu Yuan, et al.
0

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.

READ FULL TEXT

page 1

page 6

page 7

research
02/10/2023

Translating Natural Language to Planning Goals with Large-Language Models

Recent large language models (LLMs) have demonstrated remarkable perform...
research
02/03/2023

Describe, Explain, Plan and Select: Interactive Planning with Large Language Models Enables Open-World Multi-Task Agents

In this paper, we study the problem of planning in Minecraft, a popular,...
research
06/26/2018

A Constraint-based Encoding for Domain-Independent Temporal Planning

We present a general constraint-based encoding for domain-independent ta...
research
05/18/2023

Language Models Meet World Models: Embodied Experiences Enhance Language Models

While large language models (LMs) have shown remarkable capabilities acr...
research
09/07/2023

Large Language Models as Optimizers

Optimization is ubiquitous. While derivative-based algorithms have been ...
research
04/17/2023

Pretrained Language Models as Visual Planners for Human Assistance

To make progress towards multi-modal AI assistants which can guide users...
research
05/16/2023

Sasha: creative goal-oriented reasoning in smart homes with large language models

Every smart home user interaction has an explicit or implicit goal. Exis...

Please sign up or login with your details

Forgot password? Click here to reset