paper-with-me

홈 › Papers

Rickrolling the Artist: Injecting Backdoors into Text Encoders for Text-to-Image Synthesis

2022-11-04 · ICCV 2023 1 · Lukas Struppek, Dominik Hintersdorf, Kristian Kersting

While text-to-image synthesis currently enjoys great popularity among researchers and the general public, the security of these models has been neglected so far. Many text-guided image generation models rely on pre-trained text encoders from external sources, and their users trust that the retrieved models will behave as promised. Unfortunately, this might not be the case. We introduce backdoor attacks against text-guided generative models and demonstrate that their text encoders pose a major tampering risk. Our attacks only slightly alter an encoder so that no suspicious model behavior is apparent for image generations with clean prompts. By then inserting a single character trigger into the prompt, e.g., a non-Latin character or emoji, the adversary can trigger the model to either generate images with pre-defined attributes or images following a hidden, potentially malicious description. We empirically demonstrate the high effectiveness of our attacks on Stable Diffusion and highlight that the injection process of a single backdoor takes less than two minutes. Besides phrasing our approach solely as an attack, it can also force an encoder to forget phrases related to certain concepts, such as nudity or violence, and help to make image generation safer.

📄 PDF Abstract BibTeX arXiv:2211.02408

Code (3)

lukasstruppek/rickrolling-the-artist 공식 구현 pytorch
lukasstruppek/exploiting-cultural-biases-via-homoglyphs pytorch
lukasstruppek/the-biased-artist pytorch

Tasks

Image Generation

Methods 이 논문이 사용한 방법론

Diffusion Diffusion models generate samples by gradually removing noise from a signal, and their training objective can be expressed as a reweighted variational lower-bound…

Similar Papers 제목 키워드 기반

Detecting and Eliminating Neural Network Backdoors Through Active Paths with Application to Intrusion Detection

2026-03-11 · Eirik Høyheim, Magnus Wiik Eckhoff, Gudmund Grov, Robert Flood 외 arxiv

Machine learning backdoors have the property that the machine learning model should work as expected on normal inputs, but when the input contains a specific $\textit{trigger}$, it behaves as the attacker desires. Detect…

Intrusion Detection

Backdoor Collapse: Eliminating Unknown Threats via Known Backdoor Aggregation in Language Models

2025-10-11 · Liang Lin, Miao Yu, Moayad Aloqaily, Zhenhong Zhou 외 arxiv

Backdoor attacks are a significant threat to large language models (LLMs), often embedded via public checkpoints, yet existing defenses rely on impractical assumptions about trigger settings. To address this challenge, w…

Blind Backdoors in Deep Learning Models

2020-05-08 · Eugene Bagdasaryan, Vitaly Shmatikov

We investigate a new method for injecting backdoors into machine learning models, based on compromising the loss-value computation in the model-training code. We use it to demonstrate new classes of backdoors strictly mo…

Deep Learning

Backdoors in Neural Models of Source Code

2020-06-11 · Goutham Ramakrishnan, Aws Albarghouthi

Deep neural networks are vulnerable to a range of adversaries. A particularly pernicious class of vulnerabilities are backdoors, where model predictions diverge in the presence of subtle triggers in inputs. An attacker c…

Architectural Neural Backdoors from First Principles

2024-02-10 · Harry Langford, Ilia Shumailov, Yiren Zhao, Robert Mullins 외

While previous research backdoored neural networks by changing their parameters, recent work uncovered a more insidious threat: backdoors embedded within the definition of the network's architecture. This involves inject…