A Partition Filter Network for Joint Entity and Relation Extraction

Zhiheng Yan, Chong Zhang, Jinlan Fu, Qi Zhang, Zhongyu Wei

Introduction

Extracting entities and their relationships is a fundamental task in Information Extraction. Traditionally, this has been approached via pipeline models that first identify entities (Named Entity Recognition, or NER) and then predict relations (Relation Extraction, or RE). However, pipeline architectures suffer from error propagation, where failures in the NER stage inevitably lead to failures in RE.

While recent joint models attempt to mitigate this, they often rely on sequential encoding (where one task is processed before the other, creating an information imbalance) or parallel encoding (where tasks share inputs but lack deep feature-level synergy). The Partition Filter Network (PFN) introduces a novel "joint encoding" architecture designed to enable a balanced, two-way interaction between NER and RE, allowing feature learning for both tasks to happen simultaneously and interactively.

The Partition Filter Architecture

The core innovation of PFN is the Partition Filter Encoder. Rather than treating all neurons in a hidden layer as general-purpose, the model utilizes specialized "master gates" to segment neurons into three functional partitions:

  1. NER-Specific Partition: Neurons dedicated to entity identification.
  2. RE-Specific Partition: Neurons dedicated to relation identification.
  3. Shared Partition: Neurons containing inter-task information valuable to both.
The PFN framework (a) and its inner partition-filter mechanism (b).

As shown in the architecture diagram, the model employs cummax activation functions—conceptually acting like "scissors"—to segment the cell state of a recurrent unit. To generate task-specific features, the model filters the partitions: NER features are formed by combining the NER-specific and Shared partitions while excluding RE-specific noise. The reverse process is applied for RE features. Additionally, a Global Representation (derived via max-pooling) provides sequence-wide context, replacing computationally expensive bidirectional LSTMs.

Key Insights and Analysis

A critical finding of this work is that relation signals significantly aid NER. Contrary to previous assumptions that relation information is secondary for entity recognition, PFN demonstrates that exposing the NER unit to relation-related features improves the identification of entities involved in triples.

The authors also distinguish between "In-Triple" entities (those involved in a relation) and "Out-of-Triple" entities (isolated entities). PFN excels at the former; in the SciERC dataset, the performance gap between these types reached a staggering 26.6% F1 score, highlighting that joint modeling is particularly effective for entities with relational context. Furthermore, the model shows high robustness to input perturbations, as the inter-task "type constraints" help maintain accuracy even when local context is noisy.

Experimental Results

PFN was evaluated across six diverse public datasets, including NYT, WebNLG, ACE04, ACE05, ADE, and SciERC. The model achieved state-of-the-art (SOTA) or near-SOTA performance across all benchmarks.

Performance comparison of PFN against state-of-the-art methods across six datasets.

Key highlights include:

  • NYT: Achieved 92.4% F1 on Relation Extraction, surpassing the previous SOTA (TpLinker) by 0.5%.
  • WebNLG: Reached 93.6% F1 on RE, a 1.7% improvement over existing methods.
  • NER Gains: The model consistently outperformed competitive models like Casrel by 2.3% to 2.5% F1 on the NYT and WebNLG datasets.
  • Complexity Handling: PFN demonstrated superior performance on complex sentences containing more than five relational triples, where deep inter-task interaction is most critical.

Limitations and Future Work

Despite its strengths, PFN's strong two-way interaction can be sensitive to noisy data. On distantly supervised datasets like NYT, errors in relation annotations can propagate back to the NER step. Additionally, while PFN is highly effective for entities within relations, its performance on isolated "Out-of-triple" entities is slightly lower than some pipeline methods in specific contexts. Future research will focus on balancing the benefits of joint modeling with the need to accurately identify isolated entities in datasets with high proportions of non-relational data.

Summary updated

BibTeX
@inproceedings{yan2021partition,
  author = {Zhiheng Yan and Chong Zhang and Jinlan Fu and Qi Zhang and Zhongyu Wei},
  title = {{A Partition Filter Network for Joint Entity and Relation Extraction}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2021},
  doi = {10.18653/v1/2021.emnlp-main.17},
}
Figure