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.

A Genetic Algorithm Framework for Jailbreaking Large Language Models / Bonin, L., Cusin, L., De Lorenzo, A., Castelli, M., Manzoni, L.. - (2025), pp. 779-782. (GECCO '25 Companion: Proceedings of the Genetic and Evolutionary Computation Conference Companion Malaga 14-18 Luglio 2025) [10.1145/3712255.3726687].

A Genetic Algorithm Framework for Jailbreaking Large Language Models

Lorenzo Bonin
Primo
;
Andrea De Lorenzo;Mauro Castelli
Penultimo
;
Luca Manzoni
Ultimo
2025-01-01

Abstract

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.
2025
979-8-4007-1464-1
File in questo prodotto:
File Dimensione Formato  
3712255.3726687.pdf

Accesso chiuso

Descrizione: pdf disponibile gratuitamente sul sito dell'editore: https://dl.acm.org/doi/10.1145/3712255.3726687
Tipologia: Documento in Versione Editoriale
Licenza: Copyright Editore
Dimensione 1.74 MB
Formato Adobe PDF
1.74 MB Adobe PDF   Visualizza/Apri   Richiedi una copia
Pubblicazioni consigliate

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11368/3115300
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 0
  • ???jsp.display-item.citation.isi??? 0
social impact