paper-with-me

홈 › Papers

Localize and Neutralize: Gradient-guided Token Suppression against Visual Prompt Injection Attack

2026-05-24 · Dongpeng Zhang, Ke Ma, Yangbangyan Jiang, Gaozheng Pei, Longtao Huang, Qianqian Xu, Qingming Huang arxiv

Adversarial images pose a severe security threat to multimodal large language models through prompt injection. Existing defenses largely lack a principled understanding of the underlying mechanisms and struggle to balance efficiency and defense utility. In this work, we show that successful adversarial attacks do not rely on the entire image uniformly but instead depend on a small subset of critical image tokens. Based on this insight, we propose Gradient Token Masking (GTM), which localizes these tokens via gradient analysis and neutralizes them through masking. We find that attribution based on the first generated token's output probability fails when attacks preserve the predicted token. To overcome this, GTM utilizes the Hidden-State Gradient Norm score for generation-influence attribution under adversarial inputs. We prove that its ranking is consistent with that of the full adversarial loss gradient, providing a theoretical guarantee for accurate localization. Our method requires only a single forward-backward pass to identify and zero out a small number of high-scoring tokens, effectively disrupting the adversarial attack path. Extensive experiments on prompt injection and multimodal jailbreak attacks demonstrate that our approach reduces attack success rates (ASR) to near zero while preserving model utility with negligible computational overhead.

📄 PDF Abstract BibTeX arXiv:2605.25194

Code (0)

등록된 구현이 없습니다.

Tasks

Adversarial Attack

Similar Papers 제목 키워드 기반

Knowing but Not Correcting: Routine Task Requests Suppress Factual Correction in LLMs

2026-05-07 · Zixuan Chen, Hao Lin, Zizhe Chen, Yizhou Tian 외 arxiv

LLMs reliably correct false claims when presented in isolation, yet when the same claims are embedded in task-oriented requests, they often comply rather than correct. We term this failure mode \emph{correction suppressi…

Mitigating Gradient Inversion Risks in Language Models via Token Obfuscation

2026-02-11 · Xinguo Feng, Zhongkui Ma, Zihan Wang, Alsharif Abuadbba 외 arxiv

Training and fine-tuning large-scale language models largely benefit from collaborative learning, but the approach has been proven vulnerable to gradient inversion attacks (GIAs), which allow adversaries to reconstruct p…

Localizing Paragraph Memorization in Language Models

2024-03-28 · Niklas Stoehr, Mitchell Gordon, Chiyuan Zhang, Owen Lewis

Can we localize the weights and mechanisms used by a language model to memorize and recite entire paragraphs of its training data? In this paper, we show that while memorization is spread across multiple layers and model…

Language ModelingLanguage ModellingMemorization

RELTA-SGLD: Relative-Growth Localized Taming for Nonconvex Stochastic-Gradient Langevin Learning

2026-07-21 · Yiwei Zhou, Ziheng Chen arxiv

We introduce RELTA-SGLD, a taming scheme that stabilizes superlinear stochastic-gradient updates while reducing unnecessary suppression of the original learning drift. A threshold determines where the taming turns on, wh…

Wisdom is Knowing What not to Say: Hallucination-Free LLMs Unlearning via Attention Shifting

2025-10-20 · Chenchen Tan, Youyang Qu, Xinghao Li, Hui Zhang 외 arxiv

The increase in computing power and the necessity of AI-assisted decision-making boost the growing application of large language models (LLMs). Along with this, the potential retention of sensitive data of LLMs has spurr…