Skip to main content
QUICK REVIEW

[Paper Review] An Enhanced Span-based Decomposition Method for Few-Shot Sequence Labeling

Peiyi Wang, Runxin Xu|arXiv (Cornell University)|Sep 27, 2021
Natural Language Processing TechniquesComputer Science7 citations
TL;DR

This paper proposes Esd, an enhanced span-based decomposition method for few-shot sequence labeling that formulates the task as a span-level matching problem between query and support instances. By enhancing span representations, aggregating class prototypes with O-type subtyping, and resolving span conflicts via Beam Soft-NMS, Esd achieves state-of-the-art performance on FewNERD and SNIPS benchmarks, outperforming prior methods especially in nested and noisy scenarios.

ABSTRACT

Few-Shot Sequence Labeling (FSSL) is a canonical paradigm for the tagging models, e.g., named entity recognition and slot filling, to generalize on an emerging, resource-scarce domain. Recently, the metric-based meta-learning framework has been recognized as a promising approach for FSSL. However, most prior works assign a label to each token based on the token-level similarities, which ignores the integrality of named entities or slots. To this end, in this paper, we propose ESD, an Enhanced Span-based Decomposition method for FSSL. ESD formulates FSSL as a span-level matching problem between test query and supporting instances. Specifically, ESD decomposes the span matching problem into a series of span-level procedures, mainly including enhanced span representation, class prototype aggregation and span conflicts resolution. Extensive experiments show that ESD achieves the new state-of-the-art results on two popular FSSL benchmarks, FewNERD and SNIPS, and is proven to be more robust in the nested and noisy tagging scenarios. Our code is available at https://github.com/Wangpeiyi9979/ESD.

Motivation & Objective

  • To address the limitations of token-level similarity in few-shot sequence labeling, which ignore entity integrity and struggle with CRF transition learning under data scarcity.
  • To improve generalization in low-resource, emerging domains by modeling sequence labeling as a span-level matching problem rather than token-level prediction.
  • To enhance span representation through intra- and inter-span interactions, and to better distinguish miscellaneous spans (O-type) by their positional relationship to entities.
  • To resolve conflicting span predictions through a novel Beam Soft-NMS post-processing mechanism, enabling robust handling of nested and overlapping entities without retraining.
  • To achieve state-of-the-art results on FewNERD and SNIPS benchmarks, particularly in challenging nested and noisy tagging scenarios.

Proposed method

  • Esd formulates few-shot sequence labeling as a span-level matching task between query and support instances, shifting from token-level to span-level similarity modeling.
  • It introduces a span-enhancing module that improves span representations using intra-span attention and inter-span interactions between query and support sentences.
  • A span-prototypical module divides O-type spans into three sub-types (before, inside, after entities) and uses dynamic aggregation to form class prototypes, improving discrimination of non-entity spans.
  • The model employs a beam search with Soft-NMS (Beam Soft-NMS) to resolve overlapping or conflicting span predictions, enabling effective handling of nested entities.
  • The framework integrates these components sequentially: span representation → prototype aggregation → conflict resolution, enabling robust and accurate span-level prediction.

Experimental results

Research questions

  • RQ1Can modeling sequence labeling as a span-level matching problem improve few-shot generalization compared to token-level similarity methods?
  • RQ2How can O-type spans—representing non-entity spans—be better distinguished based on their positional relationship to recognized entities?
  • RQ3Can a beam search with Soft-NMS effectively resolve conflicting span predictions in few-shot sequence labeling without retraining?
  • RQ4Does the proposed span-level framework outperform existing token-level baselines in nested and noisy tagging scenarios?
  • RQ5What is the trade-off between performance and inference efficiency in a span-based few-shot sequence labeling model?

Key findings

  • Esd achieves a new state-of-the-art F1 score of 59.29 on FewNERD-INTER (5-way 1–2-shot), significantly outperforming ProtoBERT (38.83) and other baselines.
  • In the nested scenario with r_nested=1, Esd with Beam Soft-NMS achieves 31.25 F1, outperforming Soft-NMS (31.09) and beam search alone (28.94), proving the effectiveness of the conflict resolution mechanism.
  • Esd reduces false positive span errors (FP-Span) to 72.8% of total errors, compared to 86.7% for ProtoBERT, indicating superior span boundary localization.
  • Despite a 2.7× increase in inference time compared to ProtoBERT, Esd achieves a 31.53 F1 point gain in 1-shot and 16.68 in 5-shot, demonstrating a favorable performance-efficiency trade-off.
  • The model is more robust in noisy and nested settings, with error analysis showing a lower ratio of span boundary errors, indicating better perception of entity structure.

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.