CRAICLJul 16, 2024

Continuous Embedding Attacks via Clipped Inputs in Jailbreaking Large Language Models

arXiv:2407.13796v12 citationsh-index: 39
Originality Incremental advance
AI Analysis

This addresses security vulnerabilities in LLMs for users and developers, though it is incremental as it builds on prior jailbreak research.

The paper tackles the problem of jailbreaking large language models (LLMs) by introducing a novel attack method using continuous embeddings, which improves the attack success rate (ASR) from 62% to 83% for a 40-length input at 1000 iterations.

Security concerns for large language models (LLMs) have recently escalated, focusing on thwarting jailbreaking attempts in discrete prompts. However, the exploration of jailbreak vulnerabilities arising from continuous embeddings has been limited, as prior approaches primarily involved appending discrete or continuous suffixes to inputs. Our study presents a novel channel for conducting direct attacks on LLM inputs, eliminating the need for suffix addition or specific questions provided that the desired output is predefined. We additionally observe that extensive iterations often lead to overfitting, characterized by repetition in the output. To counteract this, we propose a simple yet effective strategy named CLIP. Our experiments show that for an input length of 40 at iteration 1000, applying CLIP improves the ASR from 62% to 83%

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes