Hybrid Multi-stage Decoding for Few-shot NER with Entity-aware Contrastive Learning

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Liu, Congying, Wang, Gaosheng, Liu, Peipei, Wei, Xingyuan, Zhu, Hongsong
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866917009561747456
author Liu, Congying
Wang, Gaosheng
Liu, Peipei
Wei, Xingyuan
Zhu, Hongsong
author_facet Liu, Congying
Wang, Gaosheng
Liu, Peipei
Wei, Xingyuan
Zhu, Hongsong
contents Few-shot named entity recognition can identify new types of named entities based on a few labeled examples. Previous methods employing token-level or span-level metric learning suffer from the computational burden and a large number of negative sample spans. In this paper, we propose the Hybrid Multi-stage Decoding for Few-shot NER with Entity-aware Contrastive Learning (MsFNER), which splits the general NER into two stages: entity-span detection and entity classification. There are 3 processes for introducing MsFNER: training, finetuning, and inference. In the training process, we train and get the best entity-span detection model and the entity classification model separately on the source domain using meta-learning, where we create a contrastive learning module to enhance entity representations for entity classification. During finetuning, we finetune the both models on the support dataset of target domain. In the inference process, for the unlabeled data, we first detect the entity-spans, then the entity-spans are jointly determined by the entity classification model and the KNN. We conduct experiments on the open FewNERD dataset and the results demonstrate the advance of MsFNER.
format Preprint
id arxiv_https___arxiv_org_abs_2404_06970
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Hybrid Multi-stage Decoding for Few-shot NER with Entity-aware Contrastive Learning
Liu, Congying
Wang, Gaosheng
Liu, Peipei
Wei, Xingyuan
Zhu, Hongsong
Computation and Language
Few-shot named entity recognition can identify new types of named entities based on a few labeled examples. Previous methods employing token-level or span-level metric learning suffer from the computational burden and a large number of negative sample spans. In this paper, we propose the Hybrid Multi-stage Decoding for Few-shot NER with Entity-aware Contrastive Learning (MsFNER), which splits the general NER into two stages: entity-span detection and entity classification. There are 3 processes for introducing MsFNER: training, finetuning, and inference. In the training process, we train and get the best entity-span detection model and the entity classification model separately on the source domain using meta-learning, where we create a contrastive learning module to enhance entity representations for entity classification. During finetuning, we finetune the both models on the support dataset of target domain. In the inference process, for the unlabeled data, we first detect the entity-spans, then the entity-spans are jointly determined by the entity classification model and the KNN. We conduct experiments on the open FewNERD dataset and the results demonstrate the advance of MsFNER.
title Hybrid Multi-stage Decoding for Few-shot NER with Entity-aware Contrastive Learning
topic Computation and Language
url https://arxiv.org/abs/2404.06970