Submitted:
22 June 2025
Posted:
23 June 2025
You are already at the latest version
Abstract
Keywords:
1. Introduction
2. Literature Review
2.1. Background on Explainability and Interpretability
2.2. Explainable AI (XAI)
2.3. Plant Classification Using Deep Learning
3. Materials and Methods
3.1. Data Description
3.2. Dataset Visualization


3.3. Image Preprocessing
3.4. Model Construction and Architecture
3.5. Model Architectures


3.6. The Grad-CAM Technique
4. Results
4.1. 100 Plant Species Dataset Results
| Model | Species Group | Training Accuracy | Validation Accuracy | Test Accuracy |
|---|---|---|---|---|
| 100 plant classes | 0.5152 | 0.1609 | 0.1921 | |
| Baseline CNN | Original Normal_Grey_GT_600 | 0.8169 | 0.5042 | 0.5198 |
| Greyscale Normal_Grey_GT_600 | 0.8249 | 0.3586 | 0.3543 | |
| Original Normal_Grey_LT_190 | 0.8271 | 0.6550 | 0.6272 | |
| Greyscale Normal_Grey_LT_190 | 0.6886 | 0.3915 | 0.4090 | |
| 100 plant classes | 0.2295 | 0.2318 | 0.2714 | |
| Improved CNN | Original Normal_Grey_GT_600 | 0.6066 | 0.5499 | 0.5802 |
| Greyscale Normal_Grey_GT_600 | 0.5415 | 0.4220 | 0.4420 | |
| Original Normal_Grey_LT_190 | 0.8596 | 0.6705 | 0.6424 | |
| Greyscale Normal_Grey_LT_190 | 0.8822 | 0.6047 | 0.5969 | |
| 100 plant classes | - | 0.1055 | 0.1804 | |
| VGG16 | Original Normal_Grey_GT_600 | - | 0.6023 | 0.6548 |
| Original Normal_Grey_LT_190 | - | 0.6330 | 0.7152 | |
| 100 plant classes | - | 0.0309 | 0.0315 | |
| ResNet50 | Original Normal_Grey_GT_600 | - | 0.2053 | 0.2061 |
| Original Normal_Grey_LT_190 | - | 0.1831 | 0.2152 | |
| 100 plant classes | - | 0.7454 | 0.6556 | |
| DenseNet121 | Original Normal_Grey_GT_600 | - | 0.9427 | 0.8411 |
| Original Normal_Grey_LT_190 | - | 0.9701 | 0.9242 |
4.2. 30 Plant Species Dataset Results
| Model | Species Group | Training Accuracy | Validation Accuracy | Test Accuracy |
|---|---|---|---|---|
| Baseline CNN | 30 plant classes | 0.8313 | 0.7413 | 0.7596 |
| 2 plant classes | 0.9944 | 0.9650 | 0.9800 | |
| Improved CNN | 30 plant classes | 0.7624 | 0.7223 | 0.7400 |
| 2 plant classes | 0.9744 | 0.9350 | 0.9750 | |
| VGG16 | 30 plant classes | - | 0.5589 | 0.6763 |
| 2 plant classes | - | 0.9744 | 0.9950 | |
| ResNet50 | 30 plant classes | - | 0.0438 | 0.0610 |
| 2 plant classes | - | 0.6787 | 0.8200 | |
| DenseNet121 | 30 plant classes | - | 0.9144 | 0.8807 |
| 2 plant classes | - | 0.9956 | 0.9500 |
4.3. Training Performance Analysis

4.4. Grad-CAM Visualization Analysis

4.5. Greyscale Analysis Results

4.6. 30 Species Dataset Analysis


5. Discussion
6. Conclusions
Author Contributions: Jude Dontoh
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Adadi, A. and Berrada, M. (2018). Peeking inside the black-box: A survey on explainable artificial intelligence (xai). IEEE Access, 6:52138–52160. [CrossRef]
- Arrieta, A. B., Díaz-Rodríguez, N., Del Ser, J., Bennetot, A., Tabik, S., Barbado, A., García, S., Gil-López, S., Molina, D., and Benjamins, R. (2020). Explainable artificial intelligence (xai): Concepts, taxonomies, opportunities and challenges toward responsible ai. Information Fusion, 58:82–115. [CrossRef]
- Chen, T. and Guestrin, C. (2016). Xgboost: A scalable tree boosting system. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining. [CrossRef]
- Doshi-Velez, F. and Kim, B. (2017). Towards a rigorous science of interpretable machine learning. arXiv preprint arXiv:1702.08608. arXiv:1702.08608. [CrossRef]
- Gilpin, L. H., Bau, D., Yuan, B. Z., Bajwa, A., Specter, M., and Kagal, L. (2018). Explaining explanations: An overview of interpretability of machine learning. In 2018 IEEE 5th International Conference on Data Science and Advanced Analytics (DSAA). IEEE. [CrossRef]
- Goodman, B. and Flaxman, S. (2017). European union regulations on algorithmic decision-making and a “right to explanation”. AI Magazine, 38(3):50–57. [CrossRef]
- Guidotti, R., Monreale, A., Ruggieri, S., Turini, F., Giannotti, F., and Pedreschi, D. (2018). A survey of methods for explaining black box models. ACM Computing Surveys (CSUR), 51(5):1–42. [CrossRef]
- Gunning, D., Stefik, M., Choi, J., Miller, T., Stumpf, S., and Yang, G. (2019). Xai—explainable artificial intelligence. Science Robotics, 4(37):eaay7120. [CrossRef]
- Joly, A., Müller, H., Goëau, H., Glotin, H., Spampinato, C., Rauber, A., Bonnet, P., Vellinga, W., and Fisher, B. (2014). Lifeclef: Multimedia life species identification. EMR: Environmental Multimedia Retrieval. [CrossRef]
- Jordan, M. I. and Mitchell, T. M. (2015). Machine learning: Trends, perspectives, and prospects. Science, 349(6245):255–260. [CrossRef]
- LeCun, Y., Bengio, Y., and Hinton, G. (2015). Deep learning. Nature, 521(7553):436–444. [CrossRef]
- Lipton, Z. C. (2018). The mythos of model interpretability: In machine learning, the concept of interpretability is both important and slippery. Queue, 16(3):31–57. [CrossRef]
- Liu, K., Yang, M., Huang, S., and Lin, C. (2022). Plant species classification based on hyperspectral imaging via a lightweight convolutional neural network model. Frontiers in Plant Science, 13:855660. [CrossRef]
- Miller, T. (2019). Explanation in artificial intelligence: Insights from the social sciences. Artificial Intelligence, 267:1–38. [CrossRef]
- Murdoch, W. J., Singh, C., Kumbier, K., Abbasi-Asl, R., and Yu, B. (2019). Definitions, methods, and applications in interpretable machine learning. Proceedings of the National Academy of Sciences, 116(44):22071–22080. [CrossRef]
- Pimm, S. L., Jenkins, C. N., Abell, R., Brooks, T. M., Gittleman, J. L., Joppa, L. N., Raven, P. H., Roberts, C. M., and Sexton, J. O. (2014). The biodiversity of species and their rates of extinction, distribution, and protection. Science, 344(6187):1246752. [CrossRef]
- Polikar, R. (2012). Ensemble learning. Ensemble Machine Learning: Methods and Applications, pages 1–34. [CrossRef]
- Saad, S. A. (2023). plant-species. Kaggle. Available at: https://www.kaggle.com/datasets/syedabdullahsaad/plant-species?resource=download (Accessed 2023-09-25).
- Safavian, S. R. and Landgrebe, D. (1991). A survey of decision tree classifier methodology. IEEE Transactions on Systems, Man, and Cybernetics, 21(3):660–674. [CrossRef]
- Selvaraju, R. R., Cogswell, M., Das, A., Vedantam, R., Parikh, D., and Batra, D. (2017). Grad-cam: Visual explanations from deep networks via gradient-based localization. In Proceedings of the IEEE international conference on computer vision. [CrossRef]
- Sulistya, Y. I. (2023). plants-type-datasets. Kaggle. Available at: https://www.kaggle.com/datasets/yudhaislamisulistya/plants-type-datasets/ (Accessed 2023-10-30).
- Wäldchen, J. and Mäder, P. (2018). Plant species identification using computer vision techniques: A systematic literature review. Archives of Computational Methods in Engineering, 25:507–543. [CrossRef]
- Wäldchen, J., Rzanny, M., Seeland, M., and Mäder, P. (2018). Automated plant species identification—trends and future directions. PLoS Computational Biology, 14(4):e1005993. [CrossRef]
- West, D. M. (2018). The future of work: Robots, AI, and automation. Brookings Institution Press.
- Xiao, Q., Li, G., Xie, L., and Chen, Q. (2018). Real-world plant species identification based on deep convolutional neural networks and visual attention. Ecological Informatics, 48:117–124. [CrossRef]
- Zhu, J., Liapis, A., Risi, S., Bidarra, R., and Youngblood, G. M. (2018). Explainable ai for designers: A human-centered perspective on mixed-initiative co-creation. In 2018 IEEE Conference on Computational Intelligence and Games (CIG). IEEE. [CrossRef]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).