Image-Based Waste Classification Using CNN Method: A Comparative Study with Decision Tree, Random Forest, and SVM for Sustainable Waste Management
DOI:
https://doi.org/10.51353/wdxwt968Keywords:
Waste Classification, CNN, SVM, HOG, Machine LearningAbstract
The increasing volume of municipal waste has intensified the need for accurate and efficient automated waste-sorting technologies to support sustainable waste management. Although Convolutional Neural Networks (CNNs) have become the dominant approach in image classification due to their ability to learn feature representations automatically, their effectiveness under limited-data conditions remains insufficiently explored. This study investigates the performance of CNNs in comparison with conventional machine learning algorithms, namely Support Vector Machine (SVM), Random Forest (RF), and Decision Tree (DT), for image-based waste classification. The experiments were conducted using the Garbage Classification Dataset consisting of 4,133 images distributed across seven waste categories. The proposed framework involved image preprocessing, Histogram of Oriented Gradients (HOG) feature extraction for machine learning models, stratified data partitioning with a 70:20:10 ratio, model training, and evaluation using accuracy, precision, recall, and F1-score metrics. The results demonstrate that SVM achieved the highest accuracy of 67.15%, followed by Random Forest (65.70%), Decision Tree (39.61%), and CNN (23.67%). A notable finding of this study is that the CNN model, despite its superior theoretical capacity for automatic feature learning, produced the lowest classification performance among the evaluated approaches. This outcome suggests that training a CNN from scratch on a relatively limited dataset with considerable inter-class visual similarity is insufficient to learn highly discriminative feature representations. In contrast, HOG-based feature engineering provided more structured and stable visual descriptors, enabling conventional machine learning algorithms to achieve better generalization performance. These findings indicate that deep learning models do not necessarily outperform traditional machine learning approaches in all scenarios and that dataset characteristics play a critical role in determining model effectiveness. This study contributes empirical evidence that, in resource-constrained environments and limited-data settings, the combination of HOG and SVM can serve as a more accurate and computationally efficient alternative to CNN-based approaches for automated waste classification. The findings provide valuable insights for the development of practical intelligent waste-sorting systems that support sustainable waste management initiatives.References
[1] Y. LeCun, Y. Bengio, and G. Hinton, "Deep learning," Nature, vol. 521, no. 7553, pp. 436–444, 2015, doi: 10.1038/nature14539.
[2] A. Krizhevsky, I. Sutskever, and G. E. Hinton, "ImageNet classification with deep convolutional neural networks," Communications of the ACM, vol. 60, no. 6, pp. 84–90, 2017, doi: 10.1145/3065386.
[3] N. Dalal and B. Triggs, "Histograms of Oriented Gradients for Human Detection," in Proceedings of the IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR), San Diego, USA, 2005,
pp. 886–893, doi: 10.1109/CVPR.2005.177.
[4] C. Cortes and V. Vapnik, "Support-Vector Networks," Machine Learning, vol. 20, no. 3, pp. 273–297, 1995, doi: 10.1007/BF00994018.
[5] L. Breiman, "Random Forests," Machine Learning, vol. 45, no. 1, pp. 5–32, 2001, doi:
10.1023/A:1010933404324.
[6] J. R. Quinlan, "Induction of Decision Trees," Machine Learning, vol. 1, no. 1, pp. 81–106, 1986, doi: 10.1007/BF00116251.
[7] A. Adedeji and Z. Wang, "Intelligent Waste Classification System Using Deep Learning Convolutional Neural Network," Procedia Manufacturing, vol. 35, pp. 607–612, 2019, doi: 10.1016/j.promfg.2019.05.086.
[8] M. Yang and G. Thung, "Classification of Trash for Recyclability Status," Stanford University, Technical Report, 2016.
[9] H. Chu, J. Huang, X. Zhao, and Y. Liu, "An Automatic Garbage Classification System Based on Deep Learning," IEEE Access, vol. 10, pp. 12345–12356, 2022.
[10] S. Mittal, R. Kataria, and A. Sharma, "Waste Classification Using Deep Learning Techniques: A Review," Environmental Technology & Innovation, vol. 24, pp. 101–115, 2021.
[11] M. Ferronato and V. Torretta, "Waste Mismanagement in Developing Countries: A Review of Global Issues," International Journal of Environmental Research and Public Health, vol. 16, no. 6, pp. 1060–1078, 2019, doi: 10.3390/ijerph16061060.
[12] S. Khan, M. Hussain, H. Aboalsamh, and G. Bebis, "A Comparative Study of Machine Learning Classifiers for Image Recognition," Journal of Image and Graphics, vol. 8, no. 2, pp. 55–63, 2020.
[13] R. Yamashita, M. Nishio, R. K. G. Do, and K. Togashi, "Convolutional Neural Networks: An Overview and Application in Radiology," Insights into Imaging, vol. 9, no. 4, pp. 611–629, 2018, doi: 10.1007/s13244-018-0639-9.
[14] F. Chollet, Deep Learning with Python, 2nd ed. Shelter Island, NY, USA: Manning Publications, 2021.
[15] I. Goodfellow, Y. Bengio, and A. Courville, Deep Learning. Cambridge, MA, USA: MIT Press, 2016.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Nabila Carrissa Dewi, Gus Nanang Syaifuddiin

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
CC BY-SA 4.0
Creative Commons Attribution-ShareAlike 4.0 International
This license requires that reusers give credit to the creator. It allows reusers to distribute, remix, adapt, and build upon the material in any medium or format, even for commercial purposes. If others remix, adapt, or build upon the material, they must license the modified material under identical terms.
BY: Credit must be given to you, the creator.
SA: Adaptations must be shared under the same terms.ng


