mlsanityData to 7 Oct 2026

How (un)ethical are instruction-centric responses of LLMs? Unveiling the vulnerabilities of safety guardrails to harmful queries

arXiv 2402.15302 ↗First posted 23 Feb 2024cs.CL cs.CRcited by 26

On the map: LLM safety and security → Safety alignment, refusal and guardrails

Abstract (arXiv)

In this study, we tackle a growing concern around the safety and ethical use of large language models (LLMs). Despite their potential, these models can be tricked into producing harmful or unethical content through various sophisticated methods, including 'jailbreaking' techniques and targeted manipulation. Our work zeroes in on a specific issue: to what extent LLMs can be led astray by asking them to generate responses that are instruction-centric such as a pseudocode, a program or a software snippet as opposed to vanilla text. To investigate this question, we introduce TechHazardQA, a dataset containing complex queries which should be answered in both text and instruction-centric formats (e.g., pseudocodes), aimed at identifying triggers for unethical responses. We query a series of LLMs -- Llama-2-13b, Llama-2-7b, Mistral-V2 and Mistral 8X7B -- and ask them to generate both text and instruction-centric responses. For evaluation we report the harmfulness score metric as well as judgements from GPT-4 and humans. Overall, we observe that asking LLMs to produce instruction-centric responses enhances the unethical response generation by ~2-38% across the models. As an additional objective, we investigate the impact of model editing using the ROME technique, which further increases the propensity for generating undesirable content. In particular, asking edited LLMs to generate instruction-centric responses further increases the unethical response generation by ~3-16% across the different models.

Key facts. Cited by 26 papers in the map (data through 7 Oct 2026). Placed in Safety alignment, refusal and guardrails, one of 12 directions in LLM safety and security. Builds on 36 of its 47 references that are in the map. First posted on arXiv 23 Feb 2024.

Builds on

36 of 47 references.

Closest ancestors · 2

Same direction, newest first

  1. 2023Fine-tuning Aligned Language Models Compromises Safety, Even When Users Do Not Intend To!5 Oct
  2. 2023Fundamental Limitations of Alignment in Large Language Models19 Apr

Other references · 34

  1. 2017Proximal Policy Optimization Algorithmscited by 14,441
  2. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
  3. 2020Measuring Massive Multitask Language Understandingcited by 7,768
  4. 2022Large Language Models are Zero-Shot Reasonerscited by 4,323
  5. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
  6. 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,919
  7. 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 2,914
  8. 2022Locating and Editing Factual Associations in GPTcited by 2,609
  9. 2023Jailbroken: How Does LLM Safety Training Fail?cited by 1,565
  10. 2023Tree of Attacks: Jailbreaking Black-Box LLMs Automaticallycited by 619
  11. 2021Editing Factual Knowledge in Language Modelscited by 548
  12. 2024How Johnny Can Persuade LLMs to Jailbreak Them: Rethinking Persuasion to Challenge AI Safety by Humanizing LLMscited by 533
22 more
  1. 2023DecodingTrust: A Comprehensive Assessment of Trustworthiness in GPT Modelscited by 505
  2. 2023"Do Anything Now": Characterizing and Evaluating In-The-Wild Jailbreak Prompts on Large Language Modelscited by 457
  3. 2020Artificial Intelligence, Values and Alignmentcited by 443
  4. 2023Catastrophic Jailbreak of Open-source LLMs via Exploiting Generationcited by 439
  5. 2023GPT-4 Is Too Smart To Be Safe: Stealthy Chat with LLMs via Ciphercited by 401
  6. 2023Jailbreak and Guard Aligned Language Models with Only Few In-Context Demonstrationscited by 401
  7. 2023Poisoning Language Models During Instruction Tuningcited by 254
  8. 2023Specializing Smaller Language Models towards Multi-Step Reasoningcited by 249
  9. 2023Scalable and Transferable Black-Box Jailbreaks for Language Models via Persona Modulationcited by 202
  10. 2022On Second Thought, Let's Not Think Step by Step! Bias and Toxicity in Zero-Shot Reasoningcited by 191
  11. 2023Backdooring Instruction-Tuned Large Language Models with Virtual Prompt Injectioncited by 143
  12. 2023Universal Jailbreak Backdoors from Poisoned Human Feedbackcited by 120
  13. 2023On the Exploitability of Instruction Tuningcited by 110
  14. 2024Weak-to-Strong Jailbreaking on Large Language Modelscited by 100
  15. 2024The Language Barrier: Dissecting Safety Challenges of LLMs in Multilingual Contextscited by 92
  16. 2023Cognitive Overload: Jailbreaking Large Language Models with Overloaded Logical Thinkingcited by 78
  17. 2023Attack Prompt Generation for Red Teaming and Defending Large Language Modelscited by 73
  18. 2023Ignore This Title and HackAPrompt: Exposing Systemic Vulnerabilities of LLMs through a Global Scale Prompt Hacking Competitioncited by 65
  19. 2023Bias Testing and Mitigation in LLM-based Code Generationcited by 53
  20. 2023Spear Phishing With Large Language Modelscited by 49
  21. 2024Leveraging the Context through Multi-Round Interactions for Jailbreaking Attackscited by 32
  22. 2024Sowing the Wind, Reaping the Whirlwind: The Impact of Editing Language Modelscited by 20

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 8; 2025: 13; 2026: 5.

26 papers.

Sort:

By area:

  1. 2024Jailbreak Attacks and Defenses Against Large Language Models: A Surveycited by 215
  2. 2024JailbreakZoo: Survey, Landscapes, and Horizons in Jailbreaking Large Language and Vision-Language Modelscited by 67
  3. 2025LLMs in Software Security: A Survey of Vulnerability Detection Techniques and Insightscited by 44
  4. 2024JailbreakEval: An Integrated Toolkit for Evaluating Jailbreak Attempts Against Large Language Modelscited by 28
  5. 2025The Scales of Justitia: A Comprehensive Survey on Safety Evaluation of LLMscited by 24
  6. 2024SafeInfer: Context Adaptive Decoding Time Safety Alignment for Large Language Modelscited by 22
  7. 2024Mission Impossible: A Statistical Perspective on Jailbreaking LLMscited by 21
  8. 2025Inverse Reinforcement Learning with Dynamic Reward Scaling for LLM Alignmentcited by 20
  9. 2024Swiss Cheese Model for AI Safety: A Taxonomy and Reference Architecture for Multi-Layered Guardrails of Foundation Model Based Agentscited by 13
  10. 2024GASP: Efficient Black-Box Generation of Adversarial Suffixes for Jailbreaking LLMscited by 12
  11. 2025From LLMs to MLLMs to Agents: A Survey of Emerging Paradigms in Jailbreak Attacks and Defenses within LLM Ecosystemcited by 11
  12. 2025Soteria: Language-Specific Functional Parameter Steering for Multilingual Safety Alignmentcited by 10
14 more
  1. 2025What Really Matters in Many-Shot Attacks? An Empirical Study of Long-Context Vulnerabilities in LLMscited by 7
  2. 2025Attributional Safety Failures in Large Language Models under Code-Mixed Perturbationscited by 6
  3. 2025SafeAgent: Safeguarding LLM Agents via an Automated Risk Simulatorcited by 6
  4. 2024Breaking Boundaries: Investigating the Effects of Model Editing on Cross-linguistic Performancecited by 4
  5. 2025SoK: Systematizing LLM Prompt Security: Taxonomies, Datasets, and Unified Evaluation of Attacks and Defensescited by 4
  6. 2026SafeTutors: Benchmarking Pedagogical Safety in AI Tutoring Systemscited by 3
  7. 2025Phonetic Perturbations Reveal Tokenizer-Rooted Safety Gaps in LLMscited by 2
  8. 2025AURA: Affordance-Understanding and Risk-aware Alignment Technique for Large Language Modelscited by 2
  9. 2025ConceptGuard: Neuro-Symbolic Safety Guardrails via Sparse Interpretable Jailbreak Conceptscited by 2
  10. 2025Turning Logic Against Itself : Probing Model Defenses Through Contrastive Questionscited by 1
  11. 2026Tutoring Large Language Models to be Domain-adaptive, Precise, and Safecited by 0
  12. 2026JT-SAFE-V2: Safety-by-Design Foundation Model with World-Context Datacited by 0
  13. 2026When Safety Speaks a Language: A Mechanistic Analysis of Safety-Language Identity Entanglement in LLMscited by 0
  14. 2026Tutoring Large Language Models to be Domain-adaptive, Precise and Safecited by 0