Abstract
Document-level Information Extraction (IE) remains a challenging task requiring consistency across multiple sentences and paragraphs. Researchers from Ghent University propose a novel approach that "injects" external knowledge from Wikipedia and Wikidata into a joint neural model. By simultaneously solving named entity recognition (NER), coreference resolution (Coref), and relation extraction (RE) while leveraging both text-based and graph-based entity representations, the proposed model achieves up to a 5% F1-score improvement over standard baselines, particularly benefiting rare entity types.
Introduction
Information Extraction (IE) is the process of transforming unstructured text into structured data. This typically involves three interdependent sub-tasks:
- Named Entity Recognition (NER): Identifying specific entities like people, locations, or organizations.
- Coreference Resolution (Coref): Linking different mentions (e.g., "Joe Biden" and "the President") to the same underlying entity.
- Relation Extraction (RE): Identifying semantic relationships between entities (e.g., "is the President of").
Traditionally, these tasks are handled in isolation or restricted to sentence-level analysis. However, real-world documents require cross-sentence consistency. While Knowledge Bases (KBs) like Wikipedia are known to assist individual tasks, integrating them into a unified, end-to-end model for document-wide extraction has been a significant research gap.
Methodology
The authors propose a span-based neural architecture designed for joint document-level IE.
The workflow consists of several key stages:
- Encoding: The input document is processed using a BiLSTM to generate contextualized embeddings for text spans.
- Unsupervised Entity Linking: For each span, the model queries a Wikipedia-derived dictionary to identify potential candidate entities.
- KB Injection: The model retrieves pre-trained embeddings for these candidates from two complementary sources: KB-text (learned from Wikipedia text) and KB-graph (learned from Wikidata's structured triples).
- Weighting (AttPrior): To select the most relevant candidate, the model uses a mechanism called AttPrior. This combines the global popularity of an entity (Prior) with a neural Attention mechanism that evaluates the local context.
- Joint Prediction: These KB-enriched representations are fed into specialized NER, Coref, and RE modules that share information to ensure document-level consistency.
Datasets
The model was evaluated on two primary document-level IE datasets:
- DWIE (Document-level Warehouse for Information Extraction): An entity-centric news article dataset with high-density annotations for all three IE tasks.
- DocRED: A large-scale dataset specifically focused on document-level relation extraction.
Key Insights: The Power of Context and External Knowledge
A central finding of the research is that text-based and graph-based KB representations are complementary. While text-based embeddings capture linguistic usage, graph-based embeddings capture logical relationships.
Furthermore, the AttPrior mechanism proves crucial for disambiguation. While a simple "Prior" (choosing the most popular entity) is often correct, it fails when the context is specific.
As shown in the figure above, for a mention like "Mars," the Prior might heavily favor the planet. However, the Attention mechanism can shift the weight toward other candidates (like a film or novel) if the surrounding text suggests a different entity.
Results
The KB-enriched model demonstrated consistent performance gains:
- Overall Performance: Improvements of up to 5% F1-score were observed compared to baselines without KB information.
- NER on DWIE: The best model reached an F1 of 75.0, a significant jump from the 71.7 baseline.
- Relation Extraction on DocRED: Performance improved from 23.5 to 25.7 F1.
- Rare Entities: The most dramatic impact was seen in "long-tail" entities. For entity types appearing fewer than 50 times in the training set, NER performance increased by +13.9 F1 points, demonstrating that external knowledge effectively compensates for data sparsity.
Limitations and Future Work
While successful, the authors identify areas for improvement. The current model only injects embeddings for entities; future iterations could include relation embeddings to further boost RE performance. Additionally, the computational cost of processing large candidate lists from KBs remains a challenge for scaling to even larger datasets or longer documents. Finally, moving from unsupervised to supervised entity linking might further refine the quality of the injected data.
Summary updated