paper-with-me

홈 › Papers

Learning to Poison Large Language Models for Downstream Manipulation

2024-02-21 · Xiangyu Zhou, Yao Qiang, Saleh Zare Zade, Mohammad Amin Roshani, Prashant Khanduri, Douglas Zytko, Dongxiao Zhu

The advent of Large Language Models (LLMs) has marked significant achievements in language processing and reasoning capabilities. Despite their advancements, LLMs face vulnerabilities to data poisoning attacks, where the adversary inserts backdoor triggers into training data to manipulate outputs. This work further identifies additional security risks in LLMs by designing a new data poisoning attack tailored to exploit the supervised fine-tuning (SFT) process. We propose a novel gradient-guided backdoor trigger learning (GBTL) algorithm to identify adversarial triggers efficiently, ensuring an evasion of detection by conventional defenses while maintaining content integrity. Through experimental validation across various language model tasks, including sentiment analysis, domain generation, and question answering, our poisoning strategy demonstrates a high success rate in compromising various LLMs' outputs. We further propose two defense strategies against data poisoning attacks, including in-context learning (ICL) and continuous learning (CL), which effectively rectify the behavior of LLMs and significantly reduce the decline in performance. Our work highlights the significant security risks present during SFT of LLMs and the necessity of safeguarding LLMs against data poisoning attacks.

📄 PDF Abstract BibTeX arXiv:2402.13459

Code (1)

rookiezxy/gbtl 공식 구현 pytorch

Tasks

Data PoisoningIn-Context LearningQuestion AnsweringSentiment Analysis

Similar Papers 제목 키워드 기반

PoisonBench: Assessing Large Language Model Vulnerability to Data Poisoning

2024-10-11 · Tingchen Fu, Mrinank Sharma, Philip Torr, Shay B. Cohen 외

Preference learning is a central component for aligning current LLMs, but this process can be vulnerable to data poisoning attacks. To address this concern, we introduce PoisonBench, a benchmark for evaluating large lang…

Data PoisoningLanguage ModelingLanguage ModellingLarge Language Model

Exploring Backdoor Attack and Defense for LLM-empowered Recommendations

2025-04-15 · Liangbo Ning, Wenqi Fan, Qing Li

The fusion of Large Language Models (LLMs) with recommender systems (RecSys) has dramatically advanced personalized recommendations and drawn extensive attention. Despite the impressive progress, the safety of LLM-based …

Backdoor AttackRecommendation Systems

A Systematic Review of Poisoning Attacks Against Large Language Models

2025-06-06 · Neil Fendley, Edward W. Staley, Joshua Carney, William Redman 외

With the widespread availability of pretrained Large Language Models (LLMs) and their training datasets, concerns about the security risks associated with their usage has increased significantly. One of these security ri…

PoisonedEncoder: Poisoning the Unlabeled Pre-training Data in Contrastive Learning

2022-05-13 · Hongbin Liu, Jinyuan Jia, Neil Zhenqiang Gong

Contrastive learning pre-trains an image encoder using a large amount of unlabeled data such that the image encoder can be used as a general-purpose feature extractor for various downstream tasks. In this work, we propos…

Bilevel OptimizationContrastive LearningData Poisoning

Persistent Pre-Training Poisoning of LLMs

2024-10-17 · Yiming Zhang, Javier Rando, Ivan Evtimov, Jianfeng Chi 외

Large language models are pre-trained on uncurated text datasets consisting of trillions of tokens scraped from the Web. Prior work has shown that: (1) web-scraped pre-training datasets can be practically poisoned by mal…