paper-with-me

홈 › Papers

On Robust Prefix-Tuning for Text Classification

2022-03-19 · ICLR 2022 4 · Zonghan Yang, Yang Liu

Recently, prefix-tuning has gained increasing attention as a parameter-efficient finetuning method for large-scale pretrained language models. The method keeps the pretrained models fixed and only updates the prefix token parameters for each downstream task. Despite being lightweight and modular, prefix-tuning still lacks robustness to textual adversarial attacks. However, most currently developed defense techniques necessitate auxiliary model update and storage, which inevitably hamper the modularity and low storage of prefix-tuning. In this work, we propose a robust prefix-tuning framework that preserves the efficiency and modularity of prefix-tuning. The core idea of our framework is leveraging the layerwise activations of the language model by correctly-classified training data as the standard for additional prefix finetuning. During the test phase, an extra batch-level prefix is tuned for each batch and added to the original prefix for robustness enhancement. Extensive experiments on three text classification benchmarks show that our framework substantially improves robustness over several strong baselines against five textual attacks of different types while maintaining comparable accuracy on clean texts. We also interpret our robust prefix-tuning framework from the optimal control perspective and pose several directions for future research.

📄 PDF Abstract BibTeX arXiv:2203.10378

Code (1)

minicheshire/robust-prefix-tuning 공식 구현 pytorch

Tasks

ClassificationLanguage Modellingtext-classificationText Classification

Similar Papers 제목 키워드 기반

CCPrefix: Counterfactual Contrastive Prefix-Tuning for Many-Class Classification

2022-11-11 · Yang Li, Canran Xu, Guodong Long, Tao Shen 외

Recently, prefix-tuning was proposed to efficiently adapt pre-trained language models to a broad spectrum of natural language classification tasks. It leverages soft prefix as task-specific indicators and language verbal…

ClassificationcounterfactualEntity TypingMachine Translation+6

Inducer-tuning: Connecting Prefix-tuning and Adapter-tuning

2022-10-26 · Yifan Chen, Devamanyu Hazarika, Mahdi Namazifar, Yang Liu 외

Prefix-tuning, or more generally continuous prompt tuning, has become an essential paradigm of parameter-efficient transfer learning. Using a large pre-trained language model (PLM), prefix-tuning can obtain strong perfor…

Language ModelingLanguage ModellingNatural Language UnderstandingTransfer Learning

Discourse-Aware Prompt Design for Text Generation

2022-01-16 · ACL ARR January 2022 1 · Anonymous

Current efficient fine-tuning methods (e.g., adapters, prefix-tuning, etc.) have optimized conditional text generation via training a small set of extra parameters of the neural language model, while freezing the rest fo…

BlockingConditional Text GenerationLanguage ModellingText Generation

Prefix-Tuning+: Modernizing Prefix-Tuning by Decoupling the Prefix from Attention

2025-06-16 · Haonan Wang, Brian Chen, Siquan Li, Xinhe Liang 외

Parameter-Efficient Fine-Tuning (PEFT) methods have become crucial for rapidly adapting large language models (LLMs) to downstream tasks. Prefix-Tuning, an early and effective PEFT technique, demonstrated the ability to …

parameter-efficient fine-tuning

Prefix-Tuning: Optimizing Continuous Prompts for Generation

2021-01-01 · ACL 2021 5 · Xiang Lisa Li, Percy Liang

Fine-tuning is the de facto way to leverage large pretrained language models to perform downstream tasks. However, it modifies all the language model parameters and therefore necessitates storing a full copy for each tas…

Language ModelingLanguage ModellingTable-to-Text GenerationText Generation