Compositional Semantic Parsing with Large Language Models

Denny Zhou, Xinyun Chen, Olivier Bousquet, Nathan Scales, Nathanael Schärli, Andrew Drozdov, Akyürek, Ekin, Xinying Song
2022-09-29

SCID:  54.1/zyhqmzrg
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.
Publication Details
Publication Date
2022-09-29
Journal
Publisher
ISSN
Access Type
Author Information
Authors
Denny Zhou
Xinyun Chen
Olivier Bousquet
Nathan Scales
Nathanael Schärli
Andrew Drozdov
Akyürek, Ekin
Xinying Song
Explore More Research
Use the citation graph to discover related papers and expand your research horizons.
Click any node to explore
Download PDF
100%