A Cross-Language Investigation into Jailbreak Attacks in Large Language Models

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Li, Jie, Liu, Yi, Liu, Chongyang, Shi, Ling, Ren, Xiaoning, Zheng, Yaowen, Liu, Yang, Xue, Yinxing
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866911767549968384
author Li, Jie
Liu, Yi
Liu, Chongyang
Shi, Ling
Ren, Xiaoning
Zheng, Yaowen
Liu, Yang
Xue, Yinxing
author_facet Li, Jie
Liu, Yi
Liu, Chongyang
Shi, Ling
Ren, Xiaoning
Zheng, Yaowen
Liu, Yang
Xue, Yinxing
contents Large Language Models (LLMs) have become increasingly popular for their advanced text generation capabilities across various domains. However, like any software, they face security challenges, including the risk of 'jailbreak' attacks that manipulate LLMs to produce prohibited content. A particularly underexplored area is the Multilingual Jailbreak attack, where malicious questions are translated into various languages to evade safety filters. Currently, there is a lack of comprehensive empirical studies addressing this specific threat. To address this research gap, we conducted an extensive empirical study on Multilingual Jailbreak attacks. We developed a novel semantic-preserving algorithm to create a multilingual jailbreak dataset and conducted an exhaustive evaluation on both widely-used open-source and commercial LLMs, including GPT-4 and LLaMa. Additionally, we performed interpretability analysis to uncover patterns in Multilingual Jailbreak attacks and implemented a fine-tuning mitigation method. Our findings reveal that our mitigation strategy significantly enhances model defense, reducing the attack success rate by 96.2%. This study provides valuable insights into understanding and mitigating Multilingual Jailbreak attacks.
format Preprint
id arxiv_https___arxiv_org_abs_2401_16765
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle A Cross-Language Investigation into Jailbreak Attacks in Large Language Models
Li, Jie
Liu, Yi
Liu, Chongyang
Shi, Ling
Ren, Xiaoning
Zheng, Yaowen
Liu, Yang
Xue, Yinxing
Cryptography and Security
Artificial Intelligence
Large Language Models (LLMs) have become increasingly popular for their advanced text generation capabilities across various domains. However, like any software, they face security challenges, including the risk of 'jailbreak' attacks that manipulate LLMs to produce prohibited content. A particularly underexplored area is the Multilingual Jailbreak attack, where malicious questions are translated into various languages to evade safety filters. Currently, there is a lack of comprehensive empirical studies addressing this specific threat. To address this research gap, we conducted an extensive empirical study on Multilingual Jailbreak attacks. We developed a novel semantic-preserving algorithm to create a multilingual jailbreak dataset and conducted an exhaustive evaluation on both widely-used open-source and commercial LLMs, including GPT-4 and LLaMa. Additionally, we performed interpretability analysis to uncover patterns in Multilingual Jailbreak attacks and implemented a fine-tuning mitigation method. Our findings reveal that our mitigation strategy significantly enhances model defense, reducing the attack success rate by 96.2%. This study provides valuable insights into understanding and mitigating Multilingual Jailbreak attacks.
title A Cross-Language Investigation into Jailbreak Attacks in Large Language Models
topic Cryptography and Security
Artificial Intelligence
url https://arxiv.org/abs/2401.16765