[Paper Review] Sentence-State LSTM for Text Representation
This paper proposes Sentence-State LSTM (S-LSTM), a parallel recurrent architecture that models all word hidden states and a global sentence-level state simultaneously, enabling efficient local and global context exchange. S-LSTM achieves superior performance over BiLSTM on text classification and sequence labeling tasks with fewer parameters and faster inference, especially on longer sequences.
Bi-directional LSTMs are a powerful tool for text representation. On the other hand, they have been shown to suffer various limitations due to their sequential nature. We investigate an alternative LSTM structure for encoding text, which consists of a parallel state for each word. Recurrent steps are used to perform local and global information exchange between words simultaneously, rather than incremental reading of a sequence of words. Results on various classification and sequence labelling benchmarks show that the proposed model has strong representation power, giving highly competitive performances compared to stacked BiLSTM models with similar parameter numbers.
Motivation & Objective
- Address the sequential computation bottleneck of BiLSTMs by enabling parallel state updates across all words in a sentence.
- Overcome BiLSTM's limitations in capturing long-range dependencies and modeling local n-grams explicitly.
- Introduce a global sentence-level state to enhance non-local information flow and improve representation quality.
- Design a recurrent architecture that maintains high parallelism while preserving rich contextual modeling for NLP tasks.
- Demonstrate that a fixed number of recurrent steps in S-LSTM can achieve better performance than variable-length BiLSTM sequences with similar parameter counts.
Proposed method
- Model the entire sentence as a single state composed of individual word-level states and a global sentence-level state.
- Perform recurrent updates in parallel: each word state exchanges information with its left and right neighbors simultaneously.
- Allow the sentence-level state to aggregate and redistribute global context to all word states via gated updates.
- Use a fixed number of recurrent steps (3–6) to propagate 3-gram, 5-gram, and 7-gram context information across the sequence.
- Integrate the sentence-level state as a global representation for classification tasks.
- Train the model end-to-end using standard backpropagation with gradient descent, maintaining computational efficiency through parallel state transitions.
Experimental results
Research questions
- RQ1Can a parallel recurrent architecture outperform sequential BiLSTMs in text representation while maintaining or improving accuracy?
- RQ2Does the inclusion of a global sentence-level state enhance long-range dependency modeling compared to standard BiLSTM?
- RQ3To what extent does S-LSTM reduce computational latency compared to BiLSTM, especially on longer sequences?
- RQ4How does S-LSTM perform on sequence labeling tasks like POS tagging and NER relative to stacked BiLSTM-CRF models?
- RQ5Can S-LSTM achieve competitive results with fewer parameters and fewer recurrent steps than stacked BiLSTM models?
Key findings
- S-LSTM achieves a test accuracy of 97.58% on POS tagging (WSJ dataset) with 7 recurrent steps, outperforming BiLSTM under the same parameter budget.
- On the CoNLL-2003 NER test set, S-LSTM achieves an F1-score of 91.57%, significantly outperforming BiLSTM and matching or exceeding state-of-the-art results.
- S-LSTM demonstrates superior robustness to increasing sentence length, maintaining higher accuracy than BiLSTM on longer sequences.
- Training time per epoch for S-LSTM is significantly faster than BiLSTM on longer inputs, with the speed advantage increasing as sequence length grows.
- S-LSTM consumes more GPU memory than BiLSTM (252M vs. 89M on movie review set), due to parallel computation across all word states.
- S-LSTM achieves competitive performance with only 3–6 recurrent steps, while BiLSTM requires a number of steps proportional to sequence length.
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.