[Paper Review] Compositional Distributional Semantics with Long Short Term Memory
This paper proposes an LSTM-enhanced recursive neural network (LSTM-RNN) that stores and retrieves long-range dependencies in parse trees via memory cells, overcoming the vanishing gradient problem. Experiments on the Stanford Sentiment Treebank show that LSTM-RNN outperforms standard RNNs, especially when combined with 300D GloVe word embeddings, achieving state-of-the-art performance on both fine-grained and binary sentiment classification tasks.
We are proposing an extension of the recursive neural network that makes use of a variant of the long short-term memory architecture. The extension allows information low in parse trees to be stored in a memory register (the `memory cell') and used much later higher up in the parse tree. This provides a solution to the vanishing gradient problem and allows the network to capture long range dependencies. Experimental results show that our composition outperformed the traditional neural-network composition on the Stanford Sentiment Treebank.
Motivation & Objective
- To address the vanishing gradient problem in recursive neural networks during backpropagation through deep parse trees.
- To enable long-range dependency modeling by allowing information from lower nodes to be preserved and accessed higher up in the tree structure.
- To improve compositional distributional semantics by integrating LSTM memory mechanisms into recursive neural network architectures.
- To evaluate the effectiveness of the proposed model on sentiment classification tasks, particularly in capturing syntactic and semantic dependencies.
- To investigate whether better word embeddings and regularization techniques like dropout can further enhance performance in the LSTM-RNN framework.
Proposed method
- Extends the recursive neural network (RNN) with a long short-term memory (LSTM) architecture to maintain hidden states and memory cells across hierarchical tree structures.
- Uses a bottom-up computation where each internal node in the parse tree computes its hidden state and cell state using input vectors from its children and learned weight matrices.
- Applies LSTM-specific gates (input, forget, output) to control information flow: the forget gate decides what to discard, the input gate controls new information, and the output gate determines what to output.
- Employs the tanh activation function in the cell state update and output computation, ensuring stable gradient flow through deep trees.
- Trains the model using backpropagation through structure and stochastic gradient descent with a negative log-likelihood objective function.
- Implements dropout with caution, as it was found to disrupt LSTM memory; instead, better word embeddings (300D GloVe) were used to improve performance.
Experimental results
Research questions
- RQ1Can LSTM memory cells effectively mitigate the vanishing gradient problem in recursive neural networks trained on deep syntactic parse trees?
- RQ2To what extent can the LSTM-RNN model preserve and utilize long-range dependencies from leaf nodes to root nodes in compositional semantics?
- RQ3How does the performance of the LSTM-RNN compare to standard RNNs and other state-of-the-art models like DRNN, CNN, and DCNN on sentiment classification tasks?
- RQ4Does the use of high-dimensional pre-trained word embeddings (e.g., 300D GloVe) significantly improve the performance of the LSTM-RNN model?
- RQ5Can regularization techniques like dropout be effectively applied to LSTM-RNN without disrupting the memory cell dynamics?
Key findings
- The LSTM-RNN model achieved a test accuracy of 49.9% on the fine-grained sentiment classification task and 88.0% on the binary task when using 300D GloVe word embeddings.
- With 300D GloVe embeddings, the LSTM-RNN outperformed all other models tested, including DRNN, CNN, DCNN, PV, and RNTN, on both the fine-grained and binary sentiment tasks.
- The model performed worse than DRNN and CNN when using 100D GloVe embeddings, indicating that word embedding dimensionality significantly impacts performance.
- Dropout did not improve training performance in the LSTM-RNN, likely due to interference with the memory cell mechanism.
- The LSTM-RNN with 300D GloVe embeddings matched or surpassed the performance of DRNN and CNN, suggesting that the memory mechanism enables effective long-range dependency modeling.
- The results suggest that the LSTM-RNN acts as a lossy compressor, preserving global semantic information while filtering out noise, which may explain its improved performance over standard RNNs.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.