Constrained Language Models Yield Few-Shot Semantic Parsers
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 162 papers in the map (data through 7 Oct 2026). Builds on 40 of its 64 references that are in the map. First posted on arXiv 18 Apr 2021.
Builds on
40 of 64 references.
References · 40
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
- 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
- 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
- 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,686
- 2016Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translationcited by 1,471
- 2016CLEVR: A Diagnostic Dataset for Compositional Language and Elementary Visual Reasoningcited by 1,445
- 2020Making Pre-trained Language Models Better Few-shot Learnerscited by 1,255
- 2021What Makes Good In-Context Examples for GPT-3?cited by 1,184
- 2018Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Taskcited by 1,120
28 more
- 2020Exploiting Cloze Questions for Few Shot Text Classification and Natural Language Inferencecited by 934
- 2019DROP: A Reading Comprehension Benchmark Requiring Discrete Reasoning Over Paragraphscited by 883
- 2020It's Not Just Size That Matters: Small Language Models Are Also Few-Shot Learnerscited by 668
- 2018A Corpus for Reasoning About Natural Language Grounded in Photographscited by 457
- 2018Massively Multilingual Sentence Embeddings for Zero-Shot Cross-Lingual Transfer and Beyondcited by 434
- 2018The Web as a Knowledge-base for Answering Complex Questionscited by 409
- 2017Lexically Constrained Decoding for Sequence Generation Using Grid Beam Searchcited by 234
- 2018Fast Lexically Constrained Decoding with Dynamic Beam Allocation for Neural Machine Translationcited by 181
- 2020GraPPa: Grammar-Augmented Pre-Training for Table Semantic Parsingcited by 171
- 2016Language to Logical Form with Neural Attentioncited by 158
- 2020Break It Down: A Question Understanding Benchmarkcited by 131
- 2020Task-Oriented Dialogue as Dataflow Synthesiscited by 122
- 2018Correcting Length Bias in Neural Machine Translationcited by 119
- 2016Data Recombination for Neural Semantic Parsingcited by 111
- 2016Guided Open Vocabulary Image Captioning with Constrained Beam Searchcited by 105
- 2018A Retrieve-and-Edit Framework for Predicting Structured Outputscited by 73
- 2020Low-Resource Domain Adaptation for Compositional Task-Oriented Semantic Parsingcited by 72
- 2020Zero-Shot Transfer Learning with Synthesized Data for Multi-Domain Dialogue State Trackingcited by 65
- 2021Unlocking Compositional Generalization in Pre-trained Models Using Intermediate Representationscited by 55
- 2019Model-based Interactive Semantic Parsing: A Unified Framework and A Text-to-SQL Case Studycited by 40
- 2021NL-EDIT: Correcting semantic parse errors through natural language interactioncited by 33
- 2018ComQA: A Community-sourced Dataset for Complex Factoid Question Answering with Paraphrase Clusterscited by 29
- 2020AutoQA: From Databases To QA Semantic Parsers With Only Synthetic Training Datacited by 29
- 2019Semantic Parsing with Dual Learningcited by 28
- 2019Genie: A Generator of Natural Language Semantic Parsers for Virtual Assistant Commandscited by 19
- 2020Unnatural Language Processing: Bridging the Gap Between Synthetic and Natural Language Datacited by 16
- 2016Semantic Parsing with Semi-Supervised Sequential Autoencoderscited by 11
- 2021Low-Resource Task-Oriented Semantic Parsing via Intrinsic Modelingcited by 10
Built on by
Citing papers per year: 2021: 10; 2022: 47; 2023: 48; 2024: 25; 2025: 17; 2026: 15.
162 papers.
Sort:
By area:
- 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,222
- 2021Learning To Retrieve Prompts for In-Context Learningcited by 641
- 2022PAL: Program-aided Language Modelscited by 635
- 2021Recent Advances in Natural Language Processing via Large Pre-Trained Language Models: A Surveycited by 457
- 2023Large Language Models for Software Engineering: A Systematic Literature Reviewcited by 389
- 2022RARR: Researching and Revising What Language Models Say, Using Language Modelscited by 286
- 2022UnifiedSKG: Unifying and Multi-Tasking Structured Knowledge Grounding with Text-to-Text Language Modelscited by 231
- 2022Optimizing Prompts for Text-to-Image Generationcited by 204
- 2023Grammar-Constrained Decoding for Structured NLP Tasks without Finetuningcited by 186
- 2022The Unreliability of Explanations in Few-shot Prompting for Textual Reasoningcited by 169
- 2023Prompting4Debugging: Red-Teaming Text-to-Image Diffusion Models by Finding Problematic Promptscited by 161
- 2022Synchromesh: Reliable code generation from pre-trained language modelscited by 156
38 more
- 2022Prompting Is Programming: A Query Language for Large Language Modelscited by 110
- 2024A Comprehensive Survey on Process-Oriented Automatic Text Summarization with Exploration of LLM-Based Methodscited by 101
- 2022Compositional Semantic Parsing with Large Language Modelscited by 95
- 2021Improving Coherence and Consistency in Neural Sequence Models with Dual-System, Neuro-Symbolic Reasoningcited by 85
- 2022Thinking about GPT-3 In-Context Learning for Biomedical IE? Think Againcited by 83
- 2022Complementary Explanations for Effective In-Context Learningcited by 71
- 2025JSONSchemaBench: A Rigorous Benchmark of Structured Outputs for Language Modelscited by 66
- 2022TalkToModel: Explaining Machine Learning Models with Interactive Natural Language Conversationscited by 65
- 2023GPT-RE: In-context Learning for Relation Extraction using Large Language Modelscited by 62
- 2022TIARA: Multi-grained Retrieval for Robust Question Answering over Large Knowledge Basescited by 59
- 2023Coupling Large Language Models with Logic Programming for Robust and General Reasoning from Textcited by 59
- 2023Grammar Prompting for Domain-Specific Language Generation with Large Language Modelscited by 58
- 2024Understanding LLMs: A Comprehensive Overview from Training to Inferencecited by 58
- 2022Don't Generate, Discriminate: A Proposal for Grounding Language Models to Real-World Environmentscited by 57
- 2024Grammar-Aligned Decodingcited by 54
- 2023How Do In-Context Examples Affect Compositional Generalization?cited by 51
- 2021Few-Shot Semantic Parsing with Language Models Trained On Codecited by 50
- 2022Evaluating the Impact of Model Scale for Compositional Generalization in Semantic Parsingcited by 50
- 2022In-Context Learning for Few-Shot Dialogue State Trackingcited by 47
- 2023Skill-Based Few-Shot Selection for In-Context Learningcited by 46
- 2023Faithful Persona-based Conversational Dataset Generation with Large Language Modelscited by 45
- 2025Syntactic and Semantic Control of Large Language Models via Sequential Monte Carlocited by 45
- 2022Retrieval-based Controllable Molecule Generationcited by 44
- 2023On Robustness of Prompt-based Semantic Parsing with Large Pre-trained Language Model: An Empirical Study on Codexcited by 41
- 2022SeqZero: Few-shot Compositional Semantic Parsing with Sequential Prompts and Zero-shot Modelscited by 38
- 2023Data-Efficient Learning of Natural Language to Linear Temporal Logic Translators for Robot Task Specificationcited by 38
- 2023You Only Prompt Once: On the Capabilities of Prompt Learning on Large Language Models to Tackle Toxic Contentcited by 37
- 2021Communicating Natural Programs to Humans and Machinescited by 35
- 2022Calibrated Interpretation: Confidence Estimation in Semantic Parsingcited by 33
- 2024Pragmatic Instruction Following and Goal Assistance via Cooperative Language-Guided Inverse Planningcited by 28
- 2022On the Compositional Generalization Gap of In-Context Learningcited by 24
- 2023Interleaving Pre-Trained Language Models and Large Language Models for Zero-Shot NL2SQL Generationcited by 24
- 2022Multi-Stage Prompting for Knowledgeable Dialogue Generationcited by 22
- 2022Few-shot Subgoal Planning with Language Modelscited by 22
- 2022MultiSpider: Towards Benchmarking Multilingual Text-to-SQL Semantic Parsingcited by 22
- 2021The Power of Prompt Tuning for Low-Resource Semantic Parsingcited by 21
- 2022Dialogue Summaries as Dialogue States (DS2), Template-Guided Summarization for Few-shot Dialogue State Trackingcited by 21
- 2022CLASP: Few-Shot Cross-Lingual Data Augmentation for Semantic Parsingcited by 21
50 most cited of 162 All 162 (JSON)
- 2026GlossoGen: Emergent Language in Complex Multi-Agent LLM Interactions1 Sep 2026
- 2026Position: Quantum Program Generation Must Prioritize Validity Over Probabilistic Scaling15 Jul 2026
- 2026Constrained Decoding for Diffusion Language Models via Efficient Inference over Finite Automata8 Jul 2026
- 2026LabGuard: Grounding Natural-Language Laboratory Rules into Runtime Guards for Embodied Laboratory Agents30 Jun 2026
- 2026Counterexample Guided Learning in the Large using Reasoning Agents9 Jun 2026
- 2026Mitigating Bias in Locally Constrained Decoding via Tractable Proposals1 Jun 2026
- 2026DisasterBench: Benchmarking LLM Planning under Typed Tool Interface Constraints27 May 2026
- 2026The Silent Vote: Improving Zero-Shot LLM Reliability by Aggregating Semantic Neighborhoods10 May 2026
- 2026Shaping Schema via Language Representation as the Next Frontier for LLM Intelligence Expanding10 May 2026
- 2026Prefix Parsing is Just Parsing23 Apr 2026
- 2026DALM: A Domain-Algebraic Language Model via Three-Phase Structured Generation17 Apr 2026
- 2026Attention Meets Reachability: Structural Equivalence and Efficiency in Grammar-Constrained LLM Decoding4 Mar 2026
38 more
- 2026Suffix-Constrained Greedy Search Algorithms for Causal Language Models1 Mar 2026
- 2026On the Power of (Approximate) Reward Models for Inference-Time Scaling1 Feb 2026
- 2026Schema-Grounded LLM Extraction for FHIR Patient Digital Twins9 Jan 2026
- 2025STARE at the Structure: Steering ICL Exemplar Selection with Structural Alignment28 Aug 2025
- 2025Multilingual Datasets for Custom Input Extraction and Explanation Requests Parsing in Conversational XAI Systems20 Aug 2025
- 2025Infherno: End-to-end Agent-based FHIR Resource Synthesis from Free-form Clinical Notes16 Jul 2025
- 2025Syntactic Control of Language Models by Posterior Inference8 Jun 2025
- 2025Constrained Sampling for Language Models Should Be Easy: An MCMC Perspective6 Jun 2025
- 2025Prompt Candidates, then Distill: A Teacher-Student Framework for LLM-driven Data Annotation4 Jun 2025
- 2025Earley-Driven Dynamic Pruning for Efficient Structured Decoding1 Jun 2025
- 2025Syntactic and Semantic Control of Large Language Models via Sequential Monte Carlo17 Apr 2025
- 2025Fast Controlled Generation from Language Models with Adaptive Weighted Rejection Sampling7 Apr 2025
- 2025LearNAT: Learning NL2SQL with AST-guided Task Decomposition for Large Language Models3 Apr 2025
- 2025Constrained Discrete Diffusion12 Mar 2025
- 2025Considering Length Diversity in Retrieval-Augmented Summarization12 Mar 2025
- 2025textttSEM-CTRL: Semantically Controlled Decoding3 Mar 2025
- 2025Lost in Space: Finding the Right Tokens for Structured Output20 Feb 2025
- 2025SR-LLM: Rethinking the Structured Representation in Large Language Model20 Feb 2025
- 2025Compositional Instruction Following with Language Models and Reinforcement Learning21 Jan 2025
- 2025JSONSchemaBench: A Rigorous Benchmark of Structured Outputs for Language Models18 Jan 2025
- 2024CoT-TL: Low-Resource Temporal Knowledge Representation of Planning Instructions Using Chain-of-Thought Reasoning21 Oct 2024
- 2024Semantic Parsing with Candidate Expressions for Knowledge Base Question Answering1 Oct 2024
- 2024KALE-LM-Chem: Vision and Practice Toward an AI Brain for Chemistry27 Sep 2024
- 2024Understanding Epistemic Language with a Language-augmented Bayesian Theory of Mind21 Aug 2024
- 2024GPT-3 Powered Information Extraction for Building Robust Knowledge Bases31 Jul 2024
- 2024Grammar-based Game Description Generation using Large Language Models24 Jul 2024
- 2024Vector Retrieval with Similarity and Diversity: How Hard Is It?5 Jul 2024
- 2024Learning to Retrieve Iteratively for In-Context Learning20 Jun 2024
- 2024CoXQL: A Dataset for Parsing Explanation Requests in Conversational XAI Systems12 Jun 2024
- 2024Large Language Models as Evaluators for Recommendation Explanations5 Jun 2024
- 2024Grammar-Aligned Decoding31 May 2024
- 2024Potential and Limitations of LLMs in Capturing Structured Semantics: A Case Study on SRL10 May 2024
- 2024Towards Compositionally Generalizable Semantic Parsing in Large Language Models: A Survey15 Apr 2024
- 2024On-the-fly Definition Augmentation of LLMs for Biomedical NER29 Mar 2024
- 2024LARA: Linguistic-Adaptive Retrieval-Augmentation for Multi-Turn Intent Classification25 Mar 2024
- 2024Agentic AI: The Era of Semantic Decoding21 Mar 2024
- 2024LLMs in the Imaginarium: Tool Learning through Simulated Trial and Error7 Mar 2024
- 2024A Comprehensive Survey on Process-Oriented Automatic Text Summarization with Exploration of LLM-Based Methods5 Mar 2024
50 newest of 162 All 162 (JSON)
- 2022PAL: Program-aided Language Modelscited by 635
- 2022The Unreliability of Explanations in Few-shot Prompting for Textual Reasoningcited by 169
- 2022Thinking about GPT-3 In-Context Learning for Biomedical IE? Think Againcited by 83
- 2023Coupling Large Language Models with Logic Programming for Robust and General Reasoning from Textcited by 59
- 2023How Do In-Context Examples Affect Compositional Generalization?cited by 51
- 2026On the Power of (Approximate) Reward Models for Inference-Time Scalingcited by 4
- 2024CoT-TL: Low-Resource Temporal Knowledge Representation of Planning Instructions Using Chain-of-Thought Reasoningcited by 3
- 2025SR-LLM: Rethinking the Structured Representation in Large Language Modelcited by 3
- 2023Mastering the Task of Open Information Extraction with Large Language Models and Consistent Reasoning Environmentcited by 1
- 2026Counterexample Guided Learning in the Large using Reasoning Agentscited by 0
- 2026Position: Quantum Program Generation Must Prioritize Validity Over Probabilistic Scalingcited by 0
- 2026Position: Quantum Program Generation Must Prioritize Validity Over Probabilistic Scaling15 Jul 2026
- 2026Counterexample Guided Learning in the Large using Reasoning Agents9 Jun 2026
- 2026On the Power of (Approximate) Reward Models for Inference-Time Scaling1 Feb 2026
- 2025SR-LLM: Rethinking the Structured Representation in Large Language Model20 Feb 2025
- 2024CoT-TL: Low-Resource Temporal Knowledge Representation of Planning Instructions Using Chain-of-Thought Reasoning21 Oct 2024
- 2023Mastering the Task of Open Information Extraction with Large Language Models and Consistent Reasoning Environment16 Oct 2023
- 2023Coupling Large Language Models with Logic Programming for Robust and General Reasoning from Text15 Jul 2023
- 2023How Do In-Context Examples Affect Compositional Generalization?8 May 2023
- 2022PAL: Program-aided Language Models18 Nov 2022
- 2022The Unreliability of Explanations in Few-shot Prompting for Textual Reasoning6 May 2022
- 2022Thinking about GPT-3 In-Context Learning for Biomedical IE? Think Again16 Mar 2022
- 2024LLMs in the Imaginarium: Tool Learning through Simulated Trial and Errorcited by 19
- 2024Agentic AI: The Era of Semantic Decodingcited by 1
- 2025Infherno: End-to-end Agent-based FHIR Resource Synthesis from Free-form Clinical Notescited by 1
- 2026GlossoGen: Emergent Language in Complex Multi-Agent LLM Interactionscited by 1
- 2026GlossoGen: Emergent Language in Complex Multi-Agent LLM Interactions1 Sep 2026
- 2025Infherno: End-to-end Agent-based FHIR Resource Synthesis from Free-form Clinical Notes16 Jul 2025
- 2024Agentic AI: The Era of Semantic Decoding21 Mar 2024
- 2024LLMs in the Imaginarium: Tool Learning through Simulated Trial and Error7 Mar 2024
- 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,222
- 2021Learning To Retrieve Prompts for In-Context Learningcited by 641
- 2021Recent Advances in Natural Language Processing via Large Pre-Trained Language Models: A Surveycited by 457
- 2023Large Language Models for Software Engineering: A Systematic Literature Reviewcited by 389
- 2022RARR: Researching and Revising What Language Models Say, Using Language Modelscited by 286
- 2022UnifiedSKG: Unifying and Multi-Tasking Structured Knowledge Grounding with Text-to-Text Language Modelscited by 231
- 2022Optimizing Prompts for Text-to-Image Generationcited by 204
- 2023Grammar-Constrained Decoding for Structured NLP Tasks without Finetuningcited by 186
- 2022Synchromesh: Reliable code generation from pre-trained language modelscited by 156
- 2022Prompting Is Programming: A Query Language for Large Language Modelscited by 110
- 2024A Comprehensive Survey on Process-Oriented Automatic Text Summarization with Exploration of LLM-Based Methodscited by 101
- 2022Compositional Semantic Parsing with Large Language Modelscited by 95
12 most cited of 142 All 142 (JSON)
- 2026LabGuard: Grounding Natural-Language Laboratory Rules into Runtime Guards for Embodied Laboratory Agents30 Jun 2026
- 2026Mitigating Bias in Locally Constrained Decoding via Tractable Proposals1 Jun 2026
- 2026DisasterBench: Benchmarking LLM Planning under Typed Tool Interface Constraints27 May 2026
- 2026The Silent Vote: Improving Zero-Shot LLM Reliability by Aggregating Semantic Neighborhoods10 May 2026
- 2026Shaping Schema via Language Representation as the Next Frontier for LLM Intelligence Expanding10 May 2026
- 2026Prefix Parsing is Just Parsing23 Apr 2026
- 2026DALM: A Domain-Algebraic Language Model via Three-Phase Structured Generation17 Apr 2026
- 2026Attention Meets Reachability: Structural Equivalence and Efficiency in Grammar-Constrained LLM Decoding4 Mar 2026
- 2026Suffix-Constrained Greedy Search Algorithms for Causal Language Models1 Mar 2026
- 2026Schema-Grounded LLM Extraction for FHIR Patient Digital Twins9 Jan 2026
- 2025STARE at the Structure: Steering ICL Exemplar Selection with Structural Alignment28 Aug 2025
- 2025Multilingual Datasets for Custom Input Extraction and Explanation Requests Parsing in Conversational XAI Systems20 Aug 2025
12 newest of 142 All 142 (JSON)