HyperAIHyperAI

Command Palette

Search for a command to run...

4 months ago

Improved Semantic Representations From Tree-Structured Long Short-Term Memory Networks

Kai Sheng Tai; Richard Socher; Christopher D. Manning

Improved Semantic Representations From Tree-Structured Long Short-Term Memory Networks

Abstract

Because of their superior ability to preserve sequence information over time, Long Short-Term Memory (LSTM) networks, a type of recurrent neural network with a more complex computational unit, have obtained strong results on a variety of sequence modeling tasks. The only underlying LSTM structure that has been explored so far is a linear chain. However, natural language exhibits syntactic properties that would naturally combine words to phrases. We introduce the Tree-LSTM, a generalization of LSTMs to tree-structured network topologies. Tree-LSTMs outperform all existing systems and strong LSTM baselines on two tasks: predicting the semantic relatedness of two sentences (SemEval 2014, Task 1) and sentiment classification (Stanford Sentiment Treebank).

Code Repositories

inyukwo1/tree-lstm
pytorch
Mentioned in GitHub
rohitguptacs/ReVal
pytorch
Mentioned in GitHub
tensorflow/fold
tf
Mentioned in GitHub
jayanti-prasad/TreeLSTM
pytorch
Mentioned in GitHub
zxk19981227/LSTM-SST
pytorch
Mentioned in GitHub
munashe5/SemanticTreeLSTM
tf
Mentioned in GitHub
EmilReinert/DeepLearningPipelines
pytorch
Mentioned in GitHub
stanfordnlp/treelstm
Official
pytorch
Mentioned in GitHub
vastsak/tree_structured_gru
tf
Mentioned in GitHub
tomekkorbak/treehopper
pytorch
Mentioned in GitHub
Vivswan/Sentiment-Analysis-TreeLSTM
pytorch
Mentioned in GitHub
dasguptar/treelstm.pytorch
pytorch
Mentioned in GitHub
ttpro1995/TreeLSTMSentiment
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
semantic-similarity-on-sickBidirectional LSTM (Tai et al., 2015)
MSE: 0.2736
Pearson Correlation: 0.8567
Spearman Correlation: 0.7966
semantic-similarity-on-sickLSTM (Tai et al., 2015)
MSE: 0.2831
Pearson Correlation: 0.8528
Spearman Correlation: 0.7911
semantic-similarity-on-sickDependency Tree-LSTM (Tai et al., 2015)
MSE: 0.2532
Pearson Correlation: 0.8676
Spearman Correlation: 0.8083
sentiment-analysis-on-sst-2-binary2-layer LSTM [tai2015improved]
Accuracy: 86.3
sentiment-analysis-on-sst-2-binaryConsistency Tree LSTM with tuned Glove vectors [tai2015improved]
Accuracy: 88.0
sentiment-analysis-on-sst-5-fine-grainedConstituency Tree-LSTM
Accuracy: 51.0

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp