Explainable CNN Ensemble with AI-Generated Reporting for Fungal Infection Diagnosis

The need for precise classification of fungi from microscopic images plays a critical role in diagnosing and treating patients since it requires timeliness and effectiveness. Nevertheless, manual examination is time-consuming and difficult due to the similar visual features of numerous fungi. Therefore, this work proposes a new approach to explainable deep learning for fungal image classification and report generation. The developed framework consists of four pre-trained convolutional neural network models—DenseNet121, ResNet18, VGG16, and InceptionV3—which are used to classify fungal microscopic images into five classes. To make the process more transparent, methods such as Grad-CAM, SHAP, LIME, and Canny edge detection are used to identify the areas of images that contribute to the prediction. At the same time, the developed approach uses the large language model LLaMA3-70B through LangChain and provides automatic generation of the structured diagnostic report, including fungal identification, confidence scores, and clinical observations. The whole pipeline is implemented using the Streamlit interface to predict and generate a PDF report of the classification. The experiments have been performed using publicly available data containing 5000 images of fungi with expert annotations. Among the models analyzed, DenseNet121 shows the highest result, reaching an accuracy of 99.75% and having the values of precision, recall, and F1-score close to 0.998.

Authors

Institutions

Publication Details

Journal
Journal of Fungi
Published
2026-11-17
DOI
https://doi.org/10.3390/jof12110865
Primary Topic
Advanced Neural Network Applications
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Explainable CNN Ensemble with AI-Generated Reporting for Fungal Infection Diagnosis

Sanjoy Kumar Debnath, Jayashree Mohanty, Wai Yie Leong, Srikanta Kumar Mohapatra et al.
2 links
Journal of Fungi
Advanced Neural Network Applications
article

Explainable CNN Ensemble with AI-Generated Reporting for Fungal Infection Diagnosis

Sanjoy Kumar Debnath, Jayashree Mohanty, Wai Yie Leong, Srikanta Kumar Mohapatra, Sumant Kumar Mohapatra, KaliPrasanna Swain
article en

Abstract

The need for precise classification of fungi from microscopic images plays a critical role in diagnosing and treating patients since it requires timeliness and effectiveness. Nevertheless, manual examination is time-consuming and difficult due to the similar visual features of numerous fungi. Therefore, this work proposes a new approach to explainable deep learning for fungal image classification and report generation. The developed framework consists of four pre-trained convolutional neural network models—DenseNet121, ResNet18, VGG16, and InceptionV3—which are used to classify fungal microscopic images into five classes. To make the process more transparent, methods such as Grad-CAM, SHAP, LIME, and Canny edge detection are used to identify the areas of images that contribute to the prediction. At the same time, the developed approach uses the large language model LLaMA3-70B through LangChain and provides automatic generation of the structured diagnostic report, including fungal identification, confidence scores, and clinical observations. The whole pipeline is implemented using the Streamlit interface to predict and generate a PDF report of the classification. The experiments have been performed using publicly available data containing 5000 images of fungi with expert annotations. Among the models analyzed, DenseNet121 shows the highest result, reaching an accuracy of 99.75% and having the values of precision, recall, and F1-score close to 0.998.

Journal of FungiVol. 12(11)
Chandigarh University (IN), INTI International University (MY), Creative Technology (Singapore) (SG), Public Works Department Buildings and Roads (IN), Dayananda Sagar University (IN), Trident Academy of Technology (IN), Chitkara University (IN), Dr. Hari Singh Gour University (IN), Punjab Agricultural University (IN)
Advanced Neural Network Applications
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