paper-with-me

홈 › Papers

Exploring the Universal Vulnerability of Prompt-based Learning Paradigm

2022-04-11 · Findings (NAACL) 2022 7 · Lei Xu, Yangyi Chen, Ganqu Cui, Hongcheng Gao, Zhiyuan Liu

Prompt-based learning paradigm bridges the gap between pre-training and fine-tuning, and works effectively under the few-shot setting. However, we find that this learning paradigm inherits the vulnerability from the pre-training stage, where model predictions can be misled by inserting certain triggers into the text. In this paper, we explore this universal vulnerability by either injecting backdoor triggers or searching for adversarial triggers on pre-trained language models using only plain text. In both scenarios, we demonstrate that our triggers can totally control or severely decrease the performance of prompt-based models fine-tuned on arbitrary downstream tasks, reflecting the universal vulnerability of the prompt-based learning paradigm. Further experiments show that adversarial triggers have good transferability among language models. We also find conventional fine-tuning models are not vulnerable to adversarial triggers constructed from pre-trained language models. We conclude by proposing a potential solution to mitigate our attack methods. Code and data are publicly available at https://github.com/leix28/prompt-universal-vulnerability

📄 PDF Abstract BibTeX arXiv:2204.05239

Code (1)

leix28/prompt-universal-vulnerability 공식 구현 pytorch

Similar Papers 제목 키워드 기반

Exploring the Universal Vulnerability of Prompt-based Learning Paradigm

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

Prompt-based learning paradigm bridges the gap between pre-training and fine-tuning, and works effectively under the few-shot setting. However, we find that this learning paradigm inherits the vulnerability from the pre-…

Exploring the Vulnerability of Natural Language Processing Models via Universal Adversarial Texts

2021-12-01 · ALTA 2021 12 · Xinzhe Li, Ming Liu, Xingjun Ma, Longxiang Gao

Universal adversarial texts (UATs) refer to short pieces of text units that can largely affect the predictions of NLP models. Recent studies on universal adversarial attacks assume the accessibility of datasets for the t…

Adversarial Attacktext-classificationText Classification

$\textit{LinkPrompt}$: Natural and Universal Adversarial Attacks on Prompt-based Language Models

2024-03-25 · Yue Xu, Wenjie Wang

Prompt-based learning is a new language model training paradigm that adapts the Pre-trained Language Models (PLMs) to downstream tasks, which revitalizes the performance benchmarks across various natural language process…

Adversarial AttackLanguage ModelingLanguage ModellingLarge Language Model

Identifying Helpful Context for LLM-based Vulnerability Repair: A Preliminary Study

2025-06-13 · Gábor Antal, Bence Bogenfürst, Rudolf Ferenc, Péter Hegedűs

Recent advancements in large language models (LLMs) have shown promise for automated vulnerability detection and repair in software systems. This paper investigates the performance of GPT-4o in repairing Java vulnerabili…

Vulnerability Detection

Exploring the Upper Limits of Text-Based Collaborative Filtering Using Large Language Models: Discoveries and Insights

2023-05-19 · Ruyu Li, Wenhao Deng, Yu Cheng, Zheng Yuan 외

Text-based collaborative filtering (TCF) has become the mainstream approach for text and news recommendation, utilizing text encoders, also known as language models (LMs), to represent items. However, existing TCF models…

Collaborative FilteringNews RecommendationRecommendation Systems