Zero and Few-shot Semantic Parsing with Ambiguous Inputs
Not on the map. Why?
Abstract (arXiv)
Despite the frequent challenges posed by ambiguity when representing meaning via natural language, it is often ignored or deliberately removed in tasks mapping language to formally-designed representations, which generally assume a one-to-one mapping between linguistic and formal representations. We attempt to address this shortcoming by introducing AmP, a framework, dataset, and challenge for translating ambiguous natural language to formal representations like logic and code. We define templates and generate data for five well-documented linguistic ambiguities. Using AmP, we investigate how several few-shot text-to-code systems handle ambiguity, introducing three new metrics. We find that large pre-trained models perform poorly at capturing the distribution of possible meanings without deliberate instruction. However, models are able to capture the distribution well when ambiguity is attested in their inputs. These results motivate a call for including ambiguity explicitly in datasets and promote considering the distribution of possible outputs when evaluating systems. Data and code: https://github.com/esteng/ambiguous_parsing
Key facts. Cited by 16 papers in the map (data through 7 Oct 2026). Builds on 29 of its 65 references that are in the map. First posted on arXiv 1 Jun 2023.
Builds on
29 of 65 references.
References · 29
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,072
- 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,747
- 2018Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Taskcited by 1,120
- 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 876
- 2023Augmented Language Models: a Surveycited by 398
- 2020AmbigQA: Answering Ambiguous Open-domain Questionscited by 385
- 2020COGS: A Compositional Generalization Challenge Based on Semantic Interpretationcited by 260
- 2022TALM: Tool Augmented Language Modelscited by 197
- 2021Constrained Language Models Yield Few-Shot Semantic Parserscited by 162
- 2016Language to Logical Form with Neural Attentioncited by 158
17 more
- 2020What Can We Learn from Collective Human Opinions on Natural Language Inference Data?cited by 148
- 2023We're Afraid Language Models Aren't Modeling Ambiguitycited by 124
- 2021Few-Shot Semantic Parsing with Language Models Trained On Codecited by 50
- 2019Uncertain Natural Language Inferencecited by 35
- 2019Why Does a Visual Question Have Different Answers?cited by 34
- 2022Calibrated Interpretation: Confidence Estimation in Semantic Parsingcited by 33
- 2019Broad-Coverage Semantic Parsing as Transductioncited by 32
- 2018Efficient Online Scalar Annotation with Bounded Supportcited by 27
- 2022Tackling Ambiguity with Images: Improved Multimodal Machine Translation and Contrastive Evaluationcited by 26
- 2023ReCOGS: How Incidental Details of a Logical Form Overshadow an Evaluation of Semantic Interpretationcited by 24
- 2019Fine-Grained Temporal Relation Extractioncited by 20
- 2022Why Did the Chicken Cross the Road? Rephrasing and Analyzing Ambiguous Questions in VQAcited by 13
- 2023AmbiCoref: Evaluating Human and Model Sensitivity to Ambiguous Coreferencecited by 12
- 2016Do You See What I Mean? Visual Resolution of Linguistic Ambiguitiescited by 9
- 2019Practical Semantic Parsing for Spoken Language Understandingcited by 7
- 2022Is the Elephant Flying? Resolving Ambiguities in Text-to-Image Generative Modelscited by 7
- 2023Did You Mean...? Confidence-based Trade-offs in Semantic Parsingcited by 5
Built on by
Citing papers per year: 2023: 1; 2024: 6; 2025: 7; 2026: 2.
16 papers.
Sort:
By area:
- 2023Uncertainty in Natural Language Generation: From Theory to Applicationscited by 61
- 2025Retrieval-Augmented Generation with Conflicting Evidencecited by 60
- 2024Grammar-Aligned Decodingcited by 54
- 2024AMBROSIA: A Benchmark for Parsing Ambiguous Questions into Database Queriescited by 32
- 2025Constrained Sampling for Language Models Should Be Easy: An MCMC Perspectivecited by 14
- 2025Disambiguate First, Parse Later: Generating Interpretations for Ambiguity Resolution in Semantic Parsingcited by 12
- 2024Scope Ambiguities in Large Language Modelscited by 11
- 2024Do Pre-Trained Language Models Detect and Understand Semantic Underspecification? Ask the DUST!cited by 7
- 2024Text-to-SQL Calibration: No Need to Ask -- Just Rescale Model Probabilitiescited by 7
- 2024Superlatives in Context: Modeling the Implicit Semantics of Superlativescited by 5
- 2025Trick or Neat: Adversarial Ambiguity and Language Model Evaluationcited by 3
- 2026Unified Multimodal Uncertain Inferencecited by 3
4 more
- 2025Language Models Identify Ambiguities and Exploit Loopholescited by 2
- 2025Ambiguity in LLMs is a concept missing problemcited by 0
- 2025Can LLMs Detect Ambiguous Plural Reference? An Analysis of Split-Antecedent and Mereological Referencecited by 0
- 2026Small Language Model Helps Resolve Semantic Ambiguity of LLM Promptcited by 0
- 2026Small Language Model Helps Resolve Semantic Ambiguity of LLM Prompt25 Apr 2026
- 2026Unified Multimodal Uncertain Inference9 Apr 2026
- 2025Can LLMs Detect Ambiguous Plural Reference? An Analysis of Split-Antecedent and Mereological Reference6 Oct 2025
- 2025Language Models Identify Ambiguities and Exploit Loopholes27 Aug 2025
- 2025Constrained Sampling for Language Models Should Be Easy: An MCMC Perspective6 Jun 2025
- 2025Trick or Neat: Adversarial Ambiguity and Language Model Evaluation1 Jun 2025
- 2025Ambiguity in LLMs is a concept missing problem16 May 2025
- 2025Retrieval-Augmented Generation with Conflicting Evidence17 Apr 2025
- 2025Disambiguate First, Parse Later: Generating Interpretations for Ambiguity Resolution in Semantic Parsing25 Feb 2025
- 2024Text-to-SQL Calibration: No Need to Ask -- Just Rescale Model Probabilities23 Nov 2024
- 2024AMBROSIA: A Benchmark for Parsing Ambiguous Questions into Database Queries27 Jun 2024
- 2024Grammar-Aligned Decoding31 May 2024
4 more
- 2024Superlatives in Context: Modeling the Implicit Semantics of Superlatives31 May 2024
- 2024Scope Ambiguities in Large Language Models5 Apr 2024
- 2024Do Pre-Trained Language Models Detect and Understand Semantic Underspecification? Ask the DUST!19 Feb 2024
- 2023Uncertainty in Natural Language Generation: From Theory to Applications28 Jul 2023
- 2025Ambiguity in LLMs is a concept missing problemcited by 0
- 2025Ambiguity in LLMs is a concept missing problem16 May 2025
- 2025Retrieval-Augmented Generation with Conflicting Evidencecited by 60
- 2025Retrieval-Augmented Generation with Conflicting Evidence17 Apr 2025
- 2023Uncertainty in Natural Language Generation: From Theory to Applicationscited by 61
- 2024Grammar-Aligned Decodingcited by 54
- 2024AMBROSIA: A Benchmark for Parsing Ambiguous Questions into Database Queriescited by 32
- 2025Constrained Sampling for Language Models Should Be Easy: An MCMC Perspectivecited by 14
- 2025Disambiguate First, Parse Later: Generating Interpretations for Ambiguity Resolution in Semantic Parsingcited by 12
- 2024Scope Ambiguities in Large Language Modelscited by 11
- 2024Do Pre-Trained Language Models Detect and Understand Semantic Underspecification? Ask the DUST!cited by 7
- 2024Text-to-SQL Calibration: No Need to Ask -- Just Rescale Model Probabilitiescited by 7
- 2024Superlatives in Context: Modeling the Implicit Semantics of Superlativescited by 5
- 2025Trick or Neat: Adversarial Ambiguity and Language Model Evaluationcited by 3
- 2026Unified Multimodal Uncertain Inferencecited by 3
- 2025Language Models Identify Ambiguities and Exploit Loopholescited by 2
12 most cited of 14 All 14 (JSON)
- 2026Small Language Model Helps Resolve Semantic Ambiguity of LLM Prompt25 Apr 2026
- 2026Unified Multimodal Uncertain Inference9 Apr 2026
- 2025Can LLMs Detect Ambiguous Plural Reference? An Analysis of Split-Antecedent and Mereological Reference6 Oct 2025
- 2025Language Models Identify Ambiguities and Exploit Loopholes27 Aug 2025
- 2025Constrained Sampling for Language Models Should Be Easy: An MCMC Perspective6 Jun 2025
- 2025Trick or Neat: Adversarial Ambiguity and Language Model Evaluation1 Jun 2025
- 2025Disambiguate First, Parse Later: Generating Interpretations for Ambiguity Resolution in Semantic Parsing25 Feb 2025
- 2024Text-to-SQL Calibration: No Need to Ask -- Just Rescale Model Probabilities23 Nov 2024
- 2024AMBROSIA: A Benchmark for Parsing Ambiguous Questions into Database Queries27 Jun 2024
- 2024Grammar-Aligned Decoding31 May 2024
- 2024Superlatives in Context: Modeling the Implicit Semantics of Superlatives31 May 2024
- 2024Scope Ambiguities in Large Language Models5 Apr 2024
12 newest of 14 All 14 (JSON)