paper-with-me

홈 › Papers

From Hallucinations to Jailbreaks: Rethinking the Vulnerability of Large Foundation Models

2025-05-30 · Haibo Jin, Peiyan Zhang, Peiran Wang, Man Luo, Haohan Wang

Large foundation models (LFMs) are susceptible to two distinct vulnerabilities: hallucinations and jailbreak attacks. While typically studied in isolation, we observe that defenses targeting one often affect the other, hinting at a deeper connection. We propose a unified theoretical framework that models jailbreaks as token-level optimization and hallucinations as attention-level optimization. Within this framework, we establish two key propositions: (1) \textit{Similar Loss Convergence} - the loss functions for both vulnerabilities converge similarly when optimizing for target-specific outputs; and (2) \textit{Gradient Consistency in Attention Redistribution} - both exhibit consistent gradient behavior driven by shared attention dynamics. We validate these propositions empirically on LLaVA-1.5 and MiniGPT-4, showing consistent optimization trends and aligned gradients. Leveraging this connection, we demonstrate that mitigation techniques for hallucinations can reduce jailbreak success rates, and vice versa. Our findings reveal a shared failure mode in LFMs and suggest that robustness strategies should jointly address both vulnerabilities.

📄 PDF Abstract BibTeX arXiv:2505.24232

Code (0)

등록된 구현이 없습니다.

Methods 이 논문이 사용한 방법론

Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Attention 설명 없음

Similar Papers 제목 키워드 기반

Impact of Non-Standard Unicode Characters on Security and Comprehension in Large Language Models

2024-05-23 · Johan S Daniel, Anand Pal

The advancement of large language models has significantly improved natural language processing. However, challenges such as jailbreaks (prompt injections that cause an LLM to follow instructions contrary to its intended…

Steering Safely or Off a Cliff? Rethinking Specificity and Robustness in Inference-Time Interventions

2026-02-05 · Navita Goyal, Hal Daumé arxiv

Model steering, which involves intervening on hidden representations at inference time, has emerged as a lightweight alternative to finetuning for precisely controlling large language models. While steering efficacy has …

Special-Character Adversarial Attacks on Open-Source Language Model

2025-08-12 · Ephraiem Sarabamoun arxiv

Large language models (LLMs) have achieved remarkable performance across diverse natural language processing tasks, yet their vulnerability to character-level adversarial manipulations presents significant security chall…

Using Hallucinations to Bypass GPT4's Filter

2024-02-16 · Benjamin Lemkin

Large language models (LLMs) are initially trained on vast amounts of data, then fine-tuned using reinforcement learning from human feedback (RLHF); this also serves to teach the LLM to provide appropriate and safe respo…

Hallucination

"Not Aligned" is Not "Malicious": Being Careful about Hallucinations of Large Language Models' Jailbreak

2024-06-17 · Lingrui Mei, Shenghua Liu, Yiwei Wang, Baolong Bi 외

"Jailbreak" is a major safety concern of Large Language Models (LLMs), which occurs when malicious prompts lead LLMs to produce harmful outputs, raising issues about the reliability and safety of LLMs. Therefore, an effe…

Red Teaming