PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
April 7, 20242 citationsOpen Access

Plug and Play with Prompts: A Prompt Tuning Approach for Controlling Text Generation

View Full Paper
RARohan Deepak AjwaniZZZining ZhuJRJonathan Rose

Key Points

Key points are not available for this paper at this time.

Abstract

Transformer-based Large Language Models (LLMs) have shown exceptional language generation capabilities in response to text-based prompts. However, controlling the direction of generation via textual prompts has been challenging, especially with smaller models. In this work, we explore the use of Prompt Tuning to achieve controlled language generation. Generated text is steered using prompt embeddings, which are trained using a small language model, used as a discriminator. Moreover, we demonstrate that these prompt embeddings can be trained with a very small dataset, with as low as a few hundred training examples. Our method thus offers a data and parameter efficient solution towards controlling language model outputs. We carry out extensive evaluation on four datasets: SST-5 and Yelp (sentiment analysis), GYAFC (formality) and JIGSAW (toxic language). Finally, we demonstrate the efficacy of our method towards mitigating harmful, toxic, and biased text generated by language models.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Ajwani et al. (2024) studied this question.

synapsesocial.com/papers/68e701fab6db64358767c10ehttps://doi.org/10.48550/arxiv.2404.05143
Ask AI
Helpful
Bookmark
Share
View Full Paper