Skip to main content
QUICK REVIEW

[Paper Review] Pack Together: Entity and Relation Extraction with Levitated Marker.

Deming Ye, Yankai Lin|arXiv (Cornell University)|Sep 13, 2021
Topic ModelingComputer Science55 references14 citations
TL;DR

This paper proposes Packed Levitated Markers, a novel span representation method that models dependencies between spans in Named Entity Recognition (NER) and Relation Extraction (RE) by strategically packing markers into a pre-trained encoder. By using group and subject-oriented packing strategies, the approach improves F1 scores by 0.4%-1.9% on flat NER and achieves 3.5%-3.6% higher strict relation F1 on ACE04/ACE05 with faster inference than prior SOTA models.

ABSTRACT

Named Entity Recognition (NER) and Relation Extraction (RE) are the core sub-tasks for information extraction. Many recent works formulate these two tasks as the span (pair) classification problem, and thus focus on investigating how to obtain a better span representation from the pre-trained encoder. However, a major limitation of existing works is that they ignore the dependencies between spans (pairs). In this work, we propose a novel span representation approach, named Packed Levitated Markers, to consider the dependencies between the spans (pairs) by strategically packing the markers in the encoder. In particular, we propose a group packing strategy to enable our model to process massive spans together to consider their dependencies with limited resources. Furthermore, for those more complicated span pair classification tasks, we design a subject-oriented packing strategy, which packs each subject and all its objects into an instance to model the dependencies between the same-subject span pairs. Our experiments show that our model with packed levitated markers outperforms the sequence labeling model by 0.4%-1.9% F1 on three flat NER tasks, beats the token concat model on six NER benchmarks, and obtains a 3.5%-3.6% strict relation F1 improvement with higher speed over previous SOTA models on ACE04 and ACE05. Code and models are publicly available at this https URL.

Motivation & Objective

  • Address the limitation in existing NER and RE models that ignore dependencies between spans during representation learning.
  • Improve span representation by modeling interactions between multiple spans (pairs) efficiently within constrained computational resources.
  • Design a scalable packing mechanism that allows joint processing of massive spans while preserving dependency modeling.
  • Enhance performance on complex span pair classification tasks by focusing on subject-oriented dependencies.
  • Achieve higher accuracy and faster inference compared to existing sequence labeling and token concatenation baselines.

Proposed method

  • Introduce levitated markers—special tokens placed within the input sequence to represent spans or span pairs—enabling the model to attend to and reason about multiple spans simultaneously.
  • Propose a group packing strategy that clusters and processes large numbers of spans together to model inter-span dependencies under limited memory.
  • Design a subject-oriented packing strategy that groups each subject with all its associated objects into a single instance to model subject-specific dependencies.
  • Integrate the packed markers into a pre-trained encoder (e.g., BERT) to jointly learn span representations with contextual awareness of related spans.
  • Train the model end-to-end using standard span classification heads for NER and RE, with markers dynamically positioned to reflect span boundaries.
  • Optimize inference speed by reducing redundant computation through structured packing, enabling efficient processing of long sequences.

Experimental results

Research questions

  • RQ1Can modeling dependencies between spans improve performance in joint NER and RE tasks compared to independent span classification?
  • RQ2How can we efficiently model dependencies between a large number of spans without incurring prohibitive computational costs?
  • RQ3Does subject-oriented packing of spans lead to better performance on relation extraction tasks compared to generic grouping?
  • RQ4Can the proposed marker packing strategy achieve state-of-the-art results while maintaining faster inference speed than existing methods?
  • RQ5How does the method generalize across diverse NER and RE benchmarks, including flat and nested annotation schemes?

Key findings

  • The proposed model achieves 0.4%-1.9% higher F1 on three flat NER benchmarks compared to sequence labeling baselines.
  • It outperforms the token concatenation model on six NER benchmarks, demonstrating superior span representation learning.
  • On ACE04 and ACE05, the model achieves a 3.5%-3.6% improvement in strict relation F1 over previous SOTA models.
  • The model maintains higher inference speed than prior SOTA approaches, indicating efficiency gains from the packing mechanism.
  • The subject-oriented packing strategy significantly improves performance on complex relation extraction tasks by modeling intra-subject dependencies.
  • The method generalizes well across diverse datasets, including those with nested and flat entity structures.

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.