Double Graph Based Reasoning for Document-level Relation Extraction
Shuang Zeng, Runxin Xu, Baobao Chang, Lei LI
Code Available — Be the first to reproduce this paper.
ReproduceCode
- github.com/DreamInvoker/GAINOfficialIn paperpytorch★ 146
- github.com/pkunlp-icler/gainpytorch★ 16
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 .
Tasks
Benchmark Results
| Dataset | Model | Metric | Claimed | Verified | Status |
|---|---|---|---|---|---|
| DocRED | GAIN-BERT-large | F1 | 62.76 | — | Unverified |
| DocRED | GAIN-BERT | F1 | 61.24 | — | Unverified |
| DocRED | GAIN-GloVe | F1 | 55.08 | — | Unverified |