Comparison of Mobilenetv3 Large and Small Architectures for Coffee Bean Roasting Level Classification Based on Web

Authors

  • Rahmat Maliki Universitas Islam Lamongan

DOI:

https://doi.org/10.59934/jaiea.v6i1.3115

Keywords:

coffee roasting, MobileNetV3, image classification, deep learning, computational efficiency

Abstract

Conventional assessment of coffee roasting levels depends on the visual and olfactory judgment of a roaster, which makes it subjective and inconsistent. This study compares two convolutional neural network architectures, MobileNetV3-Large and MobileNetV3-Small, for classifying four roasting levels: green bean, light roast, medium roast, and dark roast. Both models were trained with transfer learning on 1,600 images (960 training, 240 validation, and 400 testing) and evaluated at batch sizes of 16, 32, and 64. MobileNetV3-Large with a batch size of 16 achieved the best accuracy of 99.50% with a loss of 0.0409, while MobileNetV3-Small reached 98.00% with a loss of 0.0764. However, MobileNetV3-Small was far more compact, with 2,122,430 parameters and a size of 8.10 MB, compared with 6,197,326 parameters and 23.64 MB for MobileNetV3-Large. MobileNetV3-Small was also more sensitive to batch size, dropping to 70.25% accuracy at a batch size of 64, whereas MobileNetV3-Large stayed above 94%. The best model was deployed in a web-based system with a Flask API backend, using CLAHE and test-time augmentation at inference to support prediction stability. The findings show a clear trade-off between accuracy and computational efficiency.

Downloads

Download data is not yet available.

References

Y. A. Auliya, I. Fadah, Y. Baihaqi, and I. N. Awwaliyah, “Green Bean Classification: Fully Convolutional Neural Network with Adam Optimization,” Math. Model. Eng. Probl., vol. 11, no. 6, pp. 1641–1648, Jun. 2024, doi: 10.18280/mmep.110626.

G. H. H. de Oliveira and A. P. L. R. de Oliveira, “Coffee Roasting, Blending, and Grinding: Nutritional, Sensorial and Sustainable Aspects,” Agriculture, vol. 13, no. 11, Nov. 2023, doi: 10.3390/agriculture13112116.

B. W. Ligar, “Computer Vision for Identifying and Classifying Green Coffee Beans: A Review,” Jurnal CoreIT, vol. 8, no. 1, p. 11, Jun. 2022, doi: 10.24014/coreit.v8i1.17450.

S. Ontoum, T. Khemanantakul, P. Sroison, T. Triyason, and B. Watanapa, “Coffee Roast Intelligence,” arXiv (cs.CV), arXiv:2206.01841, Jun. 2022. [Online]. Available: http://arxiv.org/abs/2206.01841

S. Arwatchananukul, D. Xu, P. Charoenkwan, S. Aung Moon, and R. Saengrayap, “Implementing a deep learning model for defect classification in Thai Arabica green coffee beans,” Smart Agric. Technol., vol. 9, Dec. 2024, doi: 10.1016/j.atech.2024.100680.

M. D. N. Apriliyani, D. A. Savitri, H. M. Suud, and D. Wulanjari, “Quality Analysis of Natural Processed Coffee Using Different Roasting Levels,” Int. J. Food, Agric. Nat. Resour., vol. 5, no. 4, pp. 74–78, Dec. 2024, doi: 10.46676/ij-fanres.v5i4.399.

M. S. Syahrun and M. Akbar, “Klasifikasi Citra Biji Kopi Temanggung Menggunakan Gray Level Co-Occurrence Matrix - Convolutional Neural Network,” J. Inform. dan Tek. Elektro Terap., vol. 13, no. 3, Jul. 2025, doi: 10.23960/jitet.v13i3.7274.

A. P. Rifai et al., “Classification of single origin Indonesian coffee beans using convolutional neural network,” IAES Int. J. Artif. Intell., vol. 14, no. 6, pp. 5140–5156, Dec. 2025, doi: 10.11591/ijai.v14.i6.pp5140-5156.

I. V. C. Motta, N. Vuillerme, H. H. Pham, and F. A. P. de Figueiredo, “Machine learning techniques for coffee classification: a comprehensive review of scientific research,” Artif. Intell. Rev., vol. 58, no. 1, Jan. 2025, doi: 10.1007/s10462-024-11004-w.

Y. Aufar, M. H. Abdillah, and J. Romadoni, “Web-based CNN Application for Arabica Coffee Leaf Disease Prediction in Smart Agriculture,” Jurnal RESTI, vol. 7, no. 1, pp. 72–79, Feb. 2023, doi: 10.29207/resti.v7i1.4622.

A. R. Dianto, F. T. Anggraeny, and H. Maulana, “Analisis Efektifitas Algoritma MobileNetV3-Large dan EfficientNet-B0 untuk Klasifikasi Citra Penyakit Daun Jeruk,” J. Inform. dan Tek. Elektro Terap., vol. 13, no. 3, Jul. 2025, doi: 10.23960/jitet.v13i3.6956.

A. Howard et al., “Searching for MobileNetV3,” arXiv:1905.02244, Nov. 2019. [Online]. Available: http://arxiv.org/abs/1905.02244

S. Bouraya and A. Belangour, “Evaluating the Real-World Application Efficacy of MobileNet Models,” Int. J. Eng. Trends Technol., vol. 72, no. 9, Sep. 2024, doi: 10.14445/22315381/IJETT-V72I9P116.

S. Aksoy, “Multi-Input Melanoma Classification Using Mobilenet-V3-Large Architecture,” J. Autom. Mob. Robot. Intell. Syst., vol. 19, no. 1, pp. 73–84, Mar. 2025, doi: 10.14313/jamris-2025-008.

S. Qian, Y. Hu, and C. Ning, “MobileNetV3 for Image Classification,” in Proc. 2021 IEEE 2nd Int. Conf. Big Data, Artif. Intell. Internet Things Eng. (ICBAIE), 2021, doi: 10.1109/ICBAIE52039.2021.9389905.

M. R. A. Hidayat, D. Hindarto, and A. Sani, “Comparative Performance Evaluation of MobileNetV3 and ResNet50 for Forest Fire Image Classification,” Sinkron, vol. 9, no. 4, pp. 3324–3335, Nov. 2025, doi: 10.33395/sinkron.v9i4.15415.

N. Pratama, A. S. Sunge, and E. Budiarto, “Penerapan Model MobileNetV2 Untuk Prediksi Tingkat Roasting Biji Kopi Berbasis Gambar Pada Bot Telegram,” RIGGS: J. Artif. Intell. Digit. Bus., vol. 4, no. 2, pp. 4571–4576, Jul. 2025, doi: 10.31004/riggs.v4i2.1272.

R. E. G. Rivas, P. L. L. Bertarini, and H. Fernandes, “Automated Coffee Roast Level Classification Using Machine Learning and Deep Learning Models,” J. Food Sci., vol. 90, no. 9, Sep. 2025, doi: 10.1111/1750-3841.70532.

W. Maximilliano and N. Rachmat, “Comparative Analysis of MobileNetV3-Large and Small for Corn Leaf Disease Classification,” Brilliance: Res. Artif. Intell., vol. 5, no. 1, pp. 325–332, Jul. 2025, doi: 10.47709/brilliance.v5i1.6259.

Downloads

Published

2026-10-30

How to Cite

Rahmat Maliki. (2026). Comparison of Mobilenetv3 Large and Small Architectures for Coffee Bean Roasting Level Classification Based on Web. Journal of Artificial Intelligence and Engineering Applications (JAIEA), 6(1), 1911–1916. https://doi.org/10.59934/jaiea.v6i1.3115