Preprint
Article

This version is not peer-reviewed.

Quality-Aware Augmentation for Computational Pathology: Synthesizing Realistic Histological Artifacts with Diffusion and Physics-Based Models

Submitted:

02 December 2026

Posted:

03 December 2026

You are already at the latest version

Abstract
Deep learning models in pathology are vulnerable to real-world artifacts: pathologists base their assessment on adequate tissue and disregard folds, stain precipitates, or blurred fields, whereas an algorithm analyzes the entire slide. Models are routinely trained to tolerate staining and scanning differences, but quality-related artifacts are largely absent from their training data, and quality control detects them imperfectly and may discard informative tissue. We therefore propose quality-aware augmentation, which exposes models to realistic synthetic artifacts during training. Our framework, Destroy Me, combines fine-tuned Stable Diffusion, which blends artifacts with the tissue, with physics-based procedural modeling to synthesize six artifact types: tissue folds, precipitates, blur, stitching errors, dust, and pen marks. Artifact fidelity was assessed with distributional, semantic, color, and structural metrics and in a reader study with six physicians, including three pathologists. In lung adenocarcinoma growth-pattern classification with nnU-Net, artifact augmentation improved results on an independent, high-quality external cohort, increasing macro-F1 from 0.38 to 0.42 and Cohen’s κ from 0.40 to 0.46 (0.42 with generic augmentation at the same ratio and training-set size), close to the agreement between pathologists on the same cohort (κ = 0.485). Quality-aware augmentation thus improves generalization without compromising performance on high-quality slides and offers a scalable complement to quality control.
Keywords: 
;  ;  ;  ;  ;  ;  
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.