mlsanityData to 7 Oct 2026

Fortifying Ethical Boundaries in AI: Advanced Strategies for Enhancing Security in Large Language Models

arXiv 2402.01725 ↗First posted 27 Jan 2024cs.CL cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Recent advancements in large language models (LLMs) have significantly enhanced capabilities in natural language processing and artificial intelligence. These models, including GPT-3.5 and LLaMA-2, have revolutionized text generation, translation, and question-answering tasks due to the transformative Transformer model. Despite their widespread use, LLMs present challenges such as ethical dilemmas when models are compelled to respond inappropriately, susceptibility to phishing attacks, and privacy violations. This paper addresses these challenges by introducing a multi-pronged approach that includes: 1) filtering sensitive vocabulary from user input to prevent unethical responses; 2) detecting role-playing to halt interactions that could lead to 'prison break' scenarios; 3) implementing custom rule engines to restrict the generation of prohibited content; and 4) extending these methodologies to various LLM derivatives like Multi-Model Large Language Models (MLLMs). Our approach not only fortifies models against unethical manipulations and privacy breaches but also maintains their high performance across tasks. We demonstrate state-of-the-art performance under various attack prompts, without compromising the model's core functionalities. Furthermore, the introduction of differentiated security levels empowers users to control their personal data disclosure. Our methods contribute to reducing social risks and conflicts arising from technological abuse, enhance data protection, and promote social equity. Collectively, this research provides a framework for balancing the efficiency of question-answering systems with user privacy and ethical standards, ensuring a safer user experience and fostering trust in AI technology.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 29 of its 46 references that are in the map. First posted on arXiv 27 Jan 2024.

Builds on

29 of 46 references.

References · 29

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  4. 2020Measuring Massive Multitask Language Understandingcited by 7,768
  5. 2023Improved Baselines with Visual Instruction Tuningcited by 4,362
  6. 2017Deep reinforcement learning from human preferencescited by 3,846
  7. 2023MiniGPT-4: Enhancing Vision-Language Understanding with Advanced Large Language Modelscited by 2,689
  8. 2023Jailbreaking Black Box Large Language Models in Twenty Queriescited by 1,326
  9. 2022Red Teaming Language Models with Language Modelscited by 983
  10. 2021Ethical and social risks of harm from Language Modelscited by 957
  11. 2022Ignore Previous Prompt: Attack Techniques For Language Modelscited by 760
  12. 2023MiniGPT-v2: large language model as a unified interface for vision-language multi-task learningcited by 617
17 more
  1. 2020Recipes for building an open-domain chatbotcited by 593
  2. 2020Towards a Human-like Open-Domain Chatbotcited by 467
  3. 2023Catastrophic Jailbreak of Open-source LLMs via Exploiting Generationcited by 439
  4. 2023SmoothLLM: Defending Large Language Models Against Jailbreaking Attackscited by 434
  5. 2022Deduplicating Training Data Mitigates Privacy Risks in Language Modelscited by 309
  6. 2021Towards Understanding and Mitigating Social Biases in Language Modelscited by 294
  7. 2021Process for Adapting Language Models to Society (PALMS) with Values-Targeted Datasetscited by 179
  8. 2023How Robust is Google's Bard to Adversarial Image Attacks?cited by 177
  9. 2020Recipes for Safety in Open-domain Chatbotscited by 168
  10. 2022Quantifying Privacy Risks of Masked Language Models Using Membership Inference Attackscited by 168
  11. 2023From ChatGPT to ThreatGPT: Impact of Generative AI in Cybersecurity and Privacycited by 137
  12. 2023Abusing Images and Sounds for Indirect Instruction Injection in Multi-Modal LLMscited by 117
  13. 2019Does Gender Matter? Towards Fairness in Dialogue Systemscited by 89
  14. 2023Attack Prompt Generation for Red Teaming and Defending Large Language Modelscited by 73
  15. 2023Jailbreaking GPT-4V via Self-Adversarial Attacks with System Promptscited by 62
  16. 2023From Prompt Injections to SQL Injection Attacks: How Protected is Your LLM-Integrated Web Application?cited by 53
  17. 2023Privacy in Large Language Models: Attacks, Defenses and Future Directionscited by 48

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2024Unique Security and Privacy Threats of Large Language Models: A Comprehensive Survey
  2. 2024Navigating the Risks: A Survey of Security, Privacy, and Ethics Threats in LLM-Based Agents
  3. 2023A Survey on Large Language Model (LLM) Security and Privacy: The Good, the Bad, and the Ugly
  4. 2025Security Concerns for Large Language Models: A Survey
  5. 2024Deconstructing The Ethics of Large Language Models from Long-standing Issues to New-emerging Dilemmas: A Survey
  6. 2025SoK: The Privacy Paradox of Large Language Models: Advancements, Privacy Risks, and Mitigation
  7. 2025Data Security in Large Language Models: Risks, Defense, and Directions
  8. 2024Large Language Model Safety: A Holistic Survey