Relation Extraction Exploiting Full Dependency Forests

Lifeng Jin, Linfeng Song, Yue Zhang, Kun Xu, Wei-Yun Ma, Dong Yu

Abstract

Traditional Relation Extraction (RE) models rely on "1-best" dependency trees, which are prone to error propagation and create discrete bottlenecks. This paper introduces a differentiable pipeline that represents syntax as a continuous 3D "forest." By utilizing a Data-Dependent CNN (DDCNN) and task-oriented parser adjustment, the proposed model achieves state-of-the-art performance across biomedical and general-domain datasets, demonstrating superior robustness to parsing errors.

Introduction

Identifying relationships between entities (e.g., "Drug A inhibits Protein B") is a fundamental task in information extraction. Most existing methods utilize dependency parsers to extract the most likely grammatical structure of a sentence. However, this "1-best" approach suffers from two primary issues: error propagation from imperfect parsers—especially in technical biomedical text—and the inability to backpropagate through discrete tree structures to refine the parser for specific downstream tasks.

Methodology: From Trees to Forests

To overcome these limitations, the authors propose treating syntax as a dense, continuous tensor rather than a single static tree.

Forest Representation

Instead of selecting a single tree, a deep biaffine parser generates a 3D tensor representing the probability of every word pair $(i, j)$ having a specific grammatical label $l$. This "forest" encapsulates all possible trees, weighted by the parser's confidence, allowing the model to maintain alternative syntactic paths.

Figure 1: Comparison between a discrete dependency tree (a) and the proposed continuous 3D forest representation (b).

Data-Dependent CNN (DDCNN)

Standard CNNs use fixed filters, which may not be optimal for varying entity pairs. The DDCNN employs a "kernel generation network" that dynamically creates filters based on the specific entity mentions. This ensures that the feature extraction process is "mention-aware," focusing on the syntactic sub-structures most relevant to the target relationship.

Task-Oriented Parser Adjustment

The entire architecture is differentiable, allowing the relation extraction loss to update the parser's parameters. This enables the parser to learn syntactic structures that are most beneficial for RE, even if they deviate from standard linguistic conventions. This end-to-end refinement is a key advantage over traditional pipeline methods.

Figure 3: The full Forest-DDCNN architecture, integrating forest generation, encoding, and data-dependent convolution.

Experimental Results

The model was evaluated on BioCreative VI CPR (biomedical), Phenotype-Gene Relation (PGR), and SemEval-2010 Task 8 (newswire).

  • BioCreative VI: The Forest-DDCNN achieved an F1 score of 55.7, outperforming both 1-best tree baselines (51.4) and previous forest-based models (53.4).
  • PGR: The model showed a significant improvement, reaching 89.3 F1, compared to 78.9 for the tree-based version.
  • SemEval-2010: The approach proved competitive in the general domain with an F1 of 85.5, showing it is effective even where parsers are already highly accurate.

Key Insights

  1. Robustness to Noise: By keeping all possible syntactic paths available, the model can "recover" from a parser's top-ranked mistake if a lower-ranked path provides a better signal for the relationship.
  2. Mention-Awareness: Conditioning convolution kernels on target entities significantly improves the model's ability to capture relevant relational features.
  3. End-to-End Refinement: Fine-tuning the parser specifically for the RE task provides a substantial performance boost, suggesting that "useful" grammar for extraction tasks can differ from general-purpose grammar.

Conclusion

By replacing discrete trees with continuous forests, this work effectively addresses the long-standing problem of error propagation in syntax-based RE. While computationally more intensive, the ability to perform end-to-end parser adjustment opens new avenues for applying syntactic information to specialized domains where gold-standard treebanks are scarce.

Summary updated

BibTeX
@inproceedings{jin2020relation,
  author = {Lifeng Jin and Linfeng Song and Yue Zhang and Kun Xu and Wei-Yun Ma and Dong Yu},
  title = {{Relation Extraction Exploiting Full Dependency Forests}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2020},
  doi = {10.1609/aaai.v34i05.6313},
}
Figure