Label-Aware Automatic Verbalizer for Few-Shot Text Classification

Thanakorn Thaminkaew, Piyawat Lertvittayakumjorn, Peerapon Vateekul
10/19/2023
cs.CLcs.LG

No confident code implementation found for this paper.

Abstract

Prompt-based learning has shown its effectiveness in few-shot text classification. One important factor in its success is a verbalizer, which translates output from a language model into a predicted class. Notably, the simplest and widely acknowledged verbalizer employs manual labels to represent the classes. However, manual selection does not guarantee the optimality of the selected words when conditioned on the chosen language model. Therefore, we propose Label-Aware Automatic Verbalizer (LAAV), effectively augmenting the manual labels to achieve better few-shot classification results. Specifically, we use the manual labels along with the conjunction "and" to induce the model to generate more effective words for the verbalizer. The experimental results on five datasets across five languages demonstrate that LAAV significantly outperforms existing verbalizers. Furthermore, our analysis reveals that LAAV suggests more relevant words compared to similar approaches, especially in mid-to-low resource languages.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{thaminkaew2023labelaware,
  title  = {Label-Aware Automatic Verbalizer for Few-Shot Text Classification},
  author = {Thanakorn Thaminkaew and Piyawat Lertvittayakumjorn and Peerapon Vateekul},
  year   = {2023},
  eprint = {2310.12778},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2310.12778v1}
}

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

Discussion