Saved in:
Bibliographic Details
Main Authors: Jawad, Hussein, Chenik, Yassine, Brunel, Nicolas J. -B.
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2406.02044
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866915275605016576
author Jawad, Hussein
Chenik, Yassine
Brunel, Nicolas J. -B.
author_facet Jawad, Hussein
Chenik, Yassine
Brunel, Nicolas J. -B.
contents The rapid adoption of Large Language Models (LLMs) has exposed critical security and ethical vulnerabilities, particularly their susceptibility to adversarial manipulations. This paper introduces QROA, a novel black-box jailbreak method designed to identify adversarial suffixes that can bypass LLM alignment safeguards when appended to a malicious instruction. Unlike existing suffix-based jailbreak approaches, QROA does not require access to the model's logit or any other internal information. It also eliminates reliance on human-crafted templates, operating solely through the standard query-response interface of LLMs. By framing the attack as an optimization bandit problem, QROA employs a surrogate model and token level optimization to efficiently explore suffix variations. Furthermore, we propose QROA-UNV, an extension that identifies universal adversarial suffixes for individual models, enabling one-query jailbreaks across a wide range of instructions. Testing on multiple models demonstrates Attack Success Rate (ASR) greater than 80\%. These findings highlight critical vulnerabilities, emphasize the need for advanced defenses, and contribute to the development of more robust safety evaluations for secure AI deployment. The code is made public on the following link: https://github.com/qroa/QROA
format Preprint
id arxiv_https___arxiv_org_abs_2406_02044
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Towards Universal and Black-Box Query-Response Only Attack on LLMs with QROA
Jawad, Hussein
Chenik, Yassine
Brunel, Nicolas J. -B.
Computation and Language
Machine Learning
The rapid adoption of Large Language Models (LLMs) has exposed critical security and ethical vulnerabilities, particularly their susceptibility to adversarial manipulations. This paper introduces QROA, a novel black-box jailbreak method designed to identify adversarial suffixes that can bypass LLM alignment safeguards when appended to a malicious instruction. Unlike existing suffix-based jailbreak approaches, QROA does not require access to the model's logit or any other internal information. It also eliminates reliance on human-crafted templates, operating solely through the standard query-response interface of LLMs. By framing the attack as an optimization bandit problem, QROA employs a surrogate model and token level optimization to efficiently explore suffix variations. Furthermore, we propose QROA-UNV, an extension that identifies universal adversarial suffixes for individual models, enabling one-query jailbreaks across a wide range of instructions. Testing on multiple models demonstrates Attack Success Rate (ASR) greater than 80\%. These findings highlight critical vulnerabilities, emphasize the need for advanced defenses, and contribute to the development of more robust safety evaluations for secure AI deployment. The code is made public on the following link: https://github.com/qroa/QROA
title Towards Universal and Black-Box Query-Response Only Attack on LLMs with QROA
topic Computation and Language
Machine Learning
url https://arxiv.org/abs/2406.02044