[Paper Review] Improved Sentence Modeling using Suffix Bidirectional LSTM
This paper proposes Suffix Bidirectional LSTM (SuBiLSTM), a novel RNN architecture that enhances long-range dependency modeling by jointly encoding each token's prefix and suffix in both forward and reverse directions. By combining these representations via max-pooling, SuBiLSTM achieves state-of-the-art performance on sentence modeling tasks such as fine-grained sentiment classification and question classification, outperforming standard BiLSTMs without architectural changes to downstream models.
Recurrent neural networks have become ubiquitous in computing representations of sequential data, especially textual data in natural language processing. In particular, Bidirectional LSTMs are at the heart of several neural models achieving state-of-the-art performance in a wide variety of tasks in NLP. However, BiLSTMs are known to suffer from sequential bias - the contextual representation of a token is heavily influenced by tokens close to it in a sentence. We propose a general and effective improvement to the BiLSTM model which encodes each suffix and prefix of a sequence of tokens in both forward and reverse directions. We call our model Suffix Bidirectional LSTM or SuBiLSTM. This introduces an alternate bias that favors long range dependencies. We apply SuBiLSTMs to several tasks that require sentence modeling. We demonstrate that using SuBiLSTM instead of a BiLSTM in existing models leads to improvements in performance in learning general sentence representations, text classification, textual entailment and paraphrase detection. Using SuBiLSTM we achieve new state-of-the-art results for fine-grained sentiment classification and question classification.
Motivation & Objective
- To address the sequential bias in BiLSTMs, where contextual representations are overly influenced by nearby tokens.
- To improve modeling of long-range dependencies in sequential data, especially in natural language processing.
- To develop a general, plug-in replacement for BiLSTMs that enhances sentence-level representations without modifying existing model architectures.
- To demonstrate the effectiveness of SuBiLSTM across diverse NLP tasks, including text classification and textual entailment.
Proposed method
- For each token in a sequence, SuBiLSTM computes four contextual representations: forward prefix, forward suffix, reverse prefix, and reverse suffix using separate LSTMs.
- The forward suffix encoding (from token i to end) introduces a bias toward long-range dependencies, as it processes tokens farther from the current position.
- The reverse prefix encoding (from token i to start in reverse order) similarly emphasizes distant leftward context.
- The final contextual representation for each token is formed by max-pooling the forward and reverse representations of both prefix and suffix.
- Two variants are introduced: untied (separate LSTMs for prefix and suffix) and tied (shared LSTM for prefix and suffix in each direction), reducing parameters and improving generalization.
- The model is used as a drop-in replacement in existing BiLSTM-based architectures, requiring no changes to the rest of the model.
Experimental results
Research questions
- RQ1Can explicitly encoding both prefixes and suffixes in both directions improve long-range dependency modeling in RNNs?
- RQ2Does the proposed SuBiLSTM architecture outperform standard BiLSTM in capturing contextual information for sentence-level tasks?
- RQ3How does the tied variant of SuBiLSTM compare to the untied version in terms of performance and parameter efficiency?
- RQ4Can SuBiLSTM achieve state-of-the-art results in sentence modeling tasks like text classification and paraphrase detection?
Key findings
- SuBiLSTM achieves a new state-of-the-art accuracy of 88.2% on the QUORA paraphrase detection dataset, matching a more complex attention-based model (BiMPM).
- On the TREC question classification dataset, SuBiLSTM achieves 95.8% accuracy, surpassing previous SOTA results.
- For fine-grained sentiment classification on the SST-2 dataset, SuBiLSTM achieves 92.1% accuracy, setting a new SOTA.
- The tied version of SuBiLSTM performs better on smaller datasets (SST and TREC), likely due to its regularizing effect from shared parameters.
- On larger datasets (SNLI and QUORA), the untied version slightly outperforms the tied version, benefiting from higher capacity.
- The performance gains are consistent across multiple tasks, including general sentence representation, text classification, textual entailment, and paraphrase detection.
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.