PlaSma: Procedural Knowledge Models for Language-based Planning and Re-Planning

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

Introduction

Procedural planning—the ability to decompose a high-level goal (like "making coffee") into a sequence of logical, temporally ordered steps—is a fundamental challenge for artificial intelligence. While Large Language Models (LLMs) have demonstrated impressive capabilities in this domain, they remain computationally expensive, are often locked behind proprietary APIs, and can be prone to "hallucinating" illogical steps or ignoring situational constraints (e.g., "how do I see a movie at home?").

Conversely, smaller, more accessible models typically lack the implicit commonsense knowledge required to plan effectively. To bridge this "scale gap," researchers introduce PlaSma (PLAn with SMAll models). PlaSma enables small language models (ranging from 770M to 11B parameters) to match or even outperform massive models like GPT-3 in procedural planning. It achieves this through a two-pronged strategy: "symbolic distillation" to bake commonsense knowledge into the model, and a novel "verifier-guided" decoding algorithm that ensures logical consistency during inference.

The PlaSma Framework

The PlaSma approach relies on two primary innovations to elevate the reasoning capabilities of compact models:

1. Symbolic Procedural Knowledge Distillation Instead of training on raw, unstructured text, the researchers utilize a large "teacher" model (like GPT-3) to generate a massive dataset of procedural plans. Because LLMs can be noisy teachers, a smaller "critic" model is employed to filter out illogical or incomplete plans before fine-tuning the student models (which are based on the T5 architecture). This curated distillation process ensures the student learns high-quality, structured reasoning.

The PlaSma distillation pipeline: from LLM verbalization to a filtered dataset (CoPlan) and finally to a distilled student model.

2. Verifier-guided Step-wise Beam Search (PlaSma+) Standard language models generate text "greedily," which can lead to logical errors that compound over time. To combat this, the authors introduce PlaSma+, which incorporates a step-wise verifier (a trained RoBERTa model). During inference, this verifier evaluates multiple candidate next steps, scoring them based on temporality, logic, and completeness. This guides the model toward the most sensible and goal-oriented path.

The CoPlan Dataset

To facilitate this training, the authors created CoPlan, a large-scale dataset specifically designed for procedural planning. CoPlan contains roughly 140,000 pairs of goals and plans, making it approximately 11 times larger than previous benchmarks like ProScript. It covers a diverse array of real-world topics and introduces two complex planning scenarios:

  • Constrained Planning: Generating plans that must satisfy specific conditions (e.g., "buy a car without a loan").
  • Counterfactual Replanning: A novel task where an existing plan must be dynamically revised due to a sudden change in circumstances (e.g., "the store is closed").

Key Insights and Results

The combination of curated distillation and verifier-guided decoding yields impressive results, proving that smarter decoding can often beat raw scale.

  • Surpassing the Teacher: The best PlaSma student model (11B parameters) achieved a 22.6% relative improvement over its teacher model (GPT-3 Curie). The use of a "critic" to curate the distillation data was essential in allowing the smaller student to surpass the teacher's original performance.
  • Bridging the Scale Gap: The jump in performance from standard decoding to verifier-guided decoding is massive. An 11B model equipped with the verifier can outperform a 175B model using standard generation methods.
  • Human-Level Performance: In human evaluations, the 11B PlaSma-Mul+ model (trained simultaneously on standard planning, constrained planning, and replanning) performed on par with human-written plans and was statistically competitive with the much larger GPT-3.5 (Davinci).
  • Embodied AI Success: When tested in the VirtualHome environment, PlaSma significantly outperformed previous GPT-3 based planners, increasing plan executability by 17% and overall correctness by 25%.
Performance across different model sizes. The PlaSma+ variants (green and red lines) significantly bridge the gap toward the 175B Davinci model.

Limitations and Future Work

While PlaSma is highly effective, the authors note a few areas for future development. First, the verifier-guided beam search introduces inference overhead, making it more computationally intensive than simple greedy decoding. Second, the distilled models may inherit cultural or social biases present in the original GPT-3 teacher. Finally, the current framework is restricted to English text; expanding to multi-lingual planning and integrating multimodal data (allowing agents to plan based on visual environmental cues) represent exciting next steps for procedural AI.

Summary updated

BibTeX
@inproceedings{brahman2024plasma,
  author = {Faeze Brahman and Chandra Bhagavatula and Valentina Pyatkin and Jena D. Hwang and Xiang Lorraine Li and Hirona Jacqueline Arai and Soumya Sanyal and Keisuke Sakaguchi and Xiang Ren and Yejin Choi},
  title = {{PlaSma: Procedural Knowledge Models for Language-based Planning and Re-Planning}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=dFcXJgnrGB},
}
Figure