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

Autor: Cheng, Zifeng, Zhou, Qingyu, Jiang, Zhiwei, Zhao, Xuemin, Cao, Yunbo, Gu, Qing
Rok vydání: 2023
Předmět:
Druh dokumentu: Working Paper
Popis: 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.
Comment: Accepted by ACM Transactions on Information Systems
Databáze: arXiv