Unsupervised Question Answering for Fact-Checking

Mayank JobanputraarXiv 2019

Abstract

Recent Deep Learning (DL) models have succeeded in achieving human-level accuracy on various natural language tasks such as question-answering, natural language inference (NLI), and textual entailment. These tasks not only require the contextual knowledge but also the reasoning abilities to be solved efficiently. In this paper, we propose an unsupervised question-answering based approach for a similar task, fact-checking. We transform the FEVER dataset into a Cloze-task by masking named entities provided in the claims. To predict the answer token, we utilize pre-trained Bidirectional Encoder Representations from Transformers (BERT). The classifier computes label based on the correctly answered questions and a threshold. Currently, the classifier is able to classify the claims as "SUPPORTS" and "MANUAL_REVIEW". This approach achieves a label accuracy of 80.2% on the development set and 80.25% on the test set of the transformed dataset.

Introduction

As the volume of information on platforms like Wikipedia and social media explodes, manual fact-checking has become a bottleneck. While automated systems exist, most rely on supervised learning, which requires massive amounts of human-labeled data—claims marked as "supported" or "refuted." This paper introduces an unsupervised approach to fact-checking by reframing the problem as a "Cloze" (fill-in-the-blank) question-answering task. By masking named entities in claims and using a pre-trained BERT model to predict them, the system identifies supported claims without requiring a labeled dataset for training the classification task itself.

Methodology

The proposed system follows a three-stage pipeline to verify claims using the internal knowledge stored in large-scale language models.

The three-stage pipeline: Question Generation, Question Answering, and Label Classification.
  1. Question Generation: The system uses the Stanford CoreNLP Named Entity Recognition (NER) tagger to identify entities (e.g., people, places, or dates) within a claim. These entities are then masked to create Cloze-style questions.
  2. Question Answering: A pre-trained BERT-Base model is tasked with predicting the masked tokens. Since BERT was pre-trained on Wikipedia, it serves as a latent knowledge base. A match between BERT's prediction and the original entity indicates a "correct" answer.
  3. Label Classification: A correctness score is calculated based on the ratio of correctly predicted entities. If this score exceeds a threshold ($\phi$), the claim is labeled "SUPPORTS." Otherwise, it is flagged for "MANUAL REVIEW."

Dataset and Transformation

The study utilizes the FEVER (Fact Extraction and VERification) dataset, which contains approximately 185,000 claims derived from 5.4 million Wikipedia articles. The claims were converted into a Cloze-task format with a conversion accuracy of roughly 90%. The system generated a median of 3 questions per claim, providing multiple verification points for each factual statement.

Results

The unsupervised BERT-based approach achieved a label accuracy of 80.2% on the development set and 80.25% on the test set for the "SUPPORTS" label.

Comparison of the proposed BERT model against the supervised HexaF-UCL model across different thresholds.

As shown in the comparison with the supervised HexaF-UCL model, the unsupervised approach performs comparably (80.20% vs 80.18% on the development set) when using a threshold of $\phi = 0.76$. Interestingly, lowering the threshold to $\phi = 0.67$ significantly boosts the BERT model's accuracy to 86.7%.

Discussion and Limitations

The core insight of this work is that well-trained language models like BERT essentially "know" facts about the world. By masking entities, we query the model's internal database rather than just testing grammar.

However, several limitations remain:

  • Label Granularity: The model currently only distinguishes between "SUPPORTS" and "MANUAL REVIEW," failing to explicitly identify "REFUTED" claims due to difficulties in handling logical contradictions.
  • NER and Tokenization Dependencies: The system relies heavily on the NER tagger's accuracy. Furthermore, BERT’s WordPiece tokenizer can split names into sub-tokens, leading to false negatives if only a substring is predicted.

Future work will explore Neural Question Generation (NQG) for more complex questions and custom tokenizers to better handle specialized entities.

Summary updated

BibTeX
@misc{jobanputra2019unsupervised,
  author = {Mayank Jobanputra},
  title = {{Unsupervised Question Answering for Fact-Checking}},
  year = {2019},
  eprint = {1910.07154},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1910.07154},
}
Figure