Skip to main content
QUICK REVIEW

[Paper Review] Improved Semantic Representations From Tree-Structured Long Short-Term Memory Networks

Kai Sheng Tai, Richard Socher|arXiv (Cornell University)|Feb 28, 2015
Topic ModelingComputer Science16 citations
TL;DR

This paper introduces Tree-LSTM, a tree-structured generalization of Long Short-Term Memory networks that composes hidden states from multiple child nodes using separate gates, enabling better modeling of syntactic structure in sentences. Tree-LSTMs outperform standard sequential LSTMs and existing systems on semantic relatedness and sentiment classification tasks, particularly on longer sentences, due to improved preservation of long-range dependencies through hierarchical composition.

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).

Motivation & Objective

  • To address the limitation of linear-chain LSTMs in capturing syntactic structure and long-range dependencies in natural language.
  • To investigate whether tree-structured composition of hidden states improves sentence representation compared to sequential RNNs.
  • To develop a generalized LSTM architecture that supports arbitrary branching factor trees for NLP tasks.
  • To empirically evaluate Tree-LSTMs on semantic relatedness and sentiment classification, comparing performance against strong baselines.

Proposed method

  • Propose Tree-LSTM as a generalization of standard LSTMs to tree-structured computation graphs, where each internal node combines hidden states from multiple children.
  • Define separate input, forget, and output gates for each child, with child-specific update rules that maintain independent memory states.
  • Use a composition function that aggregates child hidden states and cell states via learned weights and nonlinearities, preserving hierarchical structure.
  • Train the model end-to-end using backpropagation through structure, with syntactic trees derived from dependency parsing.
  • Apply the model to sentence representation tasks using word embeddings as inputs and fine-tune on downstream classification or regression tasks.
  • Use dependency parses to construct tree structures, enabling the model to leverage syntactic syntax for improved semantic modeling.

Experimental results

Research questions

  • RQ1Can a tree-structured LSTM architecture outperform standard sequential LSTMs in modeling sentence semantics?
  • RQ2Does hierarchical composition of hidden states improve the representation of long-range dependencies in sentences?
  • RQ3How does the Tree-LSTM perform on tasks requiring fine-grained semantic understanding, such as semantic relatedness and sentiment classification?
  • RQ4To what extent does tree structure mitigate the vanishing gradient problem in long sequences compared to linear chains?
  • RQ5Is the performance gain of Tree-LSTMs more pronounced on longer or more complex syntactic structures?

Key findings

  • Tree-LSTMs significantly outperform standard sequential LSTMs on the SemEval 2014 Task 1 for semantic relatedness, achieving higher Pearson correlation with gold ratings.
  • On the Stanford Sentiment Treebank, Tree-LSTMs achieve state-of-the-art performance for sentiment classification, surpassing existing systems and LSTM baselines.
  • The Dependency Tree-LSTM model shows strong robustness to sentence length, maintaining high performance on longer sentences (13–15 words) where sequential LSTMs struggle.
  • Tree-LSTMs retrieve semantically related sentences even when word overlap is minimal, indicating effective capture of structural and semantic relationships.
  • The model successfully preserves and emphasizes information from distant nodes in the parse tree, such as retrieving ocean-related sentences despite a depth of 4 from the root.
  • Performance gains are consistent across sentence lengths, suggesting Tree-LSTMs encode structurally meaningful representations beyond just long-range dependencies.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.