Transition-Based Dependency Parsing with Stack Long Short-Term Memory
What it is about
The paper introduces the stack LSTM: an LSTM with a stack pointer, so that pushes and pops take constant time and the network keeps a vector summary of the current stack contents. The arc-standard parser keeps three such stacks, for the buffer, for the partial trees (which are composed by a recursive network) and for the action history, so the classifier sees the whole parser state rather than a few words near the top. The model is trained by backpropagation through the whole parse. On the English Penn Treebank with Stanford dependencies it reaches 93.1 UAS and 90.9 LAS on the test set, against 91.8 and 89.6 for the Chen and Manning parser. On Chinese (CTB5) it reaches 87.2 UAS and 85.7 LAS. Ablations show that predicted POS tags add little, and that composed representations of tree fragments beat representations of head words alone (92.2 UAS without composition, against 93.1 with it).
Ideas
- I1. en/src/parse.rs: add perceptron features over the last three transitions and the stack summary of the head word, then measure LAS on EWT dev through
en parse-eval, together with tokens per second on CPU, since speed is a Mova requirement. - I2. en/src/parse.rs: add features for the leftmost and rightmost dependents of the top two stack items (a composed view of partial trees, instead of head words alone) and measure LAS on EWT dev against the current templates.
- I3. en parse-eval: run EWT dev with gold tags and with ptag tags, and report the LAS gap; the paper's POS ablation suggests the gap is small, which would let tagging run after parsing and save time.
For Mova
The ideas touch the feature templates of en/src/parse.rs and the tag input from en/src/ptag.rs. The chapters are languages/en/20-syntax-overview, languages/en/21-clause-structure and languages/en/24-coordination-subordination, where the parser state matters most. Measure first I3, a single run on the existing parser, which says whether tags are worth their cost before any new feature is added.
Cite
@inproceedings{dyer2015transition,
title = {{Transition-Based Dependency Parsing with Stack Long Short-Term Memory}},
author = {Dyer, Chris and Ballesteros, Miguel and Ling, Wang and Matthews, Austin and Smith, Noah A.},
booktitle = {Proceedings of the 53rd Annual Meeting of the Association for Computational Linguistics and the 7th International Joint Conference on Natural Language Processing (Volume 1: Long Papers)},
year = {2015},
doi = {10.3115/v1/p15-1033},
eprint = {1505.08075},
archivePrefix = {arXiv},
url = {https://doi.org/10.3115/v1/p15-1033}
}References
- Miguel Ballesteros and Bernd Bohnet. 2014. Automatic feature selection for agenda-based dependency parsing. In Proc. COLING. find
- Miguel Ballesteros and Joakim Nivre. 2014. MaltOptimizer: Fast and effective parser optimization. Natural Language Engineering. find
- Mohit Bansal, Kevin Gimpel, and Karen Livescu. 2014. Tailoring continuous word representations for dependency parsing. In Proc. ACL. find
- Bernd Bohnet and Joakim Nivre. 2012. A transition-based system for joint part-of-speech tagging and labeled non-projective dependency parsing. In Proc. EMNLP. find
- Danqi Chen and Christopher D. Manning. 2014. A fast and accurate dependency parser using neural networks. In Proc. EMNLP. find our card
- Wenliang Chen, Yue Zhang, and Min Zhang. 2014. Feature embedding for dependency parsing. In Proc. COLING. find
- Jinho D. Choi and Andrew McCallum. Transition-based dependency parsing with selectional branching. In Proc. ACL. find
- Sreerupa Das, C. Lee Giles, and Guo-Zheng Sun. 1992. Learning context-free grammars: Capabilities and limitations of a recurrent neural network with an external stack memory. In Proc. Cognitive Science Society. find
- Marie-Catherine de Marneffe, Bill MacCartney, and Christopher D. Manning. 2006. Generating typed dependency parses from phrase structure parses. In Proc. LREC. find our card
- Xavier Glorot and Yoshua Bengio. 2010. Understanding the difficulty of training deep feedforward neural networks. In Proc. ICML. find
- Xavier Glorot, Antoine Bordes, and Yoshua Bengio. 2011. Deep sparse rectifier neural networks. In Proc. AISTATS. find
- Yoav Goldberg, Kai Zhao, and Liang Huang. 2013. Efficient implementation of beam-search incremental parsers. In Proc. ACL. find
- Alex Graves and Jürgen Schmidhuber. 2005. Frame-wise phoneme classification with bidirectional LSTM networks. In Proc. IJCNN. find
- Alex Graves, Santiago Fernández, and Jürgen Schmidhuber. 2007. Multi-dimensional recurrent neural networks. In Proc. ICANN. find
- Alex Graves, Greg Wayne, and Ivo Danihelka. 2014. Neural Turing machines. CoRR, abs/1410.5401. find
- Alex Graves. 2013. Generating sequences with recurrent neural networks. CoRR, abs/1308.0850. find
- Edward Grefenstette, Karl Moritz Hermann, Georgiana Dinu, and Phil Blunsom. 2014. New directions in vector space models of meaning. ACL Tutorial. find
- James Henderson. 2004. Discriminative training of a neural network discriminative parser. In Proc. ACL. find
- Karl Moritz Hermann and Phil Blunsom. 2013. The role of syntax in vector space models of compositional semantics. In Proc. ACL. find
- Sepp Hochreiter and Jürgen Schmidhuber. 1997. Long short-term memory. Neural Computation, 9(8):1735–1780. find
- Liang Huang and David Chiang. 2008. Forest reranking: Discriminative parsing with non-local features. In Proc. ACL. find
- Phong Le and Willem Zuidema. 2014. Inside-outside recursive neural network model for dependency parsing. In Proc. EMNLP. find
- Wang Ling, Chris Dyer, Alan Black, and Isabel Trancoso. 2015. Two/too simple adaptations of word2vec for syntax problems. In Proc. NAACL. find
- André F. T. Martins, Noah A. Smith, Eric P. Xing, Pe-2013. dro M. Q. Aguiar, and Mário A. T. Figueiredo. 2010. Turboparsers: Dependency parsing by approximate variational inference. In Proc. EMNLP. find
- Marshall R. Mayberry and Risto Miikkulainen. 1999. S ARD S RN : A neural network shift-reduce parser. In Proc. IJCAI. find
- Risto Mikkulainen. 1996. Subsymbolic case-role analysis of sentences with embedded clauses. Cognitive Science, 20:47–73. find
- Tomas Mikolov, Ilya Sutskever, Kai Chen, Greg S Corrado, and Jeff Dean. 2013. Distributed representations of words and phrases and their compositionality. In Proc. NIPS. find
- Joakim Nivre. 2003. An efficient algorithm for projective dependency parsing. In Proc. IWPT. find our card
- Joakim Nivre. 2004. Incrementality in deterministic dependency parsing. In Proceedings of the Workshop on Incremental Parsing: Bringing Engineering and Cognition Together. find our card
- Joakim Nivre. 2007. Incremental non-projective dependency parsing. In Proc. NAACL. find
- Joakim Nivre. 2008. Algorithms for deterministic incremental dependency parsing. Computational Linguistics, 34:4:513–553. MIT Press. find our card
- Joakim Nivre. 2009. Non-projective dependency parsing in expected linear time. In Proc. ACL. find
- Razvan Pascanu, Çaglar Gülçehre, Kyunghyun Cho, and Yoshua Bengio. 2014. How to construct deep recurrent neural networks. In Proc. ICLR. find
- Francesco Sartorio, Giorgio Satta, and Joakim Nivre. 2013. A transition-based dependency parser using a dynamic parsing strategy. In Proc. ACL. find
- Richard Socher, Eric H. Huang, Jeffrey Pennington, Andrew Y. Ng, and Christopher D. Manning. 2011. Dynamic pooling and unfolding recursive autoencoders for paraphrase detection. In Proc. NIPS. find
- Richard Socher, John Bauer, Christopher D. Manning, and Andrew Y. Ng. 2013a. Parsing with compositional vector grammars. In Proc. ACL. find
- Richard Socher, Andrej Karpathy, Quoc V. Le, Christopher D. Manning, and Andrew Y. Ng. 2013b. Grounded compositional semantics for finding and describing images with sentences. TACL. find
- Richard Socher, Alex Perelygin, Jean Y. Wu, Jason Chuang, Christopher D. Manning, Andrew Y. Ng, and Christopher Potts. 2013c. Recursive deep models for semantic compositionality over a sentiment treebank. In Proc. EMNLP. find
- Pontus Stenetorp. 2013. Transition-based dependency parsing using recursive neural networks. In Proc. NIPS Deep Learning Workshop. find
- Ilya Sutskever, Oriol Vinyals, and Quoc V. Le. 2014. Sequence to sequence learning with neural networks. In Proc. NIPS. find
- Ivan Titov and James Henderson. 2007. Constituent parsing with incremental sigmoid belief networks. In Proc. ACL. find
- Kristina Toutanova, Dan Klein, Christopher D. Manning, and Yoram Singer. 2003. Feature-rich part-of-speech tagging with a cyclic dependency network. In Proc. NAACL. find
- Huihsin Tseng, Pichuan Chang, Galen Andrew, Daniel Jurafsky, and Christopher Manning. 2005. A conditional random field word segmenter for SIGHAN bakeoff 2005. In Proc. Fourth SIGHAN Workshop on Chinese Language Processing. find
- Oriol Vinyals, Lukasz Kaiser, Terry Koo, Slav Petrov, Ilya Sutskever, and Geoffrey Hinton. 2015. Grammar as a foreign language. In Proc. ICLR. find
- David Weiss, Christopher Alberti, Michael Collins, and Slav Petrov. 2015. Structured training for neural network transition-based parsing. In Proc. ACL. find
- Jason Weston, Sumit Chopra, and Antoine Bordes. 2015. Memory networks. In Proc. ICLR. find
- Hiroyasu Yamada and Yuji Matsumoto. 2003. Statistical dependency analysis with support vector machines. In Proc. IWPT. find our card
- Wojciech Zaremba and Ilya Sutskever. 2015. Reinforcement learning neural Turing machines. ArXiv e-prints, May. find
- Yue Zhang and Stephen Clark. 2008. A tale of two parsers: Investigating and combining graph-based and transition-based dependency parsing. In Proc. EMNLP. find our card
- Yue Zhang and Joakim Nivre. 2011. Transition-based dependency parsing with rich non-local features. In Proc. ACL. find
- Yuan Zhang, Tao Lei, Regina Barzilay, and Tommi Jaakkola. 2014. Greed is good if randomized: New inference for dependency parsing. In Proc. EMNLP. find
This page in Markdown → https://md.mova.elamur.ai/free/en/docs/papers/missing-2015-dyer-transition-based-dependency-parsing-stack/