Introduction
Extracting structured knowledge from unstructured text is a fundamental challenge in Natural Language Processing. This task, known as closed Information Extraction (cIE), involves identifying entities and their relationships and mapping them to a formal Knowledge Base (KB) like Wikidata. Traditionally, this has been approached as a multi-stage pipeline: Named Entity Recognition (NER), followed by Entity Linking (EL), and finally Relation Extraction (RC).
However, traditional pipelines suffer from two critical issues. First is error propagation, where a failure in an early stage (like missing a name during NER) causes the entire triplet to be lost. Second is scaling constraints; most models rely on "atomic classification," requiring a fixed output layer for every possible entity. In a KB with millions of entities, this becomes computationally prohibitive due to memory limits.
Methods: Generative Grounding
GenIE (Generative Information Extraction) addresses these flaws by framing cIE as an end-to-end sequence-to-sequence task using a pre-trained BART architecture. Instead of classifying entities, GenIE treats extraction as a language generation problem, producing entity and relation names as text tokens.
To ensure the generated text corresponds to valid entries in a KB, the authors introduced a bi-level constrained beam search:
- High-level Structural Constraint: This forces the model to adhere to valid triplet syntax (e.g.,
<sub> [Subject] <rel> [Relation] <obj> [Object] <et>). - Low-level Grounding Constraint: Using prefix tries, the decoder is restricted to only generating token sequences that represent valid entities or relations within the predefined KB schema.
By generating names token-by-token, GenIE can scale to massive schemas—over 6 million entities and 800 relations—without the memory overhead of traditional classification layers.
Datasets and Evaluation
The model was evaluated across several benchmarks to test its versatility and scaling:
- Wiki-NRE & Geo-NRE: Standard small-scale datasets for baseline comparison.
- REBEL: A large-scale dataset further annotated by the authors to create a realistic cIE benchmark featuring ~6 million entities.
- FewRel: A human-annotated dataset used to evaluate the model's ability to generalize and recall facts in high-quality settings.
Key Results
GenIE demonstrates significant improvements over state-of-the-art pipeline models, particularly in its ability to handle complex, large-scale data. By solving NER, EL, and RC simultaneously, the model allows information to flow between subtasks, effectively eliminating the "inherited error" common in pipelines.
Key performance highlights include:
- Superior Scaling: On the massive REBEL dataset, GenIE achieved a 68.9 micro F1 score, compared to the pipeline baseline's 42.5.
- Robustness to Data Imbalance: The gap was even more pronounced in macro-F1 scores (which weight rare relations equally). GenIE scored 30.5 while the baseline managed only 9.5, showcasing GenIE's ability to leverage the linguistic knowledge of the underlying BART model to extract rare relations.
- Error Reduction: Analysis indicated that GenIE's joint approach eliminated the ~18% error rate typically introduced by the standalone NER stage in traditional systems.
Limitations and Future Work
While GenIE marks a significant step forward, some limitations remain. The current model is designed for triplets where both subjects and objects are entities in a catalog; it does not yet natively handle "literals" such as specific dates or measurements. Additionally, while prefix tries are efficient, autoregressive generation is inherently slower than non-autoregressive classification. Future research may focus on accelerating the decoding process and expanding the framework to support multilingual extraction, building on the success of generative models like mGENRE.
Summary updated