LLM with Relation Classifier for Document-Level Relation Extraction

Xingzuo Li, Kehai Chen, Yunfei Long, Min Zhang
8/25/2024
cs.CL

No official code found. Best implementation: wisper12933/LMRC (5 stars, last commit 2026-01-17).

Abstract

Large language models (LLMs) have created a new paradigm for natural language processing. Despite their advancement, LLM-based methods still lag behind traditional approaches in document-level relation extraction (DocRE), a critical task for understanding complex entity relations within long context. This paper investigates the causes of this performance gap, identifying the dispersion of attention by LLMs due to entity pairs without relations as a key factor. We then introduce a novel classifier-LLM approach to DocRE. Particularly, the proposed approach begins with a classifier designed to select entity pair candidates that exhibit potential relations and then feed them to LLM for final relation classification. This method ensures that the LLM's attention is directed at relation-expressing entity pairs instead of those without relations during inference. Experiments on DocRE benchmarks reveal that our method significantly outperforms recent LLM-based DocRE models and narrows the performance gap with state-of-the-art BERT-based models.

View on arXivView PDF

Code Implementations(1)

wisper12933/LMRCCommunity100%

IEEE Transactions on Big Data

51Shell, PythonDec 4, 20249 months ago

Similar Papers

Cite this paper

@article{li2024with,
  title  = {LLM with Relation Classifier for Document-Level Relation Extraction},
  author = {Xingzuo Li and Kehai Chen and Yunfei Long and Min Zhang},
  year   = {2024},
  eprint = {2408.13889},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2408.13889v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2408.13889.svg)](https://codeofpaper.com/paper/2408.13889)

Discussion