APSD README

The project's README from github.com/hcliucs/APSD. As one markdown file: README.md.

APSD

Stealthiness Assessment of Adversarial Perturbation: From a Visual Perspective

Paper Dataset License

IEEE Transactions on Information Forensics and Security (TIFS), 2024

Hangcheng Liu · Yuan Zhou · Ying Yang · Qingchuan Zhao · Tianwei Zhang · Tao Xiang

Paper · Dataset · Citation


🔍 Overview

How stealthy is an adversarial perturbation to the human eye?

Widely used metrics such as (L_p) norms, PSNR, and SSIM were not designed specifically for subtle adversarial perturbations and can disagree with human visual perception. This work provides a systematic study of pixel-level adversarial stealthiness assessment from both subjective and objective perspectives.

We introduce:


✨ Highlights

👁️ Human-centric assessment A two-step protocol provides fine-grained subjective scores across the full stealthiness spectrum.
🗂️ 10,586 adversarial examples APSD contains 10,586 clean–adversarial pairs generated from 400 reference images.
⚔️ 12 attacks / 5 attack families Gradient-, optimization-, generative model-, pixel-, and block-based attacks are covered.
👥 60 human observers Every adversarial example is evaluated by 15 observers; Mean Opinion Score (MOS) is used as the label.
🧠 Human-inspired objective model A2SM combines global/local features with self-, cross-, and spatial-attention mechanisms.
📈 High HVS consistency A2SM achieves 0.984 PLCC / 0.978 SROCC on APSD.

👁️ Subjective Stealthiness Assessment

We propose a two-step subjective assessment protocol.

Step 1 — Rough assessment

Observers first inspect a clean/adversarial image pair for a fixed period and classify the perturbation as:

Step 2 — Fine-grained assessment

For strong stealthiness, observers use progressively amplified Scaled Grayscale Difference Maps (SGDM) to distinguish subtle pixel-level differences.

For weak stealthiness, observers assess the degree of visible degradation / annoyance.

The resulting scores are aggregated into a Mean Opinion Score (MOS) in the range ([0,1]), where a larger value means better stealthiness.

Subjective adversarial stealthiness assessment interface

Rating software.


🗃️ APSD Dataset

We construct the Adversarial Perturbation Stealthiness Assessment Dataset (APSD), a dedicated benchmark for human-aligned adversarial stealthiness evaluation.

Dataset statistics

Property APSD
Reference images 400
Clean–adversarial pairs 10,586
Image categories 200+
Attack methods 12
Attack families 5
Human observers 60
Ratings per adversarial example 15
Label MOS ∈ [0, 1]
Image size used for subjective study 512 × 512

Covered attack families

APSD contains perturbations spanning a broad range of perceptual stealthiness, allowing models to learn both subtle and visually obvious adversarial distortions.

Representative APSD adversarial examples

Distribution of adversarial examples generated by different attacks in APSD. The suffix of each attack indicates the corresponding parameter.


📥 Dataset Download

The APSD dataset is publicly available through the project repository:

➡️ Download APSD

The released dataset should contain the clean images, adversarial images, and their corresponding human subjective scores.

A recommended local organization is:

APSD/
├── REF-299 (Reference)/
│   ├── xxx.png
│   └── ...
└── AE_targetmodel0 (Adversarial example)/
    ├── 0 FGSM/
    ├── 1 MIFGSM/
    ├── 2 PGD/
    ├── 3 NES/
    ├── 4 CW/
    ├── 5C DP/
    ├── 6 AdvGAN/
    ├── 7 GAP/
    ├── 8 GUAP/
    ├── 9 SimBA/
    ├── 10 Pixel/
    └── 11 Square/
    └── score.csv

Note: the exact released directory/file names should follow the actual dataset package. Update the tree above if your final release uses a different structure.


📝 Citation

If you find APSD or A2SM useful in your research, please cite:

@article{liu2024stealthiness,
  title   = {Stealthiness Assessment of Adversarial Perturbation: From a Visual Perspective},
  author  = {Liu, Hangcheng and Zhou, Yuan and Yang, Ying and Zhao, Qingchuan and Zhang, Tianwei and Xiang, Tao},
  journal = {IEEE Transactions on Information Forensics and Security},
  volume  = {20},
  pages   = {898--913},
  year    = {2024},
  doi     = {10.1109/TIFS.2024.3520016}
}

📬 Contact

For questions about the paper, dataset, or code, please open a GitHub issue or contact the authors.


License

Please add the license that applies to the released code and dataset before public release.
If the dataset contains images inherited from ImageNet, COCO, or VOC2012, their original licenses/terms should also be respected.

APSD (hcliucs/APSD)

Searching Database…

897 ·GitHub
这是什么?APSD 是一个大规模数据集,用于研究视觉上隐蔽的对抗扰动在人类眼中是什么样子,包含 10,586 对干净图像与对抗图像,以及人工主观评分。
这是只有数据集,还是也包含 A2SM 模型的代码?主要是 APSD 数据集本身(图像加上人工 MOS 评分);论文里也介绍了一个 A2SM 评估模型,但这个仓库的定位是发布数据集,而不是训练代码。
我怎么获取这个数据集?从 README 中提到的项目仓库链接下载 APSD;发布内容应该包括干净图像、对应的对抗图像,以及它们的人工主观评分。
发布的数据集结构定下来了吗?README 自己就提醒说,展示的文件夹结构只是一个占位示例,实际发布的文件可能会有不同的组织方式。
APSD 覆盖了哪些攻击方法?APSD 涵盖 5 大类共 12 种攻击方法:基于梯度的(FGSM、MIFGSM、PGD、NES)、基于优化的(CW)、基于生成模型的(CDP、AdvGAN、GAP、GUAP)、基于像素的(SimBA、Pixel)和基于分块的(Square)。
人工隐蔽性评分是怎么收集的?60 名观察者按照两步流程对 10,586 个对抗样本逐一评分(先粗略判断几乎看不出来还是容易看出来,再借助放大的差异图进行细粒度打分),每个样本的 15 个评分取平均值,得到 0 到 1 之间的平均主观分(MOS)。
配套的 A2SM 模型预测人类感知的效果怎么样?A2SM 结合了全局/局部特征以及自注意力、交叉注意力和空间注意力,在 APSD 上针对人工 MOS 评分达到 0.984 的 PLCC 和 0.978 的 SROCC。
这项研究发表在哪里?它是论文《Stealthiness Assessment of Adversarial Perturbation: From a Visual Perspective》的官方数据集,该论文发表于 2024 年的 IEEE Transactions on Information Forensics and Security(TIFS)。
Creator
hcliucs
Size
1.3 MB
Stars
897
Updated
CommitSep 02
Age
3y
Commits · 90 Days