paper-with-me

홈 › Papers

Self-Guard: Empower the LLM to Safeguard Itself

2023-10-24 · Zezhong Wang, Fangkai Yang, Lu Wang, Pu Zhao, Hongru Wang, Liang Chen, QIngwei Lin, Kam-Fai Wong

The jailbreak attack can bypass the safety measures of a Large Language Model (LLM), generating harmful content. This misuse of LLM has led to negative societal consequences. Currently, there are two main approaches to address jailbreak attacks: safety training and safeguards. Safety training focuses on further training LLM to enhance its safety. On the other hand, safeguards involve implementing external models or filters to prevent harmful outputs. However, safety training has constraints in its ability to adapt to new attack types and often leads to a drop in model performance. Safeguards have proven to be of limited help. To tackle these issues, we propose a novel approach called Self-Guard, which combines the strengths of both safety methods. Self-Guard includes two stages. In the first stage, we enhance the model's ability to assess harmful content, and in the second stage, we instruct the model to consistently perform harmful content detection on its own responses. The experiment has demonstrated that Self-Guard is robust against jailbreak attacks. In the bad case analysis, we find that LLM occasionally provides harmless responses to harmful queries. Additionally, we evaluated the general capabilities of the LLM before and after safety training, providing evidence that Self-Guard does not result in the LLM's performance degradation. In sensitivity tests, Self-Guard not only avoids inducing over-sensitivity in LLM but also can even mitigate this issue.

📄 PDF Abstract BibTeX arXiv:2310.15851

Code (0)

등록된 구현이 없습니다.

Tasks

Language ModellingLarge Language ModelSensitivity

Similar Papers 제목 키워드 기반

The Safeguard Worked. Is the LLM System Safer?

2026-09-01 · Pingyu Wu, Weiming Zhang, Nenghai Yu hf

Safeguards in deployed LLM services are evaluated by refusal, attack success, and policy violation rates. Those rates characterize how a control performed on the requests it was tested on. A deployment has to answer a di…

A Comprehensive Content Verification System for ensuring Digital Integrity in the Age of Deep Fakes

2024-11-29 · RaviKanth Kaja

In an era marked by the widespread sharing of digital content, the need for a robust content-integrity verification goes beyond the confines of individual social media platforms. While verified profiles (such as blue tic…

Misinformation

HomeGuard: VLM-based Embodied Safeguard for Identifying Contextual Risk in Household Task

2026-03-15 · Xiaoya Lu, Yijin Zhou, Zeren Chen, Ruocheng Wang 외 arxiv

Vision-Language Models (VLMs) empower embodied agents to execute complex instructions, yet they remain vulnerable to contextual safety risks where benign commands become hazardous due to subtle environmental states. Exis…

Collision AvoidancePrompt Engineering

Shaping the Future of Mathematics in the Age of AI

2026-03-26 · Johan Commelin, Mateja Jamnik, Rodrigo Ochigame, Lenny Taelman 외 arxiv

Artificial intelligence is transforming mathematics at a speed and scale that demand active engagement from the mathematical community. We examine five areas where this transformation is particularly pressing: values, pr…

PARDEN, Can You Repeat That? Defending against Jailbreaks via Repetition

2024-05-13 · Ziyang Zhang, Qizhen Zhang, Jakob Foerster

Large language models (LLMs) have shown success in many natural language processing tasks. Despite rigorous safety alignment processes, supposedly safety-aligned LLMs like Llama 2 and Claude 2 are still susceptible to ja…

Safety Alignment