Hybrid Sequence Tagging and Span Based Extraction

This direction is no longer present in the current build. Its last version stays readable and citable here.

Version 1 of 110 papers17 conceptsfrozen 2026-10-04

In natural language processing, identifying meaningful segments of text—spans—is a fundamental challenge. Traditionally, researchers have approached this in two ways: sequence tagging, where every word is assigned a label (like the BIO scheme), and span-based extraction, where the model considers entire phrases as candidate units.

While span-based models are excellent at capturing global relationships and overlapping entities, they often treat the internal structure of a span as a "black box." Conversely, sequence tagging excels at local context but struggles with complex, nested structures. A growing body of research suggests that the most effective way to identify spans is to hybridize these approaches, using token-level supervision to provide a "fine-grained structural map" for span-level decisions.

The Granularity Gap

Standard text classification often relies on a single label for an entire sequence. However, as Todor Mihaylov, Anette Frank, and Zornitsa Kozareva argue in Neural Skill Transfer from Supervised Language Tasks to Reading Comprehension, this lack of granularity limits a model's utility. By supervising a model at every individual token, we force the encoder to learn the specific contribution of each word. This creates more robust representations that are better suited for downstream tasks requiring precise localization.

This principle is particularly evident in security contexts. In LogPrécis: Unleashing Language Models for Automated Shell Log Analysis, Matteo Boffa and colleagues demonstrate that assigning functional categories to every command in a shell session—rather than one label to the whole session—allows a model to detect multi-stage attack behaviors and infer the purpose of randomized, unseen tokens.

Token Labels as Auxiliary Features

How do we practically inject this token-level intelligence into span-based models? One powerful mechanism is the use of auxiliary semantic features.

In the Sequence Tagging enhanced Span-based Network (STSN), Bin Ji, Shasha Li, and Jie Yu use a deep attention mechanism to pipe token-level BIO (Beginning, Inside, Outside) tags directly into candidate span representations. As detailed in Boosting Span-based Joint Entity and Relation Extraction via Squence Tagging Mechanism, these tags act as a bridge. They provide the local context necessary to disambiguate where one entity ends and another begins, which is critical for identifying complex relationships between entities. Without this fine-grained signal, relation extraction performance can drop significantly.

Disambiguation Through Local Intent

The intuition behind this approach is that local labels reduce the search space for global ones. In Spoken Language Understanding, Libo Qin and Wanxiang Che introduced a Stack-Propagation framework that performs intent detection at the token level.

In A Stack-Propagation Framework with Token-Level Intent Detection for Spoken Language Understanding, they show that knowing the specific "intent" associated with a single word helps the model avoid misidentifying entities that look similar but serve different semantic roles. By piping these token-level intents into the slot-filling process, the model captures nuances that utterance-level labels would miss.

Capturing Internal Structure

For tasks like Nested Named Entity Recognition, where entities exist inside other entities (e.g., "University of California" inside "University of California, Berkeley"), the internal structure is the primary signal.

Arzoo Katiyar and Claire Cardie addressed this in Nested Named Entity Recognition Revisited by representing nested structures as a directed hypergraph. Their model doesn't just look for boundaries; it jointly learns to identify the "semantic head" of a mention. This internal structural information provides a vital signal: if the model identifies a word as a head token, it gains a much stronger intuition for where the surrounding phrase boundaries should lie.

Hybrid Ensembles for Precise Localization

Finally, the success of these hybrid strategies is validated by competitive benchmarks. In the SemEval-2021 Toxic Spans Detection task, the winning system by Qinglin Zhu and the HITSZ-HLT team combined sequence labeling with explicit boundary detection. Their ensemble approach proved that tagging dependencies (how words relate to their neighbors) and precise start-end identification are complementary. By looking at the text through both lenses simultaneously, the model can pinpoint toxic language with much higher resolution than a single-paradigm approach.

By moving away from "black box" spans and toward architectures that respect and supervise the role of every token, researchers are creating models that are not only more accurate but also more efficient at learning from limited data.

Papers in this version

History & citationVersion 1 · 2026-10-04

No longer present in the current build · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_hybrid_sequence_tagging_and_span_based_e_723813dd,
  title = {Hybrid Sequence Tagging and Span Based Extraction},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/hybrid-sequence-tagging-and-span-based-extraction/rdr_723813dd53ed4b1682b0948cf45aa091},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-12-04},
}

This exact version (version 1, frozen text):

@misc{lacuna_hybrid_sequence_tagging_and_span_based_e_723813dd_v1,
  title = {Hybrid Sequence Tagging and Span Based Extraction},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/hybrid-sequence-tagging-and-span-based-extraction/rdr_723813dd53ed4b1682b0948cf45aa091/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-12-04},
}