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

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.

Authors

Publication Details

Journal
Preprints.org
Published
2026-12-03
DOI
https://doi.org/10.20944/preprints202612.0326.v1
Primary Topic
AI in cancer detection
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

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

Gabriela Kaczmarek, Adam Krawczyk, Sławomir Pakuło, Żaneta Świderska-Chadaj et al.
Preprints.org
AI in cancer detection
preprint

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

Gabriela Kaczmarek, Adam Krawczyk, Sławomir Pakuło, Żaneta Świderska-Chadaj, Zuzanna Krawczyk, Mateusz Miller, Małgorzata Sokół
preprint en

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.

Preprints.org
AI in cancer detection
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon