Skip to main content
QUICK REVIEW

[Paper Review] Visualizing and Understanding Curriculum Learning for Long Short-Term Memory Networks

Volkan Cirik, Eduard Hovy|arXiv (Cornell University)|Nov 18, 2016
Topic ModelingComputer Science31 citations
TL;DR

This paper investigates curriculum learning (CL) in Long Short-Term Memory (LSTM) networks for sequence prediction tasks, comparing one-pass and baby-step CL regimens against random shuffling. It demonstrates that CL, especially baby-step curriculum, improves LSTM performance by encouraging constructive internal representations, significantly boosting accuracy on complex cases like sentiment analysis with conjunctions, particularly in low-data regimes.

ABSTRACT

Curriculum Learning emphasizes the order of training instances in a computational learning setup. The core hypothesis is that simpler instances should be learned early as building blocks to learn more complex ones. Despite its usefulness, it is still unknown how exactly the internal representation of models are affected by curriculum learning. In this paper, we study the effect of curriculum learning on Long Short-Term Memory (LSTM) networks, which have shown strong competency in many Natural Language Processing (NLP) problems. Our experiments on sentiment analysis task and a synthetic task similar to sequence prediction tasks in NLP show that curriculum learning has a positive effect on the LSTM's internal states by biasing the model towards building constructive representations i.e. the internal representation at the previous timesteps are used as building blocks for the final prediction. We also find that smaller models significantly improves when they are trained with curriculum learning. Lastly, we show that curriculum learning helps more when the amount of training data is limited.

Motivation & Objective

  • To investigate how curriculum learning affects internal representations in LSTM networks.
  • To evaluate the impact of different curriculum learning regimens—specifically one-pass and baby-step—on LSTM performance.
  • To analyze whether curriculum learning benefits smaller models and low-resource training scenarios.
  • To understand how curriculum learning influences the modeling of complex linguistic phenomena such as contrastive conjunctions in sentiment analysis.

Proposed method

  • The study uses two benchmarks: a synthetic sequence prediction task and the Stanford Sentiment Treebank (SST) for 5-class sentiment classification.
  • Four training regimens are compared: random shuffling (baseline), one-pass curriculum, sorted curriculum, and baby-step curriculum.
  • Intermediate LSTM hidden states are probed after each token to visualize how sentiment polarity is updated over time.
  • Models are trained with RMSprop, 168 LSTM units, and fine-tuned GloVe word embeddings; early stopping is applied with patience=10.
  • Performance is evaluated on overall accuracy and subtask accuracy (e.g., for sentences with conjunctions), with standard deviations reported.
  • The amount of training data is varied to assess data efficiency, with results plotted across data fractions.

Experimental results

Research questions

  • RQ1How does curriculum learning affect the internal representation dynamics of LSTMs during sequence processing?
  • RQ2Does the baby-step curriculum regimen lead to better internal state construction than other regimens in LSTMs?
  • RQ3To what extent does curriculum learning improve performance on challenging linguistic phenomena such as contrastive conjunctions?
  • RQ4How does model size influence the benefit of curriculum learning in LSTMs?
  • RQ5Does curriculum learning provide greater performance gains in low-resource training settings?

Key findings

  • The baby-step curriculum regimen achieved the highest overall accuracy (47.37%) on the SST sentiment analysis task, outperforming the baseline (46.83%) and other regimens.
  • For sentences with conjunctions—particularly those involving contrastive structures—the baby-step model achieved 46.07% accuracy, significantly higher than the baseline (43.88%) and other regimens.
  • Visualizations showed that the baby-step model correctly updated sentiment polarity after observing "spice" in a contrastive sentence, demonstrating better handling of conflicting signals.
  • Smaller models showed significant performance improvements when trained with curriculum learning, indicating its value in resource-constrained settings.
  • Curriculum learning provided greater gains when training data was limited; the performance gap between regimens diminished as data size increased.
  • The one-pass and baby-step regimens converged to similar performance levels with full training data, suggesting data efficiency is the key advantage of CL.

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.