eess.IVAug 27, 2026

Destroy Me: Automatic Artifact Generation for Histopathology Images

Authors: Zuzanna Krawczyk-Borysiak, Adam Krawczyk, Mateusz Miller, Gabriela Kaczmarek, Sławomir Pakuło, Małgorzata Sokół, Żaneta Swiderska-Chadaj

Organizations: IDEAS Research Institute, Poland · Warsaw University of Technology, Warsaw, Poland · Poznan University of Technology, Poznan, Poland · AKCES NCBR, Warsaw, Poland · 

Abstract

Deep learning's diagnostic utility in pathology is constrained by model vulnerability to real-world data imperfections. While current strategies favor "perfect data" by filtering low-quality regions, which can lead to the loss of valuable diagnostic context, we propose a paradigm shift: engineering models to thrive in imperfect environments using "Destroy Me", a hybrid framework for realistic artifact synthesis and robust data augmentation. Our approach combines Stable Diffusion, fine-tuned to preserve morphological continuity by realistically integrating artifacts with the underlying tissue architecture, with physics-based procedural modeling to synthesize six common artifact types: tissue folds, precipitates, blur, stitching errors, dust, and pen markers. Artifact fidelity is assessed using Kernel Inception Distance (KID) and color Wasserstein distance metrics. Validating this strategy on lung adenocarcinoma pattern classification with an nnU-Net, we confirm that models trained on "destroyed" patches consistently outperform baselines on independent real-world datasets. Specifically, we observed a 10.5% relative improvement in macro F1-score and a 15% relative increase in the Cohen's Kappa (κκ) coefficient. Crucially, our results demonstrate that selective, impact-weighted augmentation is vital for balancing practical robustness with the preservation of subtle diagnostic features.

Figures & tables

Explore similar work

CardsList
  1. Controllable Diffusion-Based Lesion Inpainting for Scalable Histopathology Data Augmentation

    Jan 13, 2026Mohamad Koohi-Moghadam, Mohammad-Ali Nikouei Mahani, Rex K. H. Au-Yeung +6Computational PathologySynthetic Data Augmentation

  2. Semi-Supervised Domain Adaptation with Latent Diffusion for Pathology Image Classification

    Jan 23, 2026Tengyue Zhang, Ruiwen Ding, Luoting Zhuang +3Computational PathologySynthetic Data Augmentation

  3. Patch-to-Global: Random Patch Diffusion for Globally Consistent Megapixel Artifact Inpainting in Whole Slide Images

    Sep 21, 2026Hyeseong Lee, Eunsu Kim, D M Bappy +6Computational PathologyDiffusion Models for Image Restoration