Emoji Attack: Enhancing Jailbreak Attacks Against Judge LLM Detection

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Wei, Zhipeng, Liu, Yuqi, Erichson, N. Benjamin
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866918125772996608
author Wei, Zhipeng
Liu, Yuqi
Erichson, N. Benjamin
author_facet Wei, Zhipeng
Liu, Yuqi
Erichson, N. Benjamin
contents Jailbreaking techniques trick Large Language Models (LLMs) into producing restricted output, posing a potential threat. One line of defense is to use another LLM as a Judge to evaluate the harmfulness of generated text. However, we reveal that these Judge LLMs are vulnerable to token segmentation bias, an issue that arises when delimiters alter the tokenization process, splitting words into smaller sub-tokens. This alters the embeddings of the entire sequence, reducing detection accuracy and allowing harmful content to be misclassified as safe. In this paper, we introduce Emoji Attack, a novel strategy that amplifies existing jailbreak prompts by exploiting token segmentation bias. Our method leverages in-context learning to systematically insert emojis into text before it is evaluated by a Judge LLM, inducing embedding distortions that significantly lower the likelihood of detecting unsafe content. Unlike traditional delimiters, emojis also introduce semantic ambiguity, making them particularly effective in this attack. Through experiments on state-of-the-art Judge LLMs, we demonstrate that Emoji Attack substantially reduces the unsafe prediction rate, bypassing existing safeguards.
format Preprint
id arxiv_https___arxiv_org_abs_2411_01077
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Emoji Attack: Enhancing Jailbreak Attacks Against Judge LLM Detection
Wei, Zhipeng
Liu, Yuqi
Erichson, N. Benjamin
Computation and Language
Machine Learning
Jailbreaking techniques trick Large Language Models (LLMs) into producing restricted output, posing a potential threat. One line of defense is to use another LLM as a Judge to evaluate the harmfulness of generated text. However, we reveal that these Judge LLMs are vulnerable to token segmentation bias, an issue that arises when delimiters alter the tokenization process, splitting words into smaller sub-tokens. This alters the embeddings of the entire sequence, reducing detection accuracy and allowing harmful content to be misclassified as safe. In this paper, we introduce Emoji Attack, a novel strategy that amplifies existing jailbreak prompts by exploiting token segmentation bias. Our method leverages in-context learning to systematically insert emojis into text before it is evaluated by a Judge LLM, inducing embedding distortions that significantly lower the likelihood of detecting unsafe content. Unlike traditional delimiters, emojis also introduce semantic ambiguity, making them particularly effective in this attack. Through experiments on state-of-the-art Judge LLMs, we demonstrate that Emoji Attack substantially reduces the unsafe prediction rate, bypassing existing safeguards.
title Emoji Attack: Enhancing Jailbreak Attacks Against Judge LLM Detection
topic Computation and Language
Machine Learning
url https://arxiv.org/abs/2411.01077