Unifying Token and Span Level Supervisions for Few-Shot Sequence Labeling

Zifeng Cheng, Qingyu Zhou, Zhiwei Jiang, Xuemin Zhao, Yunbo Cao +1 more
7/16/2023
cs.CL

No confident code implementation found for this paper.

Abstract

Few-shot sequence labeling aims to identify novel classes based on only a few labeled samples. Existing methods solve the data scarcity problem mainly by designing token-level or span-level labeling models based on metric learning. However, these methods are only trained at a single granularity (i.e., either token level or span level) and have some weaknesses of the corresponding granularity. In this paper, we first unify token and span level supervisions and propose a Consistent Dual Adaptive Prototypical (CDAP) network for few-shot sequence labeling. CDAP contains the token-level and span-level networks, jointly trained at different granularities. To align the outputs of two networks, we further propose a consistent loss to enable them to learn from each other. During the inference phase, we propose a consistent greedy inference algorithm that first adjusts the predicted probability and then greedily selects non-overlapping spans with maximum probability. Extensive experiments show that our model achieves new state-of-the-art results on three benchmark datasets.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{cheng2023unifying,
  title  = {Unifying Token and Span Level Supervisions for Few-Shot Sequence Labeling},
  author = {Zifeng Cheng and Qingyu Zhou and Zhiwei Jiang and Xuemin Zhao and Yunbo Cao and Qing Gu},
  year   = {2023},
  eprint = {2307.07946},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2307.07946v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2307.07946.svg)](https://codeofpaper.com/paper/2307.07946)

Discussion