Learning to Compose Task-Specific Tree Structures

10 Jul 2017  ·  Jihun Choi, Kang Min Yoo, Sang-goo Lee ·

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.

PDF Abstract

Results from the Paper


Task Dataset Model Metric Name Metric Value Global Rank Benchmark
Natural Language Inference SNLI 300D Gumbel TreeLSTM encoders % Test Accuracy 85.6 # 69
% Train Accuracy 91.2 # 37
Parameters 2.9m # 4

Results from Other Papers


Task Dataset Model Metric Name Metric Value Rank Source Paper Compare
Natural Language Inference SNLI 600D Gumbel TreeLSTM encoders % Test Accuracy 86.0 # 62
% Train Accuracy 93.1 # 25
Parameters 10m # 4

Methods


No methods listed for this paper. Add relevant methods here