NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Using Sentence-Level LSTM Language Models for Script Inference

Karl Pichotta, Raymond J. MooneyACL 2016

Abstract: Statistical script learning involves inducing models of stereotypical event sequences from text. Traditionally, this task relied on extracting structured event representations through complex NLP pipelines. This paper explores whether Long Short-Term Memory (LSTM) networks can perform script inference directly on raw text. By evaluating various encoder-decoder architectures on Wikipedia data, the authors find that raw text models are surprisingly effective, often outperforming structured alternatives. These results suggest that explicit linguistic preprocessing may not be necessary for capturing the underlying logic of event sequences.

Introduction

In Natural Language Processing (NLP), "script inference" is the ability to predict subsequent events in a narrative. For example, if a character "ordered a pizza," a model should infer they will likely "eat" and "pay" for it. Traditionally, researchers believed that effective modeling required converting raw text into structured "events"—formal tuples of verbs and arguments (e.g., eat(person, pizza)).

Karl Pichotta and Raymond J. Mooney from the University of Texas at Austin challenge this paradigm. They investigate whether simple neural networks, operating solely on raw words, can match or exceed the performance of complex, structured systems.

Methodology: From Events to Raw Text

The authors employed LSTM-based encoder-decoder models, a standard architecture for sequence-to-sequence tasks. The study compared several variations to determine the necessity of structured representations:

  • Text-to-Text ($t_1 \to t_2$): The model encodes a raw sentence and decodes the raw tokens of the following sentence.
  • Event-to-Event ($e_1 \to e_2$): The model operates entirely on structured event tuples.
  • Hybrid ($e_1 \to e_2 \to t_2$): A two-step process that predicts a successor event and then expands it back into raw text.
The LSTM encoder-decoder architecture used for sequence-to-sequence script inference.

The researchers also tested the impact of an attention mechanism and experimented with increasing the context window by feeding the model up to five previous sentences.

Key Insights

Raw Text as a Strong Competitor

The study's most significant finding is that models operating on raw tokens are comparable to those using structured events. The LSTM appears capable of internalizing the structural logic that was previously thought to require explicit formalization. This suggests that expensive and often brittle linguistic preprocessing pipelines—which rely on dependency parsers and coreference resolution—may be optional for many script-related tasks.

The Alignment Problem

Interestingly, the attention mechanism did not provide the significant performance boost typically seen in machine translation. The authors hypothesize that this is due to a lack of direct word-for-word alignment between consecutive sentences in a narrative, unlike the strong alignment found between source and target languages in translation.

Results and Discussion

The evaluation utilized the BLEU metric as a natural n-gram analog to the traditional "Narrative Cloze" task, measuring how well a model reconstructs the text of a missing event.

Comparison of performance metrics across different system architectures.

As shown in the results table, the raw text-to-text model ($t_1 \to t_2$) achieved a BLEU score of 5.20, vastly outperforming the event-mediated hybrid model ($e_1 \to e_2 \to t_2$), which struggled at 0.34. This indicates that converting text to events is a "lossy" process that discards critical information needed to reconstruct the original sentence.

When evaluated on the ability to predict the next event components (Partial Credit), the raw text model remained competitive, achieving 30.3% compared to the specialized event-to-event model's 26.7%. Furthermore, increasing the context from one to five previous sentences improved the BLEU score from 5.80 to 6.83.

Conclusion

While absolute BLEU scores remain low due to the inherent unpredictability of open-domain text like Wikipedia, this research demonstrates that sentence-level LSTMs are a powerful tool for script inference. By bypassing brittle NLP pipelines, these models offer a more robust and language-agnostic approach to modeling discourse logic. Future work may involve developing differentiable objectives that target BLEU directly and exploring bidirectional models to fill gaps in narrative sequences.

Summary updated

BibTeX
@inproceedings{pichotta2016using,
  author = {Karl Pichotta and Raymond J. Mooney},
  title = {{Using Sentence-Level LSTM Language Models for Script Inference}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2016},
  doi = {10.18653/v1/p16-1027},
}
Figure