SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2403.09346 · 2024

B-AVIBench: Towards Evaluating the Robustness of Large Vision-Language Model on Black-box Adversarial Visual-Instructions

arXiv · PDF · Open in the Atlas

Code that ran

14 of 14 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 2 violated it and 0 have no contract verdict; 11 failures of our instrument; 0 no recorded run), measured 2026-11-22; 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/2403.09346.json · badge: /api/ran/2403.09346.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
zhanghao5201/b-avibench canonical (classifier label)
classifier basis: census
14 ran · 0 no recorded run
FunctionStatusWhere it lives
AdditiveGaussianNoise_sample_noise Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
zhanghao5201/b-avibench/image_attack_tool/models/additive_noise.py
pointer only (licence: NONE) · get_code("7786a8831d5bfb5b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zhanghao5201/b-avibench 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.

EN Ran
ran; our contract draft was wrong, not the code
zhanghao5201/b-avibench/image_attack_tool/models/distances.py
pointer only (licence: NONE) · get_code("c21df7851a7b88a6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zhanghao5201/b-avibench 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.

cook_refs Ran
ran; our contract draft was wrong, not the code
zhanghao5201/b-avibench/image_attack_tool/models/cider.py
pointer only (licence: NONE); the stored copy get_code serves, from wenhuchen/data-to-text-evaluation-metric, is pointer only (licence: NOASSERTION) · get_code("4c1b107103b7c856")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zhanghao5201/b-avibench 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.

cook_test Ran
ran; our contract draft was wrong, not the code
zhanghao5201/b-avibench/image_attack_tool/models/cider.py
pointer only (licence: NONE); the stored copy get_code serves, from wenhuchen/data-to-text-evaluation-metric, is pointer only (licence: NOASSERTION) · get_code("3573c4bc85f65dfd")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zhanghao5201/b-avibench 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.

crossentropy Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
zhanghao5201/b-avibench/image_attack_tool/models/patch_attack.py
pointer only (licence: NONE) · get_code("9d182c3d31753e0b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zhanghao5201/b-avibench 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.

has_word Ran
ran, violated the contract we drafted
zhanghao5201/b-avibench/image_attack_tool/models/tools.py
pointer only (licence: NONE); the stored copy get_code serves, from opengvlab/mm-niah, is pointer only (licence: NONE) · get_code("acb002c8cfa36ce4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zhanghao5201/b-avibench 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.

l2_distance Ran
ran, honoured the contract we drafted
zhanghao5201/b-avibench/image_attack_tool/models/evolutionary_attack.py
pointer only (licence: NONE) · get_code("0341e020ac3d0eec")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zhanghao5201/b-avibench 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.

ortho Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
zhanghao5201/b-avibench/image_attack_tool/models/evolutionary_attack.py
pointer only (licence: NONE) · get_code("4e3512469bf0c742")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zhanghao5201/b-avibench 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.

precook Ran
ran; our contract draft was wrong, not the code
zhanghao5201/b-avibench/image_attack_tool/models/cider.py
pointer only (licence: NONE); the stored copy get_code serves, from wenhuchen/data-to-text-evaluation-metric, is pointer only (licence: NOASSERTION) · get_code("9560e3e3e41bc1b2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zhanghao5201/b-avibench 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.

remove_special_chars Ran
ran; our contract draft was wrong, not the code
zhanghao5201/b-avibench/image_attack_tool/models/tools.py
pointer only (licence: NONE) · get_code("e31b66bc75d6322c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zhanghao5201/b-avibench 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.

sample_dataset Ran
ran; our contract draft was wrong, not the code
zhanghao5201/b-avibench/image_attack_tool/eval_image_attack.py
pointer only (licence: NONE) · get_code("54d240ee561c7a4e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zhanghao5201/b-avibench 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.

sigmoid Ran
ran, violated the contract we drafted
zhanghao5201/b-avibench/image_attack_tool/models/evolutionary_attack.py
pointer only (licence: NONE); the stored copy get_code serves, from carrierlxk/AGNN, is pointer only (licence: NONE) · get_code("b7880bde365e8087")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zhanghao5201/b-avibench 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.

softmax Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
zhanghao5201/b-avibench/image_attack_tool/models/patch_attack.py
pointer only (licence: NONE) · get_code("36fe3fda88777bd1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zhanghao5201/b-avibench 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.

to_cuda Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
zhanghao5201/b-avibench/image_attack_tool/models/patch_attack.py
pointer only (licence: NONE) · get_code("1764686cb6fe593f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zhanghao5201/b-avibench 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 14 samples lifted from this paper's linked repositories, 14 carry a function identity and 0 do not. Of the 14 distinct functions with an identity, 5 are also present in other papers whose code we hold (4 with at least one paper dated earlier, 3 the same month, 4 later) and 9 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
cook_refs 25 other papers
17 dated earlier, 3 the same month, 5 later
1411.5726 (2014-11)
CIDEr: Consensus-based Image Description Evaluation
1502.03044 (2015-02)
Show, Attend and Tell: Neural Image Caption Generation with Visual Attention
1503.01817 (2015-03)
YFCC100M: The New Data in Multimedia Research
and 22 more not named here
cook_test 22 other papers
15 dated earlier, 3 the same month, 4 later
1411.5726 (2014-11)
CIDEr: Consensus-based Image Description Evaluation
1502.03044 (2015-02)
Show, Attend and Tell: Neural Image Caption Generation with Visual Attention
1503.01817 (2015-03)
YFCC100M: The New Data in Multimedia Research
and 19 more not named here
precook 14 other papers
8 dated earlier, 2 the same month, 4 later
1411.5726 (2014-11)
CIDEr: Consensus-based Image Description Evaluation
1502.03044 (2015-02)
Show, Attend and Tell: Neural Image Caption Generation with Visual Attention
1806.00807 (2018-06)
Learning Semantic Sentence Embeddings using Sequential Pair-wise Discriminator
and 11 more not named here
sigmoid 2 other papers
2 dated earlier
1904.01160 (2019-04)
Curls & Whey: Boosting Black-Box Adversarial Attacks
2001.06807 (2020-01)
Zero-Shot Video Object Segmentation via Attentive Graph Neural Networks
has_word 1 other paper
1 later
2406.07230 (2024-06)
Needle In A Multimodal Haystack

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-22.

Repositories linked to this paper

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

Abstract

Large Vision-Language Models (LVLMs) have shown significant progress in responding well to visual-instructions from users. However, these instructions, encompassing images and text, are susceptible to both intentional and inadvertent attacks. Despite the critical importance of LVLMs' robustness against such threats, current research in this area remains limited. To bridge this gap, we introduce B-AVIBench, a framework designed to analyze the robustness of LVLMs when facing various Black-box Adversarial Visual-Instructions (B-AVIs), including four types of image-based B-AVIs, ten types of text-based B-AVIs, and nine types of content bias B-AVIs (such as gender, violence, cultural, and racial biases, among others). We generate 316K B-AVIs encompassing five categories of multimodal capabilities (ten tasks) and content bias. We then conduct a comprehensive evaluation involving 14 open-source LVLMs to assess their performance. B-AVIBench also serves as a convenient tool for practitioners to evaluate the robustness of LVLMs against B-AVIs. Our findings and extensive experimental results shed light on the vulnerabilities of LVLMs, and highlight that inherent biases exist even in advanced closed-source LVLMs like GeminiProVision and GPT-4V. This underscores the importance of enhancing the robustness, security, and fairness of LVLMs. The source code and benchmark are available at https://github.com/zhanghao5201/B-AVIBench.

For agents

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

get_harvested_code_for_paper("2403.09346")
get_code_for_paper("2403.09346")
have("2403.09346")

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

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

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

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

Connect an agent — have() is free.