English

Zero-Shot Continuous Prompt Transfer: Generalizing Task Semantics Across Language Models

Computation and Language 2024-07-15 v2 Artificial Intelligence

Abstract

Prompt tuning in natural language processing (NLP) has become an increasingly popular method for adapting large language models to specific tasks. However, the transferability of these prompts, especially continuous prompts, between different models remains a challenge. In this work, we propose a zero-shot continuous prompt transfer method, where source prompts are encoded into relative space and the corresponding target prompts are searched for transferring to target models. Experimental results confirm the effectiveness of our method, showing that 'task semantics' in continuous prompts can be generalized across various language models. Moreover, we find that combining 'task semantics' from multiple source models can further enhance the generalizability of transfer.

Keywords

Cite

@article{arxiv.2310.01691,
  title  = {Zero-Shot Continuous Prompt Transfer: Generalizing Task Semantics Across Language Models},
  author = {Zijun Wu and Yongkang Wu and Lili Mou},
  journal= {arXiv preprint arXiv:2310.01691},
  year   = {2024}
}

Comments

Accepted by ICLR 2024

R2 v1 2026-06-28T12:38:58.023Z