paper-with-me

홈 › Papers

A Unified Evaluation of Textual Backdoor Learning: Frameworks and Benchmarks

2022-06-17 · Ganqu Cui, Lifan Yuan, Bingxiang He, Yangyi Chen, Zhiyuan Liu, Maosong Sun

Textual backdoor attacks are a kind of practical threat to NLP systems. By injecting a backdoor in the training phase, the adversary could control model predictions via predefined triggers. As various attack and defense models have been proposed, it is of great significance to perform rigorous evaluations. However, we highlight two issues in previous backdoor learning evaluations: (1) The differences between real-world scenarios (e.g. releasing poisoned datasets or models) are neglected, and we argue that each scenario has its own constraints and concerns, thus requires specific evaluation protocols; (2) The evaluation metrics only consider whether the attacks could flip the models' predictions on poisoned samples and retain performances on benign samples, but ignore that poisoned samples should also be stealthy and semantic-preserving. To address these issues, we categorize existing works into three practical scenarios in which attackers release datasets, pre-trained models, and fine-tuned models respectively, then discuss their unique evaluation methodologies. On metrics, to completely evaluate poisoned samples, we use grammar error increase and perplexity difference for stealthiness, along with text similarity for validity. After formalizing the frameworks, we develop an open-source toolkit OpenBackdoor to foster the implementations and evaluations of textual backdoor learning. With this toolkit, we perform extensive experiments to benchmark attack and defense models under the suggested paradigm. To facilitate the underexplored defenses against poisoned datasets, we further propose CUBE, a simple yet strong clustering-based defense baseline. We hope that our frameworks and benchmarks could serve as the cornerstones for future model development and evaluations.

📄 PDF Abstract BibTeX arXiv:2206.08514

Code (1)

thunlp/openbackdoor 공식 구현 pytorch

Tasks

text similarity

Methods 이 논문이 사용한 방법론

FLIP https://developer.nvidia.com/blog/flip-a-difference-evaluator-for-alternating-images/

Similar Papers 제목 키워드 기반

BadBlocks: Low-Cost and Stealthy Backdoor Attacks Tailored for Text-to-Image Diffusion Models

2025-08-05 · Jia Wu, Yu Pan, Junjun Yang, Yi Du arxiv

Despite the remarkable progress of diffusion models in image generation, recent studies reveal their vulnerability to backdoor attacks via covert visual or textual triggers. Although evolving defense mechanisms can detec…

Image Generation

VillanDiffusion: A Unified Backdoor Attack Framework for Diffusion Models

2023-06-12 · NeurIPS 2023 11 · Sheng-Yen Chou, Pin-Yu Chen, Tsung-Yi Ho

Diffusion Models (DMs) are state-of-the-art generative models that learn a reversible corruption process from iterative noise addition and denoising. They are the backbone of many generative AI applications, such as text…

Backdoor AttackDenoising

Rethinking Reasoning: A Survey on Reasoning-based Backdoors in LLMs

2025-10-09 · Man Hu, Xinyi Wu, Zuofeng Suo, Jinbo Feng 외 arxiv

With the rise of advanced reasoning capabilities, large language models (LLMs) are receiving increasing attention. However, although reasoning improves LLMs' performance on downstream tasks, it also introduces new securi…

BackdoorLLM: A Comprehensive Benchmark for Backdoor Attacks and Defenses on Large Language Models

2024-08-23 · Yige Li, Hanxun Huang, Yunhan Zhao, Xingjun Ma 외

Generative large language models (LLMs) have achieved state-of-the-art results on a wide range of tasks, yet they remain susceptible to backdoor attacks: carefully crafted triggers in the input can manipulate the model t…

Data Poisoningtext-classificationText ClassificationText Generation

Task-Agnostic Detector for Insertion-Based Backdoor Attacks

2024-03-25 · Weimin Lyu, Xiao Lin, Songzhu Zheng, Lu Pang 외

Textual backdoor attacks pose significant security threats. Current detection approaches, typically relying on intermediate feature representation or reconstructing potential triggers, are task-specific and less effectiv…

named-entity-recognitionNamed Entity RecognitionQuestion AnsweringSentence+1