Span-Oriented Information Extraction - A Unifying Perspective on Information Extraction

Yifan Ding, Michael Yankoski, Tim WeningerarXiv 2024

TL;DR

This paper presents a unifying framework for Information Extraction (IE) by framing diverse tasks—such as Named Entity Recognition (NER), Entity Linking (EL), and Machine Reading Comprehension (MRC)—as variants of a single core task: predicting text spans and their corresponding labels. By analyzing IE through this "Span-Oriented" lens, the authors map out the structural trade-offs of different model architectures and training strategies, offering a cohesive roadmap for future NLP research in the era of Large Language Models (LLMs).

What Problem Does This Paper Address?

Information Extraction is fundamentally fragmented. Over the decades, tasks like Named Entity Recognition, Entity Linking, and Attribute Value Extraction have evolved in silos. They are frequently treated as distinct problems, each with ad-hoc methodologies, specialized evaluation metrics, and separate architectures.

This heterogeneity obscures deep structural commonalities and slows down algorithmic progress. The authors address this fragmentation by providing a formal, unified definition of a "span" to show that these seemingly disparate tasks are actually doing the same fundamental thing: mapping raw text sequences to structured triples of start indices, end indices, and class labels.

An overview of information extraction tasks mapping unstructured text to structured information for downstream applications.

Methods

The authors introduce a unified framework called Span-Oriented Information Extraction (SOIE). They formally define a span as a triple $s = (b, e, c)$ containing a beginning token index $b$, an ending token index $e$, and a class label $c$.

Using this definition, they categorize the IE landscape along three dimensions:

  1. Tasks: They re-orient traditional tasks into the SOIE framework based on whether the span boundaries are pre-defined or required as output (see the task breakdown in the figure below).
  2. Transformations: They systematize how models transform text into spans, identifying six core transformation types: Sequential Labeling (e.g., BIOE tagging), Token Prototyping, Token-pair Classification, Span Classification, Span Locating, and Span Generation (common in autoregressive LLMs).
  3. Training Strategies: They review how modern paradigms—including feature tuning, model fine-tuning, prompt tuning, and in-context learning—operate over span representations.
Overview of Span-Oriented Information Extraction Tasks

Datasets

As a survey and perspective paper, this work does not introduce new datasets or benchmarks. Instead, it references standard existing benchmarks in the literature, such as the CoNLL03 dataset for Named Entity Recognition, to illustrate concepts like label noise, evaluation rigidity, and sample distributions across different transformation types.

Key Insights and Ideas

  • The Duality of Spans: A span simultaneously possesses a surface form (the underlying text tokens) and a semantic meaning (the class label). Traditional systems often separate these steps (e.g., boundary detection followed by classification), but the authors argue that successful modern approaches benefit from treating them as an inseparable duality.
  • Swappable Transformations: Because different IE tasks share the same underlying input/output structure under the SOIE framework, their model transformations are fundamentally swappable. For instance, an NER task can be successfully reframed and solved as an MRC task or a generative sequence-to-sequence task.
  • Transformation Trade-offs: The choice of transformation approach dictates a model's computational complexity and its ability to handle complex edge cases. For example, token-pair classification creates a larger, sparser matrix but is uniquely suited for handling discontinuous spans, whereas sequential labeling completely struggles with nested spans.

Key Results

The primary result of this paper is a conceptual taxonomy and a comprehensive trade-off matrix of transformation approaches. Quantitatively, the paper highlights how different transformations drastically alter the distribution of positive and negative samples during training. For example, given an 8-token sentence with two entities:

  • Sequential Labeling yields 4 positive tokens and 4 negative tokens.
  • Token-pair Classification yields an $\ell^2 = 64$ token-pair matrix, where only 2 pairs are positive samples.
  • Span Classification (with a window length of 5) yields 30 possible candidate spans, with only 3 representing positive spans.

The authors show that these shifting distributions drastically impact model training dynamics, computational complexity, and a model's vulnerability to noisy or incomplete labels.

Limitations and Future Work

  • Contextual Reasoning Gap: Current AI systems still underperform compared to humans in zero-shot and few-shot scenarios. This is primarily due to an inability to deeply reason about the relationship between the context of the input text and the context of the class label.
  • LLM Accessibility: As powerful LLMs become increasingly proprietary or computationally heavy, adapting them for specific, fine-grained IE tasks remains a non-trivial engineering challenge.
  • Future Directions: The authors call for a tighter, bidirectional integration of IE and LLMs. Specifically, they suggest using IE techniques to provide structured context and evidence to mitigate LLM hallucinations, while simultaneously leveraging LLM prompt-tuning and in-context learning to build more flexible, open-world IE systems.

Summary updated

BibTeX
@misc{ding2024span,
  author = {Yifan Ding and Michael Yankoski and Tim Weninger},
  title = {{Span-Oriented Information Extraction - A Unifying Perspective on Information Extraction}},
  year = {2024},
  eprint = {2403.15453},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2403.15453},
}
Figure