paper-with-me

Papers

Lockpicking LLMs: A Logit-Based Jailbreak Using Token-level Manipulation

2024-05-20 · Yuxi Li, Yi Liu, Yuekang Li, Ling Shi, Gelei Deng, Shengquan Chen, Kailong Wang

Large language models (LLMs) have transformed the field of natural language processing, but they remain susceptible to jailbreaking attacks that exploit their capabilities to generate unintended and potentially harmful content. Existing token-level jailbreaking techniques, while effective, face scalability and efficiency challenges, especially as models undergo frequent updates and incorporate advanced defensive measures. In this paper, we introduce JailMine, an innovative token-level manipulation approach that addresses these limitations effectively. JailMine employs an automated "mining" process to elicit malicious responses from LLMs by strategically selecting affirmative outputs and iteratively reducing the likelihood of rejection. Through rigorous testing across multiple well-known LLMs and datasets, we demonstrate JailMine's effectiveness and efficiency, achieving a significant average reduction of 86% in time consumed while maintaining high success rates averaging 95%, even in the face of evolving defensive strategies. Our work contributes to the ongoing effort to assess and mitigate the vulnerability of LLMs to jailbreaking attacks, underscoring the importance of continued vigilance and proactive measures to enhance the security and reliability of these powerful language models.

📄 PDF Abstract BibTeX arXiv:2405.13068

Code (1)

llm-integrity-guard/jailmine 공식 구현 jax

Similar Papers 제목 키워드 기반

SelfGrader: LLM Jailbreak Detection via Anchored Token-Level Logits

2026-04-01 · Zikai Zhang, Rui Hu, Olivera Kotevska, Jiahao Xu arxiv

Large Language Models (LLMs) are powerful tools for answering user queries, yet they remain highly vulnerable to jailbreak attacks. Existing guardrail methods typically rely on internal features or textual responses to d…

Text Generation

LLM Jailbreak Detection for (Almost) Free!

2025-09-18 · Guorui Chen, Yifan Xia, Xiaojun Jia, Zhijiang Li 외 arxiv

Large language models (LLMs) enhance security through alignment when widely used, but remain susceptible to jailbreak attacks capable of producing inappropriate content. Jailbreak detection methods show promise in mitiga…

EnJa: Ensemble Jailbreak on Large Language Models

2024-08-07 · Jiahao Zhang, Zilong Wang, Ruofan Wang, Xingjun Ma 외

As Large Language Models (LLMs) are increasingly being deployed in safety-critical applications, their vulnerability to potential jailbreaks -- malicious prompts that can disable the safety mechanism of LLMs -- has attra…

Safety Alignment

Alignment-Enhanced Decoding:Defending via Token-Level Adaptive Refining of Probability Distributions

2024-08-14 · Quan Liu, Zhenhong Zhou, Longzhu He, Yi Liu 외

Large language models are susceptible to jailbreak attacks, which can result in the generation of harmful content. While prior defenses mitigate these risks by perturbing or inspecting inputs, they ignore competing objec…

Safety Alignment

Jailbreaking LLMs via Calibration

2026-01-31 · Yuxuan Lu, Yongkang Guo, Yuqing Kong arxiv

Safety alignment in Large Language Models (LLMs) often creates a systematic discrepancy between a model's aligned output and the underlying pre-aligned data distribution. We propose a framework in which the effect of saf…