arXiv · 2104.08768
Constrained Language Models Yield Few-Shot Semantic Parsers
Abstract
We explore the use of large pretrained language models as few-shot semantic parsers. The goal in semantic parsing is to generate a structured meaning representation given a natural language input. However, language models are trained to generate natural language. To bridge the gap, we use language models to paraphrase inputs into a controlled sublanguage resembling English that can be automatically mapped to a target meaning representation. Our results demonstrate that with only a small amount of data and very little code to convert into English-like representations, our blueprint for rapidly bootstrapping semantic parsers leads to surprisingly effective performance on multiple community tasks, greatly exceeding baseline methods also trained on the same limited data.
Explore related subjects
Keep this discovery
Richard Shin, Christopher H. Lin, Sam Thomson, Charles Chen, Subhro Roy, Emmanouil Antonios Platanios, Adam Pauls, Dan Klein, Jason Eisner, Benjamin Van Durme. 2021-04-18. Constrained Language Models Yield Few-Shot Semantic Parsers. https://arxiv.org/abs/2104.08768
Cite the original work for its findings. Save a collection to share your selection of sources.