paper-with-me

Papers

Semantic Shield: Defending Vision-Language Models Against Backdooring and Poisoning via Fine-grained Knowledge Alignment

2024-11-23 · CVPR 2024 1 · Alvi Md Ishmam, Christopher Thomas

In recent years there has been enormous interest in vision-language models trained using self-supervised objectives. However, the use of large-scale datasets scraped from the web for training also makes these models vulnerable to potential security threats, such as backdooring and poisoning attacks. In this paper, we propose a method for mitigating such attacks on contrastively trained vision-language models. Our approach leverages external knowledge extracted from a language model to prevent models from learning correlations between image regions which lack strong alignment with external knowledge. We do this by imposing constraints to enforce that attention paid by the model to visual regions is proportional to the alignment of those regions with external knowledge. We conduct extensive experiments using a variety of recent backdooring and poisoning attacks on multiple datasets and architectures. Our results clearly demonstrate that our proposed approach is highly effective at defending against such attacks across multiple settings, while maintaining model utility and without requiring any changes at inference time

📄 PDF Abstract BibTeX arXiv:2411.15673

Code (1)

IshmamAlvi/Semantic-Shield 공식 구현 pytorch

Tasks

Language ModelingLanguage Modelling

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 제목 키워드 기반

GeoShield: Safeguarding Geolocation Privacy from Vision-Language Models via Adversarial Perturbations

2025-08-05 · Xinwei Liu, Xiaojun Jia, Yuan Xun, Simeng Qin 외 arxiv

Vision-Language Models (VLMs) such as GPT-4o now demonstrate a remarkable ability to infer users' locations from public shared images, posing a substantial risk to geoprivacy. Although adversarial perturbations offer a p…

MirrorShield: Towards Universal Defense Against Jailbreaks via Entropy-Guided Mirror Crafting

2025-03-17 · Rui Pu, Chaozhuo Li, Rui Ha, Litian Zhang 외

Defending large language models (LLMs) against jailbreak attacks is crucial for ensuring their safe deployment. Existing defense strategies typically rely on predefined static criteria to differentiate between harmful an…

GenTel-Safe: A Unified Benchmark and Shielding Framework for Defending Against Prompt Injection Attacks

2024-09-29 · Rongchang Li, Minjie Chen, Chang Hu, Han Chen 외

Large Language Models (LLMs) like GPT-4, LLaMA, and Qwen have demonstrated remarkable success across a wide range of applications. However, these models remain inherently vulnerable to prompt injection attacks, which can…

Benchmarking

ShieldNets: Defending Against Adversarial Attacks Using Probabilistic Adversarial Robustness

2019-06-01 · CVPR 2019 6 · Rajkumar Theagarajan, Ming Chen, Bir Bhanu, Jing Zhang

Defending adversarial attack is a critical step towards reliable deployment of deep learning empowered solutions for industrial applications. Probabilistic adversarial robustness (PAR), as a theoretical framework, is int…

Adversarial AttackAdversarial Robustness

TrajShield: Trajectory-Level Safety Mediation for Defending Text-to-Video Models Against Jailbreak Attacks

2026-05-03 · Quanchen Zou, Nizhang Li, Wenxin Zhang, Jiaye Lin 외 arxiv

Text-to-Video (T2V) models have demonstrated remarkable capability in generating temporally coherent videos from natural language prompts, yet they also risk producing unsafe content such as violence or explicit material…