SWAGex at SemEval-2020 Task 4: Commonsense Explanation as Next Event Prediction

Wiem Ben Rim, Naoaki OkazakiSemEval @ COLING 2020

TL;DR

This paper explores how knowledge from the SWAG dataset (predicting plausible next events) can be transferred to commonsense validation and explanation tasks (SemEval-2020 Task 4). They found that pre-training on SWAG significantly improves performance on these tasks, suggesting a shared underlying commonsense reasoning capability.

What Problem Does This Paper Address?

Commonsense reasoning, the ability to understand and make inferences about everyday situations, remains a significant challenge in Natural Language Processing (NLP). While large pre-trained language models like BERT have achieved state-of-the-art results in many NLP tasks, their ability to truly grasp commonsense is still an active area of research. This paper focuses on SemEval-2020 Task 4, which has two main components: commonsense validation (identifying sentences that go against commonsense) and commonsense explanation (providing the reason why a statement is nonsensical). The challenge lies in building models that can not only identify but also explain these commonsense violations, requiring a deeper understanding than simple pattern matching.

Methods

The core of the system relies on the BERT pre-trained language model. The authors experimented with several approaches:

  • BERT fine-tuning: They fine-tuned BERT on the SWAG dataset and then further fine-tuned it on the SemEval-2020 Task 4 data. This leverages the commonsense knowledge learned from SWAG.
  • Data Augmentation/Modification: For the SemEval tasks, they modified the SWAG dataset to better suit the specific requirements of validation (subtask A) and explanation (subtask B). This involved adjusting the number of choices and the input format.
  • GPT-2 for Generation: For the text generation task (subtask C), they fine-tuned a pre-trained GPT-2 model on the explanations generated by their BERT model.

Datasets

  • SWAG (Situations With Adversarial Generations): A large-scale dataset of commonsense inference, where the task is to choose the most plausible ending given a start phrase. This dataset was used for pre-training.
  • SemEval-2020 Task 4 (ComVE): The target dataset for this work, comprising commonsense validation and explanation tasks. The authors used modified versions of this dataset for training and evaluation.

Key Insights and Ideas

  • SWAG Knowledge Transfer: The most significant finding is that pre-training on SWAG substantially boosts performance on the ComVE tasks. This strongly suggests that the commonsense reasoning required for predicting next events (SWAG) is highly transferable to identifying and explaining commonsense violations.
  • Impact of Data Layout: For the validation task (subtask A), the way the data was presented (original vs. reversed layout) had a dramatic impact on performance. A reversed layout, where the "correct" answer was the one agreeing with commonsense (similar to SWAG), led to much better results than the original layout, which required identifying the against commonsense statement. This highlights how sensitive models can be to task framing and how pre-training on SWAG might bias models towards agreement.
  • Connector's Role: For the explanation task (subtask B), the presence of a specific connector phrase ("is against commonsense because") in the input was found to be important for achieving good performance. Removing it led to a significant drop, indicating that explicit cues can help the model focus on the explanation.

Key Results

  • Subtask A (Validation): The BertsWAG+ComVE model achieved an accuracy of 88.7% on the test set, ranking 16th. When tested on a reversed data layout, this model performed even better, achieving 79.4% accuracy, outperforming baselines.
  • Subtask B (Explanation): The authors' system achieved an accuracy of 85.3% after post-evaluation improvements, ranking 11th. Training on SWAG led to a 5.0% improvement compared to training only on ComVE data.
  • Subtask C (Explanation Generation): The GPT-2 model achieved a BLUE score of 7.1% and a human evaluation score of 1.75/3, ranking 8th.

Limitations and Future Work

  • Sensitivity to Data Layout: The stark performance difference between the original and reversed layouts for subtask A raises questions about the model's true understanding of commonsense versus its ability to adapt to specific task formats. The authors note that the model struggled to identify the against commonsense statement in the original layout, even succeeding in identifying the more sensible statement in the reversed layout.
  • BERT's World Knowledge: The paper acknowledges that the extent of world knowledge encapsulated within BERT remains unclear. While it performs well, its limitations in understanding nuanced commonsense are apparent.
  • Future Work: The authors suggest injecting external knowledge, such as knowledge bases, into BERT as a promising direction to enhance its commonsense reasoning capabilities. They also note that the pre-processing and model code will be publicly available.

Summary updated

BibTeX
@inproceedings{rim2020swagex,
  author = {Wiem Ben Rim and Naoaki Okazaki},
  title = {{SWAGex at SemEval-2020 Task 4: Commonsense Explanation as Next Event Prediction}},
  booktitle = {SemEval @ COLING},
  year = {2020},
  url = {https://openreview.net/forum?id=wfornst1XcY},
}
Figure