Elamur Research

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

Paper · 2015 · Kai Sheng Tai, Richard Socher and Christopher D. Manning

Summary

A sentence representation should capture how words work together, rather than merely record which words appear. This becomes difficult when a sentence must be compressed into a fixed-size vector: a numerical description that another part of a system can use to compare meanings or predict a label. Reading words in their written order gives a natural procedure for building that description. Syntax offers another procedure, grouping words into phrases or connecting a word to its dependents. This paper asks whether following those connections produces better representations of sentence meaning. Its contribution is the Tree-LSTM, an architecture that carries the memory mechanisms of a sequential Long Short-Term Memory network into a branching structure.

An ordinary LSTM updates its memory from a current input and an earlier state along a chain. A Tree-LSTM instead receives states from the children beneath a node. It can therefore combine several pieces of a sentence when the sentence’s parse brings them together. The crucial addition is a separate forget gate for every child: a learned vector that controls which components of that child’s memory continue upward. The architecture can retain information from a useful branch while reducing the influence of another. The paper develops a Child-Sum version for variable, unordered collections of children and an N-ary version for ordered children with a bounded branching factor. Applied to syntax, these become Dependency and Constituency Tree-LSTMs. A chain remains a special case of the broader construction.

The experiments examine sentence meaning through semantic similarity and sentiment classification. For relatedness, the system predicts a human rating for a sentence pair in SICK, the dataset used for the SemEval 2014 task. For sentiment, it assigns labels to movie-review sentences from the Stanford Sentiment Treebank. The authors compare their tree architectures with sequential LSTMs, including bidirectional and multilayer variants, while adjusting hidden-state sizes to control the number of recurrent composition parameters. The strongest tree architecture depends on the task. The Dependency Tree-LSTM performs best on relatedness. The Constituency Tree-LSTM leads the fine-grained sentiment comparison and reaches a level comparable with the strongest reported binary sentiment result.

These findings support a specific conclusion: syntactic organization can improve learned sentence representations even when the alternative is a strong gated sequence architecture. They do not establish that every tree is preferable to every sequence, or that the same tree representation is best under every training arrangement. Constituency sentiment training supplies more labeled nodes than dependency sentiment training, while relatedness supplies supervision only through a sentence-level prediction. Those differences matter when interpreting the results. The paper also reports sentence-length comparisons and illustrative retrieval examples suggesting that Tree-LSTMs preserve useful information from distant branches and capture relationships beyond direct word overlap. The authors released their implementation and experimental code under the project name stanfordnlp/treelstm.

Interesting ideas

Separate memory from exposure. The LSTM design distinguishes the information carried internally from the hidden vector presented to other computations. An output gate controls how much of the memory becomes visible at a particular node. This is useful whenever an intermediate representation must both preserve material for later composition and provide an immediately usable summary. A sentence fragment may need to carry information that is not yet decisive for a classifier. More broadly, a structured encoder can maintain an internal state without forcing every retained component to have equal influence on its current output. The paper’s tree extension preserves this distinction instead of replacing memory with a single transformed summary.

Forget by incoming branch. A parent with several children faces a selection problem that a chain does not have in the same form. It may need to preserve different components from different sources. Assigning a forget vector to each child gives that selection a precise location in the computation. The decision is also componentwise: a branch can contribute some information while other components are suppressed. This pattern could be reused wherever a structured computation combines several subordinate representations. The general lesson is to make retention decisions at the point where information streams meet, with enough resolution to treat those streams differently.

Match parameter sharing to structure. The Child-Sum and N-ary designs make different assumptions about what distinguishes children. Summation treats their hidden states as an unordered collection, which accommodates the variable number of dependents attached to a word. Position-specific transformations distinguish ordered children, which suits the left and right branches of a binarized constituency tree. The reusable idea is to decide what relationships should share parameters before choosing a composition function. A system should not distinguish arbitrary positions merely because an implementation happens to enumerate them. Conversely, it should not discard a meaningful distinction that its input structure already provides.

Compare representations through complementary features. For sentence relatedness, the authors do not reduce the comparison to a single distance. They combine elementwise multiplication with elementwise absolute difference. These operations expose different relationships between the sentence vectors, and the paper reports that their combination works better than either alone. This is a useful design pattern for paired-input prediction: preserve several simple views of the relationship, then let a learned comparison layer determine their relevance. Its appeal is particularly clear when each input has already been compressed, because an overly narrow comparison can discard distinctions that the encoder managed to retain.

Represent an ordinal target as a distribution. Human relatedness ratings are averages and can fall between the discrete points of a rating scale. The paper builds a sparse target distribution whose expected value equals the observed rating, then trains a predicted distribution against it. This lets the output remain a real-valued score while retaining the scale’s ordered categories. The idea is reusable when supervision has this combination of discrete reference levels and fractional judgments. Its value here is empirical as well as conceptual: the authors report better performance with the distributional objective than with direct mean squared error optimization.

Control capacity and inspect supervision. A comparison between architectures becomes more informative when it accounts for parameter counts and the amount of labeled training material. The authors vary hidden-state dimensions to control recurrent composition parameters. They also recognize that dependency and constituency sentiment training expose different numbers of labeled nodes. These are separate considerations: matching one does not match the other. Researchers can borrow this habit when comparing structured representations, especially if a change in structure also changes which intermediate predictions are available. A stronger result should be interpreted alongside the opportunities each architecture had to learn.

Use analysis to test a proposed explanation. The authors consider whether trees help chiefly by shortening the route over which information must survive. They examine performance by sentence length, then observe that the advantage is not confined to longer inputs. Their interpretation consequently includes the usefulness of the structural organization itself. This is a transferable research practice: turn an architectural intuition into a prediction about observable behavior, examine that prediction, and avoid treating a plausible mechanism as already established. Qualitative examples can complement this process by showing what a representation preserves, provided they remain illustrations rather than substitutes for aggregate evaluation.

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

How tree-structured LSTM networks combine words through syntax, preserve useful information, and improve sentence meaning representations. · about 75 minutes to read

How Mova uses it

For Mova, a small transparent language system written in Rust, the paper offers a concrete design to consider rather than evidence of an existing component. There is no basis for saying that Mova already contains a Tree-LSTM, has trained one on the paper’s tasks, or reproduces its results. The useful connection is architectural: if Mova needs a learned representation built from an explicit syntactic structure, Tree-LSTM supplies a fully specified way to pass information through that structure. Its proposed role would be a component that consumes a tree and returns representations for its nodes.

A dependency-based implementation would attach a word vector to each syntactic head, gather completed states from its dependents, and compute the head’s memory and hidden state. The Child-Sum equations make the boundary of that component clear. It needs a node’s input vector and the states associated with its children; it returns another state of the same kind. In Rust, this could be expressed through explicit data structures for the tree, numerical vectors, and learned parameters. That is an implementation possibility, not a claim about Mova’s current code. The paper does not prescribe a programming language or establish how such a component would perform within Mova.

The architecture also suggests a useful form of inspection. A transparent implementation could expose the tree used for composition, the input associated with each node, the separate forget vectors, and the states passed upward. This would make the computation traceable at the level of the architecture. It would not automatically explain the meaning of every hidden coordinate. A gate value tells an observer how a numerical component was scaled; interpreting that component as a particular linguistic property requires further evidence. Mova could borrow the explicit accounting of information flow while keeping that distinction visible.

The choice between the paper’s variants would depend on the structure Mova actually has. A dependency representation with variable numbers of children would fit the Child-Sum construction. An ordered phrase structure could motivate the N-ary construction, including different transformations for different child positions. The appropriate choice should follow the available representation and the intended task. The paper’s own results argue against assuming that a single syntax representation will dominate everywhere: the strongest sentiment and relatedness results come from different tree applications.

A restrained first use would be to treat the root hidden state as an optional sentence representation for a defined comparison or classification task. Mova could then compare it with a simpler composition procedure under the same evaluation conditions. The paper provides the relevant experimental principle: measure whether the added structure improves the behavior that matters, and account for differences in training supervision and parameter capacity. Until such an evaluation exists, better performance in Mova remains a hypothesis. The reusable contribution is the specified computation and the reasoning behind it, instead of a transferable guarantee of accuracy.

The problem and its context

From word meanings to sentence meanings

The paper begins with a familiar success and a less settled extension. Individual words can be represented by real-valued vectors, and these word embeddings have proved useful across natural language processing tasks. A vector gives a downstream computation something numerical to operate on. The challenge becomes harder when the object being represented is a phrase or sentence. A sentence contains several words, and its meaning depends on their relationships. A useful sentence representation therefore needs a composition procedure: a rule for turning the representations of its parts into a representation of the whole.

The authors organize earlier approaches by the structure that guides this procedure. One family ignores order and aggregates the word representations. Another processes words as a sequence. A further family composes representations according to a tree. These categories describe different assumptions about where the information needed for composition resides. An unordered aggregate assumes that the collection of words provides enough evidence for the task. A sequential computation treats the arrangement of words as the path along which information should accumulate. A tree computation uses an additional organization of the sentence to determine which pieces should be combined.

Averaging word vectors is an especially clear example of the unordered approach. Every word contributes to the sentence vector, but rearranging the same words leaves the average unchanged. This is a substantial restriction for meaning representation. A sentence can preserve its vocabulary while changing which entity performs an action and which entity participates in another role. The source illustrates this using a reversal involving cats, trees, and climbing. The important point is structural: identical lexical ingredients do not guarantee identical meaning. An averaging procedure has no direct way to represent the distinction created solely by their rearrangement.

That observation motivates order-sensitive approaches, but it does not settle which form of order sensitivity is most useful. A chain follows the written sentence. A syntactic tree follows an analysis of how its parts belong together. Both can make a representation depend on more than word membership. The paper’s question lies within this comparison. It does not merely ask whether syntax can help against an orderless baseline. It asks whether a strong sequential architecture improves when its information flow is reorganized around a tree.

Why syntax is a plausible guide

A syntactic tree makes certain relationships explicit before the learned composition begins. In a constituency analysis, smaller expressions combine into larger phrases. In a dependency analysis, words connect through head–dependent relationships. These are different ways of representing syntax, and they produce different sites at which information is combined. Both give the encoder an alternative to treating every word as another step along the same linear route. The resulting representation is still learned from task supervision, but the tree specifies the arrangement of its computations.

This arrangement matters because the representation of a larger expression depends on what has already been brought together below it. A phrase-based composition can create an intermediate state for a constituent before integrating that state into a larger phrase. A dependency-based composition can gather information around the word that heads a subtree. The architecture therefore receives a structural suggestion about which inputs belong together. The paper investigates whether this suggestion improves the final sentence representation, without treating linguistic plausibility alone as sufficient evidence.

There is also an information-preservation argument. Along a sequence, material introduced early must continue through later updates before reaching the final representation. Along a tree, a word’s path to the root depends on the parse. Some relationships can be represented through fewer intervening compositions. The authors consider this as a possible explanation for Tree-LSTM performance. Their later analysis does not reduce the contribution entirely to sentence length, however. Good performance on shorter sentences leads them to suggest that useful structural distinctions also matter. Tree organization is therefore both a route for transmitting information and a bias about how meaning should be assembled.

These possibilities must be distinguished from stronger claims. A syntactic tree is not itself a complete semantic representation. Nor does putting a neural computation on a parse tree guarantee that the resulting vector preserves every distinction a reader would consider important. The paper evaluates the architecture through tasks with observable targets: sentiment labels and human relatedness ratings. Those tasks provide evidence about useful representations under particular conditions. They do not provide a direct inventory of everything encoded in a hidden vector.

What sequential recurrence contributes

A recurrent neural network processes a sequence by repeatedly applying the same transition function. At a particular position, the transition receives the current input and the hidden state carried from the preceding position. The new hidden state becomes the summary available to the next update. Because the function can be applied repeatedly, the architecture can process sequences of varying lengths while keeping its state dimension fixed. The state at the end can then serve as a sentence representation.

This reuse of a transition function makes sequence processing compact, but learning through many applications presents a difficulty. The paper describes how gradient components can grow or diminish exponentially when propagated across long sequences. A gradient indicates how a change in a parameter would affect the training objective. If its magnitude becomes too small, information about distant dependencies may have little influence on learning. If it grows excessively, optimization becomes unstable. The issue is therefore not simply whether the architecture can be written down for a long sentence; it is whether training can learn to preserve the relevant relationships.

Long Short-Term Memory addresses this difficulty by adding a memory cell and gates. The cell supplies a state that can be retained, updated, and partially exposed through distinct operations. The gates are learned vectors whose components determine how much information passes through particular routes. This gives the architecture a mechanism for maintaining material across many updates instead of transforming every part of its state in the same way at every position. The paper adopts a particular LSTM formulation and then changes its underlying topology.

That choice makes the comparison sharper. If a tree encoder were compared only with a simple recurrent transition, an improvement might reflect the benefits of gating rather than the benefits of structure. Here, the sequential baseline already has the memory mechanisms associated with LSTM. Tree-LSTM extends those mechanisms to branching computation. The central architectural question is consequently whether allowing gated composition along syntactic relationships improves representations beyond what gated sequential processing achieves.

Earlier applications and the comparison they motivate

The authors place LSTM in a broader record of successful sequence processing. They cite work on speech recognition, program execution, image caption generation, and machine translation. Within translation, their discussion includes Sequence to Sequence Learning with Neural Networks and Neural Machine Translation by Jointly Learning to Align and Translate. These references establish why a sequential LSTM is a serious baseline for sentence representation. The paper does not approach sequential processing as an already inadequate technique.

The same context includes changes within the sequential family. A bidirectional LSTM processes the sentence in both directions. A multilayer LSTM places additional recurrent layers above an initial layer. These variations increase the ways in which information can influence the representation while retaining a chain-based organization. Including them in the experiments prevents the comparison from depending completely on the simplest sequential configuration. The paper’s structural proposal must compete with sequence architectures that already address some limitations of a single forward pass.

Tree composition also has a research history in the paper’s account. Earlier recursive neural approaches assign a representation to each node and compute parent representations from child representations. The authors use the name Tree-RNN to keep these recursive systems distinct from recurrent sequence networks. They describe applications to natural-scene parsing, phrase composition, and sentiment. Semantic Compositionality through Recursive Matrix-Vector Spaces belongs to this line of work on constructing representations from linguistic parts.

The Stanford Sentiment Treebank is closely connected to that earlier research. Recursive Deep Models for Semantic Compositionality Over a Sentiment Treebank supplies both an earlier approach and the sentiment resource used here. Its phrase-level labels make tree composition especially relevant: an intermediate node can receive direct supervision about the sentiment of the expression it covers. Tree-LSTM builds on this setting while changing the composition mechanism to include explicit memory and gates.

The relatedness comparison includes another nearby family. The DT-RNN and SDT-RNN baselines compose dependency-tree representations through transformed child vectors and a nonlinearity. The latter distinguishes dependency relations through separate transformations. These baselines, associated with Grounded Compositional Semantics for Finding and Describing Images with Sentences, help separate the presence of a tree from the particular gated computation introduced by Tree-LSTM. A tree is part of the proposed architecture, but tree structure alone is not the complete proposal.

The specific gap the paper addresses

The gap is a mismatch between a successful memory mechanism and the structure used to apply it. Sequential LSTM allows a state to draw on a current word and a preceding state. Language frequently invites composition among several subordinate expressions. The authors ask how the LSTM mechanism can accommodate those branching combinations without abandoning its distinction between memory, update, forgetting, and exposure. Their answer must specify what happens when a parent receives several memories rather than a single earlier memory.

Simply adding child hidden states is insufficient to describe the full extension. The parent also needs a way to decide what to retain from each child’s cell. The separate forget gates solve that part of the problem. The variants then address another choice: whether children should be treated as an unordered collection or as distinguishable positions. The paper’s contribution is thus a family of explicit transition equations together with applications that connect those equations to dependency and constituency syntax.

The resulting empirical question is deliberately narrower than a universal contest between syntax and sequence. The authors train sentence encoders for particular supervised tasks, use particular parses, and compare particular architectural variants. Their evidence can show that tree organization is beneficial in those settings. It can also reveal that the preferred tree representation depends on the task and supervision. That dependence is central to understanding the work: the paper introduces a reusable mechanism, then studies how its applications behave under different learning conditions.

The method, step by step

Begin with a representation task and a composition structure

The procedure starts with words, a structure connecting them, and a prediction task. Each word has an input vector. A sequential architecture visits those vectors in sentence order. A Tree-LSTM visits nodes in an order that makes every child’s state available before its parent is computed. The final state at the root summarizes the whole tree. Intermediate states summarize subtrees and can also support predictions when the training data supplies appropriate labels.

The parse determines where input vectors enter the computation. In the dependency application, a node corresponds to a word and receives that word’s vector. Its children represent dependents. In the constituency application, words supply inputs at leaves, while internal phrase nodes compose information from lower nodes. The distinction affects the role of the input gate. A dependency node can introduce lexical material while combining dependent states. An internal constituency node primarily combines already constructed representations of its children.

The paper then attaches a task-specific prediction component. Sentiment uses a classifier at labeled nodes. Relatedness encodes a sentence pair separately and passes the resulting sentence vectors to a comparison network. Training adjusts the encoder and prediction parameters to make these outputs agree with the available labels or ratings. The architecture is therefore a way to construct representations for a supervised objective, rather than an independently specified inventory of linguistic meanings.

From sentence structure to a trained prediction

The steps in order.

From sentence structure to a trained predictionStep 1: Assign input vectors to words1. Assign input vectors to wordsStep 2: Obtain the required sentence trees2. Obtain the required sentence treesStep 3: Compute child states before parent states3. Compute child states before parent statesStep 4: Gate incoming memories at each parent4. Gate incoming memories at each parentStep 5: Build node and sentence representations5. Build node and sentence representationsStep 6: Predict sentiment or sentence relatedness6. Predict sentiment or sentence relatednessStep 7: Optimize against the available supervision7. Optimize against the available supervision

Understand the simple recurrent starting point

The paper first reviews a conventional recurrent transition:

hₜ = tanh(Wxₜ + Uhₜ₋₁ + b)

Here, t identifies a sequence position. The vector xₜ is the input at that position, and hₜ₋₁ is the hidden state carried from the preceding position. W transforms the current input, U transforms the earlier hidden state, and b is a learned bias vector. The function tanh applies the hyperbolic tangent separately to each resulting component. The output hₜ is the updated hidden state. Its dimension, written d in the paper, determines the size of the distributed representation.

This equation describes a repeated compression. The architecture receives a new input, mixes it with the earlier summary, and transforms the combination. There is no separate memory cell in this basic transition. The same hidden vector both carries information forward and acts as the visible representation. Training must arrange for repeated transformations to retain whatever material will be needed later. The gradient difficulties discussed by the authors arise when learning must connect behavior across many such transformations.

The relevance of this starting point is explanatory. Tree-LSTM does not begin by inventing a new task or a new word representation. It changes the unit used for composition and the organization in which that unit operates. Understanding the simple transition makes clear what the LSTM cell adds: several routes for controlling information rather than a single transformed mixture.

Give the sequential unit a separate memory

An LSTM unit maintains a memory cell alongside its hidden state. It also computes input, forget, and output gates. Each gate has the same dimensionality as the memory and supplies a separate value for each component. The logistic sigmoid maps the gate preactivations into the interval [0, 1]. A value nearer the upper end permits more of the associated component to pass, while a value nearer the lower end reduces its contribution.

The input gate is computed as follows:

iₜ = σ(W⁽ⁱ⁾xₜ + U⁽ⁱ⁾hₜ₋₁ + b⁽ⁱ⁾)

The vector iₜ controls how much newly proposed content enters memory at position t. The symbol σ denotes the logistic sigmoid. W⁽ⁱ⁾, U⁽ⁱ⁾, and b⁽ⁱ⁾ are the input transformation, recurrent transformation, and bias specifically associated with this gate. The superscript identifies their role; it does not denote an exponent. As before, xₜ is the current input and hₜ₋₁ is the preceding hidden state.

The forget gate uses its own learned parameters:

fₜ = σ(W⁽ᶠ⁾xₜ + U⁽ᶠ⁾hₜ₋₁ + b⁽ᶠ⁾)

Here, fₜ determines the componentwise retention of the preceding memory cell. W⁽ᶠ⁾, U⁽ᶠ⁾, and b⁽ᶠ⁾ are parameters dedicated to that decision. The gate depends on the current input as well as the earlier hidden state. Forgetting can therefore respond to newly encountered evidence, rather than being a fixed decay applied uniformly throughout a sentence.

The output gate controls the visible state:

oₜ = σ(W⁽ᵒ⁾xₜ + U⁽ᵒ⁾hₜ₋₁ + b⁽ᵒ⁾)

The vector oₜ determines how much of the transformed memory is exposed through the hidden state. Its parameters W⁽ᵒ⁾, U⁽ᵒ⁾, and b⁽ᵒ⁾ are learned separately from the other gates. This creates a distinction between retaining information internally and making it available in the current output. The same input and earlier hidden state inform the decision, but the decision serves a different purpose.

The unit also proposes new memory content:

uₜ = tanh(W⁽ᵘ⁾xₜ + U⁽ᵘ⁾hₜ₋₁ + b⁽ᵘ⁾)

The vector uₜ is the candidate update, computed using parameters W⁽ᵘ⁾, U⁽ᵘ⁾, and b⁽ᵘ⁾. It is a content vector instead of a sigmoid gate. The tanh transformation allows its components to carry signed values. The input gate will determine how strongly this proposed content contributes to the cell.

The cell update combines the proposed content and retained memory:

cₜ = iₜ ⊙ uₜ + fₜ ⊙ cₜ₋₁

The vector cₜ is the new memory, and cₜ₋₁ is the earlier memory. The symbol ⊙ means multiplication between corresponding vector components. The term iₜ ⊙ uₜ supplies gated new content; fₜ ⊙ cₜ₋₁ supplies gated earlier content. Addition combines those contributions. The equation makes retention an explicit operation rather than leaving it entirely to a repeated nonlinear transformation.

Finally, the hidden state is produced from the cell:

hₜ = oₜ ⊙ tanh(cₜ)

The hidden vector hₜ exposes the transformed memory through oₜ. The function tanh again acts componentwise. Because the gate can differ across components, the visible representation can emphasize some stored material while retaining other material internally. The paper interprets this componentwise control as allowing information to be represented over different time scales.

These equations also explain what must change when the chain becomes a tree. A parent may receive several hidden vectors and several memory cells. It needs a rule for consulting those hidden vectors when computing gates, plus a rule for combining the incoming cells. The latter cannot simply reuse a single fₜ ⊙ cₜ₋₁ term. The proposed extension introduces a separate retention decision for every child memory.

Keep the sequential alternatives explicit

Before moving to trees, the paper describes bidirectional and multilayer LSTM variants. In a bidirectional architecture, a forward pass reads the ordinary sequence and another pass reads it in reverse. Their hidden vectors are concatenated. This gives a representation access to information propagated from both directions. It changes the directions from which a position receives sequential context while retaining chain-based recurrence within each pass.

A multilayer architecture feeds a layer’s hidden state into another recurrent layer at the same sequence position. Upper layers therefore process representations produced by lower layers rather than receiving only the original word inputs. The authors describe this as a way for higher layers to capture longer-term dependencies. Bidirectionality and stacking can also be combined. These variants matter because Tree-LSTM is evaluated against a family of capable sequential alternatives, rather than only a plain recurrent network.

For the experimental bidirectional LSTMs, the forward and backward transition parameters are shared. The paper reports that this choice performs better than unshared transitions under the same parameter allowance, where unshared transitions require a smaller hidden dimension. This is a capacity tradeoff within the baseline construction. It does not change the Tree-LSTM equations, but it helps explain why parameter accounting and hidden dimension must be considered together.

Combine an unordered collection of children

The Child-Sum Tree-LSTM is designed for nodes whose children need not occupy distinct learned positions. Let j identify the node currently being computed. Its children are indexed by k, and C(j) collects those child indices. Before computing the parent’s gates, the architecture forms an aggregate hidden vector:

h̃ⱼ = ∑ₖ∈C(j) hₖ

The vector h̃ⱼ is the sum of the hidden vectors hₖ associated with j’s children. The summation symbol indicates that every child in C(j) contributes. This aggregate has the same dimensionality as an individual hidden vector. It does not concatenate the children or require a separate parameter block for every possible number of dependents.

Summation also makes the aggregate insensitive to the order in which children are enumerated. That property matches the paper’s motivation for using the construction with dependency trees, where heads can have variable numbers of dependents. It is important to locate this invariance precisely. The architecture ignores ordering within this aggregate of child states. It still operates over a particular dependency structure, and each child state has already been computed from its own subtree.

The parent’s input gate uses the aggregate:

iⱼ = σ(W⁽ⁱ⁾xⱼ + U⁽ⁱ⁾h̃ⱼ + b⁽ⁱ⁾)

Here, xⱼ is the input vector attached to node j, and iⱼ controls the entry of newly proposed content into that node’s memory. W⁽ⁱ⁾ transforms the local input, U⁽ⁱ⁾ transforms the aggregate child hidden state, and b⁽ⁱ⁾ is the bias. The sigmoid σ produces a componentwise gate. The decision can depend jointly on the current word and the information summarized by its children.

Forgetting is computed separately for each child:

fⱼₖ = σ(W⁽ᶠ⁾xⱼ + U⁽ᶠ⁾hₖ + b⁽ᶠ⁾)

The vector fⱼₖ determines how much of child k’s memory reaches parent j. W⁽ᶠ⁾, U⁽ᶠ⁾, and b⁽ᶠ⁾ are shared parameters used whenever a child is considered. The gate consults the local input xⱼ and that child’s hidden vector hₖ. Unlike the input gate, it does not replace the individual child state with the child sum.

This is the architecture’s central selective mechanism. Children share a rule for computing forgetting, but they need not receive identical gate values. Different hidden states can lead the same parameters to preserve different memory components. The number of gates grows with the number of children, while the parameter matrices remain shared. A node can therefore handle variable branching without requiring a separately learned transformation for each possible child count.

The output gate again consults the aggregate:

oⱼ = σ(W⁽ᵒ⁾xⱼ + U⁽ᵒ⁾h̃ⱼ + b⁽ᵒ⁾)

The vector oⱼ controls the exposure of the parent’s memory. The parameters W⁽ᵒ⁾, U⁽ᵒ⁾, and b⁽ᵒ⁾ serve this output decision. The local input and aggregate child state supply its evidence. The gate determines visibility after the incoming memories and new content have been combined.

The candidate content has a parallel form:

uⱼ = tanh(W⁽ᵘ⁾xⱼ + U⁽ᵘ⁾h̃ⱼ + b⁽ᵘ⁾)

The vector uⱼ proposes new content for node j. Its parameters W⁽ᵘ⁾, U⁽ᵘ⁾, and b⁽ᵘ⁾ transform the local input and summed child information. The tanh nonlinearity produces the candidate representation. This is the content later scaled by iⱼ, rather than another retention decision.

The memory update preserves the incoming cells as separate contributions:

cⱼ = iⱼ ⊙ uⱼ + ∑ₖ∈C(j) fⱼₖ ⊙ cₖ

The vector cⱼ is the parent memory, and cₖ is child k’s memory. The first term inserts new content through the input gate. Each term inside the sum passes a child cell through its own forget vector fⱼₖ. The symbol ⊙ again indicates componentwise multiplication. The architecture aggregates child hidden states for some decisions, but it gates child memories individually before adding them.

The hidden state follows the familiar LSTM rule:

hⱼ = oⱼ ⊙ tanh(cⱼ)

The vector hⱼ becomes the representation visible to a classifier or a higher parent. The memory cⱼ is transformed by tanh and scaled through the output gate oⱼ. This completes the node update. Applying the same computation upward through the tree eventually produces a root state that has received information from the whole sentence.

The paper illustrates how learned gates might respond to lexical importance. A dependency head with semantically informative content could encourage particular input-gate components to open, whereas a less informative input could encourage them to close. This is a possible behavior of the learned parameters, not a manually programmed list of important words. The task objective supplies the pressure to preserve useful information.

Apply Child-Sum composition to dependency syntax

A Dependency Tree-LSTM is the Child-Sum architecture applied to a dependency parse. Dependency parsing supplies head–dependent links among sentence words. Each node receives the vector of its head word, and the child states summarize the dependent subtrees. The representation associated with a node therefore combines lexical information at that word with information gathered beneath it.

This application explains why arbitrary branching is useful. The number of dependents can vary from head to head, and the architecture does not need to transform every sentence into the same fixed branching shape. Its shared matrices can be applied to each encountered node. The sum supplies a fixed-size summary for gate computation, while the child-specific forget vectors retain separate control over incoming memories.

The parse still imposes a substantive choice. A different dependency analysis would change which words contribute directly to a parent and which arrive through intermediate nodes. Tree-LSTM does not infer these links through its gates. It learns how to compose along the supplied links. In the experiments, the dependency structures are produced by the parser associated with A Fast and Accurate Dependency Parser using Neural Networks.

Distinguish ordered child positions

The N-ary variant addresses structures where a node has at most N children and those children occupy distinguishable positions. Rather than using the same transformation for every child, it assigns transformations according to position. This is useful for a binarized constituency tree, where left and right branches are structurally distinct. The architecture can learn that a representation arriving from one position should affect the parent differently from the same representation arriving from another.

For this variant, hⱼℓ denotes the hidden state of the child in position ℓ beneath node j. The corresponding memory is cⱼℓ. The input gate becomes:

iⱼ = σ(W⁽ⁱ⁾xⱼ + ∑ℓ₌₁ᴺ U⁽ⁱ⁾ℓ hⱼℓ + b⁽ⁱ⁾)

The index ℓ runs over child positions from 1 through N. The matrix U⁽ⁱ⁾ℓ is specific to position ℓ, while W⁽ⁱ⁾ transforms the local input xⱼ and b⁽ⁱ⁾ supplies the bias. The sigmoid σ produces the input gate iⱼ. Unlike Child-Sum composition, the equation transforms each position’s hidden state before summing the resulting contributions.

The forget gate for child k can consult every child position:

fⱼₖ = σ(W⁽ᶠ⁾xⱼ + ∑ℓ₌₁ᴺ U⁽ᶠ⁾ₖℓ hⱼℓ + b⁽ᶠ⁾)

The vector fⱼₖ controls retention of the child in position k. The matrix U⁽ᶠ⁾ₖℓ specifies how position ℓ influences that particular retention decision. W⁽ᶠ⁾ transforms the local input and b⁽ᶠ⁾ is the forget bias. The double position index is significant: information from one child can change how strongly another child’s memory is preserved.

The authors call attention to these cross-position terms. In a binary tree, the hidden state on the left can affect the gate controlling the right memory. This permits interaction between sibling representations before the parent cell is assembled. Such flexibility comes with additional parameters. For large N, the paper notes that the extra matrices may be impractical and suggests tying them or fixing some to zero. The experimental constituency application uses binary branching, so the general high-branching parameter issue is not the main evaluated setting.

The output gate also uses position-specific transformations:

oⱼ = σ(W⁽ᵒ⁾xⱼ + ∑ℓ₌₁ᴺ U⁽ᵒ⁾ℓ hⱼℓ + b⁽ᵒ⁾)

The vector oⱼ controls the visible portion of the parent memory. Each U⁽ᵒ⁾ℓ transforms the hidden state at position ℓ for this purpose. W⁽ᵒ⁾ and b⁽ᵒ⁾ handle the local input and bias. The sigmoid σ supplies the componentwise gating values.

The candidate update is:

uⱼ = tanh(W⁽ᵘ⁾xⱼ + ∑ℓ₌₁ᴺ U⁽ᵘ⁾ℓ hⱼℓ + b⁽ᵘ⁾)

The vector uⱼ is the proposed parent content. The matrix U⁽ᵘ⁾ℓ determines how the child at position ℓ contributes to that proposal, while W⁽ᵘ⁾ transforms xⱼ and b⁽ᵘ⁾ adds a bias. The tanh function acts componentwise. Position sensitivity therefore affects the proposed content as well as the gating decisions.

The parent cell combines all retained child memories:

cⱼ = iⱼ ⊙ uⱼ + ∑ℓ₌₁ᴺ fⱼℓ ⊙ cⱼℓ

The memory cⱼ receives candidate content through iⱼ and child memories cⱼℓ through their corresponding forget vectors fⱼℓ. The position index ℓ selects matching gates and memories. Componentwise multiplication, written ⊙, scales each contribution before addition. The broad retention pattern is the same as in Child-Sum composition; the conditioning that produces its gates is more position-sensitive.

The visible state is then:

hⱼ = oⱼ ⊙ tanh(cⱼ)

The hidden vector hⱼ is the output-gated transformation of the completed parent memory cⱼ. The function tanh and gate oⱼ play the same roles as in the other LSTM formulations. This shared final step emphasizes that the variants differ chiefly in how they condition decisions on children, rather than in whether they maintain a distinct memory cell.

Apply ordered composition to constituency syntax

The Constituency Tree-LSTM uses the binary form of the N-ary architecture over binarized phrase trees. Words enter at leaves, and internal nodes combine lower phrase representations. Left and right children can receive different transformations. The paper’s illustrative case contrasts a noun-phrase branch with a verb-phrase branch: the parameters could learn to retain one branch more strongly where that helps the task.

This example explains capacity rather than imposing a linguistic rule. The architecture does not require every verb phrase to dominate every noun phrase. It supplies parameters capable of learning position-sensitive retention. Actual behavior depends on the input states and trained weights. The distinction matters because the tree gives the arrangement of composition, while supervision determines what information the composition learns to preserve.

Only leaf nodes receive word-vector inputs in this application. An internal phrase node does not introduce another lexical item of its own. Its representation comes from the substructures below it through the composition parameters and gates. This differs from the dependency application, where every word node can combine its own input with dependent states. The paper identifies these applications as closely related while emphasizing the different relationships to which their parameters are applied.

Both tree variants reduce to ordinary LSTM transitions when the structure is a chain with a single child at each internal node. There is then only an incoming child state to consult and an incoming memory to retain. This reduction is conceptually useful because it makes Tree-LSTM a generalization of the sequential architecture. It also supplies a clear reason for comparing the two: the memory mechanism is shared, while the permissible information-flow structure is broadened.

Turn a node representation into a sentiment prediction

The classification component takes a node’s hidden vector and predicts a label. The paper writes the probability distribution as:

p̂θ(y | {x}ⱼ) = softmax(W⁽ˢ⁾hⱼ + b⁽ˢ⁾)

Here, {x}ⱼ denotes the input vectors within the subtree rooted at j. The symbol y identifies a possible class, and p̂θ is the predicted distribution under parameters θ. The classifier transforms hidden state hⱼ using W⁽ˢ⁾ and bias b⁽ˢ⁾. Softmax converts the resulting class scores into probabilities. The subtree inputs influence the prediction through the representation computed at that node.

The selected label is the most probable class:

ŷⱼ = argmaxᵧ p̂θ(y | {x}ⱼ)

The symbol ŷⱼ denotes the prediction at node j. The operation argmaxᵧ chooses the class y receiving the largest predicted probability. This separates the distribution used during learning from the discrete decision used for classification. A prediction can be made at the sentence root or at another node when that node’s expression is relevant.

Training minimizes a regularized classification objective:

J(θ) = −(1/m) ∑ₖ₌₁ᵐ log p̂θ(y⁽ᵏ⁾ | {x}⁽ᵏ⁾) + (λ/2) ‖θ‖₂²

The function J measures the training cost for parameters θ. The quantity m counts labeled nodes, and k indexes those labeled examples. The gold class is y⁽ᵏ⁾, while {x}⁽ᵏ⁾ supplies its subtree inputs. The negative log probability penalizes assigning little probability to the correct class. The term ‖θ‖₂² is the squared Euclidean norm of the parameters, and λ controls the strength of the L2 penalty.

The unit of supervision is important. A sentence with several annotated phrases can contribute several labeled nodes. For a constituency architecture, those nodes align naturally with the supplied phrase tree. For a dependency architecture, the paper assigns a label only when a dependency node’s span matches an annotated training span. The architectures consequently receive different amounts of direct intermediate supervision even though they address the same sentence-level task.

Prepare the sentiment training data

The sentiment experiments use the Stanford Sentiment Treebank. The labels distinguished by its fine-grained task are very negative, negative, and neutral, along with positive and very positive. Its binary task distinguishes positive from negative and excludes neutral sentences. The binary train/dev/test counts are 6920/872/1821. For fine-grained classification, the train/dev/test counts are 8544/1101/2210. These numbers describe the sentence splits; they should not be confused with the larger collection of labeled phrase nodes available during training.

The dataset supplies binarized constituency trees with sentiment annotations at their nodes. The Constituency Tree-LSTM follows those trees. The Dependency Tree-LSTM uses separately produced dependency parses and receives labels through span matching. Sequential LSTM baselines also use the phrase annotations: each labeled span is processed as a sequence, and its final hidden state is used for classification. Hence, intermediate supervision is not reserved exclusively for the tree architectures.

The label-matching distinction has a measurable effect on training material. The authors report about 150K labeled nodes for the dependency application and 319K for the constituency application. They attribute the difference in part to the smaller node inventory in dependency trees and partly to unmatched spans. About 9% of dependency nodes cannot be aligned with a labeled training span. These figures describe supervision availability, rather than accuracy, and they are essential when considering why the constituency application performs better on sentiment.

Encode a sentence pair before comparing it

For semantic relatedness, each sentence is encoded separately. The left sentence produces h_L and the right sentence produces h_R. With a Tree-LSTM, these are the hidden vectors at the sentence roots. The comparison network operates on these completed representations. It does not directly compare every word pair or receive handcrafted overlap features as part of the paper’s LSTM setup.

The first comparison feature is elementwise multiplication:

h× = h_L ⊙ h_R

The vectors h_L and h_R represent the paired sentences, and h× records products of their corresponding components. The operation ⊙ is componentwise multiplication. The paper interprets this feature in part through the relationship between component signs. It gives the prediction network a view of how the representations align within corresponding coordinates.

The second comparison feature is absolute difference:

h₊ = |h_L − h_R|

The vector h₊ contains the absolute difference at every corresponding coordinate. The vertical bars mean that absolute value is applied componentwise. This describes separation between the sentence representations without retaining the direction of subtraction. Together with h×, it supplies another view of their relationship.

The combination is passed through a hidden layer:

hₛ = σ(W⁽×⁾h× + W⁽⁺⁾h₊ + b⁽ʰ⁾)

The vector hₛ is the comparison network’s hidden representation. W⁽×⁾ transforms the product features, W⁽⁺⁾ transforms the absolute-difference features, and b⁽ʰ⁾ adds a bias. The sigmoid σ provides the nonlinearity. The network can learn how to combine the comparison signals rather than relying on a fixed formula for the final relatedness score.

A softmax layer predicts a distribution over rating levels:

p̂θ = softmax(W⁽ᵖ⁾hₛ + b⁽ᵖ⁾)

The vector p̂θ contains predicted probabilities for the ordered rating categories. W⁽ᵖ⁾ maps the hidden comparison vector to category scores, and b⁽ᵖ⁾ is the output bias. The parameter collection θ includes the learned components needed to produce this distribution. Softmax ensures that it can be interpreted probabilistically.

The real-valued prediction is the expected rating:

ŷ = rᵀp̂θ

The scalar ŷ is the predicted relatedness score. The vector r contains the ordered scale values [1, 2, …, K], and the superscript T indicates transposition so that the expression is a weighted sum. The integer K is the highest category on the scale. Multiplying each scale value by its predicted probability and adding the contributions yields a score that need not be an integer.

Both pairwise features are symmetric with respect to exchanging the sentence representations. Elementwise multiplication gives the same result after swapping its inputs, and absolute difference removes the subtraction direction. This matches a task asking how related a pair is, instead of asking for a directional relationship. The symmetry follows directly from the specified operations. It also means that the task-specific comparison should not automatically be assumed suitable for an objective where reversing the inputs changes the target.

Train against an averaged human rating

The human score can lie between discrete rating levels because it averages judgments. The paper therefore does not require training to treat it as a single categorical label. Instead, it constructs a sparse probability distribution p whose expected rating equals the observed value y. Probability is placed at the neighboring scale positions around that value:

pᵢ = { y − ⌊y⌋       if i = ⌊y⌋ + 1
     { ⌊y⌋ − y + 1   if i = ⌊y⌋
     { 0              otherwise

The symbol pᵢ denotes target probability at scale position i. The notation ⌊y⌋ means the greatest integer no larger than the gold rating y. The first condition assigns mass to the upper neighboring position, and the second assigns mass to the lower position. All remaining positions receive 0. The index i ranges over the permitted rating categories from 1 through K.

This construction keeps the numerical rating tied to the ordered scale. A score between neighboring levels is represented through probability distributed across those levels, rather than through an invented extra class. When the score falls exactly on a scale value, the target concentrates there. The objective consequently trains a distribution while preserving the intended expected rating. This is an output-design choice separate from whether the sentence encoder uses a chain or a tree.

The relatedness objective is:

J(θ) = (1/m) ∑ₖ₌₁ᵐ KL(p⁽ᵏ⁾ ‖ p̂θ⁽ᵏ⁾) + (λ/2) ‖θ‖₂²

Here, m counts training sentence pairs, and k indexes those pairs. The target distribution for pair k is p⁽ᵏ⁾, while p̂θ⁽ᵏ⁾ is the predicted distribution. KL denotes Kullback–Leibler divergence, which measures disagreement between the distributions in the direction written. The symbol ‖θ‖₂² again denotes the squared parameter norm, and λ controls regularization.

The paper reports that this objective performs better in the subsequent experiments than optimizing mean squared error directly. It also reports that combining the product and absolute-difference features performs better than either feature alone. These findings support the chosen comparison and training procedure, but the account does not supply numerical sizes for those particular comparisons. They should therefore be read as reported design evidence rather than quantified explanations of the architecture’s total advantage.

Prepare the relatedness data and sentence trees

The relatedness experiments use SICK, short for Sentences Involving Compositional Knowledge. The dataset contains 9927 sentence pairs, divided into 4500/500/4927 for train/dev/test. Its sentences originate from image and video descriptions. Each pair has a rating in [1,5], with 1 marking unrelated meanings and 5 marking strong relatedness. The gold label averages 10 judgments from different annotators. Those properties explain both the restricted rating range and the need to support fractional targets.

The experiment follows the relatedness setting associated with SemEval-2014 Task 1. For the comparison network, the hidden layer has size 50. The authors create both dependency parses and binarized constituency parses so that either tree application can encode the same sentence material. The constituency parses come from the Stanford PCFG parser associated with Accurate Unlexicalized Parsing.

Unlike sentiment, relatedness does not provide a target at every internal phrase node. A pair’s root representations feed the comparison network, and the pair-level objective supplies the learning signal. Internal composition parameters must become useful through their effect on the sentence-level result. This difference changes the learning conditions for the tree architectures. The paper later considers whether the more compact dependency structure helps when supervision arrives only through the roots.

The same comparison network is used with the authors’ relatedness baselines, including sequential LSTMs and non-LSTM encoders. Holding that prediction component fixed makes the comparison more informative about sentence representations. An encoder that produces a better result cannot attribute its entire advantage to receiving an unrelated scoring mechanism. This control does not remove every architectural difference, but it narrows the source of variation.

Initialize lexical inputs and optimize the parameters

The word vectors are initialized from GloVe, with dimensionality 300. The particular publicly available vectors were trained on 840 billion Common Crawl tokens. The paper connects this initialization to GloVe: Global Vectors for Word Representation. These vectors supply lexical information before task-specific training begins; Tree-LSTM then learns how to compose that information for the desired prediction.

The treatment of word vectors differs by task. Sentiment training updates them with a learning rate of 0.1. Relatedness training keeps them fixed because the authors did not observe a significant improvement from updating them. This choice matters for interpreting the learned representation. In sentiment, both the lexical inputs and the composition can adapt to the target labels. In relatedness, the composition and comparison must make use of a fixed lexical starting point.

The authors interpret the benefit of sentiment adaptation in light of the initialization objective. The GloVe vectors were not originally trained to express sentiment distinctions. Updating them can therefore improve their usefulness for the classification task. The paper reports a substantial benefit for fine-grained sentiment and a smaller gain for binary sentiment, consistent with the earlier finding it cites from Convolutional Neural Networks for Sentence Classification.

The remaining learned parameters are optimized with AdaGrad using a learning rate of 0.05 and minibatches of size 25. Development data is used to choose hyper-parameters for each task. The per-minibatch L2 regularization strength is written as 10⁻⁴. Regularization appears in both task objectives as a penalty on parameter magnitude, while the optimizer determines how the parameters move in response to the training gradients.

For sentiment, the classifier also uses dropout at a rate of 0.5. Dropout adds another form of regularization during learning. The authors report no performance benefit from applying it to relatedness, so its use is task-dependent. These settings are part of the experimental recipe rather than universal requirements of the Tree-LSTM equations. The architecture can be specified independently of them, but reproducing the reported setup requires recognizing that the training choices differ across tasks.

Keep capacity, structure, and supervision separate

The comparison with sequential LSTMs controls the number of LSTM composition parameters by changing hidden-state dimensions. This is more precise than saying that every architecture uses an identical state size. Different transitions require different parameter arrangements, especially when child positions receive separate matrices. A shared parameter allowance can consequently imply different memory dimensions. The paper’s experimental design treats that as a necessary adjustment for a more meaningful architecture comparison.

Parameter control addresses only one source of variation. A dependency parse and a constituency parse produce different computational graphs. They can differ in the number of nodes, the paths through which word information reaches the root, and the locations where labels can be attached. In sentiment, the number of labeled nodes differs substantially. In relatedness, both architectures receive only root-level supervision through the pair prediction. Those conditions affect what each network can learn even when recurrent parameter capacity is controlled.

The procedure therefore has several layers that should remain visible in any explanation of the method. Word vectors provide the lexical inputs. A parse determines the arrangement of composition. LSTM gates determine the numerical treatment of incoming information. A prediction component maps the resulting representation to the task target. The training objective and available annotations determine the pressure under which all learned parts are adjusted. Tree-LSTM’s distinctive contribution lies in the gated composition layer, but its measured behavior emerges from this complete arrangement.

This separation also clarifies what the system does not contain. The parse is supplied by an existing parsing procedure or by the dataset, rather than learned as a hidden structure within these experiments. Sentiment labels and relatedness ratings are task targets, rather than complete descriptions of meaning. Gate values are learned numerical controls, rather than hand-authored semantic rules. The root vector is useful insofar as it supports the evaluated prediction. Each of these boundaries helps keep the architectural claim tied to what the paper actually tests.

The authors make their implementation and experiments available as stanfordnlp/treelstm. That resource accompanies a method specified through explicit state transitions, task-specific objectives, and stated training choices. The resulting system provides a concrete answer to the paper’s central design question: an LSTM can preserve its memory mechanism while replacing a linear predecessor with a structured collection of children, and it can make separate retention decisions for the memories arriving from those children.

Experiments and results

The experiments ask whether syntactic composition improves sentence representations when the sequential alternative already has LSTM memory and gates. This is a stronger comparison than placing a tree encoder against an unordered collection of word vectors alone. The sequential competitors can preserve information across positions, and the experimental variants include bidirectional processing and stacked layers. An advantage for Tree-LSTM therefore provides evidence about the organization of composition, alongside the usefulness of the memory mechanism itself.

The paper evaluates that question through sentiment classification and sentence-pair relatedness. These tasks expose different aspects of a sentence representation. Sentiment requires a discrete judgment about evaluative language. Relatedness requires a graded judgment about the relationship between meanings. Their supervision also differs: sentiment annotations can train intermediate phrase representations, whereas relatedness ratings supervise a comparison made from complete sentence representations. This distinction helps explain why the preferred tree application changes between tasks.

The reported outcomes favor Tree-LSTM, but the detail matters. Constituency composition gives the strongest fine-grained sentiment result and competitive binary sentiment performance. Dependency composition gives the strongest relatedness result. The paper therefore supports the usefulness of syntactic structure without establishing a single tree representation as uniformly superior.

What the comparisons control

The authors adjust hidden-state dimensionality to control recurrent composition parameter counts. This matters because different architectures require different parameter arrangements. Ordered children receive distinct transformations in the constituency application, while the Child-Sum application shares transformations across children. Comparing identical state dimensions would consequently leave an important capacity difference uncontrolled.

Matching composition parameters does not make every aspect of the systems identical. The trees determine how many intermediate states are constructed, which inputs meet at a node, and how far information travels before reaching the sentence representation. In sentiment, they also determine which annotated expressions can directly supervise a node. The comparison controls a meaningful source of variation while retaining the structural differences the paper intends to study.

The sequential sentiment baselines receive phrase-level training examples. Their predictions use the final hidden state after processing the relevant annotated span. This prevents a misleading interpretation in which tree architectures learn from phrase annotations while sequential alternatives learn only from whole sentences. The more specific imbalance concerns how readily each tree representation aligns with the available labeled spans.

For relatedness, the authors use the same learned comparison component across their own encoders. An unordered mean of word vectors, earlier dependency compositions, sequential LSTMs, and Tree-LSTMs all feed this shared prediction design. That arrangement helps focus the comparison on the sentence representations. Otherwise, a stronger score could arise from a different prediction component rather than from the encoder being investigated.

The bidirectional baselines share transition parameters across reading directions. The authors report that, under a comparable parameter allowance, this performs better than giving each direction separate parameters and reducing hidden dimensionality accordingly. Their baseline construction thus includes an explicit tradeoff between independent transformations and state size. The comparison is not presented as a contest against an arbitrary default configuration.

Sentiment data and evaluation settings

The Stanford Sentiment Treebank supplies movie-review sentences together with labeled phrase structures. In the fine-grained setting, sentiment is classified as very negative, negative, or neutral, or as positive or very positive. Its sentence-level training partition contains 8544 examples, its development partition contains 1101, and its test partition contains 2210. These counts describe sentences rather than all the annotated nodes used during training.

The binary setting removes neutral sentences and predicts positive or negative sentiment. Its training, development, and test partitions contain 6920, 872, and 1821 sentences respectively. The change in available examples follows from the task definition. Binary and fine-grained evaluation therefore differ in both their labels and the sentence collections on which they are measured.

The following comparison records the training settings rather than classification performance. The numerical accuracy entries are absent from the available result-table contents, so the chart cannot establish an accuracy advantage. Its purpose is to make the sentence-level supervision conditions visible without supplying unsupported scores.

Sentiment training settings and sentence counts

The fine-grained setting includes neutral sentences that the binary setting excludes.

Sentiment training settings and sentence countsBinary sentiment setting: 6920Binary sentiment setting6920Constituency Tree-LSTM fine-grained setting (this paper): 8544Constituency Tree-LSTM fine-grainedsetting (this paper)8544
The numbers
System or settingtraining sentences
Binary sentiment setting6920
Constituency Tree-LSTM fine-grained setting (this paper)8544

The chart’s counts should not be mistaken for the amount of intermediate supervision. Each training sentence can contain multiple annotated phrases. Constituency composition follows the supplied phrase tree, making those node labels directly available. Dependency composition requires a separate alignment between a dependency subtree’s span and a labeled phrase span. Sentence counts therefore leave an important difference in training opportunities unresolved.

The authors report about 150K labeled nodes for the dependency application and 319K for the constituency application. They identify separate reasons for that discrepancy. Dependency trees have fewer nodes, and some dependency-node spans do not match the annotated expressions. About 9% of dependency nodes cannot be assigned a label through this matching procedure.

These figures explain why the sentiment result needs more interpretation than a simple architecture ranking. The constituency application changes the structure through which information flows, but it also receives more directly labeled intermediate representations. Its stronger performance could reflect both advantages. The paper recognizes this issue rather than treating the comparison as a clean isolation of constituency syntax.

What the sentiment results establish

The detailed results discussion says that the Constituency Tree-LSTM leads the fine-grained sentiment comparison. For binary sentiment, the authors describe its performance as comparable with the strongest existing result. This qualification is more precise than claiming an unambiguous victory on every sentiment measure. The architecture’s clearest reported sentiment advantage concerns the finer label distinction.

Fine-grained classification demands more than deciding whether an expression is favorable or unfavorable. The predicted category must also distinguish intensity and neutrality within the available labels. A sentence representation that loses useful evaluative material can therefore make several kinds of error. The paper’s result shows that the constituency-based composition is effective for this setting, without supplying an error breakdown that would identify which distinctions benefit most.

The Dependency Tree-LSTM performs less well than its constituency counterpart on sentiment. The authors associate part of that gap with the smaller collection of labeled dependency nodes. Their wording leaves room for other explanations: the training imbalance is a partial account, not a demonstrated complete explanation. The experiments do not remove labels from constituency training until the supervision matches, nor do they otherwise separate every consequence of the different structures.

There is also a distinction between learning lexical sentiment and composing sentiment. The word vectors begin from a general lexical representation instead of an objective designed specifically for review polarity. Updating those vectors during sentiment training improves performance. The paper describes the improvement as substantial for fine-grained classification and smaller for the binary setting.

That finding means the reported sentiment system should be understood as task-adapted composition over task-adapted lexical inputs. The stronger result does not show that the tree alone repairs an otherwise fixed representation. Both the starting word vectors and the way they are combined can change under supervision. This is a normal part of the experimental setup, but it matters when attributing success to a particular component.

The authors connect their observation about lexical adaptation with the earlier sentiment finding in Convolutional Neural Networks for Sentence Classification. The connection concerns the usefulness of updating pretrained word representations. It does not imply that convolutional composition and tree composition operate in the same way. Different encoders can share a useful training choice while embodying different assumptions about sentence structure.

Relatedness data and the prediction target

The relatedness experiments use SICK, a collection of 9927 sentence pairs drawn from material originating in image and video descriptions. The training partition contains 4500 pairs, development contains 500, and testing contains 4927. Each pair receives a human relatedness judgment on the scale [1,5]. The target averages 10 annotator ratings, so it can lie between the scale’s integer reference points.

The prediction task is consequently graded rather than categorical. A successful system should assign similar scores to pairs that people judge similarly, and its numerical predictions should remain close to the observed ratings. The comparison network described earlier supports this by producing a distribution over rating levels and taking its expected value as the final score.

Pearson’s r and Spearman’s ρ are reported alongside mean squared error in the evaluation. Pearson’s r measures how predicted and human scores vary together through a linear relationship. Spearman’s ρ concerns their ranking agreement. Mean squared error measures the magnitude of prediction errors on the rating scale. These measures assess related but distinct properties of the output.

A system can order pairs usefully while remaining poorly calibrated to their exact ratings. Conversely, a narrow range of predictions might avoid some large errors without expressing the full ordering of human judgments. Reporting several measures therefore gives a broader picture than presenting a single score. The paper follows the relatedness evaluation associated with the SemEval task rather than defining success only through its training objective.

An important distinction follows: mean squared error is used for evaluation even though the selected training objective compares probability distributions. The authors prefer the distributional objective empirically. There is no contradiction in evaluating its output with a numerical error measure. Training determines how parameters are learned; evaluation determines how the resulting predictions are assessed.

Baselines that test different explanations

The mean-vector baseline removes learned sentence composition from the encoder. It represents a sentence through the average of its word vectors, then uses the same relatedness prediction component as the other internal baselines. This makes it a useful lexical reference. It tests how far the task can be solved through the words present, without an encoder that explicitly represents their order or syntactic arrangement.

The dependency Tree-RNN baselines provide a different control. DT-RNN composes information through dependency links using transformed child vectors and a nonlinearity. SDT-RNN adds relation-specific transformations. These alternatives already use syntax. Comparing them with Tree-LSTM asks whether the proposed memory and gating mechanism improves on another way of composing over a tree.

Sequential LSTMs address another possible explanation. If the benefit came entirely from using gates and memory, a strong chain-based LSTM might recover it. The experiments therefore include sequential alternatives with different arrangements of direction and depth. Tree-LSTM’s advantage over those systems supports the claim that the composition topology contributes something beyond the presence of an LSTM cell.

The external shared-task comparisons broaden the reference point further. The paper discusses ECNU and Illinois-LH, alongside UNAL-NLP and The Meaning Factory. These systems draw heavily on designed features, including surface overlap and lexical relationships from external resources. The authors’ LSTM setup does not add an equivalent collection of task-specific handcrafted features.

This difference supports a useful engineering conclusion: learned sentence representations can compete with systems that require more explicit feature construction. It should not be inflated into a claim that the LSTM systems use no external information. Their pretrained word vectors contain information learned from a large text collection, and their tree applications consume parser outputs. The meaningful contrast concerns the prediction features engineered for relatedness.

The paper also qualifies the historical comparison. It seeks the strongest available results for the shared-task systems, which are not always identical to their official submitted scores. The ECNU submission’s Pearson score is reported as 0.8280, while the authors say they compare against a stronger result associated with that system. The submitted value therefore cannot serve as the table’s final comparator.

What the relatedness results establish

The authors report that their LSTM systems exceed the external shared-task comparisons, with the Dependency Tree-LSTM producing the strongest relatedness results. This is the central empirical outcome for sentence-pair meaning. It combines a competitive learned comparison component with a representation whose information flow follows dependency syntax.

The available result-table contents do not include the numerical entries needed to state the winning Pearson correlation, Spearman correlation, or mean squared error. They also do not support calculating margins over individual baselines. The supported conclusion is the reported ordering and the authors’ interpretation of it. Assigning precise scores would go beyond the available evidence.

This boundary does not erase the experimental contribution. The comparison still identifies which architecture performs best under the described setup and which controls were used. It does, however, limit judgments about practical effect size. A reader cannot determine from the stated ordering alone whether the advantage is large enough to justify a particular deployment cost.

The authors suggest that dependency trees may help because their structure is relatively compact. Relatedness supervision arrives through the final sentence-pair prediction rather than through intermediate phrase labels. Shorter aggregate routes from words to the root could make useful composition easier to learn in that setting. The paper offers this as a conjecture consistent with the result.

That explanation also helps connect the relatedness outcome with the different sentiment outcome. Constituency trees can exploit the phrase labels available in sentiment training. Dependency trees may have an advantage when intermediate composition receives no direct target. The contrast points toward an interaction between structure and supervision, rather than a permanent ranking of syntactic representations.

Repeated runs and qualitative behavior

For their own experiments, the authors report means over 5 runs, with standard deviations in the result tables. Repetition matters because training can produce different outcomes across runs. A mean characterizes repeated behavior more usefully than an isolated successful run, while a standard deviation indicates variability under that procedure.

The numerical standard deviations are not available in the table contents here. It is therefore possible to describe the reporting protocol without claiming particular degrees of stability. The fact that results were averaged does not, on its own, establish statistical significance for every comparison. That requires evidence about the specific scores and variability.

The paper also examines retrieved neighbors within a 1000-sentence sample from the SICK test partition. It compares the Dependency Tree-LSTM ranking with cosine similarity between averaged word vectors. This analysis changes the viewpoint from an aggregate rating metric to concrete examples of what the representations bring close together.

An example involving ocean-related meaning is especially relevant to information preservation. The word ocean appears at depth 4 beneath the root associated with waving. The retrieved sentences nevertheless remain connected to ocean meaning, including the relationship with beach. This suggests that a word need not sit immediately below the root for its contribution to remain useful in the final representation.

Another example connects a guitar-playing query with a longer expression about public performance involving singing and dancing. The authors emphasize the lack of shared tokens between the compared phrases. The example illustrates a relationship that lexical overlap alone cannot explain. It also shows why qualitative inspection complements the relatedness scores: it makes a possible semantic behavior visible.

These examples remain local observations. They demonstrate that the reported behavior occurs in the inspected cases, but they do not measure how frequently it occurs across all inputs. The aggregate evaluation and the retrieval examples support different conclusions. The former assesses predictive performance over a test partition; the latter helps interpret the kinds of relationships that a learned representation can preserve.

What the ablations show

The paper contains controlled comparisons and component-selection observations, but it does not present a comprehensive numerical ablation study that isolates every architectural decision. Its evidence combines parameter-aware architecture comparisons, task-specific training observations, length analyses, and qualitative retrieval examples. Each contributes to the argument, though their explanatory reach differs.

An ablation is most informative when a component changes while other relevant conditions remain fixed. Several comparisons here approach that goal, but not all do so equally. Replacing a sequence with a tree changes the computational structure. Replacing constituency syntax with dependency syntax also changes the number of nodes and the available sentiment labels. The latter comparison therefore requires more caution when identifying a cause.

Parameter matching strengthens the structural comparison

Controlling composition parameter counts addresses a straightforward alternative explanation: perhaps the tree systems perform better merely because their recurrent transitions contain more learned capacity. The authors vary hidden dimensions to reduce that concern. The resulting comparison asks what different organizations of a comparable parameter allowance can achieve.

This is a useful control because the architectures distribute parameters differently. A Child-Sum transition shares a transformation across incoming children. An ordered transition distinguishes child positions. A multilayer sequence encoder allocates parameters across layers. Without adjustment, a comparison could conflate these design choices with a larger overall composition function.

The control nevertheless does not isolate topology in a strict mathematical sense. Changing hidden dimension changes the width of each state. Different structures also perform different numbers of transitions for a sentence. Equal parameter counts therefore leave several computational properties unequal. The result supports the practical value of the proposed architecture under a capacity constraint, rather than proving that a single structural property explains everything.

The strongest inference is consequently comparative: a chain-based organization does not recover the same reported performance merely by receiving a comparable composition parameter allowance. Tree structure remains useful in the evaluated settings. This is narrower and more defensible than claiming that parameter matching eliminates every possible confound.

Bidirectional weight sharing tests a capacity tradeoff

The bidirectional baseline comparison examines whether separate forward and backward parameters are worth their cost. Under the fixed parameter allowance, untied transitions require smaller hidden states. The authors report better performance when the transitions share parameters and retain a larger state dimension.

That finding matters because it shows attention to baseline quality. Bidirectionality alone does not specify a unique experimental system. Sharing or separating directional parameters changes both the available transformations and the state width affordable under the comparison. The paper selects the better-performing arrangement within that tradeoff.

It does not establish a universal preference for shared directional weights. The observation belongs to the evaluated conditions and capacity constraint. A different task, training collection, or parameter allowance might change the balance. The reusable lesson is methodological: baseline choices should be evaluated under the same resource accounting used to justify the main architecture comparison.

The sentiment tree comparison exposes a supervision confound

The constituency application performs better than the dependency application on sentiment, but it also receives more labeled nodes. The figures of about 150K and 319K describe a substantial difference in directly supervised intermediate states. This affects how readily the encoder can learn useful phrase-level representations.

A labeled internal node supplies a local prediction target. The representation at that node does not have to become useful only through its later effect on the sentence root. When many such targets are available, training can shape intermediate composition more directly. The constituency representation aligns naturally with the dataset’s phrase annotations, giving it more opportunities for this kind of learning.

Dependency nodes receive labels through span matching. Some do not correspond to a labeled phrase, and the dependency representation contains fewer nodes to begin with. The resulting training difference is a property of the experimental pairing between a representation and an annotation scheme. It should not be treated as evidence that dependency syntax inherently contains less useful meaning.

The paper does not report a supervision-matched sentiment experiment that would resolve this issue. It therefore cannot determine how much of the constituency advantage comes from its structural composition and how much comes from additional labeled nodes. The authors’ partial attribution is appropriately cautious.

This comparison offers a broader experimental lesson. Changing a representation can change the training set as experienced by the learner even when the sentence collection stays fixed. Researchers evaluating structured encoders need to count supervision at the level where it enters the computation. A sentence count alone can conceal an important difference.

Root-level supervision changes the interpretation

Relatedness reverses the preferred tree application while removing direct targets from intermediate nodes. Both sentence encoders must become useful through their root representations and the pairwise prediction loss. This contrast makes the supervision hypothesis plausible: an architecture that benefits from abundant local labels need not remain best when those labels disappear.

The dependency compactness explanation fits this pattern. If useful information passes through fewer compositions before reaching the supervised root, learning may be easier under sentence-level supervision. The paper does not measure the causal contribution of path length independently, however. Compactness and other differences between the parses remain bundled together.

The cross-task comparison is therefore informative without being a clean ablation. Sentiment and relatedness differ in their targets, data, lexical adaptation, and regularization as well as supervision location. The result motivates a hypothesis about structure and training signals. It does not isolate supervision location as the sole reason the ranking changes.

A careful interpretation keeps both observations visible. Constituency composition is strongest where the supplied annotations align well with its internal nodes. Dependency composition is strongest where only sentence-level representations receive the prediction signal. This pattern encourages further investigation rather than settling the mechanism.

Lexical adaptation contributes to sentiment performance

The authors report that updating word vectors helps fine-grained sentiment substantially and binary sentiment more modestly. This observation separates a lexical training choice from the tree topology. The same composition architecture can receive inputs that remain fixed or inputs that adapt towards the task.

The interpretation follows the role of the initial vectors. Their pretraining does not directly optimize review sentiment. Task training can therefore adjust distinctions that matter for evaluative categories. A representation useful for general lexical relationships need not already arrange sentiment-bearing words in the most helpful way for this classifier.

The absence of numerical gains limits the conclusion. The paper supports the direction and relative characterization of the benefit across the sentiment subtasks, but not a precise effect size. It also does not show that every individual word representation becomes more semantically interpretable after adaptation. The observed gain concerns predictive performance.

Relatedness offers a contrasting observation: updating the lexical vectors does not produce a significant improvement in the authors’ experiments, so they keep them fixed. This makes clear that lexical adaptation is not an unconditional ingredient of Tree-LSTM success. Its usefulness depends on the target and training conditions.

The comparison network benefits from complementary features

The relatedness component combines elementwise products with absolute differences. The authors report that the combination works better than either feature family alone. This is a component comparison within the prediction system rather than an ablation of tree structure.

The operations expose different aspects of the paired representations. Absolute differences describe coordinatewise separation. Products respond to the values and signs that occur together. A learned layer can use both signals, rather than receiving a single fixed notion of distance.

The observation matters for interpreting the encoder comparison because every internal relatedness baseline uses the same comparison component. The chosen feature combination can improve the overall system, but it cannot by itself explain why a particular encoder outranks another when both receive it. Holding the comparison design fixed makes the architectural result more specific.

The paper does not provide the separate scores needed to quantify how much each feature contributes. Nor does it compare the selected combination with every possible sentence-pair interaction. The supported claim is local: among the alternatives the authors discuss, retaining both views improves performance.

The target distribution is an empirical output choice

The authors compare their distributional relatedness objective with direct mean squared error optimization and report better performance for the former. This supports the decision to express an averaged rating through probability mass on neighboring scale positions.

The output design preserves the observed rating as an expectation while training a distribution over ordered reference levels. That arrangement gives the learner a more structured target than a scalar alone. The paper’s observation shows that this choice helps in the reported experiments, although it does not supply a numerical comparison.

This result should remain separate from the claim about tree topology. A sequential encoder can also feed the same distributional output. The objective is part of the shared relatedness recipe. It improves the experimental system without demonstrating that a particular memory route inside Tree-LSTM is responsible.

There is also a limit to what the predicted distribution means. The constructed target is determined by the averaged score and its neighboring scale levels. It is not the full distribution of individual annotator judgments. Better performance under this objective does not establish that the system reproduces human disagreement.

Regularization behaves differently across tasks

The sentiment classifier uses dropout at a rate of 0.5. The authors report no gain from applying dropout to relatedness. This is another example of a training choice whose value depends on the task, instead of a property that follows automatically from the architecture.

The difference warns against treating the successful recipe as a single inseparable package. Tree-LSTM specifies how states are composed. Dropout specifies a regularization procedure during training. Their roles interact in the final performance, but they answer different design questions.

The paper does not provide enough numerical detail to compare several dropout rates or to identify a precise reason for the task difference. It supports the authors’ chosen settings and their reported lack of benefit on relatedness. A broader explanation would require evidence beyond this comparison.

The same caution applies to development-set tuning generally. Hyper-parameter selection makes the reported systems better matched to their tasks. It also means that the final setup reflects empirical choices, not deductions from the transition equations alone. Reusing the architecture elsewhere does not guarantee that the same regularization settings remain preferable.

Sentence length tests the memory-preservation explanation

The authors consider whether trees help because they reduce the difficulty of retaining information across a long sequence. This hypothesis predicts an especially clear advantage on longer sentences. They examine performance as a function of sentence length to see whether the observed pattern fits that expectation.

For sentiment, they group test sentences through overlapping windows centered on a length ℓ, covering [ℓ − 2, ℓ + 2]. The long-sentence tail is collected into a final window centered at ℓ = 45. For relatedness, grouping uses the pair’s mean sentence length, with the final tail window centered at ℓ = 18.5.

These windows help make the curves readable, but neighboring points do not represent disjoint collections. A sentence can contribute to overlapping windows. The plots should therefore be interpreted as smoothed descriptions of length-related behavior, rather than as a sequence of independent experiments.

Each plotted point averages 5 runs. Error bars are omitted for readability. The source does not state the plotted numerical scores, so the figures support qualitative observations and the specific length range discussed by the authors, rather than additional numerical claims reconstructed from their appearance.

The reported relatedness advantage is particularly clear for sentences of length 13 to 15. That observation is consistent with the preservation hypothesis: a tree can provide useful routes for carrying information into the final representation. It does not establish that every longer sentence benefits, or that the same range characterizes other datasets.

The Dependency Tree-LSTM also performs strongly on shorter sentences. This matters because it weakens an explanation based completely on avoiding long sequential paths. The authors infer that the tree may additionally supply semantically useful structural organization. That conclusion is plausible, but the length analysis does not isolate which syntactic distinctions provide the benefit.

Qualitative retrieval tests what survives composition

The nearest-neighbor examples examine whether meaningful relationships remain visible after sentence compression. The ocean example is particularly relevant because the associated word is relatively distant from the root. Its influence on retrieval suggests that useful lexical content can survive several upward compositions.

The beach–ocean relationship also shows behavior beyond literal matching. A representation can bring expressions together through related meaning even when their central words differ. The comparison with averaged embeddings helps illustrate that the learned composition changes which relationships dominate retrieval.

The public-performance example adds a length contrast. A short guitar-playing query retrieves a longer description involving singing and dancing before an audience. The authors use it to suggest robustness when related expressions differ in length and vocabulary.

These observations do not identify the gate components responsible. No reported intervention closes a particular forget gate, removes the ocean word, or substitutes a different parse while holding everything else fixed. The examples reveal behavior of the complete representation and comparison procedure. They do not furnish a causal explanation of its internal decisions.

Taken together, the analyses support several parts of the design while leaving the mechanism partly open. Parameter controls strengthen the architectural comparison. Training observations justify task-specific choices. Length behavior and retrieval examples suggest useful structural retention. None alone establishes that a particular gate or syntactic relationship accounts for the full performance advantage.

Limitations

The paper offers evidence that tree-structured LSTM composition can improve sentence representations on the evaluated tasks. Its limits concern the breadth of that evidence, the comparability of the training conditions, and the strength of the proposed explanations. Some are explicitly recognized by the authors; others follow from the experimental design and should be treated as careful-reader qualifications.

Author-stated limits: supervision is unequal in sentiment

The authors directly acknowledge that the dependency sentiment application receives fewer labeled nodes. The reported counts of about 150K and 319K make this a central qualification, instead of a minor implementation detail. The strongest constituency result is obtained under an annotation scheme that naturally fits constituency structure.

The mismatch arises partly because dependency and constituency representations contain different node inventories. It also arises because about 9% of dependency nodes fail to align with a labeled training span. These are distinct sources of missing supervision. Merely supplying the same sentences does not remove either one.

The consequence is interpretive. The sentiment comparison does not establish that ordered phrase composition would remain superior if both systems received equivalent intermediate targets. Nor does it show that dependency composition would catch up under such a condition. The relevant experiment is not reported.

The authors’ explanation remains partial. They do not claim to have decomposed the performance gap into independent contributions from structure, label availability, or other training differences. Readers should preserve that uncertainty rather than turning an acknowledged confound into a complete causal account.

Author-stated limits: compactness is a conjecture

The explanation for dependency relatedness performance is also qualified. The authors suggest that a more compact tree can help when supervision enters through sentence roots. They point towards shorter aggregate paths from word inputs to the sentence representation as a possible advantage.

This is a reasoned interpretation of the result, not a separately demonstrated mechanism. The paper does not replace the dependency tree with an artificial structure matched for path lengths, or otherwise hold compactness constant while changing syntactic information. Several structural properties vary together.

The length analysis offers supporting context but does not settle the issue. Stronger performance on longer inputs fits an information-preservation account. Strong shorter-input performance suggests additional structural benefits. Neither observation quantifies how much each factor contributes.

The appropriate conclusion is that the results motivate further study of structure. They establish useful behavior under the evaluated conditions while leaving the explanatory balance between path geometry and linguistic organization unresolved.

Author-stated limits: ordered branching can become expensive

The general N-ary formulation contains cross-child forget transformations. These let one child’s hidden state influence retention of another child’s memory. That flexibility is attractive, but the authors note that the additional parameters become impractical for large N.

They suggest parameter tying or fixing selected transformations to zero as ways to manage the issue. These possibilities reduce or constrain the general formulation. The paper does not supply a broad experimental investigation of how such restrictions affect performance across high-branching structures.

The evaluated constituency application uses binarized trees, so its success does not establish the practicality of a fully parameterized ordered transition at arbitrary branching factors. The Child-Sum construction handles variable branching through a different sharing assumption. These variants solve related composition problems under different structural constraints.

This distinction matters when transferring the architecture. A result for binary phrase composition should not be read as evidence that every ordered hierarchy can use the most flexible formulation economically. The parameterization must be considered alongside the structure it will encounter.

Careful-reader limit: the tasks cover a restricted part of meaning

Sentiment and relatedness provide useful tests, but neither is a complete measure of sentence meaning. Sentiment concentrates on evaluative categories. Relatedness compresses the relationship between sentences into a scalar human judgment. A representation can perform well on those targets while omitting distinctions needed for another task.

The paper does not test a comprehensive inventory of semantic abilities. It does not demonstrate that the root vector explicitly identifies every participant, relation, or scope distinction in a sentence. Its evidence concerns predictions made from the representations, not a complete interpretation extracted from them.

Relatedness is especially easy to overread. Sentences can be closely related while making different claims. A system trained to reproduce a relatedness score need not provide a full account of those differences. High agreement with ratings therefore supports usefulness for graded comparison without certifying semantic equivalence judgments.

The same restraint applies to sentiment. Correct classification does not establish that the representation captures every proposition expressed in a review. The task rewards preserving information relevant to sentiment. Other content may remain unnecessary for the objective.

Careful-reader limit: evaluation remains within particular data sources

The sentiment sentences come from movie reviews. The relatedness sentences originate in image and video descriptions. These sources provide concrete evaluation settings, but they do not establish performance across all forms of language.

The tasks also use their stated training, development, and test partitions. The paper does not report a broad series of transfers to unrelated domains, annotation practices, or linguistic settings. Generalizing beyond the evaluated collections is therefore an architectural possibility instead of a measured result.

The qualitative retrieval sample is drawn from the SICK test material as well. It adds interpretive detail within the same general setting; it does not create an independent cross-domain evaluation. Its examples should not be treated as evidence that the encoder has been tested on unrestricted search queries.

This boundary does not diminish the value of the experiments. A controlled task comparison can establish an important architectural result without covering every use case. The limitation concerns how far that result can be carried without further measurement.

Careful-reader limit: syntax is supplied

Tree-LSTM learns composition over a structure it receives. The experiments use dataset-provided constituency trees for sentiment and parser-produced structures where required. The encoder does not jointly discover the tree solely from the task objective.

Its measured behavior therefore depends on the whole pipeline, including structural analysis. A different parse can change which representations meet and how information reaches the root. The paper does not systematically vary parser quality or measure sensitivity to alternative analyses.

This leaves an important engineering uncertainty. A useful encoder may still depend on obtaining suitable trees for the target text. The experiments establish benefits with the structures used by the authors, rather than a guarantee under arbitrary parsing conditions.

Nor does the paper show that syntax is the only possible source of useful structure. The comparison concerns the proposed syntactic applications and their baselines. It does not exhaustively compare learned trees, task-specific hierarchies, or other arrangements of composition.

Careful-reader limit: unordered aggregation has a specific restriction

The Child-Sum construction does not distinguish child positions within its hidden-state aggregate. Reordering the same completed child states leaves that sum unchanged. Its flexibility with variable branching comes from this sharing choice.

That does not make the complete dependency representation orderless. The tree itself can change when sentence structure changes, and each child carries information from its own subtree. The restriction concerns distinctions available to the parent once a particular collection of child states has been supplied.

The stated equations also do not give the Child-Sum application a separate transformation for each dependency relation. The paper describes such relation-specific transformations in the SDT-RNN baseline, which is a different composition design. A reader should not attribute that feature to the proposed dependency transition.

This identifies an expressive boundary without proving a practical failure. The experiments show that the selected sharing scheme works well on relatedness. They do not establish that discarding sibling-position distinctions is harmless for every task or every tree representation.

Careful-reader limit: the comparison is task-trained

The sentence representations are learned to support the evaluated objectives. Relatedness uses a trained pairwise comparison component, and sentiment uses a trained classifier. The experiments do not establish universal usefulness of the root vectors for arbitrary downstream predictions.

The same point applies to the retrieval examples. A relatedness-trained system can produce compelling neighbors, but that behavior does not by itself demonstrate a general representation suitable for every retrieval or reasoning setting. The objective has shaped what distinctions are useful.

There is no reported evaluation in which the sentence encoder is frozen and tested across a broad set of unrelated tasks. Accordingly, “improved representation” should be read relative to the evidence: improved support for the measured sentiment and relatedness predictions.

This is particularly relevant when borrowing the method. The transition equations are reusable, but the trained parameters and resulting geometry are products of their supervision. A new application needs its own evidence that the preserved distinctions match its targets.

Careful-reader limit: transparency of computation is not interpretation

The architecture makes information routes explicit. An observer can identify a child’s memory, its forget gate, and the contribution passed upward. That is a useful computational decomposition.

It does not follow that an individual hidden coordinate has a stable, human-readable linguistic meaning. A gate scales numerical components whose interpretation depends on the learned representation. Describing a branch as retained does not automatically explain which semantic distinctions survive in a form the predictor uses.

The authors’ examples of semantic heads and sentiment-bearing children illustrate possible learned behavior. They are not a complete empirical account of gate semantics. The paper does not present a coordinate-level interpretation study or systematic interventions that assign linguistic meanings to its gates.

The qualitative results support the behavior of the full system. They show that useful distant information can influence retrieval. They do not establish a direct correspondence between particular gate values and named semantic concepts.

Careful-reader limit: parameter counts are not deployment measurements

The parameter-aware comparison is valuable, but it does not provide a complete resource comparison. The paper does not report a broad account of parsing cost, wall-clock training time, inference latency, or memory use across the architectures.

A tree system includes preprocessing and a computational graph that differs from a chain. Equal recurrent parameter counts do not imply equal execution cost. They also do not specify how a particular implementation schedules operations or stores intermediate states.

The code release makes the method concrete, but its existence alone does not establish suitability for a constrained application. A deployment decision would need measurements relevant to that application’s input lengths, throughput requirements, and available structures.

The supported engineering claim is narrower: tree composition improves the reported predictions under the experimental setup. Whether its benefit justifies its total cost remains a separate question.

Careful-reader limit: several design observations are unquantified

The paper reports benefits from combined pair features, its distributional objective, and sentiment lexical adaptation. Those observations justify selected design choices, but their numerical effect sizes are not stated in the available account.

The same issue limits assessment of the main result margins because the result-table entries are absent. The direction of the reported comparisons is clear. Their practical magnitude and run-to-run overlap cannot be reconstructed from the prose alone.

The length figures also do not authorize numerical readings beyond the values explicitly discussed. Their role is to show a behavioral pattern. Treating an apparent plotted height as an exact correlation or accuracy would claim more precision than the stated evidence supplies.

The broader lesson is to distinguish a supported architectural finding from a fully quantified explanation. Tree-LSTM demonstrates that branching LSTM composition is useful in the studied settings. The paper leaves room for further work on effect sizes, causal mechanisms, robustness, and transfer.

What came after

The later papers that cite Tree-LSTM span sentence representations, sentiment, information extraction, graph computation, and broader language-system infrastructure. Their connection is not uniform. A citation can indicate direct architectural use, a comparison point, or historical context. Where the available descriptions do not identify a specific adaptation, the relationship should remain at that broader level.

Tree-LSTM’s lasting conceptual contribution in this record is the separation between a recurrent unit and the topology over which it operates. Memory and gating need not be confined to a chain. They can be organized around a structure that expresses relationships among inputs. Later titles show this question continuing through trees, graphs, lattices, and other arrangements, although they do not by themselves establish identical mechanisms.

Sentence representations continued beyond a single composition route

Hierarchical Attention Networks for Document Classification places document classification and hierarchical attention in its title. That makes it relevant to the broader question of how smaller linguistic units contribute to a representation of a larger text. Tree-LSTM addresses this through syntactic composition inside sentences. The later citation record connects it with work concerned with a different level of organization.

The available entry does not specify a Tree-LSTM component in that document system. It would therefore be unwarranted to say that the later work replaces a particular forget gate or directly extends the paper’s equations. The defensible connection is conceptual: both belong to the study of structured aggregation, where intermediate representations matter to the final text prediction.

A Structured Self-attentive Sentence Embedding returns directly to sentence representation while identifying self-attention as its organizing mechanism. Its citation places Tree-LSTM within the relevant background for representing sentence meaning. The title supports that relationship without establishing the details of its architecture or experimental comparison.

This continuation is useful because it keeps the scientific question broader than a preferred implementation. Tree-LSTM shows a successful way to preserve and combine sentence information. A later sentence-embedding approach can investigate a different route to that goal while treating tree-based composition as part of the established research landscape.

DiSAN: Directional Self-Attention Network for RNN/CNN-Free Language Understanding makes a different architectural emphasis explicit in its title. Its presence among the citing works shows that Tree-LSTM remained relevant even to research framed around alternatives to recurrent and convolutional computation. Citation alone does not establish which Tree-LSTM finding the later paper relies on.

The useful continuity is the representation problem: deciding which interactions should shape a sentence-level result. Tree-LSTM answers through supplied syntax and gated memory. The later title signals another way to organize interactions. Their relationship should be described as part of that continuing investigation rather than as a demonstrated inheritance of the tree equations.

Sentiment research made the prediction target more specific

Attention-based LSTM for Aspect-level Sentiment Classification links LSTM processing with sentiment about an aspect. This is a more specific prediction framing than assigning an overall movie-review sentence label. Its citation to Tree-LSTM places the earlier paper among the relevant work on sentence representation and sentiment.

The title does not establish that its attention mechanism uses a syntactic tree or child-specific forget gates. The connection that can be made safely is that representation selection remains central: a sentiment system must preserve the information relevant to the prediction target. Tree-LSTM offers a general mechanism for selective retention, while the later work’s title identifies attention and aspect-level classification as its focus.

Effective LSTMs for Target-Dependent Sentiment Classification likewise foregrounds the target of a sentiment judgment. That distinction matters conceptually because information useful for an overall sentence label need not be sufficient for a judgment tied to a particular target. The later citation records continued interest in how LSTM representations support such tasks.

The available entry does not identify a direct modification of Tree-LSTM. It therefore supports a discussion of the shared problem area, not a detailed account of architectural descent. The earlier paper’s result is relevant as evidence that the organization of composition can affect sentiment performance, but the specific use made by the later work is not documented here.

Aspect-based Sentiment Classification with Aspect-specific Graph Convolutional Networks brings graph convolution into the same broad task family. The title identifies a relationship between aspect-specific prediction and graph-based computation. This extends the surrounding research question from tree-organized composition towards other structured encoders.

It would go beyond the available description to specify how that graph is built or which Tree-LSTM components it changes. The defensible comparison is at the level of representation design: both works make the organization of information exchange part of the sentiment system. Their computational mechanisms should remain distinct unless further evidence establishes a direct connection.

Relation extraction kept syntax in the computational picture

End-to-End Relation Extraction using LSTMs on Sequences and Tree Structures provides a particularly close thematic continuation. Its title explicitly combines LSTMs with both sequence and tree structures for information extraction. This carries the sequence-versus-structure question into a task concerned with relations expressed in text.

The title supports the statement that both forms of organization enter the later work’s framing. It does not, by itself, specify the exact tree transition or identify which portions derive directly from Tree-LSTM. A precise account must stop short of inventing that implementation detail.

The conceptual inheritance is still clear enough to be useful. Tree-LSTM demonstrates that an LSTM can operate over a branching structure. The later title shows relation extraction treating sequences and trees as compatible components of a sentence-processing system. That is a continuation of the structural design space opened by the earlier paper.

Graph Convolution over Pruned Dependency Trees Improves Relation Extraction also places dependency structure at the center of its title. Here the named computation is graph convolution, and the structure is a pruned dependency tree. The citation connects Tree-LSTM with another way of propagating information along linguistic links.

The available entry does not give pruning rules, result values, or an explicit comparison against the earlier architecture. Those details cannot be supplied. What the title does establish is continued use of dependency structure as part of a learned extraction system, with a different propagation mechanism from the gated cell composition described in Tree-LSTM.

Attention Guided Graph Convolutional Networks for Relation Extraction adds attention guidance to the graph-convolutional relation-extraction setting. Its citation belongs to the same broad trajectory: sentence information is organized through relationships rather than processed only as an undifferentiated stream.

This does not make attention guidance equivalent to a child-specific forget gate. Both concern selective influence in a broad sense, but the mechanisms and structures are not interchangeable. The later-work record supports recognizing the continuing importance of controlled information flow while preserving the differences between architectures.

Structured computation expanded beyond syntactic sentence trees

Chinese NER Using Lattice LSTM identifies an LSTM organized around a lattice for named entity recognition. The title signals a structure other than the dependency or constituency trees evaluated in Tree-LSTM. Its presence in the citation record shows the earlier paper’s relevance to a broader discussion of structured LSTM computation.

The available entry does not specify the lattice contents, transition equations, or the precise role of the citation. It would be inappropriate to describe those details from the title alone. The grounded connection is that an LSTM’s information-flow structure can itself become an architectural choice.

Rumor Detection on Twitter with Tree-structured Recursive Neural Networks moves tree-structured recursion into another task. The title establishes the use of recursive tree computation for rumor detection. It does not establish that the trees represent sentence syntax, nor that the recursive units use Tree-LSTM gates.

That distinction is instructive. A tree is a computational organization that can appear in several kinds of data, while a Tree-LSTM is a particular family of transitions over such an organization. The later title supports a connection through structured recursion without justifying a claim that the same tree semantics or memory formulation is used.

Convolutional Networks on Graphs for Learning Molecular Fingerprints places graph-based representation learning outside the sentence tasks studied here. Its citation shows Tree-LSTM appearing in a wider neighborhood of research on composing representations over relational structures.

The title alone does not support a specific transfer from linguistic trees to molecular representations. The safe comparison is the abstract design question: how should an input’s relationships determine the computation that builds its representation? Tree-LSTM gives a detailed answer for branching gated composition, while the later entry identifies another structured representation setting.

Relational inductive biases, deep learning, and graph networks provides an even broader conceptual context through its title. Tree-LSTM can be understood as an example in which relationships constrain the routes along which information is combined. Its tree topology supplies a structural assumption before task learning determines the numerical behavior.

The citation record does not establish a specific theorem or taxonomy connecting the works. It does support placing Tree-LSTM within the wider question of how relational organization shapes learning. That perspective helps explain why the paper’s significance extends beyond its particular sentiment and relatedness scores.

Evaluation and simpler alternatives remained important

Deep Unordered Composition Rivals Syntactic Methods for Text Classification identifies a useful counterpoint in its title. Tree-LSTM demonstrates benefits from syntax under particular conditions; the later citation record also contains work framed around competitive unordered composition.

No result values or experimental details are supplied for that later work. Its title therefore cannot establish that unordered composition matches Tree-LSTM on SICK or on the same sentiment configuration. The relevant lesson is the continued need for strong simpler alternatives, instead of an unsupported reversal of the earlier paper’s result.

This is consistent with the careful reading of Tree-LSTM itself. A structural architecture should earn its added complexity through evaluation on the intended task. Linguistic plausibility is a reason to test it, not a substitute for comparing it with an effective baseline.

SentEval: An Evaluation Toolkit for Universal Sentence Representations foregrounds evaluation of sentence representations. Its citation connects the paper with later efforts whose title explicitly emphasizes broader assessment. This is relevant to a limit of Tree-LSTM’s experiments: success is demonstrated through particular trained prediction tasks.

The entry does not state which Tree-LSTM system, if any, the toolkit evaluates or how it performs. The grounded connection concerns evaluation scope. A method that produces useful sentence vectors raises questions about how broadly those vectors remain useful, and that question is distinct from obtaining a strong result with a task-specific comparison component.

A Primer on Neural Network Models for Natural Language Processing situates neural approaches against an earlier practice of sparse features and linear classifiers. Its supplied description emphasizes the background readers needed as nonlinear methods became increasingly competitive. Within that educational setting, Tree-LSTM belongs to the expanding repertoire of architectures for language processing.

The available description does not identify the exact treatment of Tree-LSTM in the primer. It supports a broader historical connection: structured neural composition became part of what practitioners needed to understand, alongside lexical representations, sequence processing, and task-specific prediction.

Broader pretraining and infrastructure create more distant connections

CodeBERT addresses the absence of a shared pretrained encoder for natural language and source code. Its supplied description contrasts that goal with text-only pretraining and earlier code systems restricted to a single language. This is a different central problem from adapting LSTM composition to syntax.

Its citation to Tree-LSTM should therefore not be described as evidence that CodeBERT uses the paper’s memory cells. The documented connection is broader: both concern learned representations for structured linguistic or programming inputs. The later description establishes its own pretraining motivation, not a specific inheritance of tree-gated composition.

Pre-trained Models for Natural Language Processing: A Survey similarly places Tree-LSTM within a wider representation-learning literature. The title supports describing it as a survey of pretraining. It does not establish a direct architectural extension or a particular verdict on tree composition.

TVM occupies another distinct part of the record: its title concerns an optimizing compiler for deep learning. The available entry gives no specific account of how Tree-LSTM is used. Its citation is therefore evidence of relevance to the surrounding computational ecosystem, rather than evidence of a new semantic composition result.

Across these later works, the strongest supported continuity is a research question. Learned representations depend not only on their numerical state and objective, but also on the relationships through which information is allowed to interact. Tree-LSTM makes that question concrete with branch-specific memory retention and explicit tree transitions. The citing record carries it into other sentence encoders, targeted prediction tasks, and broader structured computation, while leaving each later work’s particular mechanism to be established by its own evidence.

Cite

Cite as Kai Sheng Tai, Richard Socher and Christopher D. Manning. 2015. Improved Semantic Representations From Tree-Structured Long Short-Term Memory Networks. Proceedings of the 53rd Annual Meeting of the Association for Computational Linguistics and the 7th International Joint Conference on Natural Language Processing (Volume 1: Long Papers).

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.3115/v1/p15-1150 · arXiv 1503.00075

@inproceedings{tai2015improved,
  title = {{Improved Semantic Representations From Tree-Structured Long Short-Term Memory Networks}},
  author = {Kai Sheng Tai, Richard Socher and Christopher D. Manning},
  booktitle = {Proceedings of the 53rd Annual Meeting of the Association for Computational Linguistics and the 7th International Joint Conference on Natural Language Processing (Volume 1: Long Papers)},
  year = {2015},
  doi = {10.3115/v1/p15-1150},
  eprint = {1503.00075},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.3115/v1/p15-1150}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/tai-2015-improved-semantic-representations-tree-structured/

References

41 references, from the paper's own bibliography.

  1. Bahdanau, Dzmitry, Kyunghyun Cho, and Yoshua Bengio. 2014. Neural machine translation by jointly learning to align and translate. arXiv preprint arXiv:1409.0473 . our card
  2. Bengio, Yoshua, Patrice Simard, and Paolo Frasconi. 1994. Learning long-term dependencies with gradient descent is difficult. IEEE Transactions on Neural Networks 5(2):157–166. OpenAlex ↗ · Scholar ↗
  3. Bjerva, Johannes, Johan Bos, Rob van der Goot, and Malvina Nissim. 2014. The Meaning Factory: Formal semantics for recognizing textual entailment and determining semantic similarity. SemEval 2014 . our card
  4. Blunsom, Phil, Edward Grefenstette, Nal Kalchbrenner, et al. 2014. A convolutional neural network for modelling sentences. In Proceedings of the 52nd Annual Meeting of the Association for Computational Linguistics. our card
  5. Chen, Danqi and Christopher D Manning. 2014. A fast and accurate dependency parser using neural networks. In Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP). pages 740–750. our card
  6. Collobert, Ronan, Jason Weston, Léon Bottou, Michael Karlen, Koray Kavukcuoglu, and Pavel Kuksa. 2011. Natural language processing (almost) from scratch. The Journal of Machine Learning Research 12:2493–2537. our card
  7. Duchi, John, Elad Hazan, and Yoram Singer. 2011. Adaptive subgradient methods for online learning and stochastic optimization. The Journal of Machine Learning Research 12:2121–2159. OpenAlex ↗ · Scholar ↗
  8. Elman, Jeffrey L. 1990. Finding structure in time. Cognitive science 14(2):179–211. OpenAlex ↗ · Scholar ↗
  9. Foltz, Peter W, Walter Kintsch, and Thomas K Landauer. 1998. The measurement of textual coherence with latent semantic analysis. Discourse processes 25(2-3):285–307. OpenAlex ↗ · Scholar ↗
  10. Ganitkevitch, Juri, Benjamin Van Durme, and Chris Callison-Burch. 2013. PPDB: The Paraphrase Database. In HLT-NAACL. pages 758–764. our card
  11. Goller, Christoph and Andreas Kuchler. 1996. Learning task-dependent distributed representations by backpropagation through structure. In IEEE International Conference on Neural Networks. volume 1, pages 347–352. OpenAlex ↗ · Scholar ↗
  12. Graves, Alex, Navdeep Jaitly, and A-R Mohamed. 2013. Hybrid speech recognition with deep bidirectional LSTM. In IEEE Workshop on Automatic Speech Recognition and Understanding (ASRU). pages 273–278. OpenAlex ↗ · Scholar ↗
  13. Grefenstette, Edward, Georgiana Dinu, Yao-Zhong Zhang, Mehrnoosh Sadrzadeh, and Marco Baroni. 2013. Multi-step regression learning for compositional distributional semantics. arXiv preprint arXiv:1301.6939 . OpenAlex ↗ · Scholar ↗
  14. Hinton, Geoffrey E, Nitish Srivastava, Alex Krizhevsky, Ilya Sutskever, and Ruslan R Salakhutdinov. 2012. Improving neural networks by preventing co-adaptation of feature detectors. arXiv preprint arXiv:1207.0580 . our card
  15. Hochreiter, Sepp. 1998. The vanishing gradient problem during learning recurrent neural nets and problem solutions. International Journal of Uncertainty, Fuzziness and Knowledge-Based Systems 6(02):107–116. OpenAlex ↗ · Scholar ↗
  16. Hochreiter, Sepp and Jürgen Schmidhuber. 1997. Long Short-Term Memory. Neural Computation 9(8):1735–1780. OpenAlex ↗ · Scholar ↗
  17. Huang, Eric H., Richard Socher, Christopher D. Manning, and Andrew Y. Ng. 2012. Improving word representations via global context and multiple word prototypes. In Annual Meeting of the Association for Computational Linguistics (ACL). our card
  18. Irsoy, Ozan and Claire Cardie. 2014. Deep recursive neural networks for compositionality in language. In Advances in Neural Information Processing Systems. pages 2096–2104. OpenAlex ↗ · Scholar ↗
  19. Jimenez, Sergio, George Duenas, Julia Baquero, Alexander Gelbukh, Av Juan Dios Bátiz, and Av Mendizábal. 2014. UNAL-NLP: Combining soft cardinality features for semantic textual similarity, relatedness and entailment. SemEval 2014 . OpenAlex ↗ · Scholar ↗
  20. Kim, Yoon. 2014. Convolutional neural networks for sentence classification. arXiv preprint arXiv:1408.5882 . our card
  21. Klein, Dan and Christopher D Manning. 2003. Accurate unlexicalized parsing. In Proceedings of the 41st Annual Meeting on Association for Computational Linguistics-Volume 1. Association for Computational Linguistics, pages 423–430. OpenAlex ↗ · Scholar ↗
  22. Lai, Alice and Julia Hockenmaier. 2014. Illinois-lh: A denotational and distributional approach to semantics. SemEval 2014 . OpenAlex ↗ · Scholar ↗
  23. Landauer, Thomas K and Susan T Dumais. 1997. A solution to plato's problem: The latent semantic analysis theory of acquisition, induction, and representation of knowledge. Psychological review 104(2):211. OpenAlex ↗ · Scholar ↗
  24. Le, Quoc V and Tomas Mikolov. 2014. Distributed representations of sentences and documents. arXiv preprint arXiv:1405.4053 . our card
  25. Marelli, Marco, Luisa Bentivogli, Marco Baroni, Raffaella Bernardi, Stefano Menini, and Roberto Zamparelli. 2014. SemEval-2014 Task 1: Evaluation of compositional distributional semantic models on full sentences through semantic relatedness and textual entailment. In SemEval 2014. our card
  26. Mikolov, Tomáš. 2012. Statistical Language Models Based on Neural Networks. Ph.D. thesis, Brno University of Technology. OpenAlex ↗ · Scholar ↗
  27. Mikolov, Tomas, Ilya Sutskever, Kai Chen, Greg S Corrado, and Jeff Dean. 2013. Distributed representations of words and phrases and their compositionality. In Advances in Neural Information Processing Systems. pages 3111–3119. our card
  28. Mitchell, Jeff and Mirella Lapata. 2010. Composition in distributional models of semantics. Cognitive science 34(8):1388–1429. OpenAlex ↗ · Scholar ↗
  29. Pennington, Jeffrey, Richard Socher, and Christopher D Manning. 2014. Glove: Global vectors for word representation. Proceedings of the Empiricial Methods in Natural Language Processing (EMNLP 2014) 12. our card
  30. Rumelhart, David E, Geoffrey E Hinton, and Ronald J Williams. 1988. Learning representations by back-propagating errors. Cognitive modeling 5. OpenAlex ↗ · Scholar ↗
  31. Socher, Richard, Brody Huval, Christopher D Manning, and Andrew Y Ng. 2012. Semantic compositionality through recursive matrix-vector spaces. In Proceedings of the 2012 Joint Conference on Empirical Methods in Natural Language Processing and Computational Natural Language Learning. Association for Computational Linguistics, pages 1201–1211. our card
  32. Socher, Richard, Andrej Karpathy, Quoc V Le, Christopher D Manning, and Andrew Y Ng. 2014. Grounded compositional semantics for finding and describing images with sentences. Transactions of the Association for Computational Linguistics 2:207–218. our card
  33. Socher, Richard, Cliff C Lin, Chris Manning, and Andrew Y Ng. 2011. Parsing natural scenes and natural language with recursive neural networks. In Proceedings of the 28th International Conference on Machine Learning (ICML-11). pages 129–136. OpenAlex ↗ · Scholar ↗
  34. Socher, Richard, Alex Perelygin, Jean Y Wu, Jason Chuang, Christopher D Manning, Andrew Y Ng, and Christopher Potts. 2013. Recursive deep models for semantic compositionality over a sentiment treebank. In Proceedings of the Conference on Empirical Methods in Natural Language Processing (EMNLP). our card
  35. Srivastava, Nitish, Ruslan R Salakhutdinov, and Geoffrey E Hinton. 2013. Modeling documents with deep boltzmann machines. arXiv preprint arXiv:1309.6865 . OpenAlex ↗ · Scholar ↗
  36. Sutskever, Ilya, Oriol Vinyals, and Quoc VV Le. 2014. Sequence to sequence learning with neural networks. In Advances in Neural Information Processing Systems. pages 3104–3112. our card
  37. Turian, Joseph, Lev Ratinov, and Yoshua Bengio. 2010. Word representations: a simple and general method for semi-supervised learning. In Proceedings of the 48th annual meeting of the association for computational linguistics. Association for Computational Linguistics, pages 384–394. our card
  38. Vinyals, Oriol, Alexander Toshev, Samy Bengio, and Dumitru Erhan. 2014. Show and tell: A neural image caption generator. arXiv preprint arXiv:1411.4555 . our card
  39. Yessenalina, Ainur and Claire Cardie. 2011. Compositional matrix-space models for sentiment analysis. In Proceedings of the Conference on Empirical Methods in Natural Language Processing. Association for Computational Linguistics, pages 172–182. OpenAlex ↗ · Scholar ↗
  40. Zaremba, Wojciech and Ilya Sutskever. 2014. Learning to execute. arXiv preprint arXiv:1410.4615 . OpenAlex ↗ · Scholar ↗
  41. Zhao, Jiang, Tian Tian Zhu, and Man Lan. 2014. ECNU: One stone two birds: Ensemble of heterogenous measures for semantic relatedness and textual entailment. SemEval 2014 . OpenAlex ↗ · Scholar ↗