A pattern-aware self-attention network for distant supervised relation extraction

Yu Ming Shang, Heyan Huang, Xin Sun*, Wei Wei, Xian Ling Mao

*Corresponding author for this work

Research output: Contribution to journalArticlepeer-review

28 Citations (Scopus)

Abstract

Distant supervised relation extraction is an efficient strategy of finding relational facts from unstructured text without labeled training data. A recent paradigm to develop relation extractors is using pre-trained Transformer language models to produce high-quality sentence representations. However, due to the original Transformer is weak at capturing local dependencies and phrasal structures, existing Transformer-based methods cannot identify various relational patterns in sentences. To address this issue, we propose a novel distant supervised relation extraction model, which employs a specific-designed pattern-aware self-attention network to automatically discover relational patterns for pre-trained Transformers in an end-to-end manner. Specifically, the proposed method assumes that the correlation between two adjacent tokens reflects the probability that they belong to the same pattern. Based on this assumption, a novel self-attention network is designed to generate the probability distribution of all patterns in a sentence. Then, the probability distribution is applied as a constraint in the first Transformer layer to encourage its attention heads to follow the relational pattern structures. As a result, fine-grained pattern information is enhanced in the pre-trained Transformer without losing global dependencies. Extensive experimental results on two popular benchmark datasets demonstrate that our model performs better than the state-of-the-art baselines.

Original languageEnglish
Pages (from-to)269-279
Number of pages11
JournalInformation Sciences
Volume584
DOIs
Publication statusPublished - Jan 2022

Keywords

  • distant supervision
  • pre-trained Transformer
  • relation extraction
  • relational pattern
  • self-attention network

Fingerprint

Dive into the research topics of 'A pattern-aware self-attention network for distant supervised relation extraction'. Together they form a unique fingerprint.

Cite this