Compositional Semantic Parsing with Large Language Models

By Andrew Drozdov, Nathanael Scharli, Ekin Akyuurek, Nathan Scales, Xinying Song, Xinyun Chen, Olivier Bousquet, Denny Zhou. 2022

113 citations recorded by the source corpus.

Humans can reason compositionally when presented with new tasks. Previous research shows that appropriate prompting techniques enable large language models (LLMs) to solve artificial compositional generalization tasks such as SCAN. In this work, we identify additional challenges in more realistic semantic parsing tasks with larger vocabulary and refine these prompting techniques to address them. Our best method is based on least-to-most prompting: it decomposes the problem using prompting-based syntactic parsing, then uses this decomposition to select appropriate exemplars and to sequentially generate the semantic parse. This method allows us to set a new state of the art for CFQ while requiring only 1% of the training data used by traditional approaches. Due to the general nature of our approach, we expect similar efforts will lead to new results in other tasks and domains, especially for knowledge-intensive applications.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Natural Language Processing

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Percy Liang
  2. Luke S. Zettlemoyer
  3. Mohit Bansal
  4. Quoc V. Le
  5. Jianfeng Gao
  6. Graham Neubig
  7. Caiming Xiong
  8. Yejin Choi

In Computer Vision and Pattern Recognition

  1. Mohit Bansal
  2. Quoc V. Le
  3. Luc Van Gool
  4. Jianfeng Gao
  5. Dacheng Tao
  6. Percy Liang
  7. Trevor Darrell
  8. Xiaogang Wang

In Natural Language Processing

  1. Percy Liang
  2. Mohit Bansal
  3. Luke S. Zettlemoyer
  4. Graham Neubig
  5. Caiming Xiong
  6. Yejin Choi
  7. Jianfeng Gao
  8. Hannaneh Hajishirzi

Citations in the corpus