Skip to main content
QUICK REVIEW

[Paper Review] Multi-Level Structured Self-Attentions for Distantly Supervised Relation Extraction

Jinhua Du, Jingguang Han|arXiv (Cornell University)|Sep 3, 2018
Topic ModelingComputer Science19 references37 citations
TL;DR

This paper proposes a multi-level structured self-attention mechanism (MLSSA) that extends traditional 1D attention to 2D matrices for distantly supervised relation extraction. By modeling word-level and sentence-level attention as structured 2D matrices, the method improves context representation and valid instance selection, achieving state-of-the-art performance on NYT and DBpedia datasets with significant gains in F1 and P@N scores.

ABSTRACT

Attention mechanisms are often used in deep neural networks for distantly supervised relation extraction (DS-RE) to distinguish valid from noisy instances. However, traditional 1-D vector attention models are insufficient for the learning of different contexts in the selection of valid instances to predict the relationship for an entity pair. To alleviate this issue, we propose a novel multi-level structured (2-D matrix) self-attention mechanism for DS-RE in a multi-instance learning (MIL) framework using bidirectional recurrent neural networks. In the proposed method, a structured word-level self-attention mechanism learns a 2-D matrix where each row vector represents a weight distribution for different aspects of an instance regarding two entities. Targeting the MIL issue, the structured sentence-level attention learns a 2-D matrix where each row vector represents a weight distribution on selection of different valid in-stances. Experiments conducted on two publicly available DS-RE datasets show that the proposed framework with a multi-level structured self-attention mechanism significantly outperform state-of-the-art baselines in terms of PR curves, P@N and F1 measures.

Motivation & Objective

  • Address the limitations of 1D attention mechanisms in capturing diverse semantic aspects of sentences and multiple valid instances in distantly supervised relation extraction.
  • Improve context representation learning for entity pairs by modeling multiple semantic aspects through structured word-level attention.
  • Enhance valid instance selection in multi-instance learning by learning diverse, structured attention distributions over multiple sentences.
  • Overcome the mislabeling problem in distant supervision by leveraging structured attention to suppress noisy instances and highlight informative ones.
  • Demonstrate that 2D structured attention outperforms standard 1D attention and existing state-of-the-art models on public DS-RE benchmarks.

Proposed method

  • Propose a 2D matrix-based word-level self-attention mechanism where each row learns a distinct attention distribution over words, capturing multiple semantic aspects of a sentence for a given entity pair.
  • Introduce a 2D matrix-based sentence-level self-attention mechanism that learns multiple attention vectors over multiple instances, enabling structured selection of informative sentences.
  • Integrate the 2D attention mechanisms within a bidirectional LSTM-based multi-instance learning framework to model long-range dependencies and contextual representations.
  • Optimize the attention matrices using L1 regularization to encourage orthogonal eigenvectors, promoting diversity in attention focus across different aspects.
  • Use a weighted sum of attention vectors to form a structured, dependency-like representation of the sentence or instance set for relation classification.
  • Train the model end-to-end using cross-entropy loss with attention weights learned via backpropagation.

Experimental results

Research questions

  • RQ1Can a 2D structured self-attention mechanism improve word-level context representation learning for relation extraction compared to 1D attention?
  • RQ2Can a 2D structured sentence-level attention mechanism better identify and weight valid instances in a multi-instance learning setting?
  • RQ3Does the proposed multi-level structured self-attention mechanism significantly outperform existing state-of-the-art models on distantly supervised relation extraction benchmarks?
  • RQ4How do the attention distributions of the proposed model differ from those of standard 1D attention in terms of focus diversity and semantic coverage?
  • RQ5To what extent does the structured attention mechanism reduce the impact of noisy instances in distant supervision?

Key findings

  • The MLSSA-2 model achieved an F1 score of 78.1% on the PT test set, significantly outperforming the BiGRU+2ATT baseline of 75.3%.
  • On the NYT dataset, MLSSA-2 achieved a P@N of 78.1%, surpassing the best baseline (PCNN+ATT) by 3.9 percentage points.
  • The model demonstrated improved attention diversity, with multiple attention vectors focusing on different words and semantic aspects, unlike 1D attention which tends to concentrate on a single word or phrase.
  • Visualizations showed that MLSSA-2 assigned high attention to semantically relevant phrases such as 'a founder of' and 'co-founder', recognizing their semantic equivalence, whereas BiGRU+2ATT failed to do so.
  • The structured 2D attention mechanism enabled better instance selection, with attention distributed more evenly across semantically equivalent sentences, improving robustness to paraphrasing.
  • The model achieved state-of-the-art performance across multiple metrics, including PR curves, P@N, and F1, on both the NYT and DBpedia Portuguese datasets.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.