paper-with-me

Papers

Effective Structured Prompting by Meta-Learning and Representative Verbalizer

2023-06-01 · Weisen Jiang, Yu Zhang, James T. Kwok

Prompt tuning for pre-trained masked language models (MLM) has shown promising performance in natural language processing tasks with few labeled examples. It tunes a prompt for the downstream task, and a verbalizer is used to bridge the predicted token and label prediction. Due to the limited training data, prompt initialization is crucial for prompt tuning. Recently, MetaPrompting (Hou et al., 2022) uses meta-learning to learn a shared initialization for all task-specific prompts. However, a single initialization is insufficient to obtain good prompts for all tasks and samples when the tasks are complex. Moreover, MetaPrompting requires tuning the whole MLM, causing a heavy burden on computation and memory as the MLM is usually large. To address these issues, we use a prompt pool to extract more task knowledge and construct instance-dependent prompts via attention. We further propose a novel soft verbalizer (RepVerb) which constructs label embedding from feature embeddings directly. Combining meta-learning the prompt pool and RepVerb, we propose MetaPrompter for effective structured prompting. MetaPrompter is parameter-efficient as only the pool is required to be tuned. Experimental results demonstrate that MetaPrompter performs better than the recent state-of-the-arts and RepVerb outperforms existing soft verbalizers.

📄 PDF Abstract BibTeX arXiv:2306.00618

Code (1)

ws-jiang/metaprompter_public 공식 구현 pytorch

Tasks

Meta-Learning

Similar Papers 제목 키워드 기반

MetricPrompt: Prompting Model as a Relevance Metric for Few-shot Text Classification

2023-06-15 · Hongyuan Dong, Weinan Zhang, Wanxiang Che

Prompting methods have shown impressive performance in a variety of text mining tasks and applications, especially few-shot ones. Despite the promising prospects, the performance of prompting model largely depends on the…

ClassificationFew-Shot Text Classificationtext-classificationText Classification

Manual Verbalizer Enrichment for Few-Shot Text Classification

2024-10-08 · Quang Anh Nguyen, Nadi Tomeh, Mustapha Lebbah, Thierry Charnois 외

With the continuous development of pre-trained language models, prompt-based training becomes a well-adopted paradigm that drastically improves the exploitation of models for many natural language processing tasks. Promp…

BenchmarkingClassificationDocument ClassificationFew-Shot Learning+3

Enhancing Cross-lingual Natural Language Inference by Soft Prompting with Multilingual Verbalizer

2023-05-22 · Shuang Li, Xuming Hu, Aiwei Liu, Yawen Yang 외

Cross-lingual natural language inference is a fundamental problem in cross-lingual language understanding. Many recent works have used prompt learning to address the lack of annotated parallel corpora in XNLI. However, t…

Cross-Lingual Natural Language InferenceCross-Lingual TransferNatural Language InferencePrompt Learning

Label-Aware Automatic Verbalizer for Few-Shot Text Classification

2023-10-19 · Thanakorn Thaminkaew, Piyawat Lertvittayakumjorn, Peerapon Vateekul

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 s…

Few-Shot Text ClassificationLanguage ModelingLanguage Modellingtext-classification+1

SciPrompt: Knowledge-augmented Prompting for Fine-grained Categorization of Scientific Topics

2024-10-02 · Zhiwen You, Kanyao Han, Haotian Zhu, Bertram Ludäscher 외

Prompt-based fine-tuning has become an essential method for eliciting information encoded in pre-trained language models for a variety of tasks, including text classification. For multi-class classification tasks, prompt…

ClassificationLanguage ModelingLanguage ModellingMasked Language Modeling+3