Late Prompt Tuning: A Late Prompt Could Be Better Than Many Prompts
Liu, Xiangyang, Sun, Tianxiang, Huang, Xuanjing, Qiu, Xipeng
–arXiv.org Artificial Intelligence
Prompt tuning is a parameter-efficient tuning (PETuning) method for utilizing pre-trained models (PTMs) that simply prepends a soft prompt to the input and only optimizes the prompt to adapt PTMs to downstream tasks. Although it is parameter- and deployment-efficient, its performance still lags behind other state-of-the-art PETuning methods. Besides, the training cost of prompt tuning is not significantly reduced due to the back-propagation through the entire model. Through empirical analyses, we shed some light on the lagging performance of prompt tuning and recognize a trade-off between the propagation distance from label signals to the inserted prompt and the influence of the prompt on model outputs. Further, we present Late Prompt Tuning (LPT) that inserts a late prompt into an intermediate layer of the PTM instead of the input layer or all layers. The late prompt is obtained by a neural prompt generator conditioned on the hidden states before the prompt insertion layer and therefore is instance-dependent. Through extensive experimental results across various tasks and PTMs, we show that LPT can achieve competitive performance to full model tuning and other PETuning methods under both full-data and few-shot scenarios while possessing faster training speed and lower memory cost.
arXiv.org Artificial Intelligence
Oct-21-2022
- Country:
- Asia
- China > Shanghai
- Shanghai (0.04)
- South Korea (0.04)
- China > Shanghai
- Europe
- Austria (0.04)
- Greece > Attica
- Athens (0.04)
- Ireland > Leinster
- County Dublin > Dublin (0.04)
- Romania > Sud - Muntenia Development Region
- Giurgiu County > Giurgiu (0.04)
- Spain (0.04)
- United Kingdom > England
- Hampshire > Southampton (0.04)
- North America
- Canada > British Columbia
- Dominican Republic (0.04)
- United States
- California > Los Angeles County
- Long Beach (0.14)
- Louisiana > Orleans Parish
- New Orleans (0.04)
- Maryland > Baltimore (0.04)
- Michigan (0.04)
- Minnesota > Hennepin County
- Minneapolis (0.14)
- Texas (0.04)
- Washington > King County
- Seattle (0.14)
- California > Los Angeles County
- Asia
- Genre:
- Research Report (1.00)
- Technology: