atlas

Research map / Adversarial robustness and security / Attacks on text and graphs

ASAM: Boosting Segment Anything Model with Adversarial Tuning

CVPR 2024 · Adversarial robustness and security › Attacks on text and graphs · approach: Vision-language model robustness · 18 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes ASAM, which fine-tunes SAM's output and mask tokens on natural adversarial images generated by Stable Diffusion latent optimization plus a mask-conditioned ControlNet, using 1% of SA-1B.

Problem

SAM underperforms on niche downstream segmentation distributions, and existing fixes (fine-tuning, adapters, post-processing) hurt generalization or add parameters and annotated data; the paper asks how to boost SAM's generalization without extra data, architecture changes, or losing zero-shot abili

Approach

Adapt NLP-style adversarial tuning to SAM by generating "natural" adversarial examples: DDIM-invert SA-1B images into Stable Diffusion latents, optimize the latent adversarially against SAM's segmentation loss, and re-generate images with a mask-conditioned ControlNet so they stay aligned with the original masks; then fine-tune only SAM's output and mask tokens (~0.001% of parameters).

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Fine-tune SAM using natural adversarial examples generated from 1% of SA-1BSAM · 14-dataset evaluation (first group)average mIoU: 76.7 -> 77.6Helped
Fine-tune SAM using natural adversarial examples generated from 1% of SA-1BSAM · 14-dataset evaluation (second group)average mIoU: 75.8 -> 77.5Helped
Use latent projection, latent optimization, and controllable generation together (ablation)ASAM · 14-dataset evaluationmIoU: 59.1 -> 77.6Helped
Add latent optimization to latent projection while omitting controllable generation (ablation)ASAM · 14-dataset evaluationmIoU: 59.1 -> 54.3Hurt
Add controllable generation to latent projection while omitting latent optimization (ablation)ASAM · 14-dataset evaluationmIoU: 59.1 -> 69.3Helped
Add latent optimization when controllable generation is included (ablation)ASAM · 14-dataset evaluationmIoU: 69.3 -> 77.6Helped

Surprising findings

Limitations

Experimental setup

Datasets: SA-1B (sa_000000 subset) LAION-5B

Benchmarks: DOORS LVIS ZeroWaste-f NDISPark Egohos Plittersdorf BBC038V1 Ade20k VOC2012 Cityscapes COCO2017 HRSOD-TE

Metrics: mIoU NIMA-AVA HyperIQA MUSIQ-AVA TReS

Baselines: SAM SAM + PGD Tuning SAM + DAT Tuning SAM + DatasetDM EfficientSAM

Builds on: Segment Anything Model DDIM inversion null-text inversion ControlNet Stable Diffusion Projected gradient descent adversarial training

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy