Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Extensible Prompts for Language Models on Zero-shot Language Style Customization

About

We propose eXtensible Prompt (X-Prompt) for prompting a large language model (LLM) beyond natural language (NL). X-Prompt instructs an LLM with not only NL but also an extensible vocabulary of imaginary words. Registering new imaginary words allows us to instruct the LLM to comprehend concepts that are difficult to describe with NL words, thereby making a prompt more descriptive. Also, these imaginary words are designed to be out-of-distribution (OOD) robust so that they can be (re)used like NL words in various prompts, distinguishing X-Prompt from soft prompt that is for fitting in-distribution data. We propose context-augmented learning (CAL) to learn imaginary words for general usability, enabling them to work properly in OOD (unseen) prompts. We experiment X-Prompt for zero-shot language style customization as a case study. The promising results of X-Prompt demonstrate its potential to facilitate advanced interaction beyond the natural language interface, bridging the communication gap between humans and LLMs.

Tao Ge, Jing Hu, Li Dong, Shaoguang Mao, Yan Xia, Xun Wang, Si-Qing Chen, Furu Wei• 2022

Related benchmarks

TaskDatasetResultRank
Image Style TransferUser Study
Overall Quality Score60
30
Style Customization800 Users OPT-6.7b based (ID)
PPL55.7
7
Style Customization20 Users OPT-6.7b based (ID)
PPL29.7
7
Style Customization20 Users OPT-6.7b based (OOD)
PPL28.5
4
Style CustomizationHu Xijin's style 1500 translated tweets
Content Score64
4
Style CustomizationHuman evaluation set Generated texts (test)
Content Score69
4
Style TransferGYAFC
BLEU38.7
4
Style TransferPoliteRewrite
BLEU18.9
4
Showing 8 of 8 rows

Other info

Follow for update