Despite the significant advances that Large Language Models (LLMs) offer in processing vast amounts of data and providing actionable insights quickly, their application in the technical field of cybersecurity poses significant challenges. These include the tendency to produce hallucinatory and unreliable results when these models are tested on questions where factuality is important. Furthermore, while Retrieval Augmented Generation (RAG) systems are useful in enriching model answers with relevant information, they struggle with issues related to retrieval speed, choice of embeddings and thresholds and handling multi-hop queries. This paper describes these challenges and discusses strategies to overcome them in order to improve the adaptability and reliability of these models in responding to rapidly evolving cybersecurity threats.
Cybersecurity with LLMs and RAGs: Challenges and Innovations / Simoni, Marco; Saracino, Andrea. - (2026), pp. 169-183. - LECTURE NOTES OF THE INSTITUTE FOR COMPUTER SCIENCES, SOCIAL INFORMATICS AND TELECOMMUNICATIONS ENGINEERING. [10.1007/978-3-031-94458-1_8].
Cybersecurity with LLMs and RAGs: Challenges and Innovations
Simoni, Marco
Primo
;
2026
Abstract
Despite the significant advances that Large Language Models (LLMs) offer in processing vast amounts of data and providing actionable insights quickly, their application in the technical field of cybersecurity poses significant challenges. These include the tendency to produce hallucinatory and unreliable results when these models are tested on questions where factuality is important. Furthermore, while Retrieval Augmented Generation (RAG) systems are useful in enriching model answers with relevant information, they struggle with issues related to retrieval speed, choice of embeddings and thresholds and handling multi-hop queries. This paper describes these challenges and discusses strategies to overcome them in order to improve the adaptability and reliability of these models in responding to rapidly evolving cybersecurity threats.I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.


