Geneshift: Impact of different scenario shift on Jailbreaking LLM

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Wu, Tianyi, Xue, Zhiwei, Liu, Yue, Zhang, Jiaheng, Hooi, Bryan, Ng, See-Kiong
Formato: Preprint
Publicado: 2025
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866908313348734976
author Wu, Tianyi
Xue, Zhiwei
Liu, Yue
Zhang, Jiaheng
Hooi, Bryan
Ng, See-Kiong
author_facet Wu, Tianyi
Xue, Zhiwei
Liu, Yue
Zhang, Jiaheng
Hooi, Bryan
Ng, See-Kiong
contents Jailbreak attacks, which aim to cause LLMs to perform unrestricted behaviors, have become a critical and challenging direction in AI safety. Despite achieving the promising attack success rate using dictionary-based evaluation, existing jailbreak attack methods fail to output detailed contents to satisfy the harmful request, leading to poor performance on GPT-based evaluation. To this end, we propose a black-box jailbreak attack termed GeneShift, by using a genetic algorithm to optimize the scenario shifts. Firstly, we observe that the malicious queries perform optimally under different scenario shifts. Based on it, we develop a genetic algorithm to evolve and select the hybrid of scenario shifts. It guides our method to elicit detailed and actionable harmful responses while keeping the seemingly benign facade, improving stealthiness. Extensive experiments demonstrate the superiority of GeneShift. Notably, GeneShift increases the jailbreak success rate from 0% to 60% when direct prompting alone would fail.
format Preprint
id arxiv_https___arxiv_org_abs_2504_08104
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Geneshift: Impact of different scenario shift on Jailbreaking LLM
Wu, Tianyi
Xue, Zhiwei
Liu, Yue
Zhang, Jiaheng
Hooi, Bryan
Ng, See-Kiong
Cryptography and Security
Artificial Intelligence
Computation and Language
Jailbreak attacks, which aim to cause LLMs to perform unrestricted behaviors, have become a critical and challenging direction in AI safety. Despite achieving the promising attack success rate using dictionary-based evaluation, existing jailbreak attack methods fail to output detailed contents to satisfy the harmful request, leading to poor performance on GPT-based evaluation. To this end, we propose a black-box jailbreak attack termed GeneShift, by using a genetic algorithm to optimize the scenario shifts. Firstly, we observe that the malicious queries perform optimally under different scenario shifts. Based on it, we develop a genetic algorithm to evolve and select the hybrid of scenario shifts. It guides our method to elicit detailed and actionable harmful responses while keeping the seemingly benign facade, improving stealthiness. Extensive experiments demonstrate the superiority of GeneShift. Notably, GeneShift increases the jailbreak success rate from 0% to 60% when direct prompting alone would fail.
title Geneshift: Impact of different scenario shift on Jailbreaking LLM
topic Cryptography and Security
Artificial Intelligence
Computation and Language
url https://arxiv.org/abs/2504.08104