Hierarchical Self-Supervised Adversarial Training for Robust Vision Models in Histopathology

Hashmat Shadab Malik, Shahina Kunhimon, Muzammal Naseer, Fahad Shahbaz Khan, Salman Khan
3/13/2025
cs.CV

Official code: HashmatShadab/HSAT (12 stars, last commit 2025-06-17).

Abstract

Adversarial attacks pose significant challenges for vision models in critical fields like healthcare, where reliability is essential. Although adversarial training has been well studied in natural images, its application to biomedical and microscopy data remains limited. Existing self-supervised adversarial training methods overlook the hierarchical structure of histopathology images, where patient-slide-patch relationships provide valuable discriminative signals. To address this, we propose Hierarchical Self-Supervised Adversarial Training (HSAT), which exploits these properties to craft adversarial examples using multi-level contrastive learning and integrate it into adversarial training for enhanced robustness. We evaluate HSAT on multiclass histopathology dataset OpenSRH and the results show that HSAT outperforms existing methods from both biomedical and natural image domains. HSAT enhances robustness, achieving an average gain of 54.31% in the white-box setting and reducing performance drops to 3-4% in the black-box setting, compared to 25-30% for the baseline. These results set a new benchmark for adversarial training in this domain, paving the way for more robust models. Our Code for training and evaluation is available at https://github.com/HashmatShadab/HSAT.

View on arXivView PDF

Code Implementations(1)

HashmatShadab/HSATOfficial100%

[MICCAI 2025] Hierarchical Self-Supervised Adversarial Training for Robust Vision Models in Histopathology

120Shell, PythonMar 5, 20251 years ago

Similar Papers

Cite this paper

@article{malik2025hierarchical,
  title  = {Hierarchical Self-Supervised Adversarial Training for Robust Vision Models in Histopathology},
  author = {Hashmat Shadab Malik and Shahina Kunhimon and Muzammal Naseer and Fahad Shahbaz Khan and Salman Khan},
  year   = {2025},
  eprint = {2503.10629},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.10629v1}
}

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

Discussion