Skip to main content
QUICK REVIEW

[Paper Review] Knowledgeable Prompt-tuning: Incorporating Knowledge into Prompt Verbalizer for Text Classification

Shengding Hu, Ning Ding|arXiv (Cornell University)|Aug 4, 2021
Topic Modeling70 citations
TL;DR

The paper proposes Knowledgeable Prompt-tuning (KPT), which expands and refines verbalizers with external knowledge bases to improve prompt-based text classification, especially in zero- and few-shot settings. KPT shows reduced error rates and more stable predictions by leveraging diverse label words and refinement techniques.

ABSTRACT

Tuning pre-trained language models (PLMs) with task-specific prompts has been a promising approach for text classification. Particularly, previous studies suggest that prompt-tuning has remarkable superiority in the low-data scenario over the generic fine-tuning methods with extra classifiers. The core idea of prompt-tuning is to insert text pieces, i.e., template, to the input and transform a classification problem into a masked language modeling problem, where a crucial step is to construct a projection, i.e., verbalizer, between a label space and a label word space. A verbalizer is usually handcrafted or searched by gradient descent, which may lack coverage and bring considerable bias and high variances to the results. In this work, we focus on incorporating external knowledge into the verbalizer, forming a knowledgeable prompt-tuning (KPT), to improve and stabilize prompt-tuning. Specifically, we expand the label word space of the verbalizer using external knowledge bases (KBs) and refine the expanded label word space with the PLM itself before predicting with the expanded label word space. Extensive experiments on zero and few-shot text classification tasks demonstrate the effectiveness of knowledgeable prompt-tuning.

Motivation & Objective

  • Motivate improving prompt-tuning by addressing limited coverage and bias in manual/verbalizers.
  • Leverage external knowledge bases to expand the label word set for each class.
  • Develop refinement mechanisms to filter noise in expanded verbalizers.
  • Evaluate KPT in zero-shot and few-shot text classification across multiple datasets.

Proposed method

  • Wrap inputs with a prompt template to convert classification into masked language modeling.
  • Construct a knowledgeable verbalizer by expanding each class with related label words from external KBs.
  • Refine the expanded verbalizers using frequency, relevance, contextualized calibration, and learnable refinement.
  • Utilize refined verbalizers via average or weighted average scoring to map label-word scores to class probabilities.

Experimental results

Research questions

  • RQ1Can external knowledge bases broaden the coverage of verbalizers for text classification?
  • RQ2Do refinement steps reduce noise and improve stability in zero- and few-shot settings?
  • RQ3What gains do KPT variants achieve over standard PT and other baselines across datasets?
  • RQ4How does contextualized calibration interact with knowledge-expanded verbalizers in zero-shot scenarios?

Key findings

  • KPT variants outperform standard prompt-tuning and simple verbalizers in zero-shot and few-shot settings.
  • Contextualized calibration (CC) provides substantial gains, especially in zero-shot, with large average improvements over PT baselines.
  • Refinement methods (frequency, relevance, shared-class calibration, and learnable refinement) reduce label-noise and improve performance, notably in topic classification tasks.
  • KPT reduces prediction variance and yields more stable performance across shots.
  • In zero-shot, KPT achieves reductions in error rates and demonstrates diverse, multi-granularity label words beyond class names.

Better researchstarts right now

From reading papers to final review, dramatically reduce your research time.

No credit card · Free plan available

This review was created by AI and reviewed by human editors.