Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Learning to Compose Task-Specific Tree Structures

About

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.

Jihun Choi, Kang Min Yoo, Sang-goo Lee• 2017

Related benchmarks

TaskDatasetResultRank
Natural Language InferenceSNLI (test)
Accuracy86
681
Natural Language InferenceSNLI (train)
Accuracy93.1
154
Sentiment ClassificationStanford Sentiment Treebank SST-2 (test)
Accuracy90.7
99
Natural Language InferenceSNLI 1.0 (test)
Accuracy86
19
Sentiment ClassificationSST2 phrase
Accuracy90.7
16
Sentiment ClassificationStanford Sentiment Treebank SST-5 (test)
Accuracy53.7
10
Natural Language InferenceSNLI 1.0 (train)
Accuracy93.1
9
Showing 7 of 7 rows

Other info

Follow for update