NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

AutoRE: Document-Level Relation Extraction with Large Language Models

Lilong Xue, Dan Zhang, Yuxiao Dong, Jie Tang

Introduction

Document-Level Relation Extraction (DocRE) represents a significant hurdle in the field of Information Extraction (IE). Unlike sentence-level extraction, which focuses on local context, DocRE requires identifying complex relationships between entities that may be scattered across an entire document. In this paper, we introduce AutoRE, a modular framework designed to leverage the power of Large Language Models (LLMs) to achieve state-of-the-art performance on the Re-DocRED benchmark. By decomposing the extraction process into a structured pipeline and refining the semantic definitions of relations, AutoRE addresses the core limitations of existing LLM-based approaches.

The Challenges of Document-Level Extraction

Relation Extraction involves identifying structured triplets—comprising a Subject, a Relation, and an Object—from unstructured text. While LLMs have shown remarkable proficiency in sentence-level tasks, DocRE introduces three primary difficulties:

  1. Information Density: A single document often contains dozens of relations and over a hundred facts, requiring the model to maintain high precision across a large volume of data.
  2. Prompt Overload: Standard benchmarks like DocRED include nearly 100 distinct relation types. Attempting to include all these definitions in a single prompt leads to context window exhaustion and increased hallucination rates.
  3. Vague Definitions: Many existing relation definitions, often sourced from technical databases like Wikidata, lack the semantic clarity necessary for LLMs to distinguish between closely related concepts.

The AutoRE Framework: The RHF Paradigm

To overcome these challenges, AutoRE introduces the Relation-Head-Facts (RHF) paradigm. Instead of attempting a "joint" extraction where the model identifies all triplets in one pass, RHF breaks the task into three manageable sub-tasks:

  • Relation Extraction: The model first identifies which specific relations from a predefined set are actually present within the document.
  • Head Entity Identification: For each identified relation, the model determines the "head" (subject) entities involved.
  • Triple Fact Extraction: Finally, the model identifies the "tail" (object) entities corresponding to the identified heads, completing the triplets.

Modular Implementation with QLoRA

AutoRE utilizes Mistral-7B as its base model, enhanced through QLoRA (Quantized Low-Rank Adaptation). A key innovation of this framework is the use of three distinct QLoRA modules, each fine-tuned specifically for one stage of the RHF pipeline. This modularity prevents data imbalance issues; for instance, the high frequency of certain triplet facts does not overshadow the more nuanced task of initial relation identification.

Refining Relation Descriptions

The authors identified a "description gap" where technical definitions hindered model performance. To rectify this, the team systematically rewrote 96 relation descriptions. These new descriptions replaced dry Wikidata entries with clear, example-rich instructions, providing the LLM with better semantic boundaries for each relation type.

Evaluation and Results

The framework was evaluated on Re-DocRED, a cleaned and refined version of the original DocRED dataset. The test set includes 499 articles and over 17,000 triplet facts.

AutoRE achieved a new state-of-the-art (SOTA) performance:

  • F1 Score: AutoRE (using a Vicuna-7B backbone) reached an F1 score of 53.84 on the Re-DocRED test set.
  • Performance Gain: This marks a 9.03% improvement over the previous leading model, TAG.
  • Comparison to Zero-Shot: While "out-of-the-box" LLMs like GPT-3.5 often struggle with DocRE (frequently scoring below 10% F1), the AutoRE fine-tuning approach demonstrates that LLMs can significantly outperform specialized BERT-based models when properly adapted.

Key Insights

  • Decomposition over Brute Force: The RHF pipeline's success suggests that focusing a model's attention on specific sub-problems is more effective than joint extraction for complex documents.
  • The Importance of Semantic Clarity: The massive boost in accuracy from rewritten descriptions highlights that how we define relations to an LLM is as important as the model architecture itself.
  • Effectiveness of Modular PEFT: Using separate Parameter-Efficient Fine-Tuning (PEFT) modules allows for targeted optimization without the performance degradation often seen in multi-task learning.

Limitations and Future Outlook

Despite its success, AutoRE operates under a closed-world assumption, meaning it is limited to the 96 relations it was trained on. It currently struggles with "open-world" scenarios involving unseen relations. Additionally, the multi-stage pipeline increases inference latency compared to single-step models. Future work will focus on extending AutoRE to open-world extraction and optimizing the pipeline for greater computational efficiency.

Summary updated

BibTeX
@misc{xue2024autore,
  author = {Lilong Xue and Dan Zhang and Yuxiao Dong and Jie Tang},
  title = {{AutoRE: Document-Level Relation Extraction with Large Language Models}},
  year = {2024},
  eprint = {2403.14888},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2403.14888},
}
Figure