In agricultural technology, precise fruit classification is essential yet challenging due to inherent interclass similarities and intra-class variabilities among fruit species. Despite their impressive performance, traditional deep learning models suffer from a lack of interpretability, which hampers their transparency and trustworthiness in practical applications. To address these issues, we present XAI-FruitNet, a novel hybrid deep learning architecture designed to enhance feature discrimination by integrating average and max pooling techniques. XAI-FruitNet, an optimized architecture for efficiency evaluated across the Fruits-360, Fruit Recognition, Fruit and Vegetables Image Recognition, and Dry Fruit datasets, consistently achieves over 97 % accuracy, surpassing existing state-of-the-art models and underscoring its remarkable generalization capability. A significant advancement of XAI-FruitNet is its built-in interpretability, which enhances the model's transparency and fosters trust among endusers. Through rigorous experimentation, we demonstrate that XAI-FruitNet advances state-of-the-art fruit classification accuracy and sets a new standard for explainable artificial intelligence (XAI) in agricultural applications. This hybrid approach ensures that stakeholders can rely on the classification outcomes' high performance and comprehensible nature, thereby offering a robust and trustworthy solution for modern agricultural needs.
Read full abstract