Abstract
Semantic parsing—the task of mapping natural language to machine-readable structured queries—is often hindered by the vast diversity of human expression, known as the lexicosyntactic gap. This paper presents a novel method to bridge this gap by generating diverse paraphrases using latent-variable Probabilistic Context-Free Grammars (L-PCFGs). By sampling from a grammar learned via spectral methods on large-scale question logs, the system increases the probability of generating a phrasing that aligns with a knowledge base's rigid schema. Evaluation on the WebQuestions benchmark demonstrates that this grammar-based approach improves parsing performance over traditional machine translation baselines, particularly in handling structural mismatches.
Introduction: The Lexicosyntactic Gap
The core challenge in open-domain question answering is that humans have countless ways to ask the same question (e.g., "What is the official language of Norway?" vs. "What do they speak in Norway?"), while knowledge bases (KBs) like Freebase store information in a very specific, rigid structure. Traditional semantic parsers often fail when the input phrasing does not align perfectly with the KB's internal schema. This research proposes a "one is enough" strategy: instead of building a single perfect parser, the system generates many syntactically varied paraphrases. If even one paraphrase matches the KB's structure, the system can successfully retrieve the answer.
Methodology: Grammar-Based Paraphrasing
Unlike standard phrase-based Machine Translation (MT) which often swaps synonyms without altering sentence structure, this approach utilizes a grammar-based framework to achieve syntactic diversity.
L-PCFGs and Spectral Learning
The system employs Latent-Variable Probabilistic Context-Free Grammars (L-PCFGs). In these grammars, standard labels (like "Noun Phrase") are augmented with latent states that capture deeper contextual and syntactic information. To estimate these parameters from massive, unaligned question logs (like the Paralex corpus), the authors use spectral learning methods, which avoid the local-optima issues common in traditional Expectation-Maximization (EM) algorithms.
Word Lattices and Controlled Sampling
To generate paraphrases, the system constructs a "word lattice" for the input question—a graph representing possible word sequences. The grammar then samples new sentences constrained by this lattice, allowing for significant structural transformations.
Bridging to Structured Knowledge
By generating a diverse set of candidates, the system can find a phrasing that maps directly to the target semantic representation required by the knowledge base. This target representation defines the entities and relations (e.g., "speak.arg1", "speak.in") that the parser must identify to answer the question correctly.
Evaluation and Results
The system was evaluated on the WebQuestions benchmark using F1 scores. The results indicate that grammar-based paraphrasing provides a measurable advantage over baseline methods:
- Baseline (No Paraphrasing): 45.0 F1
- MT-based Paraphrasing: 47.1 F1
- L-PCFG (Naive Lattice): 47.2 F1
- L-PCFG (PPDB-augmented Lattice): 47.7 F1
While the numerical improvement is modest, error analysis shows that the L-PCFG models are significantly more robust to structural mismatches than MT baselines. The "Naive" L-PCFG model, which uses no external paraphrase database, still outperformed the MT baseline, highlighting the power of grammar-based sampling.
Conclusion and Future Work
This research demonstrates that generating syntactically diverse paraphrases via L-PCFGs is an effective strategy for improving semantic parsing. By learning from large-scale monolingual data, the system avoids the need for expensive hand-annotated grammars or bilingual corpora. Future work may focus on improving entity resolution and increasing the number of latent semantic states to better capture the vast topical array found in massive knowledge bases like Freebase.
Summary updated