TL;DR
This paper introduces UIE, a novel unified framework for universal information extraction (IE) that models diverse IE tasks (entity, relation, event, sentiment) as a single text-to-structure generation problem. By leveraging a structured extraction language (SEL) and a schema-based prompt mechanism (SSI), UIE achieves state-of-the-art performance across various IE tasks and settings, including low-resource scenarios, demonstrating its effectiveness and transferability.
What Problem Does This Paper Address?
Information extraction (IE) is a crucial task for making sense of unstructured text, but it's plagued by a high degree of diversity. Different IE tasks target varying types of information (entities, relations, events, sentiments), require different output structures (spans, triplets, records), and are often defined by highly specific schemas. This task-specific nature leads to fragmented research, isolated models, and a significant overhead in developing and adapting IE systems. The authors aim to bridge this gap by proposing a "Universal IE" (UIE) approach that can handle multiple IE tasks within a single, adaptable framework.
Methods
The core of UIE is a unified text-to-structure generation framework. Instead of task-specific architectures, UIE treats all IE tasks as transforming text into a structured representation.
- Structured Extraction Language (SEL): This novel language provides a uniform way to encode diverse IE structures (entities, relations, events) into a single representation. SEL breaks down extraction into two atomic operations: "spotting" (locating information pieces) and "associating" (connecting these pieces).
- Structural Schema Instructor (SSI): This mechanism acts as a schema-based prompt. It guides the UIE model on what to spot, what to associate, and what to generate, allowing for adaptive extraction tailored to specific tasks and schemas. SSI is prepended to the input text, essentially creating a conditional generation task.
- Large-scale Pre-training: UIE is pre-trained on a massive, heterogeneous corpus derived from Wikipedia and Wikidata. This pre-training aims to imbue the model with general IE abilities, enabling knowledge sharing and quick adaptation to new tasks. The pre-training involves three objectives: text-to-structure mapping (using paired text and structured records), structure generation (learning to decode SEL), and semantic representation (using masked language modeling on raw text).
- Encoder-Decoder Architecture: UIE utilizes a Transformer-based encoder-decoder architecture to perform the text-to-SEL generation.
Datasets
The paper uses a variety of datasets for both pre-training and fine-tuning:
- Pre-training:
- Dpair: Text-structure parallel data, collected by aligning Wikidata with English Wikipedia.
- Drecord: Structured records from ConceptNet and Wikidata.
- Dtext: Unstructured text from English Wikipedia.
- ConceptNet: Used to extract tuples for enriching SEL with common sense knowledge.
- Fine-tuning/Evaluation:
- Entity Extraction: ACE04, ACE05-Ent, CONLL03.
- Relation Extraction: ACE05-Rel, CONLL04, NYT, SciERC.
- Event Extraction: ACE05-Evt, CASIE.
- Sentiment Extraction: SemEval 14 (14-res, 14-lap), 15 (15-res), 16 (16-res).
The paper notes that NYT overlaps with pre-training data, so it was excluded from some comparisons for fairness.
Key Insights and Ideas
- Universality through Generation: The core idea that diverse IE tasks can be unified under a single text-to-structure generation paradigm is a significant conceptual shift. This approach moves away from task-specific models towards a more generalizable solution.
- SEL as a Universal Language: The Structured Extraction Language (SEL) is a key innovation. Its ability to represent various IE structures (entities, relations, events) in a uniform, hierarchical format is crucial for enabling a single model to handle them.
- Schema-Guided Extraction: The Structural Schema Instructor (SSI) is vital for making the universal model adaptable. By using schema-based prompts, the model can dynamically adjust its extraction behavior without needing architectural changes, which is particularly powerful for low-resource and few-shot scenarios.
- Pre-training for General IE Abilities: The large-scale pre-training on diverse data sources demonstrates that a model can learn general IE capabilities that transfer effectively across different tasks and settings, even for tasks (like event and sentiment extraction) whose specific knowledge might be less represented in the pre-training data.
Key Results
- State-of-the-Art Performance: UIE achieved state-of-the-art (SOTA) performance on 4 IE tasks, across 13 datasets, and in all supervised, low-resource, and few-shot settings.
- Supervised Settings: UIE improved F1 scores by an average of 1.42% over task-specialized SOTA architectures on supervised tasks.
- Low-Resource and Few-Shot Settings: UIE showed strong on-demand adaptation, significantly outperforming baselines in low-resource and few-shot scenarios. For instance, in low-resource settings, UIE-base with SSI improved performance by 4.16% and 3.30% on average compared to UIE without SSI.
- Pre-training Benefits: Pre-training significantly boosted performance across all tasks, especially for event and sentiment extraction, demonstrating the transferability of learned IE abilities. Ablation studies showed that both structure generation pre-training (LPair, LRecord) and semantic retrofitting (LText) were crucial.
- SEL and SSI Effectiveness: Even without pre-training, the combination of SEL and SSI (using a T5 backbone) achieved competitive performance, highlighting the power of the proposed framework components.
Limitations and Future Work
- Limitations:
- The paper mentions that for sentiment triplet extraction, the mapping of generated string-level results to offset-level for evaluation is a heuristic strategy, and more complicated mapping approaches are left for future work.
- The paper notes that the NYT dataset overlaps with pre-training data, which can affect fair comparison in some experiments.
- Future Work:
- Extend UIE to Knowledge Base (KB)-aware IE tasks, such as entity linking.
- Extend UIE to document-aware IE tasks, such as co-reference resolution.
Summary updated