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

被引:0
作者
Ge, Tao [1 ]
Hu, Jing [1 ]
Dong, Li [1 ]
Mao, Shaoguang [1 ]
Xia, Yan [1 ]
Wang, Xun [1 ]
Chen, Si-Qing [1 ]
Wei, Furu [1 ]
机构
[1] Microsoft, Beijing, Peoples R China
来源
ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 36 (NEURIPS 2023) | 2023年
关键词
D O I
暂无
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
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. [GRAPHICS] .
引用
收藏
页数:16
相关论文
共 38 条
[1]  
Ben-David Eyal, 2021, T ASS COMPUTATIONAL, V10, P414
[2]  
Devlin J, 2019, 2019 CONFERENCE OF THE NORTH AMERICAN CHAPTER OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS: HUMAN LANGUAGE TECHNOLOGIES (NAACL HLT 2019), VOL. 1, P4171
[3]  
Feldman J, 2019, 2019 CONFERENCE ON EMPIRICAL METHODS IN NATURAL LANGUAGE PROCESSING AND THE 9TH INTERNATIONAL JOINT CONFERENCE ON NATURAL LANGUAGE PROCESSING (EMNLP-IJCNLP 2019), P1173
[4]  
Gal R., 2022, 11 INT C LEARN REPR
[5]  
Gao TY, 2021, 59TH ANNUAL MEETING OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS AND THE 11TH INTERNATIONAL JOINT CONFERENCE ON NATURAL LANGUAGE PROCESSING (ACL-IJCNLP 2021), VOL 1, P3816
[6]  
Ge T, 2018, PROCEEDINGS OF THE ELEVENTH INTERNATIONAL CONFERENCE ON LANGUAGE RESOURCES AND EVALUATION (LREC 2018), P499
[7]  
Ge Tao, 2023, arXiv preprint arXiv:2307.06945
[8]  
Gonen Hila, 2022, ARXIV221204037
[9]   PTR: Prompt Tuning with Rules for Text Classification [J].
Han, Xu ;
Zhao, Weilin ;
Ding, Ning ;
Liu, Zhiyuan ;
Sun, Maosong .
AI OPEN, 2022, 3 :182-192
[10]  
Holtzman Ari, 2019, CoRR