paper-with-me

Papers

Improved Large Language Model Jailbreak Detection via Pretrained Embeddings

2024-12-02 · Erick Galinkin, Martin Sablotny

The adoption of large language models (LLMs) in many applications, from customer service chat bots and software development assistants to more capable agentic systems necessitates research into how to secure these systems. Attacks like prompt injection and jailbreaking attempt to elicit responses and actions from these models that are not compliant with the safety, privacy, or content policies of organizations using the model in their application. In order to counter abuse of LLMs for generating potentially harmful replies or taking undesirable actions, LLM owners must apply safeguards during training and integrate additional tools to block the LLM from generating text that abuses the model. Jailbreaking prompts play a vital role in convincing an LLM to generate potentially harmful content, making it important to identify jailbreaking attempts to block any further steps. In this work, we propose a novel approach to detect jailbreak prompts based on pairing text embeddings well-suited for retrieval with traditional machine learning classification algorithms. Our approach outperforms all publicly available methods from open source LLM security applications.

📄 PDF Abstract BibTeX arXiv:2412.01547

Code (0)

등록된 구현이 없습니다.

Tasks

Language ModelingLanguage ModellingLarge Language Model

Methods 이 논문이 사용한 방법론

Golden Queue Managers 설명 없음

Similar Papers 제목 키워드 기반

Failures to Find Transferable Image Jailbreaks Between Vision-Language Models

2024-07-21 · Rylan Schaeffer, Dan Valentine, Luke Bailey, James Chua 외

The integration of new modalities into frontier AI systems offers exciting capabilities, but also increases the possibility such systems can be adversarially manipulated in undesirable ways. In this work, we focus on a p…

Instruction FollowingLanguage ModellingSafety Alignment

Improved Techniques for Optimization-Based Jailbreaking on Large Language Models

2024-05-31 · Xiaojun Jia, Tianyu Pang, Chao Du, Yihao Huang 외

Large language models (LLMs) are being rapidly developed, and a key component of their widespread deployment is their safety-related alignment. Many red-teaming efforts aim to jailbreak LLMs, where among these efforts, t…

Red Teaming

Improved Few-Shot Jailbreaking Can Circumvent Aligned Language Models and Their Defenses

2024-06-03 · Xiaosen Zheng, Tianyu Pang, Chao Du, Qian Liu 외

Recently, Anil et al. (2024) show that many-shot (up to hundreds of) demonstrations can jailbreak state-of-the-art LLMs by exploiting their long-context capability. Nevertheless, is it possible to use few-shot demonstrat…

One Leak Away: How Pretrained Model Exposure Amplifies Jailbreak Risks in Finetuned LLMs

2025-12-14 · Yixin Tan, Zhe Yu, Jun Sakuma arxiv

Finetuning pretrained large language models (LLMs) has become the standard paradigm for developing downstream applications. However, its security implications remain unclear, particularly regarding whether finetuned LLMs…

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…