Improving LLM Outputs Against Jailbreak Attacks with Expert Model Integration
On the map: LLM safety and security → Jailbreaking
Abstract (arXiv)
Using LLMs in a production environment presents security challenges that include vulnerabilities to jailbreaks and prompt injections, which can result in harmful outputs for humans or the enterprise. The challenge is amplified when working within a specific domain, as topics generally accepted for LLMs to address may be irrelevant to that field. These problems can be mitigated, for example, by fine-tuning large language models with domain-specific and security-focused data. However, these alone are insufficient, as jailbreak techniques evolve. Additionally, API-accessed models do not offer the flexibility needed to tailor behavior to industry-specific objectives, and in-context learning is not always sufficient or reliable. In response to these challenges, we introduce Archias, an expert model adept at distinguishing between in-domain and out-of-domain communications. Archias classifies user inquiries into several categories: in-domain (specifically for the automotive industry), malicious questions, price injections, prompt injections, and out-of-domain examples. Our methodology integrates outputs from the expert model (Archias) into prompts, which are then processed by the LLM to generate responses. This method increases the model's ability to understand the user's intention and give appropriate answers. Archias can be adjusted, fine-tuned, and used for many different purposes due to its small size. Therefore, it can be easily customized to the needs of any industry. To validate our approach, we created a benchmark dataset for the automotive industry. Furthermore, in the interest of advancing research and development, we release our benchmark dataset to the community.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Jailbreaking, one of 12 directions in LLM safety and security. Builds on 47 of its 59 references that are in the map. First posted on arXiv 18 May 2025.
Builds on
47 of 59 references.
Closest ancestors · 22
Same direction, newest first
- 2024Testing the Limits of Jailbreaking Defenses with the Purple Problem20 Mar
- 2024SafeDecoding: Defending against Jailbreak Attacks via Safety-Aware Decoding14 Feb
- 2024A Cross-Language Investigation into Jailbreak Attacks in Large Language Models30 Jan
- 2024All in How You Ask for It: Simple Black-Box Method for Jailbreak Attacks18 Jan
- 2024Revisiting Jailbreaking for Large Language Models: A Representation Engineering Perspective12 Jan
- 2024How Johnny Can Persuade LLMs to Jailbreak Them: Rethinking Persuasion to Challenge AI Safety by Humanizing LLMs12 Jan
- 2023Comprehensive Evaluation of ChatGPT Reliability Through Multilingual Inquiries16 Dec
- 2023DeepInception: Hypnotize Large Language Model to Be Jailbreaker6 Nov
- 2023AutoDAN: Interpretable Gradient-Based Adversarial Attacks on Large Language Models23 Oct
- 2023Survey of Vulnerabilities in Large Language Models Revealed by Adversarial Attacks16 Oct
- 2023Jailbreaking Black Box Large Language Models in Twenty Queries12 Oct
- 2023Multilingual Jailbreak Challenges in Large Language Models10 Oct
10 more
- 2023SmoothLLM: Defending Large Language Models Against Jailbreaking Attacks5 Oct
- 2023Low-Resource Languages Jailbreak GPT-43 Oct
- 2023Detecting Language Model Attacks with Perplexity27 Aug
- 2023"Do Anything Now": Characterizing and Evaluating In-The-Wild Jailbreak Prompts on Large Language Models7 Aug
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Models27 Jul
- 2023Latent Jailbreak: A Benchmark for Evaluating Text Safety and Output Robustness of Large Language Models17 Jul
- 2023MasterKey: Automated Jailbreak Across Multiple Large Language Model Chatbots16 Jul
- 2023Jailbroken: How Does LLM Safety Training Fail?5 Jul
- 2023PromptRobust: Towards Evaluating the Robustness of Large Language Models on Adversarial Prompts7 Jun
- 2023Tricking LLMs into Disobedience: Formalizing, Analyzing, and Detecting Jailbreaks24 May
Other references · 25
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
- 2023Mistral 7Bcited by 3,164
- 2022Self-Instruct: Aligning Language Models with Self-Generated Instructionscited by 2,724
- 2020Extracting Training Data from Large Language Modelscited by 2,189
- 2022Survey of Hallucination in Natural Language Generationcited by 2,075
- 2024Mixtral of Expertscited by 1,823
- 2020RealToxicityPrompts: Evaluating Neural Toxic Degeneration in Language Modelscited by 1,255
- 2022Red Teaming Language Models with Language Modelscited by 1,026
13 more
- 2022Ignore Previous Prompt: Attack Techniques For Language Modelscited by 832
- 2023The Flan Collection: Designing Data and Methods for Effective Instruction Tuningcited by 739
- 2022Red Teaming Language Models to Reduce Harms: Methods, Scaling Behaviors, and Lessons Learnedcited by 729
- 2020CrowS-Pairs: A Challenge Dataset for Measuring Social Biases in Masked Language Modelscited by 710
- 2018CoQA: A Conversational Question Answering Challengecited by 683
- 2023Baseline Defenses for Adversarial Attacks Against Aligned Language Modelscited by 651
- 2023Multi-step Jailbreaking Privacy Attacks on ChatGPTcited by 333
- 2023LLM Self Defense: By Self Examination, LLMs Know They Are Being Trickedcited by 244
- 2023The Capacity for Moral Self-Correction in Large Language Modelscited by 173
- 2023From ChatGPT to ThreatGPT: Impact of Generative AI in Cybersecurity and Privacycited by 143
- 2024What is in Your Safe Data? Identifying Benign Data that Breaks Safetycited by 118
- 2023Small Models are Valuable Plug-ins for Large Language Modelscited by 42
- 2022Toxicity Detection with Generative Prompt-based Inferencecited by 35
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Analysis of LLMs Against Prompt Injection and Jailbreak Attacks
- 2024Knowledge-to-Jailbreak: Investigating Knowledge-driven Jailbreaking Attacks for Large Language Models
- 2024Improved Large Language Model Jailbreak Detection via Pretrained Embeddings
- 2025A Domain-Based Taxonomy of Jailbreak Vulnerabilities in Large Language Models
- 2024A Comprehensive Study of Jailbreak Attack versus Defense for Large Language Models
- 2025Evolving Security in LLMs: A Study of Jailbreak Attacks and Defenses
- 2025JULI: Jailbreak Large Language Models by Self-Introspection
- 2025Dark LLMs: The Growing Threat of Unaligned AI Models