SOTAVerified

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

2021-02-20Code Available1· sign in to hype

Benfeng Xu, Quan Wang, Yajuan Lyu, Yong Zhu, Zhendong Mao

Code Available — Be the first to reproduce this paper.

Reproduce

Code

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.

Tasks

Benchmark Results

DatasetModelMetricClaimedVerifiedStatus
CDRSSANBiaffineF168.7Unverified
DocREDSSAN-RoBERTa-large+AdaptationF165.92Unverified
DocREDSSAN-RoBERTa-largeF161.42Unverified
DocREDSSAN-RoBERTa-baseF159.94Unverified
DocREDSSAN-BERT-baseF158.16Unverified
GDASSANBiaffineF183.9Unverified

Reproductions