paper-with-me

홈 › Papers

Robustifying Vision-Language Models via Dynamic Token Reweighting

2025-05-22 · Tanqiu Jiang, Jiacheng Liang, Rongyi Zhu, Jiawei Zhou, Fenglong Ma, Ting Wang

Large vision-language models (VLMs) are highly vulnerable to jailbreak attacks that exploit visual-textual interactions to bypass safety guardrails. In this paper, we present DTR, a novel inference-time defense that mitigates multimodal jailbreak attacks through optimizing the model's key-value (KV) caches. Rather than relying on curated safety-specific data or costly image-to-text conversion, we introduce a new formulation of the safety-relevant distributional shift induced by the visual modality. This formulation enables DTR to dynamically adjust visual token weights, minimizing the impact of adversarial visual inputs while preserving the model's general capabilities and inference efficiency. Extensive evaluation across diverse VLMs and attack benchmarks demonstrates that \sys outperforms existing defenses in both attack robustness and benign task performance, marking the first successful application of KV cache optimization for safety enhancement in multimodal foundation models. The code for replicating DTR is available: https://anonymous.4open.science/r/DTR-2755 (warning: this paper contains potentially harmful content generated by VLMs.)

📄 PDF Abstract BibTeX arXiv:2505.17132

Code (0)

등록된 구현이 없습니다.

Tasks

Image to text

Similar Papers 제목 키워드 기반

Bridging Perception and Reasoning: Token Reweighting for RLVR in Multimodal LLMs

2026-03-26 · Jinda Lu, Junkang Wu, Jinghan Li, Kexin Huang 외 arxiv

Extending Reinforcement Learning with Verifiable Rewards (RLVR) to multimodal large language models (MLLMs) faces a fundamental challenge: their responses inherently interleave perception-related tokens, which ground vis…

Reinforcement LearningVisual Grounding

Semantic Token Reweighting for Interpretable and Controllable Text Embeddings in CLIP

2024-10-11 · Eunji Kim, Kyuhong Shim, Simyung Chang, Sungroh Yoon

A text encoder within Vision-Language Models (VLMs) like CLIP plays a crucial role in translating textual input into an embedding space shared with images, thereby facilitating the interpretative analysis of vision tasks…

Few-Shot Image Classificationimage-classificationImage ClassificationImage Retrieval+2

R-SNN: An Analysis and Design Methodology for Robustifying Spiking Neural Networks against Adversarial Attacks through Noise Filters for Dynamic Vision Sensors

2021-09-01 · Alberto Marchisio, Giacomo Pira, Maurizio Martina, Guido Masera 외

Spiking Neural Networks (SNNs) aim at providing energy-efficient learning capabilities when implemented on neuromorphic chips with event-based Dynamic Vision Sensors (DVS). This paper studies the robustness of SNNs again…

Which Tokens Should SFT Actually Learn? A Token-Trimming Perspective on Mathematical Reasoning

2026-09-09 · Yaning Jia, Chunhui Zhang, Wenxuan Xu, Xingjian Diao 외 arxiv

Supervised fine-tuning (SFT) applies a uniform cross-entropy loss to all target tokens, even though different tokens provide unequal learning signals for mathematical reasoning. This uniform treatment can over-sharpen al…

Mathematical Reasoning

TLDR: Token Loss Dynamic Reweighting for Reducing Repetitive Utterance Generation

2020-03-26 · Shaojie Jiang, Thomas Wolf, Christof Monz, Maarten de Rijke

Natural Language Generation (NLG) models are prone to generating repetitive utterances. In this work, we study the repetition problem for encoder-decoder models, using both recurrent neural network (RNN) and transformer …

DecoderText Generation