Skip to main content
QUICK REVIEW

[Paper Review] TPLinker: Single-stage Joint Extraction of Entities and Relations Through Token Pair Linking

Yucheng Wang, Bowen Yu|arXiv (Cornell University)|Oct 26, 2020
Topic ModelingComputer Science23 references16 citations
TL;DR

This paper proposes TPLinker, a one-stage joint extraction model that formulates entity and relation extraction as a token pair linking task using a novel handshaking tagging scheme. By eliminating sequential dependency and exposure bias, TPLinker achieves state-of-the-art performance on NYT and WebNLG datasets, especially excelling in overlapping and multiple relation extraction.

ABSTRACT

Extracting entities and relations from unstructured text has attracted increasing attention in recent years but remains challenging, due to the intrinsic difficulty in identifying overlapping relations with shared entities. Prior works show that joint learning can result in a noticeable performance gain. However, they usually involve sequential interrelated steps and suffer from the problem of exposure bias. At training time, they predict with the ground truth conditions while at inference it has to make extraction from scratch. This discrepancy leads to error accumulation. To mitigate the issue, we propose in this paper a one-stage joint extraction model, namely, TPLinker, which is capable of discovering overlapping relations sharing one or both entities while immune from the exposure bias. TPLinker formulates joint extraction as a token pair linking problem and introduces a novel handshaking tagging scheme that aligns the boundary tokens of entity pairs under each relation type. Experiment results show that TPLinker performs significantly better on overlapping and multiple relation extraction, and achieves state-of-the-art performance on two public datasets.

Motivation & Objective

  • To address the exposure bias problem in sequential joint extraction models that rely on ground truth during training but generate predictions from scratch at inference.
  • To enable effective joint extraction of overlapping relations—especially SingleEntityOverlap (SEO) and EntityPairOverlap (EPO)—which are challenging for existing models.
  • To design a one-stage, end-to-end framework that avoids error propagation from cascaded predictions.
  • To improve performance on multiple relation and complex overlapping relation patterns in real-world text.

Proposed method

  • TPLinker formulates joint extraction as a token pair linking problem, where each relation type is associated with three binary tagging tasks: entity boundary linking, subject start linking, and object end linking.
  • A novel handshaking tagging scheme is introduced to annotate three separate token link matrices per relation type, enabling precise alignment of entity boundaries and relation heads.
  • The model predicts all entity and relation spans simultaneously through a single forward pass, eliminating dependency on previous predictions and mitigating exposure bias.
  • The decoding process extracts all valid entity pairs and relations by combining predictions from the three link matrices, enabling joint inference without autoregressive generation.
  • TPLinker uses BERT as the base encoder and applies a linear classifier head over token representations to predict link scores between token pairs.
  • The model is trained end-to-end using cross-entropy loss on the three link matrices, allowing joint optimization of entity and relation prediction.

Experimental results

Research questions

  • RQ1Can a one-stage model outperform sequential, multi-step joint extraction models in extracting overlapping and multiple relations?
  • RQ2How does eliminating exposure bias through a non-autoregressive design affect performance on complex relation patterns?
  • RQ3Can a unified tagging scheme based on token pair linking effectively model both entity and relation extraction simultaneously?
  • RQ4To what extent does the proposed handshaking tagging scheme improve performance on EntityPairOverlap (EPO) and SingleEntityOverlap (SEO) cases?
  • RQ5How does TPLinker compare in efficiency and scalability to autoregressive baselines like CasRel?

Key findings

  • TPLinker achieves state-of-the-art F1 scores on both NYT and WebNLG datasets, with 90.1 F1 on NYT and 87.9 F1 on WebNLG using BERT-based architecture.
  • On sentences with five or more relations, TPLinker outperforms CasRel BERT by 6.3 percentage points (96.1 vs. 89.9 F1), demonstrating superior performance on complex, high-relation-density cases.
  • TPLinker achieves 93.4 F1 on WebNLG-SEO and 94.0 F1 on WebNLG-EPO, significantly outperforming prior methods on overlapping relation patterns.
  • The model's inference speed is nearly 3.6 times faster than CasRel BERT under batch processing, with 15.2ms average inference time per sample (vs. 54.0ms for CasRel BERT).
  • Even with a batch size of 1, TPLinker BERT maintains competitive inference speed (82.7ms), confirming its efficiency and deployability.
  • Extensive ablation shows that the handshaking tagging scheme is critical for modeling overlapping relations, especially in EPO and SEO scenarios.

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.