Pathologist’s Brief
Briefing · Digital pathology

Do out-of-focus slides spoil AI predictions on stomach and colon biopsies? One laboratory's evidence

Quick answer

In one South Korean reference laboratory, ordinary blur on routine stomach and colon slides was not clearly linked to AI disagreement with the pathologist, and predictions tolerated much simulated blur. The evidence is suggestive, not proof, and one pair stood apart.

Black-and-white photo of a slide scanning bench with a rack of glass slides and a monitor showing an unlabelled line chart.
AI-generated illustration, Pathologist’s Brief
On this page
  1. Reporting
  2. Interpretation
  3. Opinion
  4. Limits
  5. Frequently asked questions

#Reporting

Pathologists and digital pathology teams often ask whether routine out-of-focus slides spoil AI predictions. Kim et al. looked at this in a retrospective observational study in Journal of Pathology Informatics, 2025, using data from a single reference laboratory in South Korea.

The paper analyses 7529 whole-slide images (WSIs) and the matching predictions from 4 AI models. Each model was tied to one organ (stomach or colon) and one of two scanner models, so there were four organ and scanner pairs. The slides were haematoxylin and eosin sections of biopsy, polypectomy and endoscopic resection specimens, collected from September 2023 to September 2024. The models classified each slide as normal, dysplasia or malignant. They were trained on raw routine slides, with no screening for focus or sharpness and no blur augmentation.

Slides were grouped as concordant or discordant, depending on whether the AI prediction matched the pathologist's diagnosis. The authors describe this as analogous to a case-control framework, with blur as the exposure and discordance as the outcome. The reference was the pathologist's diagnosis, not ground truth, so a discordant slide mixes AI error with pathologist error.

There were four analyses:

  • Slide-level blur statistics (minimum, average and maximum) were compared between concordant and discordant slides, using an edge-strength blur metric and a wavelet-based blur metric.
  • A logistic regression related discordance to the proportion of blurry patches, defined as those with blur values in the bottom 5% of all patches.
  • Artificial blur, from a smoothing filter of increasing radius, was applied to patches while the area under the receiver operating characteristic curve (AUROC) was tracked. Concordant slides at radius = 0 were the reference.
  • Z-stack scans were taken on the scanner that supports them, for at least 20 diagnostically concordant WSIs per organ. Steps of 3 μm gave 11 focal planes, which simulated real defocus. The authors tracked AUROC and embedding similarity. The other scanner has no Z-stack function, so this could not be done there.

The abstract says average blur metrics showed no statistically significant differences between groups and no significant association with the proportion of blurry regions, "except one pair". The Results are less uniform. They report a significant difference in the minimum wavelet score for two pairs, the stomach and colon pairs on scanner A (p = 0.01 and p < 0.001), with effect sizes that the authors judged smaller than a moderate difference. The Results also report that one of the average blur metrics differed significantly for the colon pair on scanner B, even though the abstract says the average metrics did not differ. One pair showed a significant association with the proportion of blurry patches, shown only as a confidence interval in a figure. That exception for the blurry-patch proportion was the stomach pair on the first scanner (scanner A). The paper does not state the direction of that association, so it cannot be read either way.

With artificial blur at radius = 1, the AUROC fell by 0.052, 0.001, 0.003 and 0.003 for the four pairs, in the order stomach with scanner A, stomach with scanner B, colon with scanner A and colon with scanner B. The paper calls the drops slight. The authors describe this blur level as a less frequent occurrence of severe blurring in their dataset, and say tissue structures in the patches stayed clear enough to identify tissue types.

In the Z-stack work, the authors call defocus of 6 μm in either direction a rare observation in their dataset and describe slide-level classification as robust there. Patch-level embedding similarity stayed stable up to 3 μm in either direction. It dropped substantially at 6 μm in either direction for the stomach model on scanner B (0.79 at minus 6 μm and 0.77 at plus 6 μm). Slide-level embedding similarity stayed above 0.99 across most focal planes.

The authors found that only 1.7% of the 7529 WSIs had more than half of their patches blurred, so globally out-of-focus slides were few. They say this small number limits generalisability. They credit slide-level aggregation over many patches, which lets unaffected regions carry the prediction. They conclude that commonly encountered blur did not significantly impact slide-level classification, and that noticeable degradation occurred only with extremely severe blur, which they call rare.

#Interpretation

For these four models in this laboratory, ordinary blur on routine slides was not clearly linked to discordance, and the slide-level prediction tolerated a good deal of simulated blur. The authors' explanation is plausible. A slide-level prediction pools many patches, so a blurred region may matter less when the rest of the tissue is in focus.

Two findings deserve a separate look. One is the stomach pair on scanner A, which had the larger AUROC drop (0.052) and the one significant blur association. The other is the stomach model on scanner B, whose patch-level embeddings changed at 6 μm. Neither can be dismissed as noise, and neither can be explained from this paper alone.

The artificial blur is a simulation. The Z-stack is closer to real defocus but has its own limits, set out below. The study also measures discordance with a pathologist's diagnosis, not harm to patients.

For laboratories in India and elsewhere, the practical reading is general. A laboratory that deploys slide-level AI can check its own focus-quality metrics and rescan rate. It can look at discordant cases for blur separately by scanner and organ. It should not assume that a result from two scanner models and two organs carries over to its own scanner, stain or AI product.

#Opinion

This is a useful, large, real-world look at a question that laboratories rarely test. The mix of observed blur, simulated blur and Z-stack defocus is sensible.

The statistics are weaker than the conclusions. The authors read "not significant" as "no effect", with no equivalence testing and no multiplicity correction. Their wording that blur "did not significantly impact" performance is stronger than a study of discordance against an imperfect reference can support. The authors are also affiliated with the laboratory that developed the AI system, although they declare no competing interests.

This briefing therefore reports the findings as consistent with tolerance to ordinary blur, not as proof that blur does not matter.

#Limits

  • The study comes from a single reference laboratory and is retrospective.
  • The reference is the pathologist's diagnosis, not ground truth.
  • The models were trained and tested at the same laboratory.
  • Slides that the scanner flagged as errors, including severe out-of-focus slides, were excluded and not rescanned, so the worst blur is not in the data. The authors call the exclusion rates relatively low.
  • Simulated blur is not real defocus.
  • The Z-stack work used one scanner and concordant slides only. The number of slides per organ is not stated, and no AUROC at the in-focus plane is given for comparison.
  • No baseline AUROC at radius = 0 is given in the text, so the size of the 0.052 drop cannot be judged in proportion.
  • The paper gives two accounts of why the models held up, and they do not fully agree. The Methods say training slides were checked to be higher in quality than the test slides, to show that robustness was not simply exposure to blurred training slides. The Discussion credits exposure to blurry images.
  • Some statements in the paper's highlights and discussion go further than its tables, so this briefing reports them as the authors' interpretation, not as results.

This briefing summarises one study. It is not a validation protocol and gives no advice on buying or deploying an AI product.

Frequently asked questions

Did blurred slides make the AI disagree with pathologists?

Mostly not in this study, with a few exceptions. Average blur metrics and the proportion of blurry patches were mostly not linked to discordance, with a few exceptions in the Results. The stomach pair on scanner A is one example, as it showed a significant association. The paper does not state its direction, so it cannot be read either way.

How much simulated blur did the AI tolerate?

Predictions held up at the blur level tested, with a small AUROC drop in most pairs. At radius = 1 the AUROC fell by 0.052, 0.001, 0.003 and 0.003 across the four pairs. The stomach pair on scanner A dropped most, and no baseline AUROC is given.

Can other laboratories rely on these results?

Not directly. The data come from one South Korean reference laboratory, two scanner models, two organs and its own AI models. The reference was the pathologist's diagnosis, and scanner-flagged error slides were excluded. A laboratory should check its own focus metrics and discordant cases.

Source

https://doi.org/10.1016/j.jpi.2025.100518 ↗

For education and professional reference. This does not give patient-specific advice or replace professional judgement, local protocols or consultation. Editorial standards.