HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

Entity Structure Within and Throughout: Modeling Mention Dependencies for Document-Level Relation Extraction

Benfeng Xu Quan Wang Yajuan Lyu Yong Zhu Zhendong Mao

Entity Structure Within and Throughout: Modeling Mention Dependencies for Document-Level Relation Extraction

Abstract

Entities, as the essential elements in relation extraction tasks, exhibit certain structure. In this work, we formulate such structure as distinctive dependencies between mention pairs. We then propose SSAN, which incorporates these structural dependencies within the standard self-attention mechanism and throughout the overall encoding stage. Specifically, we design two alternative transformation modules inside each self-attention building block to produce attentive biases so as to adaptively regularize its attention flow. Our experiments demonstrate the usefulness of the proposed entity structure and the effectiveness of SSAN. It significantly outperforms competitive baselines, achieving new state-of-the-art results on three popular document-level relation extraction datasets. We further provide ablation and visualization to show how the entity structure guides the model for better relation extraction. Our code is publicly available.

Code Repositories

fduyjx/rsman
pytorch
Mentioned in GitHub
BenfengXu/SSAN
Official
pytorch
Mentioned in GitHub
PaddlePaddle/Research
Official
paddle
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
relation-extraction-on-cdrSSANBiaffine
F1: 68.7
relation-extraction-on-docredSSAN-RoBERTa-large+Adaptation
F1: 65.92
Ign F1: 63.78
relation-extraction-on-docredSSAN-RoBERTa-base
F1: 59.94
Ign F1: 57.71
relation-extraction-on-docredSSAN-BERT-base
F1: 58.16
Ign F1: 55.84
relation-extraction-on-docredSSAN-RoBERTa-large
F1: 61.42
Ign F1: 59.47
relation-extraction-on-gdaSSANBiaffine
F1: 83.9

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