Neural Shift-Reduce CCG Semantic Parsing
Paper · 2016 · Dipendra Kumar Misra and Yoav Artzi
Summary
Semantic parsers built on CCG usually rely on CKY-style dynamic programming, which requires a polynomial number of operations and is too slow for large-scale or real-time use. Misra and Artzi propose a shift-reduce CCG semantic parser whose cost grows linearly with sentence length. A multilayer perceptron builds a rich representation of the parser state from simple feature embeddings. Each candidate action is represented cheaply by concatenating embeddings, so the model can score a variable and often large set of actions. Because AMR training data contain sentence–logical form pairs without derivations, the model is bootstrapped from an existing log-linear CKY parser (Artzi et al., 2015). An iterative learner chooses the best tree when many correct ones exist and falls back on partial derivations when the CKY parser produces no parse. On AMR, the new parser matches its CKY teacher while performing far fewer operations, and it remains strong under greedy decoding. This makes CCG semantic parsing practical and offers a general recipe for distilling slow structured predictors into fast ones.
Key points
- On the AMR test set, the shift-reduce ensemble reaches 66.1 SMATCH F1, compared with 66.3 for the CKY parser and 63.2 for JAMR. The state of the art, Wang et al. (2015), scores 70.0.
- The parser uses roughly two orders of magnitude fewer operations than CKY. Its wall-clock time is about 3× faster on average and up to 10× faster on long sentences.
- Greedy decoding with beam 1 yields 59.77 SMATCH F1 on the development set, while the CKY parser with beam 1 drops to 19.2 F1.
- The lexicon has 1.7M entries, so each step involves 146 candidate actions on average and as many as 2K at most. CKY supervision can produce as many as 49K correct parses for a single sentence.
- Learning from partial derivations added 370K features, about 22% of the observed embeddings. The models were built with Deeplearning4j, and the code and pre-trained models are publicly released.
Fields, topics and concepts
📚 Shelves 6The field of science this work belongs to (OpenAlex fields).Computer Science · 16,667 worksArtificial Intelligence · 16,194 worksArts and Humanities · 16,039 worksLanguage and Linguistics · 15,891 worksNeuroscience · 165 worksCognitive Neuroscience · 164 works
🧭 Topics 2Research subjects and languages the work is about.Syntax & grammar formalisms · 214 worksSemantic parsing & meaning representation · 185 works
Cite
Cite as Dipendra Kumar Misra and Yoav Artzi. 2016. Neural Shift-Reduce CCG Semantic Parsing. Proceedings of the 2016 Conference on Empirical Methods in Natural Language Processing.
@inproceedings{misra2016neural,
title = {{Neural Shift-Reduce CCG Semantic Parsing}},
author = {Dipendra Kumar Misra and Yoav Artzi},
booktitle = {Proceedings of the 2016 Conference on Empirical Methods in Natural Language Processing},
year = {2016},
doi = {10.18653/v1/d16-1183},
url = {https://doi.org/10.18653/v1/d16-1183}
}References
- Ammar, W., Mulcaire, G., Ballesteros, M., Dyer, C., and Smith, N. A. (2016). Many languages, one parser. Transactions of the Association for Computational Linguistics.
- Andor, D., Alberti, C., Weiss, D., Severyn, A., Presta, A., Ganchev, K., Petrov, S., and Collins, M. (2016). Globally normalized transition-based neural networks. CoRR.
- Artzi, Y. (2016). Cornell SPF: Cornell semantic parsing framework. ArXiv e-prints. find
- Artzi, Y., Das, D., and Petrov, S. (2014). Learning compact lexicons for CCG semantic parsing. In Proceedings of the Conference on Empirical Methods in Natural Language Processing. find
- Artzi, Y., Lee, K., and Zettlemoyer, L. (2015). Broad-coverage CCG semantic parsing with AMR. In Proceedings of the Conference on Empirical Methods in Natural Language Processing.
- Artzi, Y. and Zettlemoyer, L. S. (2011). Bootstrapping semantic parsers from conversations. In Proceedings of the Conference on Empirical Methods in Natural Language Processing. find
- Artzi, Y. and Zettlemoyer, L. S. (2013). Weakly supervised learning of semantic parsers for mapping instructions to actions. Transactions of the Association for Computational Linguistics, 1.
- Ballesteros, M., Dyer, C., and Smith, N. A. (2015). Improved transition-based parsing by modeling characters instead of words with LSTMs.
- Banarescu, L., Bonial, C., Cai, S., Georgescu, M., Griffitt, K., Hermjakob, U., Knight, K., Koehn, P., Palmer, M., and Schneider, N. (2013). Abstract meaning representation for sembanking. In Proceedings of the Linguistic Annotation Workshop.
- Berant, J. and Liang, P. (2015). Imitation learning of agenda-based semantic parsers. Transactions of the Association for Computational Linguistics, 3.
- Cai, S. and Knight, K. (2013). Smatch: an evaluation metric for semantic feature structures. In Proceedings of the Conference of the Association of Computational Linguistics. find
- Chen, D. and Manning, C. D. (2014). A fast and accurate dependency parser using neural networks. In Proceedings of the Conference on Empirical Methods in Natural Language Processing.
- Collins, M. and Roark, B. (2004). Incremental parsing with the perceptron algorithm. In Proceedings of the Annual Meeting on Association for Computational Linguistics.
- Duchi, J., Hazan, E., and Singer, Y. (2011). Adaptive subgradient methods for online learning and stochastic optimization. The Journal of Machine Learning Research. find
- Dyer, C., Ballesteros, M., Ling, W., Matthews, A., and Smith, N. A. (2015). Transition-based dependency parsing with stack long short-term memory. In Proceedings of the Annual Meeting on Association for Computational Linguistics.
- Flanigan, J., Thomson, S., Carbonell, J., Dyer, C., and Smith, N. A. (2014). A discriminative graph-based parser for the Abstract Meaning Representation. In Proceedings of the Conference of the Association of Computational Linguistics.
- Garg, S., Galstyan, A., Hermjakob, U., and Marcu, D. (2016). Extracting biomolecular interactions using semantic parsing of biomedical text. In Proceedings of the Conference on Artificial Intelligence. find
- Glorot, X. and Bengio, Y. (2010). Understanding the difficulty of training deep feedforward neural networks. In International Conference on Artificial Intelligence and Statistics. find
- Glorot, X., Bordes, A., and Bengio, Y. (2011). Deep sparse rectifier neural networks. In International Conference on Artificial Intelligence and Statistics. find
- Goldberg, Y. and Nivre, J. (2013). Training deterministic parsers with non-deterministic oracles. Transactions of the Association for Computational Linguistics, 1. find
- Hockenmaier, J. and Steedman, M. (2007). CCG-Bank: A corpus of CCG derivations and dependency structures extracted from the Penn Treebank. Computational Linguistics. find
- Kim, J. and Mooney, R. J. (2012). Unsupervised PCFG induction for grounded language learning with highly ambiguous supervision. In Proceedings of the Conference on Empirical Methods in Natural Language Processing. find
- Kiperwasser, E. and Goldberg, Y. (2016). Simple and accurate dependency parsing using bidirectional LSTM feature representations. Transactions of the Association for Computational Linguistics, 4.
- Kushman, N. and Barzilay, R. (2013). Using semantic unification to generate regular expressions from natural language. In Proceedings of the Human Language Technology Conference of the North American Association for Computational Linguistics. find
- Kwiatkowski, T., Zettlemoyer, L. S., Goldwater, S., and Steedman, M. (2010). Inducing probabilistic CCG grammars from logical form with higher-order unification. In Proceedings of the Conference on Empirical Methods in Natural Language Processing. find
- Matuszek, C., FitzGerald, N., Zettlemoyer, L. S., Bo, L., and Fox, D. (2012). A joint model of language and perception for grounded attribute learning. In Proceedings of the International Conference on Machine Learning. find
- Pan, X., Cassidy, T., Hermjakob, U., Ji, H., and Knight, K. (2015). Unsupervised entity linking with Abstract Meaning Representation. In Proceedings of the North American Association for Computational Linguistics. find
- Pust, M., Hermjakob, U., Knight, K., Marcu, D., and May, J. (2015). Parsing english into abstract meaning representation using syntax-based machine translation. In Proceedings of the Conference on Empirical Methods in Natural Language Processing.
- Ratinov, L. and Roth, D. (2009). Design challenges and misconceptions in named entity recognition. In Proceedings of the Conference on Computational Natural Language Learning.
- Kwiatkowski, T., Zettlemoyer, L. S., Goldwater, S., and Steedman, M. (2011). Lexical generalization in CCG grammar induction for semantic parsing. In Proceedings of the Conference on Empirical Methods in Natural Language Processing.
- Sawai, Y., Shindo, H., and Matsumoto, Y. (2015). Semantic structure analysis of noun phrases using abstract meaning representation. In Proceedings of the annual meeting on Association for Computational Linguistics. find
- Lewis, M. and Steedman, M. (2014). A* CCG parsing with a supertag-factored model. In Proceedings of the Conference on Empirical Methods in Natural Language Processing.
- Steedman, M. (1996). Surface Structure and Interpretation. The MIT Press. find
- Liang, P., Jordan, M., and Klein, D. (2009). Learning semantic correspondences with less supervision. In Proceedings of the Joint Conference of the Association for Computational Linguistics the International Joint Conference on Natural Language Processing.
- Wang, C., Xue, N., and Pradhan, S. (2015a). Boosting transition-based amr parsing with refined actions and auxiliary analyzers. In Proceedings of the Annual Meeting of the Association for Computational Linguistics.
- Liu, F., Flanigan, J., Thomson, S., Sadeh, N., and Smith, N. A. (2015). Toward abstractive summarization using semantic representations. In Proceedings of the North American Association for Computational Linguistics.
- Manning, C. D., Surdeanu, M., Bauer, J., Finkel, J., Bethard, S. J., and McClosky, D. (2014). The Stanford CoreNLP natural language processing toolkit. In Proceedings of the Annual Meeting of the Association for Computational Linguistics.
- Steedman, M. (2000). The Syntactic Process. The MIT Press. find
- Wang, C., Xue, N., Pradhan, S., and Pradhan, S. (2015b). A transition-based algorithm for AMR parsing. In Proceedings of the North American Association for Computational Linguistics.
- Weiss, D., Alberti, C., Collins, M., and Petrov, S. (2015). Structured training for neural network transition-based parsing. In Proceedings of the annual meeting on Association for Computational Linguistics. find
- Zettlemoyer, L. S. and Collins, M. (2005). Learning to map sentences to logical form: Structured classification with probabilistic categorial grammars. In Proceedings of the Conference on Uncertainty in Artificial Intelligence.
- Zettlemoyer, L. S. and Collins, M. (2007). Online learning of relaxed CCG grammars for parsing to logical form. In Proceedings of the Joint Conference on Empirical Methods in Natural Language Processing and Computational Natural Language Learning. find
Updated
This page in Markdown → https://md.research.elamur.ai/free/en/papers/misra-2016-neural-shift-reduce-ccg-semantic/