paper-with-me

홈 › Papers

PathSeeker: Exploring LLM Security Vulnerabilities with a Reinforcement Learning-Based Jailbreak Approach

2024-09-21 · ZhiHao Lin, Wei Ma, Mingyi Zhou, Yanjie Zhao, Haoyu Wang, Yang Liu, Jun Wang, Li Li

In recent years, Large Language Models (LLMs) have gained widespread use, raising concerns about their security. Traditional jailbreak attacks, which often rely on the model internal information or have limitations when exploring the unsafe behavior of the victim model, limiting their reducing their general applicability. In this paper, we introduce PathSeeker, a novel black-box jailbreak method, which is inspired by the game of rats escaping a maze. We think that each LLM has its unique "security maze", and attackers attempt to find the exit learning from the received feedback and their accumulated experience to compromise the target LLM's security defences. Our approach leverages multi-agent reinforcement learning, where smaller models collaborate to guide the main LLM in performing mutation operations to achieve the attack objectives. By progressively modifying inputs based on the model's feedback, our system induces richer, harmful responses. During our manual attempts to perform jailbreak attacks, we found that the vocabulary of the response of the target model gradually became richer and eventually produced harmful responses. Based on the observation, we also introduce a reward mechanism that exploits the expansion of vocabulary richness in LLM responses to weaken security constraints. Our method outperforms five state-of-the-art attack techniques when tested across 13 commercial and open-source LLMs, achieving high attack success rates, especially in strongly aligned commercial models like GPT-4o-mini, Claude-3.5, and GLM-4-air with strong safety alignment. This study aims to improve the understanding of LLM security vulnerabilities and we hope that this sturdy can contribute to the development of more robust defenses.

📄 PDF Abstract BibTeX arXiv:2409.14177

Code (0)

등록된 구현이 없습니다.

Tasks

Multi-agent Reinforcement LearningSafety Alignment

Similar Papers 제목 키워드 기반

From LLMs to MLLMs: Exploring the Landscape of Multimodal Jailbreaking

2024-06-21 · Siyuan Wang, Zhuohan Long, Zhihao Fan, Zhongyu Wei

The rapid development of Large Language Models (LLMs) and Multimodal Large Language Models (MLLMs) has exposed vulnerabilities to various adversarial attacks. This paper provides a comprehensive overview of jailbreaking …

Exploring Jailbreak Attacks on LLMs through Intent Concealment and Diversion

2025-05-20 · Tiehan Cui, Yanxu Mao, Peipei Liu, Congying Liu 외

Although large language models (LLMs) have achieved remarkable advancements, their security remains a pressing concern. One major threat is jailbreak attacks, where adversarial prompts bypass model safeguards to generate…

Question AnsweringText Generation

Secure Tug-of-War (SecTOW): Iterative Defense-Attack Training with Reinforcement Learning for Multimodal Model Security

2025-07-29 · Muzhi Dai, Shixuan Liu, Zhiyuan Zhao, Junyu Gao 외 arxiv

The rapid advancement of multimodal large language models (MLLMs) has led to breakthroughs in various applications, yet their security remains a critical challenge. One pressing issue involves unsafe image-query pairs--j…

Reinforcement Learning

Exploring Vulnerabilities and Protections in Large Language Models: A Survey

2024-06-01 · Frank Weizhen Liu, Chenhui Hu

As Large Language Models (LLMs) increasingly become key components in various AI applications, understanding their security vulnerabilities and the effectiveness of defense mechanisms is crucial. This survey examines the…

Data PoisoningSurvey

JailPO: A Novel Black-box Jailbreak Framework via Preference Optimization against Aligned LLMs

2024-12-20 · Hongyi Li, Jiawei Ye, Jie Wu, Tianjie Yan 외

Large Language Models (LLMs) aligned with human feedback have recently garnered significant attention. However, it remains vulnerable to jailbreak attacks, where adversaries manipulate prompts to induce harmful outputs. …