Prompt Contrastive Transformation: An Enhanced Strategy for Efficient Prompt Transfer in Natural Language Processing
Abstract Prompt transfer is a transfer learning method based on prompt tuning, which enhances the parameter performance of prompts in target tasks by transferring source prompt embeddings. Among existing methods, weighted aggregation is effective and possesses the advantages of being lightweight and modular. However, these methods may transfer redundant or irrelevant information from the source prompts to the target prompt, leading to negative impacts. To alleviate this problem, we propose Prompt Contrastive Transformation (PCT), which achieves efficient prompt transfer through prompt contrastive transformation and attentional fusion. PCT transforms the source prompt into task-agnostic embedding and task-specific embeddings through singular value decomposition and contrastive learning, reducing information redundancy among source prompts. The attention module in PCT selects more effective task-specific embeddings and fuses them with task-agnostic embedding into the target prompt. Experimental results show that, despite tuning only 0.035% of task-specific parameters, PCT achieves improvements in prompt transfer for single target task adaptation across various NLP tasks.
Authors
- Zhen Duan (ORCID: https://orcid.org/0009-0004-0252-4956)
- Shiji Yang
- Shicheng Tan
- Jie Chen (ORCID: https://orcid.org/0000-0001-6474-9238)
- Yanping Zhang (ORCID: https://orcid.org/0000-0002-6048-8891)
- Shu Guo Zhao (ORCID: https://orcid.org/0000-0001-7647-3603)
- Chenxuan Mei
- Zhen Yang (ORCID: https://orcid.org/0000-0002-6058-0217)
Institutions
- Anhui University (CN)
- Anhui University of Science and Technology (CN)
- Anhui Science and Technology University (CN)
- Anhui University of Technology (CN)
Publication Details
- Journal
- Transactions of the Association for Computational Linguistics
- Published
- 2025-01-01
- DOI
- https://doi.org/10.1162/tacl.a.22
- Primary Topic
- Topic Modeling
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Natural Science Foundation of China
- Anhui University
- Natural Science Foundation of Anhui Province