Skip to main content
QUICK REVIEW

[Paper Review] TKDP: Threefold Knowledge-enriched Deep Prompt Tuning for Few-shot Named Entity Recognition

Jiang Liu, Hao Fei|arXiv (Cornell University)|Jun 6, 2023
Topic ModelingComputer Science6 citations
TL;DR

This paper proposes TKDP, a threefold knowledge-enriched deep prompt tuning framework that integrates sememe, label, and context knowledge into soft prompt embeddings for few-shot named entity recognition. By injecting knowledge-enhanced prompts into multiple layers of a pre-trained language model, TKDP achieves up to 11.53% higher F1 than baseline prompt tuning, significantly outperforming eight strong baselines across five datasets in 5-, 10-, and 20-shot settings.

ABSTRACT

Few-shot named entity recognition (NER) exploits limited annotated instances to identify named mentions. Effectively transferring the internal or external resources thus becomes the key to few-shot NER. While the existing prompt tuning methods have shown remarkable few-shot performances, they still fail to make full use of knowledge. In this work, we investigate the integration of rich knowledge to prompt tuning for stronger few-shot NER. We propose incorporating the deep prompt tuning framework with threefold knowledge (namely TKDP), including the internal 1) context knowledge and the external 2) label knowledge & 3) sememe knowledge. TKDP encodes the three feature sources and incorporates them into the soft prompt embeddings, which are further injected into an existing pre-trained language model to facilitate predictions. On five benchmark datasets, our knowledge-enriched model boosts by at most 11.53% F1 over the raw deep prompt method, and significantly outperforms 8 strong-performing baseline systems in 5-/10-/20-shot settings, showing great potential in few-shot NER. Our TKDP can be broadly adapted to other few-shot tasks without effort.

Motivation & Objective

  • To address the limitation of existing prompt tuning methods in few-shot NER, which underutilize internal and external knowledge.
  • To investigate how integrating multiple knowledge sources—sememe, label, and context—can improve few-shot NER performance.
  • To develop a deep prompt tuning framework that effectively fuses three types of knowledge into soft prompt embeddings for better generalization with limited labeled data.
  • To demonstrate the effectiveness and broad adaptability of the proposed method across diverse few-shot NER benchmarks.

Proposed method

  • TKDP incorporates threefold knowledge: sememe knowledge from HowNet, label descriptions, and contextual sentence features into the prompt tuning framework.
  • It enhances text and label representations by injecting sememe embeddings into both input and label representations for richer semantics.
  • Knowledge-enriched soft prompt embeddings are generated from the enhanced representations and injected into multiple layers of a pre-trained language model (PLM).
  • The framework uses a multi-layer injection strategy, where prompt embeddings are inserted at different depths of the PLM to enable deep interaction with contextual representations.
  • The model is trained end-to-end to optimize for BIO sequence labeling, with attention mechanisms allowing the model to focus on relevant knowledge-enhanced prompt tokens.
  • Ablation studies confirm the contribution of each knowledge type and the effectiveness of prompt depth and length hyperparameters.

Experimental results

Research questions

  • RQ1Can integrating sememe, label, and context knowledge into soft prompts significantly improve few-shot NER performance?
  • RQ2How does the depth and length of the prompt affect model performance in few-shot NER?
  • RQ3Does knowledge-enriched prompt tuning outperform standard deep prompt tuning and other prompt-based baselines in low-resource settings?
  • RQ4How do attention mechanisms in the PLM interact with knowledge-augmented prompt tokens during inference?

Key findings

  • TKDP achieves up to 11.53% higher F1 score than the raw deep prompt tuning method without knowledge integration across all five benchmark datasets.
  • The model significantly outperforms eight strong baseline systems, including prompt-tuning, p-tuning, prefix-tuning, and discrete template-based methods, in 5-, 10-, and 20-shot settings.
  • Ablation studies confirm that each of the three knowledge types—sememe, label, and context—contributes independently and synergistically to performance gains.
  • The model's performance improves with increasing prompt depth, with optimal results observed at 12 layers, indicating deeper integration enhances knowledge utilization.
  • Prompt length has a more pronounced effect on some datasets (e.g., WNUT-2017 and JNLPBA), where longer prompts yield better results, suggesting greater capacity for knowledge injection.
  • Attention visualization shows that knowledge-enhanced prompts attend more effectively to relevant input tokens, such as entity mentions like "Jim Courier" and "U.S.", leading to correct predictions.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.