Abstract
Recently, knowledge-enhanced methods leveraging auxiliary knowledge graphs have emerged in relation extraction, surpassing traditional text-based approaches. However, to our best knowledge, there is currently no public dataset available that encompasses both evidence sentences and knowledge graphs for knowledge-enhanced relation extraction. To address this gap, we introduce the Knowledge-Enhanced Relation Extraction Dataset (KERED). KERED annotates each sentence with a relational fact, and it provides knowledge context for entities through entity linking. Using our curated dataset, we compared contemporary relation extraction methods under two prevalent task settings: sentence-level and bag-level. The experimental results show the knowledge graphs provided by KERED can support knowledge-enhanced relation extraction methods. We believe that KERED offers high-quality relation extraction datasets with corresponding knowledge graphs for evaluating the performance of knowledge-enhanced relation extraction methods. Our dataset is available at: \url{https://figshare.com/projects/KERED/134459}
Introduction
Relation Extraction (RE) is the fundamental task of identifying structured relationships between entities in plain text, such as recognizing that "Ansel Adams" has the occupation of "photographer." Recently, "knowledge-enhanced" methods have gained traction by consulting external Knowledge Graphs (KGs) to gain context about entities, allowing models to "read between the lines" by leveraging structured facts.
However, the field has faced a reproducibility crisis. Because no standard dataset previously included both the text and the associated KG, researchers were forced to build their own "private" KGs for every paper. This made it impossible to determine if a new model's success was due to its architecture or a better-constructed KG. The Knowledge-Enhanced Relation Extraction Dataset (KERED) fills this gap by providing a standardized, high-quality benchmark that aligns text with structured knowledge.
Methodology
The authors performed significant "data hygiene" to ensure the benchmark was robust. They didn't just aggregate data; they refined it through several key steps:
- Denoising and Refinement: They updated redirected entity identifiers, removed duplicate instances, and filtered out "self-relation" noise where the subject and object are the same entity.
- Entity Linking: Mentions in the text were mapped to unique identifiers in Wikidata and Freebase. This ensures models can distinguish between different entities with the same name.
- KG Construction: For each dataset, a specific auxiliary KG was built containing the entities found in the text plus the relational triples connecting them in the source knowledge base.
The researchers established baselines for two major RE settings: sentence-level (predicting a relation from a single sentence) and bag-level (aggregating information from multiple sentences mentioning the same entity pair).
Datasets
KERED consists of three refined sub-datasets, each serving a different purpose:
- Wiki80: A sentence-level dataset based on FewRel, linked to Wikidata. It is human-labeled and high-accuracy.
- Wiki20m: A large-scale bag-level dataset also linked to Wikidata, offering a much higher density of relational facts.
- NYT10m: A bag-level dataset based on New York Times articles, linked to a subset of Freebase (FB15k). This is a "distant supervision" dataset, meaning it is larger but contains more noise.
Key Insights and Results
The researchers evaluated several state-of-the-art models, including BERT, PCNN, CoLAKE, and REMAP, on the new benchmark. Several key insights emerged:
- KG Density is Critical: The authors found that Wiki-based KGs are much "denser" (more connections per entity) than the NYT/Freebase one. Models performed significantly better on the Wiki datasets, suggesting that the quality of auxiliary knowledge is as important as model architecture.
- The Sparsity Trap: On the NYT10m dataset, where the KG covered only about 25% of entities, some knowledge-enhanced models actually performed worse than text-only BERT. This highlights a "negative impact" where insufficient KG information can confuse a model.
- Pre-training vs. Lookup: Models like CoLAKE, which integrate knowledge during pre-training, generally outperformed models that attempt to "look up" KG facts during the specific RE task. CoLAKE achieved the highest F1 scores on the Wiki-based datasets (91.78% on Wiki80 and 86.05% on Wiki20m).
- Bag-Level Performance: REMAP proved to be the most robust model for bag-level tasks across all three datasets.
Conclusion
The introduction of KERED provides a much-needed standardized platform for evaluating knowledge-enhanced relation extraction. While adding KG information generally improves Average Precision (AP), challenges like KG sparsity remain. Future work will likely focus on developing models that handle low-resource KGs more gracefully and investigating better fusion techniques to combine natural language nuances with rigid KG logic.
The KERED dataset is available at: https://figshare.com/projects/KERED/134459
Summary updated