Consistency Guided Knowledge Retrieval and Denoising in LLMs for Zero-shot Document-level Relation Triplet Extraction
Qi Sun, Kun Huang, Xiaocui Yang, Rong Tong, Kun Zhang, Soujanya Poria
TL;DR
This work tackles zero-shot document-level relation triplet extraction by distilling latent relational facts from large language models. It introduces GenRDK, a pipeline that uses chain-of-retrieval prompts to generate labeled documents with unseen relations, a pre-denoising model to produce pseudo labels, and a consistency-guided cross-document denoising process that builds and fuse knowledge graphs to prune incorrect facts and add missing ones. A final LLaMA2-13B-Chat extractor is trained on the denoised synthetic data to perform document-level relation triplet extraction. Across DocRED and Re-DocRED, GenRDK demonstrates substantial gains over strong baselines for both zero-shot document-level relation extraction and zero-shot triplet extraction, validating the effectiveness of retrieval-based data generation and cross-document denoising for reducing label noise in synthetic data.
Abstract
Document-level Relation Triplet Extraction (DocRTE) is a fundamental task in information systems that aims to simultaneously extract entities with semantic relations from a document. Existing methods heavily rely on a substantial amount of fully labeled data. However, collecting and annotating data for newly emerging relations is time-consuming and labor-intensive. Recent advanced Large Language Models (LLMs), such as ChatGPT and LLaMA, exhibit impressive long-text generation capabilities, inspiring us to explore an alternative approach for obtaining auto-labeled documents with new relations. In this paper, we propose a Zero-shot Document-level Relation Triplet Extraction (ZeroDocRTE) framework, which generates labeled data by retrieval and denoising knowledge from LLMs, called GenRDK. Specifically, we propose a chain-of-retrieval prompt to guide ChatGPT to generate labeled long-text data step by step. To improve the quality of synthetic data, we propose a denoising strategy based on the consistency of cross-document knowledge. Leveraging our denoised synthetic data, we proceed to fine-tune the LLaMA2-13B-Chat for extracting document-level relation triplets. We perform experiments for both zero-shot document-level relation and triplet extraction on two public datasets. The experimental results illustrate that our GenRDK framework outperforms strong baselines.
