Elamur Research⌕
☰
home / papers / 2014 / Semantic Parsing via Paraphrasing

Semantic Parsing via Paraphrasing

Summary

A semantic parser maps a natural-language question to a logical form that can be executed against a knowledge base. The central problem is that the same knowledge-base predicate can be phrased in countless ways. Conventional parsers are trained only on text aligned with the knowledge base, so vast amounts of ordinary text go unused. Berant and Liang turn the task around. First, simple deterministic rules start from the entities in the question and construct a set of candidate logical forms. For each form, a "canonical" utterance is generated from the predicate descriptions in Freebase. A paraphrase model then selects the utterance closest in meaning to the input question and returns the corresponding logical form. Paraphrases are scored by two models: an association model built on the PARALEX corpus and a vector space model. They are trained jointly from question–answer pairs alone. The PARASEMPRE system improved on the then state-of-the-art result on WebQuestions and matched the best system on Free917. The work shows that text not aligned with the knowledge base can also help train semantic parsers.

Key points

  • Data: WebQuestions contains 5,810 question–answer pairs drawn from real web queries; Free917 contains 917 questions written by annotators. The knowledge base is Freebase: about 41M entities, 19K properties, and 596M assertions. Logical forms are expressed in simple λ-DCS.
  • Results: on WebQuestions, accuracy improved by about 12% relative to the previous state-of-the-art; on Free917, the result is on par with the best system. Simple baselines (Jaccard, Edit, WDDC06) perform reasonably well on Free917 because the vocabulary of its questions is close to Freebase phrasing, but they are considerably weaker on WebQuestions.
  • Model: a discriminative log-linear model combines paraphrase features with logical-form features. Training uses AdaGrad with L1 regularization and a beam of size 2,000. Candidate logical forms are built from 5 templates, including ones for multi-argument events and for aggregation (count).
  • Resources: the association model relies on the PARALEX monolingual parallel corpus, and the vector space model on word vectors trained on Wikipedia. The PARASEMPRE code has been released as part of SEMPRE (Stanford NLP).
  • Limitations: error analysis revealed spurious word matches in the paraphrase model, entity recognition errors, and a lack of support for temporal information. The approach is designed for factoid questions with limited compositionality.

Our summary of the paper, in our own words — not its text. The work belongs to its authors; read it at the links above.

Fields: Machine translation · AI & machine learning

Topics Knowledge graphs & ontologies Semantic parsing & meaning representation

 Institutions

Cite

Cite as Jonathan Berant and Percy Liang. 2014. Semantic Parsing via Paraphrasing. Proceedings of the 52nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers).

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.3115/v1/p14-1133

@inproceedings{berant2014semantic,
  title = {{Semantic Parsing via Paraphrasing}},
  author = {Jonathan Berant and Percy Liang},
  booktitle = {Proceedings of the 52nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)},
  year = {2014},
  doi = {10.3115/v1/p14-1133},
  url = {https://doi.org/10.3115/v1/p14-1133}
}

References

36 references, 13 of them with a card of ours. ↗ leads to the work, «find» searches for one we have no id for yet.

  1. J. Berant, A. Chou, R. Frostig, and P. Liang. 2013. Semantic parsing on Freebase from question-answer pairs. In Empirical Methods in Natural Language Processing (EMNLP). our card
  2. Q. Cai and A. Yates. 2013. Large-scale semantic parsing via schema matching and lexicon extension. In Association for Computational Linguistics (ACL). find
  3. M. Chang, D. Goldwasser, D. Roth, and V. Srikumar. 2010. Discriminative learning over constrained latent representations. In North American Association for Computational Linguistics (NAACL). find
  4. I. Dagan, D. Roth, M. Sammons, and F. M. Zanzotto. 2013. Recognizing Textual Entailment: Models and Applications. Morgan and Claypool Publishers. find
  5. R. Dale, S. Geldof, and J. Prost. 2003. Coral: using natural language generation for navigational assistance. In Australasian computer science conference, pages 35–44. find
  6. D. Das and N. A. Smith. 2009. Paraphrase identification as probabilistic quasi-synchronous recognition. In Association for Computational Linguistics (ACL), pages 468–476. our card
  7. B. Dolan, C. Quirk, and C. Brockett. 2004. Unsupervised construction of large paraphrase corpora: Exploiting massively parallel news sources. In International Conference on Computational Linguistics (COLING). our card
  8. J. Duchi, E. Hazan, and Y. Singer. 2010. Adaptive subgradient methods for online learning and stochastic optimization. In Conference on Learning Theory (COLT). find
  9. A. Fader, S. Soderland, and O. Etzioni. 2011. Identifying relations for open information extraction. In Empirical Methods in Natural Language Processing (EMNLP). find
  10. A. Fader, L. Zettlemoyer, and O. Etzioni. 2013. Paraphrase-driven learning for open question answering. In Association for Computational Linguistics (ACL). our card
  11. C. Fellbaum. 1998. WordNet: An Electronic Lexical Database. MIT Press. find
  12. J. R. Finkel, T. Grenager, and C. Manning. 2005. Incorporating non-local information into information extraction systems by Gibbs sampling. In Association for Computational Linguistics (ACL), pages 363–370. our card
  13. Google. 2013. Freebase data dumps (2013-06-09). https://developers.google.com/freebase/data. ↗
  14. A. Haghighi, A. Y. Ng, and C. D. Manning. 2005. Robust textual inference via graph matching. In Empirical Methods in Natural Language Processing (EMNLP). find
  15. S. Harabagiu and A. Hickl. 2006. Methods for using textual entailment in open-domain question answering. In Association for Computational Linguistics (ACL). find
  16. M. Heilman and N. A. Smith. 2010. Tree edit models for recognizing textual entailments, paraphrases, and answers to questions. In Human Language Technology and North American Association for Computational Linguistics (HLT/NAACL), pages 1011–1019. our card
  17. E. H. Huang, R. Socher, C. D. Manning, and A. Y. Ng. 2012. Improving word representations via global context and multiple word prototypes. In Association for Computational Linguistics (ACL). our card
  18. D. Klein and C. Manning. 2003. Accurate unlexicalized parsing. In Association for Computational Linguistics (ACL), pages 423–430. our card
  19. T. Kwiatkowski, L. Zettlemoyer, S. Goldwater, and M. Steedman. 2010. Inducing probabilistic CCG grammars from logical form with higher-order unification. In Empirical Methods in Natural Language Processing (EMNLP), pages 1223–1233. find
  20. T. Kwiatkowski, E. Choi, Y. Artzi, and L. Zettlemoyer. 2013. Scaling semantic parsers with on-the-fly ontology matching. In Empirical Methods in Natural Language Processing (EMNLP). our card
  21. P. Liang. 2013. Lambda dependency-based compositional semantics. Technical report, ArXiv. find
  22. T. Lin, Mausam, and O. Etzioni. 2012. Entity linking at web scale. In Knowledge Extraction Workshop (AKBC-WEKEX). find
  23. T. Mikolov, K. Chen, G. Corrado, and Jeffrey. 2013. Efficient estimation of word representations in vector space. Technical report, ArXiv. our card
  24. F. J. Och and H. Ney. 2004. The alignment template approach to statistical machine translation. Computational Linguistics, 30:417–449. find
  25. P. Piwek and K. E. Boyer. 2012. Varieties of question generation: Introduction to this special issue. Dialogue and Discourse, 3:1–9. find
  26. E. Reiter, S. Sripada, J. Hunter, J. Yu, and I. Davy. 2005. Choosing words in computer-generated weather forecasts. Artificial Intelligence, 167:137– 169. find
  27. L. Romano, M. kouylekov, I. Szpektor, I. Dagan, and A. Lavelli. 2006. Investigating a generic paraphrase-based approach for relation extraction. In Proceedings of ECAL. find
  28. R. Socher, E. H. Huang, J. Pennin, C. D. Manning, and A. Ng. 2011. Dynamic pooling and unfolding recursive autoencoders for paraphrase detection. In Advances in Neural Information Processing Systems (NIPS), pages 801–809. find
  29. A. Stern and I. Dagan. 2011. A confidence model for syntactically-motivated entailment proofs. In Recent Advances in Natural Language Processing, pages 455–462. find
  30. K. Toutanova and C. D. Manning. 2003. Feature-rich part-of-speech tagging with a cyclic dependency network. In Human Language Technology and North American Association for Computational Linguistics (HLT/NAACL). our card
  31. R. Turner, Y. Sripada, and E. Reiter. 2009. Generating approximate geographic descriptions. In European Workshop on Natural Language Generation, pages 42–49. find
  32. S. Wan, M. Dras, R. Dale, and C. Paris. 2006. Using dependency-based features to take the “para-farce” out of paraphrase. In Australasian Language Technology Workshop. find
  33. M. Wang and C. D. Manning. 2010. Probabilistic tree-edit models with structured latent variables for textual entailment and question answering. In The International Conference on Computational Linguistics, pages 1164–1172. find
  34. Y. W. Wong and R. J. Mooney. 2007. Learning synchronous grammars for semantic parsing with lambda calculus. In Association for Computational Linguistics (ACL), pages 960–967. our card
  35. M. Zelle and R. J. Mooney. 1996. Learning to parse database queries using inductive logic proramming. In Association for the Advancement of Artificial Intelligence (AAAI), pages 1050–1055. find
  36. L. S. Zettlemoyer and M. Collins. 2005. Learning to map sentences to logical form: Structured classification with probabilistic categorial grammars. In Uncertainty in Artificial Intelligence (UAI), pages 658– 666. our card

↑ back to top

This page in Markdown → https://md.research.elamur.ai/free/en/papers/berant-2014-semantic-parsing-paraphrasing/