Discriminative Sentence Modeling for Story Ending Prediction

Yiming Cui, Wanxiang Che, Wei-Nan Zhang, Ting Liu, Shijin Wang, Guoping Hu · DOI

TL;DR

Researchers from Harbin Institute of Technology and iFLYTEK introduce Diff-Net, a neural network designed to predict story endings by explicitly modeling the differences between candidate choices. By comparing endings at multiple semantic levels, the model achieves state-of-the-art performance on the Story Cloze Test, especially when integrated with BERT.

What Problem Does This Paper Address?

Story Ending Prediction (SEP) is a challenging task in Machine Reading Comprehension that requires a model to select the most logical ending for a four-sentence story from two options. While humans find this intuitive, it is difficult for machines because it requires both narrative understanding and commonsense knowledge.

Previous approaches often scored each candidate ending independently against the story. However, the authors argue that in many cases, both endings might seem plausible in isolation. The key to solving the task lies in discriminative modeling—directly comparing the two endings to identify the subtle differences that make one "real" and the other "fake."

Methods

The authors propose Diff-Net, which processes the story and candidate endings through three distinct semantic levels:

  1. Contextual Representation: Uses Bi-LSTMs to encode the story and endings. It also incorporates "matching features" (binary flags) that highlight whether specific tokens appear in both endings or in the story.
  2. Story-Aware Representation (Match Module): Employs a modified Attention-over-Attention (AoA) mechanism to calculate the coherency between the story and each ending.
  3. Discriminative Representation (Discriminative Module): This is the core innovation. It uses the same modified AoA module to compare the two endings against each other, highlighting their differences to better identify the correct one.
Figure 2: Neural network architecture of the proposed Diff-Net model. Note that, several operations are omitted for simplicity. Both Match Module and Discriminative Module share the same Modified AoA Module without/with transformation function, respectively.

The model is trained with a standard cross-entropy loss plus an additional cosine similarity loss designed to push the latent representations of the real and fake endings further apart in semantic space. The authors also demonstrate how Diff-Net can be combined with BERT, either by using BERT as a feature generator or by fine-tuning the entire stack.

Datasets

  • ROCStories: A large-scale unlabeled dataset of 5-sentence commonsense stories used for general context.
  • Story Cloze Test (SCT) v1.0: The original benchmark consisting of 1,871 validation and test samples.
  • Story Cloze Test (SCT) v1.5: An evolved version of the dataset designed to alleviate "ending bias," where models could previously guess the correct ending without even looking at the story.

Key Insights and Ideas

  • The Power of Comparison: The ablation studies show that the "Discriminative Module"—which compares the two endings—is crucial. Removing it leads to a significant drop in performance, proving that identifying differences is easier than absolute scoring.
  • Last-Sentence Bias: The authors discovered that the fourth sentence of the story is the most critical. In many cases, the relationship between the fourth sentence and the ending provides enough clues to solve the task, suggesting a persistent bias in how these datasets are constructed.
  • Narrative Order Blindness: Surprisingly, current models (including BERT) are largely indifferent to the order of the story sentences. Reversing or shuffling the first three sentences resulted in almost no performance loss. This suggests that models are treating stories as a "bag of clues" rather than a temporal sequence of events.

Key Results

Diff-Net set new performance benchmarks across both versions of the Story Cloze Test:

  • SCT v1.0: Diff-Net achieved 77.8% accuracy, outperforming previous non-BERT state-of-the-art models by 2.6%. When combined with BERT, it reached a peak accuracy of 90.1%.
Results on SCT v1.0 showing Diff-Net's superiority over previous systems.
  • SCT v1.5: The model showed consistent improvements on the harder v1.5 dataset, with the BERT + Diff-Net combination reaching 82.0% accuracy.
Results on the more challenging SCT v1.5 dataset.

Limitations and Future Work

Despite the high scores, the authors are candid about the limitations of current AI. The fact that sentence order doesn't matter much to these models indicates they aren't truly "comprehending" the narrative in a human-like way.

Future work will focus on incorporating script knowledge (pre-defined sequences of events like "going to a restaurant") to help models better understand temporal flow. They also aim to better utilize the vast amounts of unlabeled story data available to build more robust commonsense knowledge bases.

Summary updated

BibTeX
@inproceedings{cui2020discriminative,
  author = {Yiming Cui and Wanxiang Che and Wei-Nan Zhang and Ting Liu and Shijin Wang and Guoping Hu},
  title = {{Discriminative Sentence Modeling for Story Ending Prediction}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2020},
  doi = {10.1609/aaai.v34i05.6260},
}
Figure