Skip to main content
QUICK REVIEW

[Paper Review] On The Ingredients of an Effective Zero-shot Semantic Parser

Pengcheng Yin, John Wieting|arXiv (Cornell University)|Oct 15, 2021
Natural Language Processing TechniquesComputer Science7 citations
TL;DR

This paper proposes a zero-shot semantic parser that reduces distributional gaps between synthetic training data and real user utterances by using a compact, domain-adapted grammar, stronger paraphrasers, and efficient sampling of high-likelihood canonical examples. The model achieves state-of-the-art performance on Scholar and Geo benchmarks with zero labeled training data, outperforming supervised methods that require manual annotation.

ABSTRACT

Semantic parsers map natural language utterances into meaning representations (e.g., programs). Such models are typically bottlenecked by the paucity of training data due to the required laborious annotation efforts. Recent studies have performed zero-shot learning by synthesizing training examples of canonical utterances and programs from a grammar, and further paraphrasing these utterances to improve linguistic diversity. However, such synthetic examples cannot fully capture patterns in real data. In this paper we analyze zero-shot parsers through the lenses of the language and logical gaps (Herzig and Berant, 2019), which quantify the discrepancy of language and programmatic patterns between the canonical examples and real-world user-issued ones. We propose bridging these gaps using improved grammars, stronger paraphrasers, and efficient learning methods using canonical examples that most likely reflect real user intents. Our model achieves strong performance on two semantic parsing benchmarks (Scholar, Geo) with zero labeled data.

Motivation & Objective

  • To address the limitations of existing zero-shot semantic parsers that rely on synthetic data with distributional mismatches to real user utterances.
  • To reduce the language gap by generating more idiomatic and diverse paraphrases using stronger paraphrasers and domain-specific grammar rules.
  • To mitigate the logical gap by sampling only the most likely canonical examples using pre-trained language model probabilities, avoiding exponential growth in training data.
  • To demonstrate that a compact, expressive grammar can outperform large, hand-curated grammars in zero-shot semantic parsing.
  • To achieve strong zero-shot performance without any labeled training or validation data, surpassing supervised baselines.

Proposed method

  • Design a small, expressive synchronous context-free grammar (SCFG) with 46 domain-general and a few domain-specific production rules to better capture idiomatic language patterns.
  • Use pre-trained language models to estimate the likelihood of canonical utterance-program pairs, enabling efficient sampling of high-probability, realistic examples.
  • Apply neural paraphrasing models to generate linguistically diverse variants of canonical utterances, increasing coverage of natural language variation.
  • Filter noisy or low-quality paraphrases using a parser trained on previous iterations, improving data quality iteratively.
  • Train the semantic parser end-to-end on the filtered, paraphrased synthetic data, using only the grammar and language model probabilities.
  • Iteratively refine the parser by retraining on newly generated, high-quality paraphrased examples, improving generalization to real user utterances.

Experimental results

Research questions

  • RQ1Can a compact, domain-adapted grammar reduce the language gap between synthetic and real user utterances in zero-shot semantic parsing?
  • RQ2Can using language model probabilities to sample high-likelihood canonical examples effectively close the logical gap without exhaustive enumeration?
  • RQ3To what extent can stronger paraphrasers and efficient filtering improve zero-shot performance compared to manual or less expressive methods?
  • RQ4Does a zero-shot parser trained on synthetic data alone outperform supervised baselines that require labeled data?
  • RQ5How do language and logical gaps jointly affect the generalization of zero-shot semantic parsers on real-world benchmarks?

Key findings

  • The proposed model achieves state-of-the-art performance on the Scholar and Geo benchmarks, outperforming supervised methods like OverNight and Granno that require manual annotation.
  • The use of a compact, domain-adapted grammar with only 46 general and few domain-specific rules leads to more idiomatic and diverse utterances compared to large, hand-curated grammars.
  • Sampling only the most likely canonical examples using pre-trained language model probabilities reduces the training data size while maintaining high logical coverage and improving model performance.
  • Paraphraser accuracy drops to around 30% on unlikely or unnatural examples, indicating that noisy paraphrases from low-probability samples degrade model performance.
  • The filtering mechanism reduces noisy paraphrases, but false positives remain a challenge for unlikely examples, suggesting room for improvement in naturalness modeling.
  • Despite strong results, the model still struggles with complex logical patterns, indicating that the logical gap remains a significant challenge in zero-shot semantic parsing.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.