Exploring Unsupervised Pretraining and Sentence Structure Modelling for Winograd Schema Challenge

Yu-Ping Ruan, Xiaodan Zhu, Zhen-Hua Ling, Zhan Shi, Quan Liu, Si WeiarXiv 2019

Introduction

The Winograd Schema Challenge (WSC) serves as a rigorous benchmark for machine common sense, moving beyond the statistical patterns of the Turing Test. It consists of sentence pairs that differ by only one or two words, which fundamentally changes the referent of a pronoun. Solving these schemas requires more than word-level statistics; it requires logical reasoning and world knowledge. Historically, models have struggled with this task, often hovering near the 55% accuracy mark. This paper presents a novel approach that combines large-scale language model pretraining with explicit linguistic structure to achieve a new state-of-the-art performance.

Methodology

The researchers proposed a three-pronged strategy to enhance the reasoning capabilities of the BERT architecture:

  1. WSC as Next Sentence Prediction: The challenge was reframed as a choice between two candidate sentences. By replacing the pronoun with each possible entity, the model used BERT’s Next Sentence Prediction (NSP) task to score which version was more probable.
  2. Fine-tuning with External Data: To overcome the small size of the original WSC dataset (273 sentences), the authors utilized the Rahman-Ng dataset (1,882 sentences) for supervised fine-tuning specifically targeted at pronoun resolution.
  3. Dependency Masking: This core technical novelty involves using a dependency parser to identify the grammatical structure of a sentence. By modifying BERT’s self-attention layers, the authors ensured that a word could only "attend" to itself and its immediate neighbors in the dependency tree.
Dependency tree illustrating the grammatical structure used to guide the model's attention mechanism.

Results and Analysis

The integration of fine-tuning and dependency masking yielded a significant performance leap. The best-performing model, BERT-large with dependency masking and fine-tuning, reached a record 71.1% accuracy on the full WSC dataset.

Performance comparison of BERT models against previous state-of-the-art across various WSC subsets.

Key Insights

  • The Role of Structure: While fine-tuning primarily improved performance on "associative" problems (where simple word associations like "lions" and "predators" provide clues), dependency structures were crucial for "non-associative" problems. These harder cases require true logical reasoning where statistical shortcuts fail.
  • Consistency and Logic: On the "Switchable" subset—designed to test if a model remains consistent when names are swapped—the proposed model achieved 66.4% accuracy. This significantly outperforms previous ensemble models (28.0%), suggesting a deeper understanding of underlying logic rather than mere pattern matching.
  • Layer Sensitivity: The authors found that masking the last five layers of BERT produced the best results, indicating that while lower layers handle general linguistic features, higher layers are more effective at integrating specific syntactic constraints.

Conclusion

By augmenting BERT with explicit sentence dependency structures and task-specific fine-tuning, this research establishes a new benchmark for machine common sense. While a gap remains between AI and human-level performance (near 100%), the results demonstrate that structural modeling is a vital component for solving complex reasoning tasks. Future work will likely focus on expanding annotated datasets to further leverage the latent knowledge within massive pretrained models.

Summary updated

BibTeX
@misc{ruan2019exploring,
  author = {Yu-Ping Ruan and Xiaodan Zhu and Zhen-Hua Ling and Zhan Shi and Quan Liu and Si Wei},
  title = {{Exploring Unsupervised Pretraining and Sentence Structure Modelling for Winograd Schema Challenge}},
  year = {2019},
  eprint = {1904.09705},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1904.09705},
}
Figure