Exploring Convolutional Neural Networks for Rice Grain Classification: An Explainable AI Approach

Rice is a global staple food that plays a key role in terms of fostering global trade, economic developments and food. China, India, Pakistan, Thailand, Vietnam and Indonesia are some of the Asian countries that have been engaged in the production of various varieties of rice including short and long grains. These varieties are even further categorized into basmati, jasmine, kainat saila, ipsala, arborio, and so on, which suits all the different culinary styles as well as cultural backgrounds. In case of local and international trade, there is need to check and maintain the quality of rice grains to satisfy the customers and to maintain the reputation of a country. Quality check and classification using the manual are very tedious and time consuming. It is also very susceptible to errors. In this research paper, the automatic framework is a convolutional neural network (CNN) framework to classify rice varieties, i.e. basmati, jasmine, ipsala, arborio, and karacadag. The CNN model was trained and validated, with an impressive accuracy rate and an ideal area under each class Receiver Operating Characteristic (ROC) curve. The confusion matrix analysis indicated that the model was effective in differentiating the various rice varieties with few misclassifications. Also, the use of explainability methods including LIME (Local Interpretable Model-agnostic Explanations) and SHAP (SHapley Additive exPlanations) helped to understand the decision-making process of a model and provided some new insights about how particular features of rice grains impacted the results of classification. The interpretability fosters trust in the model predictions and increases its applicability in the real-world context. The results demonstrate the enormous potential of deep learning methods in agriculture, which opens the path to the development of automated classification systems.

Authors

Institutions

Publication Details

Published
2025-12-15
DOI
https://doi.org/10.1109/fit67061.2025.11333634
Citations
3
Primary Topic
Machine Learning and Data Classification
Type
article
Field-Weighted Citation Impact
7.44
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Exploring Convolutional Neural Networks for Rice Grain Classification: An Explainable AI Approach

Syed Tahir Hussain Rizvi, Rana Fayyaz Ahmad, Muhammad Asif, Rabia Tehseen et al.
3 citations
Machine Learning and Data Classification
7.44
article

Exploring Convolutional Neural Networks for Rice Grain Classification: An Explainable AI Approach

Syed Tahir Hussain Rizvi, Rana Fayyaz Ahmad, Muhammad Asif, Rabia Tehseen, Hamza Khan, Mujtaba Asad, Shazia Saqib
article en
3 citations

Abstract

Rice is a global staple food that plays a key role in terms of fostering global trade, economic developments and food. China, India, Pakistan, Thailand, Vietnam and Indonesia are some of the Asian countries that have been engaged in the production of various varieties of rice including short and long grains. These varieties are even further categorized into basmati, jasmine, kainat saila, ipsala, arborio, and so on, which suits all the different culinary styles as well as cultural backgrounds. In case of local and international trade, there is need to check and maintain the quality of rice grains to satisfy the customers and to maintain the reputation of a country. Quality check and classification using the manual are very tedious and time consuming. It is also very susceptible to errors. In this research paper, the automatic framework is a convolutional neural network (CNN) framework to classify rice varieties, i.e. basmati, jasmine, ipsala, arborio, and karacadag. The CNN model was trained and validated, with an impressive accuracy rate and an ideal area under each class Receiver Operating Characteristic (ROC) curve. The confusion matrix analysis indicated that the model was effective in differentiating the various rice varieties with few misclassifications. Also, the use of explainability methods including LIME (Local Interpretable Model-agnostic Explanations) and SHAP (SHapley Additive exPlanations) helped to understand the decision-making process of a model and provided some new insights about how particular features of rice grains impacted the results of classification. The interpretability fosters trust in the model predictions and increases its applicability in the real-world context. The results demonstrate the enormous potential of deep learning methods in agriculture, which opens the path to the development of automated classification systems.

Shanghai Jiao Tong University (CN), University of Central Punjab (PK), Institute of Art (PL), Robotic Drilling Systems (Norway) (NO), Abdus Salam Centre for Physics (PK)
Openalex Percentile: Top 3%
Machine Learning and Data Classification
7.44
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.