HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

Double Graph Based Reasoning for Document-level Relation Extraction

Shuang Zeng Runxin Xu Baobao Chang Lei Li

Double Graph Based Reasoning for Document-level Relation Extraction

Abstract

Document-level relation extraction aims to extract relations among entities within a document. Different from sentence-level relation extraction, it requires reasoning over multiple sentences across a document. In this paper, we propose Graph Aggregation-and-Inference Network (GAIN) featuring double graphs. GAIN first constructs a heterogeneous mention-level graph (hMG) to model complex interaction among different mentions across the document. It also constructs an entity-level graph (EG), based on which we propose a novel path reasoning mechanism to infer relations between entities. Experiments on the public dataset, DocRED, show GAIN achieves a significant performance improvement (2.85 on F1) over the previous state-of-the-art. Our code is available at https://github.com/DreamInvoker/GAIN .

Code Repositories

DreamInvoker/GAIN
Official
pytorch
Mentioned in GitHub
pkunlp-icler/gain
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
relation-extraction-on-docredGAIN-GloVe
F1: 55.08
Ign F1: 52.66
relation-extraction-on-docredGAIN-BERT-large
F1: 62.76
Ign F1: 60.31
relation-extraction-on-docredGAIN-BERT
F1: 61.24
Ign F1: 59.00

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Double Graph Based Reasoning for Document-level Relation Extraction | Papers | HyperAI