EUVIMEDEUVIMED entdecken
Open Access · CC BY 4.0

LISArD: learning image similarity to defend against gray-box adversarial attacks

Joana Cabral Costa, Tiago Roxo, Hugo Proença, Pedro R. M. Inácio

PeerJ Computer Science · 06.04.2026 · 12 · e3735

DOI: 10.7717/peerj-cs.3735 ↗

Kurz gefasst

Fachartikel in der Zeitschrift PeerJ Computer Science, online erschienen am 06.04.2026. Verfasst von Joana Cabral Costa und 3 weiteren Autor:innen. Die Arbeit wurde bisher 1-mal zitiert (Crossref) und nennt 56 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0). Gefördert von: Portuguese Fundação para a Ciência e Tecnologia (FCT)/Ministério da Ciência, Tecnologia e Ensino Superior, FCT Doctoral.

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

State-of-the-art defense mechanisms are typically evaluated in the context of white-box attacks, which is not realistic, as it assumes the attacker can access the gradients of the target network. To protect against this scenario, Adversarial Training (AT) and Adversarial Distillation (AD) include adversarial examples during the training phase, and Adversarial Purification uses a generative model to reconstruct all the images given to the classifier. This article considers an even more realistic evaluation scenario: gray-box attacks, which assume that the attacker knows the architecture and the dataset used to train the target network, but cannot access its gradients. We provide empirical evidence that models are vulnerable to gray-box attacks and propose Learning Image Similarity Adversarial Defense (LISArD), a defense mechanism that does not require training extra models despite slightly increasing training cost, which provides robustness against gray- and white-box attacks without including AT. Our method constructs a cross-correlation matrix by multiplying the embeddings of noisy (augmented with random Gaussian noise) and clean images, then approximates it to a diagonal matrix while simultaneously promoting correct image classification. This process allows the model to recognize noisy image embeddings as similar to those of clean images, thereby improving its generalization. The results show that LISArD can effectively protect against gray-box attacks across different datasets and can be successfully used in multiple architectures. Additionally, without additional training, LISArD resilience carries over to white-box and black-box scenarios, demonstrating its ability to withstand zero-day attacks ( i.e ., previously unseen adversarial samples). Finally, the results show that state-of-the-art AD models underperform significantly when AT is removed and/or when moving to gray-box settings, highlighting their lack of robustness across various conditions and further emphasizing the importance of LISArD. All the source code is available at https://github.com/Joana-Cabral/LISArD .

Förderung

  • Portuguese Fundação para a Ciência e Tecnologia (FCT)/Ministério da Ciência, Tecnologia e Ensino Superior
  • FCT Doctoral

Zitieren

APA

Costa, J. C., Roxo, T., Proença, H., & Inácio, P. R. M. (2026). LISArD: learning image similarity to defend against gray-box adversarial attacks. PeerJ Computer Science, 12, e3735. https://doi.org/10.7717/peerj-cs.3735

Vancouver

Costa JC, Roxo T, Proença H, Inácio PRM. LISArD: learning image similarity to defend against gray-box adversarial attacks. PeerJ Computer Science. 2026;12:e3735. doi:10.7717/peerj-cs.3735

BibTeX
@article{Costa2026,
  author = {Costa, Joana Cabral and Roxo, Tiago and Proença, Hugo and Inácio, Pedro R. M.},
  title = {LISArD: learning image similarity to defend against gray-box adversarial attacks},
  journal = {PeerJ Computer Science},
  year = {2026},
  volume = {12},
  pages = {e3735},
  doi = {10.7717/peerj-cs.3735}
}
Kostenlos starten →