Skip to main content
QUICK REVIEW

[Paper Review] OneRel:Joint Entity and Relation Extraction with One Module in One Step

Yuming Shang, Heyan Huang|arXiv (Cornell University)|Mar 10, 2022
Topic ModelingComputer Science21 citations
TL;DR

OneRel reframes joint entity and relation extraction as fine-grained triple classification, using a scoring-based classifier and a relation-specific horns tagging strategy to extract all triples in one step, achieving state-of-the-art results especially in complex overlapping scenarios.

ABSTRACT

Joint entity and relation extraction is an essential task in natural language processing and knowledge graph construction. Existing approaches usually decompose the joint extraction task into several basic modules or processing steps to make it easy to conduct. However, such a paradigm ignores the fact that the three elements of a triple are interdependent and indivisible. Therefore, previous joint methods suffer from the problems of cascading errors and redundant information. To address these issues, in this paper, we propose a novel joint entity and relation extraction model, named OneRel, which casts joint extraction as a fine-grained triple classification problem. Specifically, our model consists of a scoring-based classifier and a relation-specific horns tagging strategy. The former evaluates whether a token pair and a relation belong to a factual triple. The latter ensures a simple but effective decoding process. Extensive experimental results on two widely used datasets demonstrate that the proposed method performs better than the state-of-the-art baselines, and delivers consistent performance gain on complex scenarios of various overlapping patterns and multiple triples.

Motivation & Objective

  • Motivate a joint extraction approach that treats (head, relation, tail) as interdependent and indivisible.
  • Eliminate cascading errors and redundant information by avoiding multi-step pipelines.
  • Propose a scoring-based classifier coupled with a relation-specific tagging scheme to decode triples efficiently.
  • Demonstrate superior performance on standard benchmarks, including complex overlapping patterns.

Proposed method

  • Transform joint extraction into a fine-grained triple classification problem for all token pairs and predefined relations.
  • Use a scoring-based classifier that computes a score for each (head token, relation, tail token) triplet with a non-linear projection inspired by HolE.
  • Define a Rel-Spec Horns Tagging scheme to sparsely label only boundary-related corners (HB-TE, HB-TB, HE-TE) for efficient decoding.
  • Output a 3D tagging matrix M in which entries indicate valid triples; decoding extracts head spans and tail spans from tagged corners.
  • Train with a cross-entropy objective over all possible (i, r, j) combinations using softmax over relation-specific tags.
  • Leverage BERT as sentence encoder and a learnable relation representation to enable parallel scoring across all relations.

Experimental results

Research questions

  • RQ1Can joint extraction of entities and relations be effectively achieved in one module and one step without cascading errors?
  • RQ2Does a fine-grained triple-classification view capture interdependencies among head, relation, and tail better than multi-module approaches?
  • RQ3How does the Rel-Spec Horns Tagging decoding strategy perform on overlapping triples and complex patterns (EPO, SEO, HTO, N>5) compared to baselines?
  • RQ4What are the trade-offs in efficiency and accuracy relative to existing one-step and multi-step methods?

Key findings

  • OneRel achieves state-of-the-art F1 on NYT and WebNLG benchmarks, outperforming baselines across partial and exact-match metrics.
  • The Rel-Spec Horns Tagging enables efficient decoding by focusing on boundary corners, improving handling of overlapping triples.
  • OneRel shows strong performance gains in complex overlapping scenarios (EPO, SEO, HTO, N≥5) across datasets.
  • Compared with TPLinker, OneRel delivers higher F1 despite simpler architecture and two-layer classifier.
  • A parallel scoring approach over all relations maintains efficiency, with training and inference times competitive to strong baselines.

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.