Conditional Generative Adversarial Networks for Commonsense Machine Comprehension

Bingning Wang, Kang Liu, Jun Zhao

Abstract

Commonsense machine comprehension requires models to look beyond explicit text and infer logical narrative progressions. This paper introduces a Conditional Generative Adversarial Network (CGAN) framework designed for the Story Cloze Test. By utilizing a generator to create "hard negatives"—realistic but incorrect story endings—the model trains a hierarchical discriminator to identify the most plausible conclusion. Our approach achieves state-of-the-art results, highlighting the importance of adversarial training and attention mechanisms in capturing narrative logic.

Introduction

Unlike standard retrieval tasks where answers are explicitly stated, commonsense machine comprehension (MC) requires "reading between the lines." The Story Cloze Test (SCT) serves as a primary benchmark for this capability, tasking models with selecting the correct concluding sentence for a four-sentence story. A major hurdle in training for the SCT is the lack of high-quality negative examples; models often learn surface-level shortcuts when presented with random, irrelevant distractors. The authors argue that to truly understand commonsense, a model must be tested against "hard negatives"—fake endings that are plausible but logically incorrect.

The CGAN Framework

To address the need for challenging distractors, the authors propose a Conditional GAN architecture consisting of two competing networks:

  1. The Generator ($G$): A GRU-based decoder that takes the four-sentence story context and random noise as input. Its goal is to generate a "fake" fifth sentence realistic enough to fool the discriminator.
  2. The Discriminator ($D$): A hierarchical model that evaluates candidate endings. It uses a sentence-level GRU to encode individual sentences and a document-level GRU to model the narrative flow.
The hierarchical CGAN architecture featuring sentence and document-level GRUs with an attention mechanism.

A key feature of the discriminator is its attention mechanism, which allows it to weigh the relevance of specific context sentences against the candidate ending. For instance, if an ending mentions a "starter," the model learns to focus on an earlier sentence mentioning a "broken car."

Technical Implementation

Training a GAN on discrete text data presents challenges for backpropagation. The authors employ the Gumbel-Softmax trick with a self-learned temperature parameter to make the generation process differentiable. To ensure training stability, the generator is pre-trained using Maximum Likelihood Estimation (MLE), and Gaussian noise is added to the discriminator's inputs to smooth the data distribution.

Key Results

The CGAN model demonstrated superior performance on the Story Cloze Test, achieving a state-of-the-art accuracy of 60.9% on the test set, outperforming previous benchmarks like DSSM and Skip-thoughts.

Performance comparison of the CGAN model against various baselines on the Story Cloze Test.

Ablation studies confirmed that both the adversarial training (the GAN component) and the attention mechanism were vital. Removing the GAN component and relying on random negatives led to a significant drop in accuracy, proving that the generator successfully creates challenging distractors that force the model to learn deeper semantic relationships rather than surface-level word matching.

Discussion and Future Work

While the model set a new record, a significant gap remains between machine performance (60.9%) and human performance (near 100%). Interestingly, pre-training on large-scale news corpora like the New York Times actually hindered performance, likely due to the stylistic difference between news reporting and the abstract, summary-like nature of SCT stories. Future research may explore the integration of explicit external knowledge bases and methods to better leverage large-scale unlabeled text that aligns more closely with everyday commonsense logic.

Summary updated

BibTeX
@inproceedings{wang2017conditional,
  author = {Bingning Wang and Kang Liu and Jun Zhao},
  title = {{Conditional Generative Adversarial Networks for Commonsense Machine Comprehension}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2017},
  doi = {10.24963/ijcai.2017/576},
}
Figure