Robust Few-Shot Named Entity Recognition with Boundary Discrimination and Correlation Purification

Xiaojun Xue, Chunxia Zhang, Tianxiang Xu, Zhendong Niu
12/13/2023
cs.CLcs.AI

No official code found. Best implementation: ckgconstruction/bdcp (3 stars, last commit 2024-02-18).

Abstract

Few-shot named entity recognition (NER) aims to recognize novel named entities in low-resource domains utilizing existing knowledge. However, the present few-shot NER models assume that the labeled data are all clean without noise or outliers, and there are few works focusing on the robustness of the cross-domain transfer learning ability to textual adversarial attacks in Few-shot NER. In this work, we comprehensively explore and assess the robustness of few-shot NER models under textual adversarial attack scenario, and found the vulnerability of existing few-shot NER models. Furthermore, we propose a robust two-stage few-shot NER method with Boundary Discrimination and Correlation Purification (BDCP). Specifically, in the span detection stage, the entity boundary discriminative module is introduced to provide a highly distinguishing boundary representation space to detect entity spans. In the entity typing stage, the correlations between entities and contexts are purified by minimizing the interference information and facilitating correlation generalization to alleviate the perturbations caused by textual adversarial attacks. In addition, we construct adversarial examples for few-shot NER based on public datasets Few-NERD and Cross-Dataset. Comprehensive evaluations on those two groups of few-shot NER datasets containing adversarial examples demonstrate the robustness and superiority of the proposed method.

View on arXivView PDF

Code Implementations(1)

30PythonDec 12, 20232 years ago

Similar Papers

Cite this paper

@article{xue2023robust,
  title  = {Robust Few-Shot Named Entity Recognition with Boundary Discrimination and Correlation Purification},
  author = {Xiaojun Xue and Chunxia Zhang and Tianxiang Xu and Zhendong Niu},
  year   = {2023},
  eprint = {2312.07961},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2312.07961v1}
}

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/2312.07961.svg)](https://codeofpaper.com/paper/2312.07961)

Discussion