Simple Algorithms for Complex Relation Extraction with Applications to Biomedical IE

Ryan T. McDonald, Fernando C. N. Pereira, Seth Kulick, R. Scott Winters, Yang Jin, Peter S. WhiteACL 2005

Abstract

A complex relation is any $n$-ary relation in which some of the arguments may be unspecified. We present a simple two-stage method for extracting complex relations between named entities in text. The first stage creates a graph from pairs of entities that are likely to be related, and the second stage scores maximal cliques in that graph as potential complex relation instances. We evaluate the new method against a standard baseline for extracting genomic variation relations from biomedical text, demonstrating significant improvements in both efficiency and accuracy.

The Challenge of $n$-ary Extraction

Information Extraction (IE) has traditionally excelled at identifying named entities and simple binary relations. However, real-world data—particularly in the biomedical domain—often involves complex $n$-ary relations where multiple entities are linked together. These relations are frequently "incomplete," meaning some arguments (e.g., a specific location or state) are missing from the text.

Extracting these relations faces two major hurdles:

  1. Computational Complexity: Naively checking every possible combination of entities in a sentence leads to an exponential explosion of candidates ($O(m^n)$).
  2. Data Sparsity: Training a classifier on full $n$-ary tuples is difficult because complete examples are rare, and "incomplete but correct" instances can confuse standard models.
Comparison of the search space for all possible n-ary relation instances versus binary relations.

Methodology: Factor and Reconstruct

To address these challenges, we propose a "factor and reconstruct" strategy that simplifies the extraction process into two manageable stages.

Stage 1: Binary Factorization

Instead of searching for the entire $n$-ary tuple at once, we train a standard Maximum Entropy (MaxEnt) classifier to predict whether any pair of entities in a sentence is related. This reduces the search space from an exponential one to a manageable quadratic size ($O(m^2)$). Because binary pairs appear more frequently in training data than full tuples, the resulting classifiers are better-calibrated and more robust to data sparsity.

Stage 2: Graph Reconstruction

In the second stage, entities are treated as nodes in a graph, and the predicted binary relations are treated as edges. To recover the original $n$-ary relations, we identify cliques—subgraphs where every node is connected to every other node.

A relation graph and the corresponding n-ary tuples extracted from its structure.

We explored two primary methods for clique identification:

  • Maximal Cliques (MC): This method identifies the largest possible groups of related entities using the Bron-Kerbosch algorithm to find cliques that are not subsets of larger ones.
  • Probabilistic Cliques (PC): Recognizing that classifiers are imperfect, this approach uses the probability of an edge existing. The weight of a clique is calculated as the geometric mean of its edges' probabilities. A clique is accepted if its weight exceeds a threshold (0.5), allowing strong links to "pull in" lower-confidence binary predictions.

Evaluation and Results

The framework was evaluated on a dataset of 447 MEDLINE abstracts focused on genomic variations and malignancy. The task was to extract variation events following the schema: (variation-type, location, initial-state, altered-state). The dataset contained 4,691 sentences with 1,218 relations, 38% of which were incomplete.

System Precision Recall F-Measure
Naive Enumeration (Baseline) 0.4588 0.6995 0.5541
Maximal Clique (MC) 0.5812 0.7315 0.6480
Probabilistic Clique (PC) 0.6303 0.7726 0.6942

The graph-based PC method achieved a 31% relative error reduction over the baseline. Furthermore, it was significantly more efficient: the graph-based training and extraction took under 5 minutes, whereas the naive approach required 26 minutes. The PC method was particularly effective at recovering 3-ary and 4-ary relations, where the baseline struggled.

Conclusion

By breaking complex $n$-ary relations into binary sub-problems and reassembling them via graph cliques, we can overcome the computational and sparsity issues inherent in complex IE. The Probabilistic Clique approach provides an elegant way to handle noisy, incomplete data typical of the biomedical domain. Future work will focus on incorporating richer syntactic features, such as dependency parses, and extending the model to handle relations that cross sentence boundaries.

Summary updated

BibTeX
@inproceedings{mcdonald2005simple,
  author = {Ryan T. McDonald and Fernando C. N. Pereira and Seth Kulick and R. Scott Winters and Yang Jin and Peter S. White},
  title = {{Simple Algorithms for Complex Relation Extraction with Applications to Biomedical IE}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2005},
  url = {https://openreview.net/forum?id=BybNPjeuWH},
}
Figure