Attending to All Mention Pairs for Full Abstract Biological Relation Extraction

Patrick Verga, Emma Strubell, Ofer Shai, Andrew McCallumarXiv 2017

Introduction

Relation Extraction (RE) is a fundamental task in biomedical natural language processing, aimed at identifying structured links between entities, such as "Drug A causes Side Effect B." Traditional RE models often suffer from "tunnel vision," focusing primarily on single sentences. However, biological literature frequently expresses facts across sentence boundaries. In the Biocreative V Chemical Disease Relation (CDR) dataset, approximately 30% of relations are inter-sentential. To address this, researchers from UMass Amherst and the Chan Zuckerberg Initiative introduced Bi-affine Relation Attention Networks (BRAN), a model designed to extract relationships across entire document abstracts without relying on hand-crafted linguistic features.

The BRAN Architecture

The BRAN model leverages a sophisticated pipeline to capture both local context and global dependencies within an abstract.

Architecture of the Bi-affine Relation Attention Network (BRAN).

The architecture consists of several key components:

  1. Byte-Pair Encoding (BPE): By breaking text into sub-word units, the model effectively handles complex technical terms (e.g., "1,2-dimethylhydrazine") by recognizing meaningful sub-components.
  2. Transformer Encoder: A self-attention-based Transformer encodes the entire abstract. Unlike sequential models like LSTMs, self-attention allows every token to interact with every other token regardless of distance, facilitating the capture of long-range dependencies.
  3. Bi-affine Pairwise Scoring: Following encoding, tokens are projected into "head" and "tail" representations. A bi-affine operation computes similarity scores between every possible pair of mentions in the document.
  4. Multi-Instance Learning (MIL): To handle weakly labeled data where specific mention pairs are not explicitly annotated, the model uses LogSumExp pooling. This aggregates scores from all mentions of an entity pair into a single prediction.
  5. Multi-task Learning: The model is jointly trained for Named Entity Recognition (NER) and Relation Extraction, which improves internal representations of entity boundaries.

Experimental Results

The model was evaluated on the Biocreative V Chemical Disease Relation (CDR) dataset. To test scalability, the authors also incorporated an additional corpus of 15,448 PubMed abstracts (+Data) for extra weakly labeled training.

Comparison of BRAN against state-of-the-art models on the CDR dataset.

As shown in the results, BRAN established a new state-of-the-art for models not utilizing external Knowledge Bases. The base BRAN model achieved an F1 score of 62.1, surpassing previous benchmarks ranging from 58.3 to 61.3. When augmented with additional PubMed data, the performance significantly improved to an F1 of 66.2. Ablation studies further highlighted the importance of the attention mechanism; removing it led to a nearly 10-point drop in F1 score.

Key Insights

  • Global Context: Self-attention effectively eliminates the penalty for distance between related entities, making it ideal for cross-sentence extraction.
  • Local Syntax: While global attention is powerful, a small convolutional layer (width-5) helps capture immediate local syntax, providing a performance boost.
  • Joint Training: Teaching the model to identify entities (NER) concurrently with relations acts as a "force multiplier," enhancing overall accuracy.

Conclusion and Future Work

BRAN demonstrates that attending to all mention pairs across an abstract is a highly effective strategy for biological relation extraction. While the model is robust, future work may focus on integrating coreference resolution to better link pronouns (e.g., "it") to specific entities and improving specificity in handling hypernyms (e.g., distinguishing between "cancer" and "lung cancer").

Summary updated

BibTeX
@misc{verga2017attending,
  author = {Patrick Verga and Emma Strubell and Ofer Shai and Andrew McCallum},
  title = {{Attending to All Mention Pairs for Full Abstract Biological Relation Extraction}},
  year = {2017},
  eprint = {1710.08312},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1710.08312},
}
Figure