mlsanityData to 14 Oct 2026

Backdooring Textual Inversion for Concept Censorship

arXiv 2308.10718 ↗First posted 21 Aug 2023cs.CR cs.CVcited by 14

On the map: Diffusion models → Robustness, privacy and adversarial aspects

also in 1 more
Abstract (arXiv)

Recent years have witnessed success in AIGC (AI Generated Content). People can make use of a pre-trained diffusion model to generate images of high quality or freely modify existing pictures with only prompts in nature language. More excitingly, the emerging personalization techniques make it feasible to create specific-desired images with only a few images as references. However, this induces severe threats if such advanced techniques are misused by malicious users, such as spreading fake news or defaming individual reputations. Thus, it is necessary to regulate personalization models (i.e., concept censorship) for their development and advancement. In this paper, we focus on the personalization technique dubbed Textual Inversion (TI), which is becoming prevailing for its lightweight nature and excellent performance. TI crafts the word embedding that contains detailed information about a specific object. Users can easily download the word embedding from public websites like Civitai and add it to their own stable diffusion model without fine-tuning for personalization. To achieve the concept censorship of a TI model, we propose leveraging the backdoor technique for good by injecting backdoors into the Textual Inversion embeddings. Briefly, we select some sensitive words as triggers during the training of TI, which will be censored for normal use. In the subsequent generation stage, if the triggers are combined with personalized embeddings as final prompts, the model will output a pre-defined target image rather than images including the desired malicious concept. To demonstrate the effectiveness of our approach, we conduct extensive experiments on Stable Diffusion, a prevailing open-sourced text-to-image model. Our code, data, and results are available at https://concept-censorship.github.io.

Key facts. Cited by 14 papers in the map (data through 14 Oct 2026). Placed in Robustness, privacy and adversarial aspects, one of 14 directions in Diffusion models. Builds on 30 of its 43 references that are in the map. First posted on arXiv 21 Aug 2023.

Builds on

30 of 43 references.

Closest ancestors · 6

Same direction, newest first

  1. 2023Personalization as a Shortcut for Few-Shot Backdoor Attack against Text-to-Image Diffusion Models18 May
  2. 2023Text-to-Image Diffusion Models can be Easily Backdoored through Multimodal Data Poisoning7 May
  3. 2023Erasing Concepts from Diffusion Models13 Mar
  4. 2023TrojDiff: Trojan Attacks on Diffusion Models with Diverse Targets10 Mar
  5. 2022How to Backdoor Diffusion Models?11 Dec
  6. 2022Safe Latent Diffusion: Mitigating Inappropriate Degeneration in Diffusion Models9 Nov

Other references · 24

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  2. 2020Denoising Diffusion Probabilistic Modelscited by 21,076
  3. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
  4. 2020Denoising Diffusion Implicit Modelscited by 9,781
  5. 2021Diffusion Models Beat GANs on Image Synthesiscited by 8,255
  6. 2022Hierarchical Text-Conditional Image Generation with CLIP Latentscited by 6,585
  7. 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understandingcited by 6,355
  8. 2021Zero-Shot Text-to-Image Generationcited by 4,288
  9. 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,152
  10. 2019Generative Modeling by Estimating Gradients of the Data Distributioncited by 4,101
  11. 2021GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Modelscited by 3,614
  12. 2022DreamBooth: Fine Tuning Text-to-Image Diffusion Models for Subject-Driven Generationcited by 3,300
12 more
  1. 2020Taming Transformers for High-Resolution Image Synthesiscited by 3,253
  2. 2022An Image is Worth One Word: Personalizing Text-to-Image Generation using Textual Inversioncited by 2,245
  3. 2022Scaling Autoregressive Models for Content-Rich Text-to-Image Generationcited by 1,295
  4. 2022Diffusion Models: A Comprehensive Survey of Methods and Applicationscited by 1,114
  5. 2017BadNets: Identifying Vulnerabilities in the Machine Learning Model Supply Chaincited by 1,106
  6. 2021CogView: Mastering Text-to-Image Generation via Transformerscited by 694
  7. 2023Muse: Text-To-Image Generation via Masked Generative Transformerscited by 648
  8. 2022Make-A-Scene: Scene-Based Text-to-Image Generation with Human Priorscited by 487
  9. 2022CogView2: Faster and Better Text-to-Image Generation via Hierarchical Transformerscited by 307
  10. 2022VQGAN-CLIP: Open Domain Image Generation and Editing with Natural Language Guidancecited by 285
  11. 2023Glaze: Protecting Artists from Style Mimicry by Text-to-Image Modelscited by 205
  12. 2014word2vec Explained: deriving Mikolov et al.'s negative-sampling word-embedding methodcited by 112

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 6; 2025: 6; 2026: 2.

14 papers.

Sort:

By area:

Similar, not cited

Close in wording, no citation either way

  1. 2023Catch You Everything Everywhere: Guarding Textual Inversion via Concept Watermarking
  2. 2025A Comprehensive Survey on Concept Erasure in Text-to-Image Diffusion Models
  3. 2024Defending Text-to-image Diffusion Models: Surprising Efficacy of Textual Perturbations Against Backdoor Attacks
  4. 2025PersGuard: Preventing Malicious Personalization in Text-to-Image Diffusion Models via Model Backdoors
  5. 2025Erased but Not Forgotten: How Backdoors Compromise Concept Erasure
  6. 2024Safeguard Text-to-Image Diffusion Models with Human Feedback Inversion
  7. 2022Rickrolling the Artist: Injecting Backdoors into Text Encoders for Text-to-Image Synthesis
  8. 2023Lego: Learning to Disentangle and Invert Personalized Concepts Beyond Object Appearance in Text-to-Image Diffusion Models