paper-with-me

Papers

Eliciting Knowledge from Pretrained Language Models for Prototypical Prompt Verbalizer

2022-01-14 · Yinyi Wei, Tong Mo, Yongtao Jiang, Weiping Li, Wen Zhao

Recent advances on prompt-tuning cast few-shot classification tasks as a masked language modeling problem. By wrapping input into a template and using a verbalizer which constructs a mapping between label space and label word space, prompt-tuning can achieve excellent results in zero-shot and few-shot scenarios. However, typical prompt-tuning needs a manually designed verbalizer which requires domain expertise and human efforts. And the insufficient label space may introduce considerable bias into the results. In this paper, we focus on eliciting knowledge from pretrained language models and propose a prototypical prompt verbalizer for prompt-tuning. Labels are represented by prototypical embeddings in the feature space rather than by discrete words. The distances between the embedding at the masked position of input and prototypical embeddings are used as classification criterion. For zero-shot settings, knowledge is elicited from pretrained language models by a manually designed template to form initial prototypical embeddings. For few-shot settings, models are tuned to learn meaningful and interpretable prototypical embeddings. Our method optimizes models by contrastive learning. Extensive experimental results on several many-class text classification datasets with low-resource settings demonstrate the effectiveness of our approach compared with other verbalizer construction methods. Our implementation is available at https://github.com/Ydongd/prototypical-prompt-verbalizer.

📄 PDF Abstract BibTeX arXiv:2201.05411

Code (1)

ydongd/prototypical-prompt-verbalizer 공식 구현 pytorch

Tasks

ClassificationContrastive LearningLanguage ModelingLanguage ModellingMasked Language Modelingtext-classificationText Classification

Similar Papers 제목 키워드 기반

AutoPrompt: Eliciting Knowledge from Language Models with Automatically Generated Prompts

2020-10-29 · EMNLP 2020 11 · Taylor Shin, Yasaman Razeghi, Robert L. Logan IV, Eric Wallace 외

The remarkable success of pretrained language models has motivated the study of what kinds of knowledge these models learn during pretraining. Reformulating tasks as fill-in-the-blanks problems (e.g., cloze tests) is a n…

Natural Language InferenceRelationRelation ExtractionSentiment Analysis

PoKE: A Prompt-based Knowledge Eliciting Approach for Event Argument Extraction

2021-09-11 · Jiaju Lin, Qin Chen

Eliciting knowledge from pre-trained language models via prompt-based learning has shown great potential in many natural language processing tasks. Whereas, the applications for more complex tasks such as event extractio…

DecoderEvent Argument ExtractionEvent ExtractionText Classification

Towards eliciting latent knowledge from LLMs with mechanistic interpretability

2025-05-20 · Bartosz Cywiński, Emil Ryd, Senthooran Rajamanoharan, Neel Nanda

As language models become more powerful and sophisticated, it is crucial that they remain trustworthy and reliable. There is concerning preliminary evidence that models may attempt to deceive or keep secrets from their o…

Designing Templates for Eliciting Commonsense Knowledge from Pretrained Sequence-to-Sequence Models

2020-12-01 · COLING 2020 8 · Jheng-Hong Yang, Sheng-Chieh Lin, Rodrigo Nogueira, Ming-Feng Tsai 외

While internalized {``}implicit knowledge{''} in pretrained transformers has led to fruitful progress in many natural language understanding tasks, how to most effectively elicit such knowledge remains an open question. …

Multiple-choiceNatural Language UnderstandingOpen-Ended Question AnsweringQuestion Answering

Eliciting Latent Knowledge from Quirky Language Models

2023-12-02 · Alex Mallen, Madeline Brumley, Julia Kharchenko, Nora Belrose

Eliciting Latent Knowledge (ELK) aims to find patterns in a capable neural network's activations that robustly track the true state of the world, especially in hard-to-verify cases where the model's output is untrusted. …

Anomaly DetectionMath