A novel system for strengthening security in large language models against hallucination and injection attacks with effective strategies

dc.contributor.authorGokcimen, Tunahan
dc.contributor.authorDas, Bihter
dc.date.accessioned2026-08-12T17:41:49Z
dc.date.issued2025
dc.departmentFırat Üniversitesi
dc.description.abstractTo address the escalating demand for secure and trustworthy interactions with Large Language Models (LLMs), this study introduces a pioneering security framework that mitigates critical vulnerabilities, including injection attacks, hallucinations, and data privacy breaches. By incorporating advanced technologies such as VectorDB, Kernel, and Retrieval-Augmented Generation (RAG) within a cross-LLM architecture, the system delivers enhanced resilience and adaptability to adversarial scenarios. Comprehensive evaluations across leading models-including PaLM, Llama, GPT-3.5, GPT-4, Gemini, and GPT-4o-reveal the system's exceptional performance, achieving a 98 % accuracy in eligibility scoring and outperforming conventional models in both reliability and security. This study underscores the significance of a multi-layered defense mechanism that not only detects and neutralizes threats but also ensures ethical, accurate, and contextually relevant responses. The novel cross-LLM strategy enhances system robustness by leveraging the strengths of multiple models, minimizing inconsistencies and reinforcing output integrity. With its adaptability to emerging linguistic manipulation techniques and compliance with strict ethical standards, the proposed framework establishes a secure, scalable ecosystem for LLM applications. The findings promise transformative impacts across domains such as cybersecurity, multilingual processing, and adaptive threat detection, paving the way for safer and more reliable language model deployments.
dc.description.sponsorshipRepublic of Turkey, Ministry of Science, Technology and Industry project named AI-Based Smart Digital Assistant Customer Dialog Bot project [AR-22-087-0001]; R D project
dc.description.sponsorshipThis work is supported by the Republic of Turkey, Ministry of Science, Technology and Industry project named AI-Based Smart Digital Assistant Customer Dialog Bot project and project code AR-22-087-0001. It is funded by an R & D project within the scope of law 5746 by the Arcelik Digital Transformation, Big Data, and Artificial Intelligence R & D Center.
dc.identifier.doi10.1016/j.aej.2025.03.030
dc.identifier.endpage90
dc.identifier.issn1110-0168
dc.identifier.issn2090-2670
dc.identifier.scopus2-s2.0-105000800325
dc.identifier.scopusqualityQ1
dc.identifier.startpage71
dc.identifier.urihttps://doi.org/10.1016/j.aej.2025.03.030
dc.identifier.urihttps://hdl.handle.net/11508/59494
dc.identifier.volume123
dc.identifier.wosWOS:001455789400001
dc.identifier.wosqualityQ1
dc.indekslendigikaynakWeb of Science
dc.indekslendigikaynakScopus
dc.language.isoen
dc.publisherElsevier
dc.relation.ispartofAlexandria Engineering Journal
dc.relation.publicationcategoryMakale - Uluslararası Hakemli Dergi - Kurum Öğretim Elemanı
dc.rightsinfo:eu-repo/semantics/openAccess
dc.snmzKA_WoS_20260511
dc.subjectHallucination
dc.subjectInjection attacks
dc.subjectLarge language models
dc.subjectRetrieval-augmented generation
dc.subjectSecurity
dc.subjectVectorDB
dc.titleA novel system for strengthening security in large language models against hallucination and injection attacks with effective strategies
dc.typeArticle

Dosyalar