A Genetic Algorithm Framework for Jailbreaking Large Language Models
Despite their capabilities to generate human-like text and aid in various tasks, Large Language Models (LLMs) are susceptible to misuse. To mitigate this risk, many LLMs undergo safety alignment or refusal training to allow them to refuse unsafe or unethical requests. Despite these measures, LLMs remain exposed to jailbreak attacks—i.e., adversarial techniques that manipulate the models to generate unsafe outputs. Jailbreaking typically involves crafting specific prompts or adversarial inputs that bypass the models' safety mechanisms. This paper examines the robustness of safety-aligned LLMs against adaptive jailbreak attacks, focusing on a genetic algorithm-based approach.
Authors
- Andrea De Lorenzo (ORCID: https://orcid.org/0000-0002-7628-7672)
- Lorenzo Bonin (ORCID: https://orcid.org/0000-0003-4520-2426)
- Luca Manzoni (ORCID: https://orcid.org/0000-0001-6312-7728)
- Mauro Castelli (ORCID: https://orcid.org/0000-0002-8793-1451)
- Lorenzo Cusin
Institutions
- University of Trieste (IT)
- Universidade Nova de Lisboa (PT)
Publication Details
- Journal
- Proceedings of the Genetic and Evolutionary Computation Conference Companion
- Published
- 2025-07-14
- DOI
- https://doi.org/10.1145/3712255.3726687
- Primary Topic
- Digital and Cyber Forensics
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Fundação para a Ciência e a Tecnologia