Classifying Nutritional Deficiencies in Coffee Leaf Using Transfer Learning and Gradient-Weighted Class Activation Mapping (Grad-CAM) Visualization
Coffee is a very popular beverage around the world. The production coffee can be affected by nutrition deficiencies and result in massive underproduction. This makes early detection of nutrition deficiency so important. In this research we will use transfer learning approach to create an automated system that can detect and classify different kind of nutrition deficiency from coffee leaf images. The dataset used in the research has 1006 leaf images with 10 classes in total; one of which is a healthy class, The dataset was pre-processed thoroughly by applying proper techniques. DenseNet 201, InceptionV3 and Xception, these three CNN models have been utilized for the classification task. The deep learning models were fine-tuned by freezing model layers, and hyperparameters were tuned. Those transfer learning models both mainly work as feature extractor with only their last convolutional block being trainable and a custom model of our own was used for classification. The Xception model achieved the highest accuracy of 83.32%. To interpret how the model is working we integrated Explainable AI (XAI) named Gradient-Weighted Class Activation Mapping (GRAD-CAM).
Authors
- Nawab Yousuf Ali
- Bashir Alam (ORCID: https://orcid.org/0000-0003-0479-682X)
- B. M. Golam Kibria (ORCID: https://orcid.org/0000-0002-6073-1978)
- Sharmin Jahan (ORCID: https://orcid.org/0009-0006-1435-9673)
- Fahad Ahammed
- Omar Faruq Shikdar
Institutions
- East West University (BD)
Publication Details
- Published
- 2025-04-16
- DOI
- https://doi.org/10.1109/iccct63501.2025.11019090
- Citations
- 3
- Primary Topic
- Coffee research and impacts
- Type
- article
- Field-Weighted Citation Impact
- 4.18