paper-with-me

홈 › Papers

QueryAttack: Jailbreaking Aligned Large Language Models Using Structured Non-natural Query Language

2025-02-13 · Qingsong Zou, Jingyu Xiao, Qing Li, Zhi Yan, Yuhang Wang, Li Xu, Wenxuan Wang, Kuofeng Gao, Ruoyu Li, Yong Jiang

Recent advances in large language models (LLMs) have demonstrated remarkable potential in the field of natural language processing. Unfortunately, LLMs face significant security and ethical risks. Although techniques such as safety alignment are developed for defense, prior researches reveal the possibility of bypassing such defenses through well-designed jailbreak attacks. In this paper, we propose QueryAttack, a novel framework to examine the generalizability of safety alignment. By treating LLMs as knowledge databases, we translate malicious queries in natural language into structured non-natural query language to bypass the safety alignment mechanisms of LLMs. We conduct extensive experiments on mainstream LLMs, and the results show that QueryAttack not only can achieve high attack success rates (ASRs), but also can jailbreak various defense methods. Furthermore, we tailor a defense method against QueryAttack, which can reduce ASR by up to $64\%$ on GPT-4-1106. Our code is available at https://github.com/horizonsinzqs/QueryAttack.

📄 PDF Abstract BibTeX arXiv:2502.09723

Code (1)

horizonsinzqs/queryattack 공식 구현

Tasks

Safety Alignment

Similar Papers 제목 키워드 기반

Faster-GCG: Efficient Discrete Optimization Jailbreak Attacks against Aligned Large Language Models

2024-10-20 · Xiao Li, Zhuhong Li, Qiongxiu Li, Bingze Lee 외

Aligned Large Language Models (LLMs) have demonstrated remarkable performance across various tasks. However, LLMs remain susceptible to jailbreak adversarial attacks, where adversaries manipulate prompts to elicit malici…

BitBypass: A New Direction in Jailbreaking Aligned Large Language Models with Bitstream Camouflage

2025-06-03 · Kalyan Nakka, Nitesh Saxena

The inherent risk of generating harmful and unsafe content by Large Language Models (LLMs), has highlighted the need for their safety alignment. Various techniques like supervised fine-tuning, reinforcement learning from…

Prompt EngineeringRed TeamingSafety Alignment

Adversarial Reasoning at Jailbreaking Time

2025-02-03 · Mahdi Sabbaghi, Paul Kassianik, George Pappas, Yaron Singer 외

As large language models (LLMs) are becoming more capable and widespread, the study of their failure cases is becoming increasingly important. Recent advances in standardizing, measuring, and scaling test-time compute su…

Adversarial Robustness

Weak-to-Strong Jailbreaking on Large Language Models

2024-01-30 · Xuandong Zhao, Xianjun Yang, Tianyu Pang, Chao Du 외

Large language models (LLMs) are vulnerable to jailbreak attacks - resulting in harmful, unethical, or biased text generations. However, existing jailbreaking methods are computationally costly. In this paper, we propose…

Jailbreaking Large Language Models Through Alignment Vulnerabilities in Out-of-Distribution Settings

2024-06-19 · Yue Huang, Jingyu Tang, Dongping Chen, Bingda Tang 외

Recently, Large Language Models (LLMs) have garnered significant attention for their exceptional natural language processing capabilities. However, concerns about their trustworthiness remain unresolved, particularly in …