mlsanityData to 7 Oct 2026

Handling Ontology Gaps in Semantic Parsing

arXiv 2406.19537 ↗First posted 27 Jun 2024cs.CL cs.AIcited by 1

Not on the map. Why?

Abstract (arXiv)

The majority of Neural Semantic Parsing (NSP) models are developed with the assumption that there are no concepts outside the ones such models can represent with their target symbols (closed-world assumption). This assumption leads to generate hallucinated outputs rather than admitting their lack of knowledge. Hallucinations can lead to wrong or potentially offensive responses to users. Hence, a mechanism to prevent this behavior is crucial to build trusted NSP-based Question Answering agents. To that end, we propose the Hallucination Simulation Framework (HSF), a general setting for stimulating and analyzing NSP model hallucinations. The framework can be applied to any NSP task with a closed-ontology. Using the proposed framework and KQA Pro as the benchmark dataset, we assess state-of-the-art techniques for hallucination detection. We then present a novel hallucination detection strategy that exploits the computational graph of the NSP model to detect the NSP hallucinations in the presence of ontology gaps, out-of-domain utterances, and to recognize NSP errors, improving the F1-Score respectively by ~21, ~24% and ~1%. This is the first work in closed-ontology NSP that addresses the problem of recognizing ontology gaps. We release our code and checkpoints at https://github.com/amazon-science/handling-ontology-gaps-in-semantic-parsing.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 11 of its 19 references that are in the map. First posted on arXiv 27 Jun 2024.

Builds on

11 of 19 references.

References · 11

  1. 2017Attention Is All You Needcited by 59,932
  2. 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,690
  3. 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
  4. 2015Dropout as a Bayesian Approximation: Representing Model Uncertainty in Deep Learningcited by 4,416
  5. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
  6. 2018Know What You Don't Know: Unanswerable Questions for SQuADcited by 1,538
  7. 2020KQA Pro: A Dataset with Explicit Compositional Programs for Complex Question Answering over Knowledge Basecited by 76
  8. 2020Low-Resource Domain Adaptation for Compositional Task-Oriented Semantic Parsingcited by 72
  9. 2022Graph Pre-training for AMR Parsing and Generationcited by 55
  10. 2018Confidence Modeling for Neural Semantic Parsingcited by 33
  11. 2023A Survey on Out-of-Distribution Detection in NLPcited by 31

Built on by

Cited by year

Citing papers per year: 2025: 1.

1 paper.