HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

A Novel Cascade Binary Tagging Framework for Relational Triple Extraction

Zhepei Wei Jianlin Su Yue Wang Yuan Tian Yi Chang

A Novel Cascade Binary Tagging Framework for Relational Triple Extraction

Abstract

Extracting relational triples from unstructured text is crucial for large-scale knowledge graph construction. However, few existing works excel in solving the overlapping triple problem where multiple relational triples in the same sentence share the same entities. In this work, we introduce a fresh perspective to revisit the relational triple extraction task and propose a novel cascade binary tagging framework (CasRel) derived from a principled problem formulation. Instead of treating relations as discrete labels as in previous works, our new framework models relations as functions that map subjects to objects in a sentence, which naturally handles the overlapping problem. Experiments show that the CasRel framework already outperforms state-of-the-art methods even when its encoder module uses a randomly initialized BERT encoder, showing the power of the new tagging framework. It enjoys further performance boost when employing a pre-trained BERT encoder, outperforming the strongest baseline by 17.5 and 30.2 absolute gain in F1-score on two public datasets NYT and WebNLG, respectively. In-depth analysis on different scenarios of overlapping triples shows that the method delivers consistent performance gain across all these scenarios. The source code and data are released online.

Code Repositories

weizhepei/CasRel
Official
tf
Mentioned in GitHub
Sherlock-coder/CasRel
pytorch
Mentioned in GitHub
LitianD/Joint_RE
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
relation-extraction-on-nyt10-hrlCasRel (exact)
F1: 70.11
relation-extraction-on-nyt11-hrlCasRel (exact)
F1: 51.25
relation-extraction-on-nyt11-hrlCasRel
F1: 53.9
relation-extraction-on-webnlgHBT (CasRel)
F1: 91.8

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp