[Paper Review] WebRED: Effective Pretraining And Finetuning For Relation Extraction On The Web
WebRED introduces a large, diverse, human-annotated relation extraction dataset with ~110K strongly supervised examples from web text, paired with ~200M weakly supervised pre-training examples. The paper demonstrates that fine-tuning pre-trained models on this high-quality human-annotated data after pre-training on weakly supervised data significantly improves F1 scores, outperforming models trained only on distant supervision or from scratch.
Relation extraction is used to populate knowledge bases that are important to many applications. Prior datasets used to train relation extraction models either suffer from noisy labels due to distant supervision, are limited to certain domains or are too small to train high-capacity models. This constrains downstream applications of relation extraction. We therefore introduce: WebRED (Web Relation Extraction Dataset), a strongly-supervised human annotated dataset for extracting relationships from a variety of text found on the World Wide Web, consisting of ~110K examples. We also describe the methods we used to collect ~200M examples as pre-training data for this task. We show that combining pre-training on a large weakly supervised dataset with fine-tuning on a small strongly-supervised dataset leads to better relation extraction performance. We provide baselines for this new dataset and present a case for the importance of human annotation in improving the performance of relation extraction from text found on the web.
Motivation & Objective
- Address the limitations of existing relation extraction datasets, which suffer from noisy labels (distant supervision), domain specificity, or small scale.
- Create a large, diverse, and high-quality human-annotated dataset for relation extraction using real-world web text across multiple domains and writing styles.
- Demonstrate that combining large-scale weakly supervised pre-training with fine-tuning on a smaller, high-quality human-annotated dataset leads to superior relation extraction performance.
- Provide empirical evidence for the importance of strong supervision in reducing false positives and improving model precision and generalization.
Proposed method
- Collect ~200M weakly supervised examples from web text using distant supervision via Wikidata properties, enabling large-scale pre-training.
- Create a human-annotated dataset of ~110K examples by selecting sentences from diverse web sources and manually labeling entity-relation pairs using a subset of Wikidata properties.
- Use a multi-class classification framework where each example is a (tagged sentence, relation type) pair, with entities explicitly marked as #{SUBJ} and #{OBJ}.
- Train models using a two-stage pipeline: pre-train on the weakly supervised dataset (WebRED_DS), then fine-tune on the human-annotated subset (WebRED_H2+1).
- Employ BERT-style Transformer models for relation classification, with input representations that encode both the sentence and the entity roles.
- Apply post-processing and filtering to remove low-quality weak labels and ensure high label consistency in the pre-training data.
Experimental results
Research questions
- RQ1Can a hybrid training strategy combining large-scale weakly supervised pre-training and fine-tuning on a smaller, high-quality human-annotated dataset improve relation extraction performance compared to training on either data type alone?
- RQ2How does the quality of supervision (distant vs. human-annotated) affect model precision, recall, and F1-score across different relation types?
- RQ3To what extent does data imbalance across relation types affect model performance, and how does pre-training mitigate this issue?
- RQ4How does sentence length and relation frequency in the pre-training data influence the generalization and robustness of relation extraction models?
- RQ5What is the impact of labeling accuracy in distant supervision (i.e., fallout rate) on downstream model performance, and how does human annotation correct for this?
Key findings
- Fine-tuning a model pre-trained on 200M weakly supervised examples with a small, high-quality human-annotated dataset of 110K examples leads to significantly higher F1 scores than training from scratch or using only weak supervision.
- The model fine-tuned on human-annotated data achieves a precision of 0.81 and recall of 0.58 on the 'country' relation, compared to 0.58 precision and 0.63 recall for the pre-trained-only model, showing improved precision due to better negative example quality.
- For high-fallout-rate relations like 'diplomatic relation' (99% fallout), the fine-tuned model achieves 1.00 F1, while the pre-trained-only model scores 0.01 F1, demonstrating the critical role of strong supervision in correcting noisy labels.
- Performance degrades with increasing sentence length, but the pre-trained and fine-tuned model maintains significantly better F1 scores across all lengths, especially in longer sequences.
- Relations with higher pre-training frequency show better performance, but gains plateau beyond a certain point, indicating that data balancing is essential for optimal model generalization.
- The model trained only on human-annotated data has lower recall (0.58) than the pre-trained and fine-tuned model (0.86 for 'spouse'), confirming that pre-training on large-scale weak data is essential for coverage, even when fine-tuning on high-quality data.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.