Command Palette
Search for a command to run...
Shuang Zeng Runxin Xu Baobao Chang Lei Li

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
Benchmarks
| Benchmark | Methodology | Metrics |
|---|---|---|
| relation-extraction-on-docred | GAIN-GloVe | F1: 55.08 Ign F1: 52.66 |
| relation-extraction-on-docred | GAIN-BERT-large | F1: 62.76 Ign F1: 60.31 |
| relation-extraction-on-docred | GAIN-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.