Skip to main content
QUICK REVIEW

[Paper Review] A Way out of the Odyssey: Analyzing and Combining Recent Insights for LSTMs

Shayne Longpre, Sabeek Pradhan|arXiv (Cornell University)|Nov 16, 2016
Topic ModelingComputer Science20 references10 citations
TL;DR

This paper proposes a suite of practical enhancements—Monte Carlo model averaging, embed average pooling, residual connections, and other established techniques—that significantly boost LSTM performance on text classification tasks. When combined, these methods produce a strong, lightweight, and efficient baseline model achieving state-of-the-art accuracy on IMDB and SST datasets without requiring complex architectures or external data.

ABSTRACT

LSTMs have become a basic building block for many deep NLP models. In recent years, many improvements and variations have been proposed for deep sequence models in general, and LSTMs in particular. We propose and analyze a series of augmentations and modifications to LSTM networks resulting in improved performance for text classification datasets. We observe compounding improvements on traditional LSTMs using Monte Carlo test-time model averaging, average pooling, and residual connections, along with four other suggested modifications. Our analysis provides a simple, reliable, and high quality baseline model.

Motivation & Objective

  • To develop a reliable, high-performing, and computationally feasible baseline for text classification using LSTMs.
  • To investigate the impact of recent architectural improvements on standard LSTM performance across diverse NLP datasets.
  • To identify which combinations of enhancements yield the most consistent and significant accuracy gains.
  • To provide a practical, off-the-shelf LSTM model that outperforms existing baselines while remaining lightweight and efficient.

Proposed method

  • Apply Monte Carlo test-time model averaging by sampling multiple dropout-regularized forward passes and averaging predictions to approximate ensemble inference.
  • Implement embed average pooling by averaging word embeddings across the sequence before passing them into the LSTM, improving long-sequence modeling.
  • Introduce residual connections (Res-V1 and Res-V2) to stabilize training and improve performance in deep LSTM architectures.
  • Combine these techniques with established improvements: forget gate biasing, inverted dropout, bidirectional LSTMs, and model size scaling.
  • Use a linear projection layer on the final LSTM hidden state for classification, maintaining a standard feedforward head.
  • Evaluate all configurations on standard text classification benchmarks (IMDB, SST) with controlled hyperparameters and uniform model size comparisons.

Experimental results

Research questions

  • RQ1How do Monte Carlo model averaging and embed average pooling individually and jointly improve LSTM performance on text classification tasks?
  • RQ2What is the relative impact of residual connections (vertical-only vs. lateral-and-vertical) on deep LSTM architectures across different datasets?
  • RQ3Can a combination of simple, widely applicable modifications produce a competitive baseline model that rivals or exceeds state-of-the-art results with minimal computational cost?
  • RQ4Does the performance gain from these enhancements depend on sequence length or bidirectional architecture?
  • RQ5How do these enhancements affect training time and model efficiency compared to more complex models?

Key findings

  • The combination of Monte Carlo model averaging, embed average pooling, and residual connections increased test accuracy to 90.1% on the IMDB dataset, surpassing the baseline 2-LSTM model by 4.8 percentage points.
  • On the SST dataset, the final enhanced model achieved 90.0% accuracy, outperforming the large bidirectional LSTM (88.9%) and the baseline 2-LSTM (85.3%) with significantly less training time.
  • Embed average pooling provided consistent improvements across datasets, though its benefit was not substantially larger on long sequences like IMDB compared to shorter ones like SST.
  • Residual connections stabilized performance in deep networks: while Res-V1 and Res-V2 showed dataset-dependent superiority, both prevented the performance drop seen in vanilla deep LSTMs.
  • The final model with all enhancements achieved state-of-the-art performance on both IMDB and SST, outperforming models that used parse trees, multiple passes, or large-scale unsupervised pretraining.
  • The compounding effect of enhancements allowed a non-bidirectional model to surpass a large bidirectional model in accuracy (90.0% vs. 88.9%) while reducing training time by over 25%.

Read this paper

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

Read this paper on Nubint

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