SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2504.01308 · ICCV · 2025

Safeguarding Vision-Language Models: Mitigating Vulnerabilities to Gaussian Noise in Perturbation-based Attacks

Jiawei Wang, Yicheng Fu, Yuanjun Chai, Kin-Man Lam, Zhendong Liu, Yushen Zuo, Yichun Feng

arXiv · PDF · Open in the Atlas

Code that ran

5 of 5 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (1 of them constructed an object rather than computing a result; 3 honoured the contract we drafted, 0 violated it and 1 has no contract verdict; 1 failure of our instrument; 0 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2504.01308.json · badge: /api/ran/2504.01308.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
JarvisUSTC/DiffPure-RobustVLM community
Papers with Code archive
5 ran · 0 no recorded run
FunctionStatusWhere it lives
PurificationForward Ran
ran on a synthesized input · constructed an object; no result was computed
JarvisUSTC/DiffPure-RobustVLM/purification.py
pointer only (licence: NONE) · get_code("7cb309e61263531a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, JarvisUSTC/DiffPure-RobustVLM when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

clf2diff Ran
ran, honoured the contract we drafted
JarvisUSTC/DiffPure-RobustVLM/purification.py
pointer only (licence: NONE) · get_code("0601c260f2ed6579")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, JarvisUSTC/DiffPure-RobustVLM when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

diff2clf Ran
ran, honoured the contract we drafted
JarvisUSTC/DiffPure-RobustVLM/purification.py
pointer only (licence: NONE) · get_code("4c0585298faf5ef1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, JarvisUSTC/DiffPure-RobustVLM when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_beta_schedule Ran
ran, honoured the contract we drafted
JarvisUSTC/DiffPure-RobustVLM/purification.py
pointer only (licence: NONE) · get_code("b0c47ff6d5f12b4f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, JarvisUSTC/DiffPure-RobustVLM when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

normalize Ran
ran; our contract draft was wrong, not the code
JarvisUSTC/DiffPure-RobustVLM/purification.py
pointer only (licence: NONE) · get_code("3eec6934f3697dde")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, JarvisUSTC/DiffPure-RobustVLM when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

Also present in other papers' code

Of 5 samples lifted from this paper's linked repositories, 5 carry a function identity and 0 do not. Of the 5 distinct functions with an identity, 4 are also present in other papers whose code we hold (4 with at least one paper dated earlier, 0 the same month, 0 later) and 1 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
clf2diff
brick of this paper's assembly: helper
1 other paper
1 dated earlier · 1 only as an assembly brick
2303.09051 (2023-03)
Robust Evaluation of Diffusion-Based Adversarial Purification
diff2clf
brick of this paper's assembly: helper
1 other paper
1 dated earlier · 1 only as an assembly brick
2303.09051 (2023-03)
Robust Evaluation of Diffusion-Based Adversarial Purification
get_beta_schedule
brick of this paper's assembly: scheduler
1 other paper
1 dated earlier · 1 only as an assembly brick
2303.09051 (2023-03)
Robust Evaluation of Diffusion-Based Adversarial Purification
normalize
brick of this paper's assembly: helper
1 other paper
1 dated earlier · 1 only as an assembly brick
2303.09051 (2023-03)
Robust Evaluation of Diffusion-Based Adversarial Purification

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Vision-Language Models (VLMs) extend the capabilities of Large Language Models (LLMs) by incorporating visual information, yet they remain vulnerable to jailbreak attacks, especially when processing noisy or corrupted images. Although existing VLMs adopt security measures during training to mitigate such attacks, vulnerabilities associated with noise-augmented visual inputs are overlooked. In this work, we identify that missing noise-augmented training causes critical security gaps: many VLMs are susceptible to even simple perturbations such as Gaussian noise. To address this challenge, we propose Robust-VLGuard, a multimodal safety dataset with aligned / misaligned imagetext pairs, combined with noise-augmented fine-tuning that reduces attack success rates while preserving functionality of VLM. For stronger optimization-based visual perturbation attacks, we propose DiffPure-VLM, leveraging diffusion models to convert adversarial perturbations into Gaussian-like noise, which can be defended by VLMs with noise-augmented safety fine-tuning. Experimental results demonstrate that the distribution-shifting property of diffusion model aligns well with our fine-tuned VLMs, significantly mitigating adversarial perturbations across varying intensities. The dataset and code are available at https://github.com/JarvisUSTC/DiffPure-RobustVLM

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2504.01308")
get_code_for_paper("2504.01308")
have("2504.01308")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2504.01308.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2504.01308.svg)](https://syntology.ai/paper/2504.01308)

Connect an agent — have() is free.