Task-Agnostic Attacks Against Vision Foundation Models

Brian Pulfer, Yury Belousov, Vitaliy Kinakh, Teddy Furon, Slava Voloshynovskiy
3/5/2025
cs.CVcs.AIcs.CR

No official code found. Best implementation: BrianPulfer/fsaa (2 stars, PyTorch, last commit 2024-08-13).

Abstract

The study of security in machine learning mainly focuses on downstream task-specific attacks, where the adversarial example is obtained by optimizing a loss function specific to the downstream task. At the same time, it has become standard practice for machine learning practitioners to adopt publicly available pre-trained vision foundation models, effectively sharing a common backbone architecture across a multitude of applications such as classification, segmentation, depth estimation, retrieval, question-answering and more. The study of attacks on such foundation models and their impact to multiple downstream tasks remains vastly unexplored. This work proposes a general framework that forges task-agnostic adversarial examples by maximally disrupting the feature representation obtained with foundation models. We extensively evaluate the security of the feature representations obtained by popular vision foundation models by measuring the impact of this attack on multiple downstream tasks and its transferability between models.

View on arXivView PDF

Code Implementations(1)

BrianPulfer/fsaaCommunity100%
PyTorch

FSAA allows to create adversarial examples that corrupt the features of the victim models while preserving similar images.

21Shell, PythonJun 15, 20232 years agoNOASSERTION
adversarial-attacksdeep-learninggpumachine-learningpypi+2 more

Similar Papers

Cite this paper

@article{pulfer2025taskagnostic,
  title  = {Task-Agnostic Attacks Against Vision Foundation Models},
  author = {Brian Pulfer and Yury Belousov and Vitaliy Kinakh and Teddy Furon and Slava Voloshynovskiy},
  year   = {2025},
  eprint = {2503.03842},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.03842v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2503.03842.svg)](https://codeofpaper.com/paper/2503.03842)

Discussion