HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

A Multi-Task Semantic Decomposition Framework with Task-specific Pre-training for Few-Shot NER

A Multi-Task Semantic Decomposition Framework with Task-specific Pre-training for Few-Shot NER

Abstract

The objective of few-shot named entity recognition is to identify named entities with limited labeled instances. Previous works have primarily focused on optimizing the traditional token-wise classification framework, while neglecting the exploration of information based on NER data characteristics. To address this issue, we propose a Multi-Task Semantic Decomposition Framework via Joint Task-specific Pre-training (MSDP) for few-shot NER. Drawing inspiration from demonstration-based and contrastive learning, we introduce two novel pre-training tasks: Demonstration-based Masked Language Modeling (MLM) and Class Contrastive Discrimination. These tasks effectively incorporate entity boundary information and enhance entity representation in Pre-trained Language Models (PLMs). In the downstream main task, we introduce a multi-task joint optimization framework with the semantic decomposing method, which facilitates the model to integrate two different semantic information for entity classification. Experimental results of two few-shot NER benchmarks demonstrate that MSDP consistently outperforms strong baselines by a large margin. Extensive analyses validate the effectiveness and generalization of MSDP.

Code Repositories

dongguanting/msdp-fewshot-ner
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
few-shot-ner-on-few-nerd-interMSDP
10 way 1~2 shot: 69.78±0.31
10 way 5~10 shot: 81.50±0.71
5 way 1~2 shot: 76.86±0.22
5 way 5~10 shot: 84.78±0.69
few-shot-ner-on-few-nerd-intraMSDP
10 way 1~2 shot: 47.13±0.69
10 way 5~10 shot: 64.69±0.51
5 way 1~2 shot: 56.35±0.28
5 way 5~10 shot: 66.80±0.78

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp