P-Distill: Efficient and Effective Prompt Tuning Using Knowledge Distillation
Open Access
- 24 February 2025
- journal article
- research article
- Published by MDPI AG in Applied Sciences
- Vol. 15 (5) , 2420
Abstract
In the field of natural language processing (NLP), prompt-based learning is widely used for efficient parameter learning. However, this method has the drawback of shortening the input length by the extent of the attached prompt, leading to the inefficient utilization of the input space. In this study, we propose P-Distill, a novel prompt compression method that mitigates the aforementioned limitation of prompt-based learning while maintaining performance via knowledge distillation. The knowledge distillation process of P-Distill consists of two methods, namely prompt initialization and prompt distillation. Experiments on various NLP tasks demonstrated that P-Distill exhibited comparable or superior performance compared to other state-of-the-art prompt-based learning methods, even with significantly shorter prompts. Specifically, we achieved a peak improvement of 1.90% even with the prompt lengths compressed to one-eighth. An additional study further provides insights into the distinct impact of each method on the overall performance of P-Distill. Our code will be released upon acceptance.Keywords
Funding Information
- Basic Research Program through the National Research Foundation of Korea (NRF) (2022R1C1C1010317, CC240003)
- Korea Government [Ministry of Science and ICT (MSIT)] (2022R1C1C1010317, CC240003)
- Seoul R&BD Program (2022R1C1C1010317, CC240003)
- Seoul Business Agency(SBA) (2022R1C1C1010317, CC240003)
- Seoul Metropolitan Government (2022R1C1C1010317, CC240003)
This publication has 39 references indexed in Scilit:
- Knowledge Distillation and Contrastive Learning for Detecting Visible-Infrared Transmission Lines Using Separated Stagger Registration NetworkIEEE Transactions on Circuits and Systems I: Regular Papers, 2025
- Parameter-efficient online knowledge distillation for pretrained language modelsExpert Systems with Applications, 2024
- PanDa: Prompt Transfer Meets Knowledge Distillation for Efficient Model AdaptationIEEE Transactions on Knowledge and Data Engineering, 2024
- GPT understands, tooAI Open, 2024
- Instance, Scale, and Teacher Adaptive Knowledge Distillation for Visual Detection in Autonomous DrivingIEEE Transactions on Intelligent Vehicles, 2022
- How Can We Know What Language Models Know?Transactions of the Association for Computational Linguistics, 2020
- TinyBERT: Distilling BERT for Natural Language Understanding2020
- Transformers: State-of-the-Art Natural Language Processing2020
- MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devices2020
- On Information and SufficiencyThe Annals of Mathematical Statistics, 1951