mlsanityData to 7 Oct 2026

Text-Diffusion Red-Teaming of Large Language Models: Unveiling Harmful Behaviors with Proximity Constraints

arXiv 2501.08246 ↗First posted 14 Jan 2025cs.LGcited by 4

On the map: LLM safety and security → Prompt injection and agent security

Abstract (arXiv)

Recent work has proposed automated red-teaming methods for testing the vulnerabilities of a given target large language model (LLM). These methods use red-teaming LLMs to uncover inputs that induce harmful behavior in a target LLM. In this paper, we study red-teaming strategies that enable a targeted security assessment. We propose an optimization framework for red-teaming with proximity constraints, where the discovered prompts must be similar to reference prompts from a given dataset. This dataset serves as a template for the discovered prompts, anchoring the search for test-cases to specific topics, writing styles, or types of harmful behavior. We show that established auto-regressive model architectures do not perform well in this setting. We therefore introduce a black-box red-teaming method inspired by text-diffusion models: Diffusion for Auditing and Red-Teaming (DART). DART modifies the reference prompt by perturbing it in the embedding space, directly controlling the amount of change introduced. We systematically evaluate our method by comparing its effectiveness with established methods based on model fine-tuning and zero- and few-shot prompting. Our results show that DART is significantly more effective at discovering harmful inputs in close proximity to the reference prompt.

Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Placed in Prompt injection and agent security, one of 12 directions in LLM safety and security. Builds on 38 of its 42 references that are in the map. First posted on arXiv 14 Jan 2025.

Builds on

38 of 42 references.

Closest ancestors · 7

Same direction, newest first

  1. 2024Curiosity-driven Red-teaming for Large Language Models29 Feb
  2. 2024Gradient-Based Language Model Red Teaming30 Jan
  3. 2023LLM Self Defense: By Self Examination, LLMs Know They Are Being Tricked14 Aug
  4. 2023Explore, Establish, Exploit: Red Teaming Language Models from Scratch15 Jun
  5. 2023Query-Efficient Black-Box Red Teaming via Bayesian Optimization27 May
  6. 2022Red Teaming Language Models to Reduce Harms: Methods, Scaling Behaviors, and Lessons Learned23 Aug
  7. 2022Red Teaming Language Models with Language Models7 Feb

Other references · 31

  1. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
  2. 2023GPT-4 Technical Reportcited by 18,132
  3. 2022Training language models to follow instructions with human feedbackcited by 15,712
  4. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  5. 2017Proximal Policy Optimization Algorithmscited by 14,441
  6. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  7. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
  8. 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
  9. 2022Hierarchical Text-Conditional Image Generation with CLIP Latentscited by 6,539
  10. 2022Constitutional AI: Harmlessness from AI Feedbackcited by 2,950
  11. 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 2,914
  12. 2023Code Llama: Open Foundation Models for Codecited by 2,105
19 more
  1. 2021Structured Denoising Diffusion Models in Discrete State-Spacescited by 1,665
  2. 2023Jailbroken: How Does LLM Safety Training Fail?cited by 1,565
  3. 2023Training Diffusion Models with Reinforcement Learningcited by 939
  4. 2023BeaverTails: Towards Improved Safety Alignment of LLM via a Human-Preference Datasetcited by 828
  5. 2023Discrete Diffusion Modeling by Estimating the Ratios of the Data Distributioncited by 712
  6. 2023Instruction Tuning with GPT-4cited by 676
  7. 2023Baseline Defenses for Adversarial Attacks Against Aligned Language Modelscited by 608
  8. 2023Jailbreaking ChatGPT via Prompt Engineering: An Empirical Studycited by 478
  9. 2019PAWS: Paraphrase Adversaries from Word Scramblingcited by 395
  10. 2023Principle-Driven Self-Alignment of Language Models from Scratch with Minimal Human Supervisioncited by 318
  11. 2023Low-Resource Languages Jailbreak GPT-4cited by 290
  12. 2023Certifying LLM Safety against Adversarial Promptingcited by 248
  13. 2023Text Embeddings Reveal (Almost) As Much As Textcited by 189
  14. 2023Automatically Auditing Large Language Models via Discrete Optimizationcited by 187
  15. 2023RAIN: Your Language Models Can Align Themselves without Finetuningcited by 149
  16. 2023Open Sesame! Universal Black Box Jailbreaking of Large Language Modelscited by 128
  17. 2023FLIRT: Feedback Loop In-context Red Teamingcited by 81
  18. 2022Text Generation with Diffusion Language Models: A Pre-training Approach with Continuous Paragraph Denoisecited by 79
  19. 2023CodeFusion: A Pre-trained Diffusion Model for Code Generationcited by 31

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 4.

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2023Red-Teaming Large Language Models using Chain of Utterances for Safety-Alignment
  2. 2024Against The Achilles' Heel: A Survey on Red Teaming for Generative Models
  3. 2025RedTopic: Toward Topic-Diverse Red Teaming of Large Language Models
  4. 2024Code-Switching Red-Teaming: LLM Evaluation for Safety and Multilingual Understanding
  5. 2026CART: Closed-Loop Adaptive Red Teaming for Large Language Models
  6. 2026AutoRISE: Agent-Driven Strategy Evolution for Red-Teaming Large Language Models
  7. 2026OpenRT: An Open-Source Red Teaming Framework for Multimodal LLMs
  8. 2025DREAM: Scalable Red Teaming for Text-to-Image Generative Systems via Distribution Modeling