paper-with-me

Papers

Vector-Quantized Input-Contextualized Soft Prompts for Natural Language Understanding

2022-05-23 · Rishabh Bhardwaj, Amrita Saha, Steven C. H. Hoi, Soujanya Poria

Prompt Tuning has been largely successful as a parameter-efficient method of conditioning large-scale pre-trained language models to perform downstream tasks. Thus far, soft prompt tuning learns a fixed set of task-specific continuous vectors, i.e., soft tokens that remain static across the task samples. A fixed prompt, however, may not generalize well to the diverse kinds of inputs the task comprises. In order to address this, we propose Vector-quantized Input-contextualized Prompts (VIP) as an extension to the soft prompt tuning framework. VIP particularly focuses on two aspects -- contextual prompts that learns input-specific contextualization of the soft prompt tokens through a small-scale sentence encoder and quantized prompts that maps the contextualized prompts to a set of learnable codebook vectors through a Vector quantization network. On various language understanding tasks like SuperGLUE, QA, Relation classification, NER and NLI, VIP outperforms the soft prompt tuning (PT) baseline by an average margin of 1.19%. Further, our generalization studies show that VIP learns more robust prompt representations, surpassing PT by a margin of 0.6% - 5.3% on Out-of-domain QA and NLI tasks respectively, and by 0.75% on Multi-Task setup over 4 tasks spanning across 12 domains.

📄 PDF Abstract BibTeX arXiv:2205.11024

Code (1)

declare-lab/vip 공식 구현 pytorch

Tasks

Natural Language UnderstandingNERQuantizationRelation ClassificationSentence

Similar Papers 제목 키워드 기반

Context-Tuning: Learning Contextualized Prompts for Natural Language Generation

2022-01-21 · COLING 2022 10 · Tianyi Tang, Junyi Li, Wayne Xin Zhao, Ji-Rong Wen

Recently, pretrained language models (PLMs) have had exceptional success in language generation. To leverage the rich knowledge encoded by PLMs, a simple yet powerful paradigm is to use prompts in the form of either disc…

Text Generation

Vector-Quantized Prompt Learning for Paraphrase Generation

2023-11-25 · Haotian Luo, Yixin Liu, Peidong Liu, Xianggen Liu

Deep generative modeling of natural languages has achieved many successes, such as producing fluent sentences and translating from one language into another. However, the development of generative modeling techniques for…

DiversityParaphrase GenerationPrompt Learning

Putting Words in BERT’s Mouth: Navigating Contextualized Vector Spaces with Pseudowords

2021-11-01 · EMNLP 2021 11 · Taelin Karidi, Yichu Zhou, Nathan Schneider, Omri Abend 외

We present a method for exploring regions around individual points in a contextualized vector space (particularly, BERT space), as a way to investigate how these regions correspond to word senses. By inducing a contextua…

Sentence

Putting Words in BERT's Mouth: Navigating Contextualized Vector Spaces with Pseudowords

2021-09-23 · Taelin Karidi, Yichu Zhou, Nathan Schneider, Omri Abend 외

We present a method for exploring regions around individual points in a contextualized vector space (particularly, BERT space), as a way to investigate how these regions correspond to word senses. By inducing a contextua…

Sentence

Deriving Word Vectors from Contextualized Language Models using Topic-Aware Mention Selection

2021-06-15 · ACL (RepL4NLP) 2021 8 · Yixiao Wang, Zied Bouraoui, Luis Espinosa Anke, Steven Schockaert

One of the long-standing challenges in lexical semantics consists in learning representations of words which reflect their semantic properties. The remarkable success of word embeddings for this purpose suggests that hig…

SentenceWord Embeddings