Abstract
Universal Information Extraction (UIE) aims to unify diverse information extraction tasks—such as Named Entity Recognition (NER), Relation Extraction (RE), and Event Extraction (EE)—into a single framework. However, existing UIE models often struggle with complex n-ary relations and frequently produce "illegal" extractions that violate schema constraints. This paper introduces RexUIE (Recursive method with explicit schema instructor), a framework that treats extraction as a multi-step recursive process. By utilizing an Explicit Schema Instructor (ESI) and a novel prompt isolation technique, RexUIE achieves state-of-the-art results across multiple benchmarks, demonstrating particular strength in low-resource and zero-shot scenarios where it outperforms large language models like ChatGPT.
1. Introduction
Information Extraction (IE) has traditionally been fragmented into task-specific silos. While recent UIE models have attempted to bridge these gaps, they face two primary hurdles. First, most models are optimized for simple triples (subject-relation-object), making them ill-equipped to handle complex "n-ary" structures like quadruples or quintuples (e.g., adding time or location qualifiers to a relation). Second, these models often rely on implicit structural hints. Without an explicit "rulebook" or schema, they frequently generate extractions that are semantically impossible—such as linking a person entity to a relation intended only for organizations—especially when training data is limited.
2. The RexUIE Framework
RexUIE addresses these limitations by reframing extraction as a recursive querying process supported by explicit schema constraints.
2.1 Recursive Querying
Instead of attempting to extract all information in a single pass, RexUIE decomposes the task into sequential steps. For instance, to extract a complex relation, the model might first identify a "Person" entity. It then uses that entity as a prefix to query for a related "University," and subsequently uses both identified spans to find an "Academic Degree." This recursive nature allows the model to naturally scale from simple entities to complex quintuples without requiring specialized architectures for different relation lengths.
2.2 Explicit Schema Instructor (ESI)
To prevent "illegal" extractions, RexUIE incorporates an Explicit Schema Instructor. The model is provided with a structured prompt that explicitly defines the hierarchy and constraints of the labels. This explicit knowledge ensures the model understands the semantic boundaries of each type, effectively acting as a logical constraint during the extraction process.
2.3 Prompts Isolation and Efficiency
To maintain computational efficiency while processing multiple queries, the authors introduce Prompts Isolation. This technique allows the model to pack multiple queries into a single input. By modifying the attention mask and position IDs, the model ensures that tokens only "see" the relevant parts of the schema and text for their specific sub-task. This prevents interference between different extraction chains (e.g., ensuring the attributes of "Person A" do not get mixed with those of "Person B") while maintaining the speed of parallel processing.
2.4 Unified Token Linking
The model utilizes a scoring matrix enhanced by Rotary Positional Embeddings (RoPE) to perform three distinct types of linking: Head-to-Tail (to identify spans), Head-to-Type (to categorize spans), and Type-to-Tail (to confirm the logical link between a category and a span).
3. Experimental Setup
RexUIE was evaluated across a comprehensive suite of benchmarks, including:
- Standard IE: ACE04, ACE05, CoNLL03, CoNLL04, NYT, and SciERC.
- Event Extraction: CASIE.
- Sentiment Analysis: SemEval-14, 15, and 16.
- Complex Schemas: HyperRED (quadruples) and Camera-COQE (quintuples).
The model underwent pre-training using a diverse mix of distant supervision from Wikipedia, supervised NER/RE data, and Machine Reading Comprehension (MRC) datasets like SQuAD and HellaSwag.
4. Results and Discussion
RexUIE demonstrated superior performance across nearly all tested tasks, establishing new state-of-the-art (SOTA) benchmarks.
4.1 Complex and Low-Resource Extraction
On the quintuple extraction task (COQE), RexUIE achieved an F1 score of 32.80, significantly outperforming the forced-triple approaches used by previous models like T5-UIE. The model's advantage was even more pronounced in low-resource settings. In 1-shot experiments, RexUIE outperformed T5-UIE by an average of 56.62% and USM by 32.93%.
4.2 Zero-Shot Performance vs. ChatGPT
In zero-shot evaluations on the CoNLL04 (RE) dataset, RexUIE achieved a 30.62 F1 score, comfortably surpassing ChatGPT's 21.76 F1. Analysis indicated that while ChatGPT struggled with "illegal" extractions and incorrect granularity, RexUIE’s explicit schema and recursive logic allowed it to maintain high precision without task-specific training.
5. Conclusion
RexUIE represents a significant advancement in Universal Information Extraction by solving the structural and semantic limitations of previous models. By combining recursive querying with explicit schema constraints and prompt isolation, it provides a robust framework for extracting complex n-ary relations. While future work is needed to expand its zero-shot capabilities to Event Extraction and Sentiment Analysis, RexUIE currently stands as a powerful tool for high-precision IE in both data-rich and data-scarce environments.
Summary updated