Reply to Pastore, E.P. Comment on “Korkmaz et al. A Deep Learning and Explainable AI-Based Approach for the Classification of Discomycetes Species. Biology 2025, 14, 719”
Aras Fahrettin Korkmaz, Fatih Ekinci, Şehmus Altaş, Eda Kumru, Mehmet Serdar Güzel, Ilgaz Akata

Abstract
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsEntomopathogenic Microorganisms in Pest Control · Species Distribution and Climate Change · Bacterial Identification and Susceptibility Testing
The comment raises three principal themes: (i) safeguarding statistical independence through grouping at the level of specimen/collector/site prior to splitting, (ii) preventing selection bias via fully nested preprocessing and hyperparameter tuning, and (iii) assessing shortcut learning and reporting probability calibration for decision thresholding in ecological workflows [1]. The study addressed Discomycetes classification with a 2800-image corpus and a 60/20/20 train–validation–test protocol, and reported comparative CNN performance and XAI visualizations (Grad-CAM, Score-CAM) [2].
Attention to potential non-independence arising from near-duplicates, shared backgrounds, or repeated collection events is acknowledged [1]. The dataset was assembled to maximize heterogeneity across photographers, habitats, and illumination, and the fixed split (60%/20%/20%) was chosen to retain distributional diversity while isolating a held-out test set [2,3,4,5,6,7,8,9,10]. For future iterations, grouped partitioning will be prioritized to match the deployment setting:
- Specimen-grouped or event-grouped splitting (all images from a collection event withheld together);
- Site-blocked or photographer-blocked cross-validation to mitigate scene-level leakage;
- Geography-aware blocking (e.g., region or habitat strata) to better emulate out-of-domain transfer;
- Camera/EXIF-stratified folds to counter device-specific priors.
These designs align with hierarchical/spatial CV practices recommended for ecological data and directly address the dependency risks highlighted in the comment [1].
All transforms (normalization, resizing, augmentations) and optimizer schedules were confined to the training partition; validation was reserved for early stopping and hyperparameter selection; and the test set remained untouched for final reporting [1]. While this pipeline follows common deep learning practice in image recognition, a fully nested scheme will be adopted in expanded studies to provide more conservative generalization estimates: outer folds for evaluation, inner loops for fitting transforms and tuning, and frozen transforms applied to held-out folds before scoring [2]. This migration to nested CV will reduce selection bias and align the evaluation with rigorous protocols for structured ecological data.
The concern that high accuracy may arise from background or acquisition shortcuts rather than morphology is pertinent [1]. Class-activation analyses (Grad-CAM, Score-CAM) were used to interrogate focus regions for cap, hymenial surfaces, and other taxonomically meaningful traits [2,3,4,5,6,7,8]. To strengthen this line of evidence, subsequent work will include the following:
- Implement saliency sanity checks (model/label randomization tests) to verify explanation fidelity.
- Use perturbation-based localization and deletion/insertion metrics to quantify whether highlighted regions are causally important.
- Add counterfactual augmentations (background swaps, color-cast normalization) to stress-test reliance on contextual cues.
- Report probability calibration (temperature scaling/isotonic regression) with reliability diagrams and Expected Calibration Error (ECE), enabling threshold setting for biodiversity monitoring and curation pipelines [1].
These additions address the request for decisive tests beyond qualitative overlays and for calibrated outputs suitable for operational decision-making [1].
Generalization to new cameras, habitats, and independent collections is essential [1]. An expanded, multi-institutional repository (including herbarium-verified vouchers and geographically distinct field sets) is being curated to support the following:
- External validation on fully independent sources;
- Site-withheld evaluation where entire locales are unseen during training;
- Temporal holdouts (by season/year) to probe phenology-related drift;
- Domain-shift diagnostics (source-specific performance stratified by habitat, device, and photographer).
These experiments will complement the current fixed split and provide deployment-oriented evidence of robustness [2,3,4,5,6,7,8].
To aid re-use and auditability, forthcoming revisions will (i) enumerate transform parameters and their fit scope (training-only vs. applied) [2,3,4,5,6,7,8,9,10,11,12], (ii) list hyperparameter search spaces and selection criteria [2,3,4,5,6,7,8,9,10,11,12,13], (iii) publish per-class metrics (precision/recall/F1) and confusion matrices [2,3,4,5,6,7,8,9,10,11,12,13,14], and (iv) include calibration curves and threshold–utility analyses for practitioner selection in monitoring workflows [2,3,4,5,6,7,8]. Where permissible, code and trained weights will be shared to facilitate independent replication.
The present study established a comparative baseline across ten CNNs with XAI analyses on Discomycetes images [2]. Recognized limitations include (a) absence of fully nested CV, (b) lack of grouped/blocked splits, (c) qualitative emphasis in XAI without formal causality metrics, and (d) missing calibration reporting. The roadmap above targets each limitation with concrete methodological upgrades consistent with the comment’s recommendations [1].
The comment’s recommendations on grouped splitting, nested validation, explanation reliability, calibration, and external/site-withheld evaluation are well-taken and align with the next phase of this research program [1]. Within the current scope, processing was confined to training data, validation guided tuning, and a held-out test set was used for final reporting [2]. Future releases will incorporate grouped/nested protocols, quantitative XAI sanity checks, probability calibration, and independent validations to provide deployment-grade evidence for biodiversity and curation use cases.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1Pastore E.P. Comment on Korkmaz et al. A Deep Learning and Explainable AI-Based Approach for the Classification of Discomycetes Species. Biology 2025, 14, 719Biology 20261510610.3390/biology 15020106 PMC 1218959740563969 · doi ↗ · pubmed ↗
- 2Korkmaz A.F. Ekinci F. AltaşŞ. Kumru E. Güzel M.S. Akata I. A Deep Learning and Explainable AI-Based Approach for the Classification of Discomycetes Species Biology 20251471910.3390/biology 1406071940563969 PMC 12189597 · doi ↗ · pubmed ↗
- 3ÖzsarıŞ. Kumru E. Ekinci F. Güzel M.S. AçıcıK. Asuroglu T. Akata I. Advanced deep learning approaches for the automated classification of macrofungal species in biodiversity monitoring Trak. Univ. J. Nat. Sci.2025 Online First 10.23902/trkjnat.59587078 · doi ↗
- 4Kumru E. Ugurlu G. Sevindik M. Ekinci F. Güzel M.S. Acici K. Akata I. Hybrid Deep Learning Framework for High-Accuracy Classification of Morphologically Similar Puffball Species Using CNN and Transformer Architectures Biology 20251481610.3390/biology 1407081640723375 PMC 12292363 · doi ↗ · pubmed ↗
- 5Kumru E. Korkmaz A.F. Ekinci F. Aydoğan A. Güzel M.S. Akata I. Deep Ensemble Learning and Explainable AI for Multi-Class Classification of Earthstar Fungal Species Biology 202514131310.3390/biology 1410131341154716 PMC 12562167 · doi ↗ · pubmed ↗
- 6Ekinci F. Ugurlu G. Ozcan G.S. Acici K. Asuroglu T. Kumru E. Guzel M.S. Akata I. Classification of Mycena and Marasmius Species Using Deep Learning Models: An Ecological and Taxonomic Approach Sensors 202525164210.3390/s 2506164240292694 PMC 11945257 · doi ↗ · pubmed ↗
- 7Kumru E. Ekinci F. Açici K. AltindalÖ.B. Güzel M.S. Akata I. Advanced deep learning approaches for the accurate classification of Phallaceae fungi with explainable AI Turk. J. Bot.20254938840510.55730/1300-008X.2871 · doi ↗
- 8Ozsari S. Kumru E. Ekinci F. Akata I. Guzel M.S. Acici K. Ozcan E. Asuroglu T. Deep learning-based classification of macrofungi: Comparative analysis of advanced models for accurate fungi identification Sensors 202424718910.3390/s 2422718939598966 PMC 11598773 · doi ↗ · pubmed ↗
