Skip to main content
QUICK REVIEW

[Paper Review] Data Recombination for Neural Semantic Parsing

Robin Jia, Percy Liang|arXiv (Cornell University)|Jun 11, 2016
Topic ModelingComputer Science33 references25 citations
TL;DR

This paper introduces data recombination, a framework that enhances neural semantic parsing by injecting structural prior knowledge through a high-precision synchronous context-free grammar (SCFG) derived from training data. The method generates synthetic, recombinant training examples by combining fragments from existing examples, which are then used to train an attention-based sequence-to-sequence RNN with a copying mechanism, achieving state-of-the-art performance on GeoQuery with a 4.3% accuracy gain over baseline models.

ABSTRACT

Modeling crisp logical regularities is crucial in semantic parsing, making it difficult for neural models with no task-specific prior knowledge to achieve good results. In this paper, we introduce data recombination, a novel framework for injecting such prior knowledge into a model. From the training data, we induce a high-precision synchronous context-free grammar, which captures important conditional independence properties commonly found in semantic parsing. We then train a sequence-to-sequence recurrent network (RNN) model with a novel attention-based copying mechanism on datapoints sampled from this grammar, thereby teaching the model about these structural properties. Data recombination improves the accuracy of our RNN model on three semantic parsing datasets, leading to new state-of-the-art performance on the standard GeoQuery dataset for models with comparable supervision.

Motivation & Objective

  • To address the limitation of neural models in capturing crisp logical regularities in semantic parsing, which hinders performance without task-specific inductive biases.
  • To develop a generic framework that injects prior knowledge into domain-general neural models without requiring hand-crafted features or lexicons.
  • To improve generalization and accuracy in semantic parsing by augmenting training data with structurally valid, recombinant examples derived from a grammar induced from the original dataset.
  • To demonstrate that training on longer, more complex recombinant examples improves model performance even when test data is shorter.

Proposed method

  • Induce a high-precision synchronous context-free grammar (SCFG) from the original training data to capture conditional independence and compositional structure in logical forms.
  • Use the SCFG to sample new, synthetic training examples by recombining fragments from different original examples, creating 'recombinant' data points.
  • Train a sequence-to-sequence RNN with an attention-based copying mechanism on both original and recombinant examples to improve generalization and handling of rare or OOV tokens.
  • Apply two abstraction strategies—AbsWholePhrases and AbsEntities—to generate grammars that preserve structural regularities while enabling controlled recombination.
  • Fix the recombinant examples across all training epochs to ensure consistent evaluation and avoid data leakage.
  • Evaluate the framework on three semantic parsing benchmarks: GeoQuery, ATIS, and Overnight, using standard splits and metrics.

Experimental results

Research questions

  • RQ1Can a high-precision synchronous context-free grammar be effectively induced from semantic parsing training data to model structural regularities?
  • RQ2Does generating synthetic, recombinant training examples from such a grammar improve the performance of a sequence-to-sequence RNN model in semantic parsing?
  • RQ3To what extent do longer, more complex recombinant examples improve model generalization, even when test examples are shorter?
  • RQ4Can data recombination achieve state-of-the-art performance without relying on a seed lexicon or task-specific features?

Key findings

  • Data recombination improved test accuracy by 4.3 percentage points on the GeoQuery dataset compared to the baseline RNN, achieving new state-of-the-art performance for models without a seed lexicon.
  • The use of recombinant examples led to significant performance gains across all three datasets, with the strongest improvements observed when training on longer, deeper examples.
  • Even though the test set contained only short examples, training on longer recombinant examples yielded better generalization than training on shorter ones, indicating that structural complexity aids learning.
  • The framework demonstrated that combining neural models with structured, symbolic prior knowledge via data recombination enhances performance beyond what is achievable with standard neural training alone.
  • The proposed attention-based copying mechanism effectively handled rare and OOV tokens, particularly when augmented with recombinant data.
  • The induced SCFGs generated examples outside the original test distribution, yet these still improved generalization, suggesting that structural inductive biases help model robustness.

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.