Self-Supervised Representation Learning for Adversarial Attack Detection

Yi Li, Plamen P. Angelov, N. Suri
2/14/2026

No confident code implementation found for this paper. 4 possible matches can be shown below.

Abstract

Supervised learning-based adversarial attack detection methods rely on a large number of labeled data and suffer significant performance degradation when applying the trained model to new domains. In this paper, we propose a self-supervised representation learning framework for the adversarial attack detection task to address this drawback. Firstly, we map the pixels of augmented input images into an embedding space. Then, we employ the prototype-wise contrastive estimation loss to cluster prototypes as latent variables. Additionally, drawing inspiration from the concept of memory banks, we introduce a discrimination bank to distinguish and learn representations for each individual instance that shares the same or a similar prototype, establishing a connection between instances and their associated prototypes. We propose a parallel axial-attention (PAA)-based encoder to facilitate the training process by parallel training over height- and width-axis of attention maps. Experimental results show that, compared to various benchmark self-supervised vision learning models and supervised adversarial attack detection methods, the proposed model achieves state-of-the-art performance on the adversarial attack detection task across a wide range of images.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 4 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{li2026selfsupervised,
  title  = {Self-Supervised Representation Learning for Adversarial Attack Detection},
  author = {Yi Li and Plamen P. Angelov and N. Suri},
  year   = {2026},
  eprint = {2407.04382},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2407.04382},
  journal = {ECCV 2024 2024}
}

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/2407.04382.svg)](https://codeofpaper.com/paper/2407.04382)

Discussion