TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/Learning Semantic Parsers from Denotations with Latent Str...

Learning Semantic Parsers from Denotations with Latent Structured Alignments and Abstract Programs

Bailin Wang, Ivan Titov, Mirella Lapata

2019-09-09IJCNLP 2019 11Semantic Parsing
PaperPDFCode(official)

Abstract

Semantic parsing aims to map natural language utterances onto machine interpretable meaning representations, aka programs whose execution against a real-world environment produces a denotation. Weakly-supervised semantic parsers are trained on utterance-denotation pairs treating programs as latent. The task is challenging due to the large search space and spuriousness of programs which may execute to the correct answer but do not generalize to unseen examples. Our goal is to instill an inductive bias in the parser to help it distinguish between spurious and correct programs. We capitalize on the intuition that correct programs would likely respect certain structural constraints were they to be aligned to the question (e.g., program fragments are unlikely to align to overlapping text spans) and propose to model alignments as structured latent variables. In order to make the latent-alignment framework tractable, we decompose the parsing task into (1) predicting a partial "abstract program" and (2) refining it while modeling structured alignments with differential dynamic programming. We obtain state-of-the-art performance on the WIKITABLEQUESTIONS and WIKISQL datasets. When compared to a standard attention baseline, we observe that the proposed structured-alignment mechanism is highly beneficial.

Results

TaskDatasetMetricValueModel
Semantic ParsingWikiTableQuestionsAccuracy (Dev)43.7Structured Attention
Semantic ParsingWikiTableQuestionsAccuracy (Test)44.5Structured Attention

Related Papers

Where, What, Why: Towards Explainable Driver Attention Prediction2025-06-29Beyond Chains: Bridging Large Language Models and Knowledge Bases in Complex Question Answering2025-05-20Creativity or Brute Force? Using Brainteasers as a Window into the Problem-Solving Abilities of Large Language Models2025-05-16Sigma: A dataset for text-to-code semantic parsing with statistical analysis2025-04-05Diverse In-Context Example Selection After Decomposing Programs and Aligned Utterances Improves Semantic Parsing2025-04-04ZOGRASCOPE: A New Benchmark for Property Graphs2025-03-07Geo-Semantic-Parsing: AI-powered geoparsing by traversing semantic knowledge graphs2025-03-03Disambiguate First Parse Later: Generating Interpretations for Ambiguity Resolution in Semantic Parsing2025-02-25