Learning to Compose Task-Specific Tree Structures
Preprint
Abstract
For years, recursive neural networks (RvNNs) have been shown to be suitable for representing text into fixed-length vectors and achieved good performance on several natural language processing tasks. However, the main drawback of RvNNs is that they require structured input, which makes data preparation and model implementation hard. In this paper, we propose Gumbel Tree-LSTM, a novel tree-structured long short-term memory architecture that learns how to compose task-specific tree structures only from plain text data efficiently. Our model uses Straight-Through Gumbel-Softmax estimator to decide the parent node among candidates dynamically and to calculate gradients of the discrete decision. We evaluate the proposed model on natural language inference and sentiment analysis, and show that our model outperforms or is at least comparable to previous models. We also find that our model converges significantly faster than other models.Keywords
All Related Versions
This publication has 20 references indexed in Scilit:
- Jointly learning sentence embeddings and syntax with unsupervised Tree-LSTMsNatural Language Engineering, 2019
- Neural Machine Translation with Gumbel-Greedy DecodingProceedings of the AAAI Conference on Artificial Intelligence, 2018
- Neural Tree Indexers for Text Understanding2017
- Delving Deep into Rectifiers: Surpassing Human-Level Performance on ImageNet Classification2015
- Sentence Modeling with Gated Recursive Neural Network2015
- A large annotated corpus for learning natural language inference2015
- Recursive Deep Models for Semantic Compositionality Over a Sentiment Treebank2013
- Composition in Distributional Models of SemanticsCognitive Science, 2010
- Holographic reduced representationsIEEE Transactions on Neural Networks, 1995
- Recognition and parsing of context-free languages in time n3Information and Control, 1967