Next Article in Journal
Uses of Bamboo for Sustainable Construction—A Structural and Durability Perspective—A Review
Previous Article in Journal
A Comprehensive Review of Recent Maximum Power Point Tracking Techniques for Photovoltaic Systems under Partial Shading
Previous Article in Special Issue
Potential Hormetic Effects of Cimetidine on Aerobic Composting of Human Feces from Rural China
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Deep Learning Approach to Recyclable Products Classification: Towards Sustainable Waste Management

by
Mohammed Imran Basheer Ahmed
1,
Raghad B. Alotaibi
1,
Rahaf A. Al-Qahtani
1,
Rahaf S. Al-Qahtani
1,
Sara S. Al-Hetela
1,
Khawla A. Al-Matar
1,
Noura K. Al-Saqer
1,
Atta Rahman
2,*,
Linah Saraireh
3,
Mustafa Youldash
1 and
Gomathi Krishnasamy
4
1
Department of Computer Engineering, College of Computer Science and Information Technology, Imam Abdulrahman Bin Faisal University, P.O. Box 1982, Dammam 31441, Saudi Arabia
2
Department of Computer Science, College of Computer Science and Information Technology, Imam Abdulrahman Bin Faisal University, P.O. Box 1982, Dammam 31441, Saudi Arabia
3
Department of Management Information System, College of Business Administration, Imam Abdulrahman Bin Faisal University, P.O. Box 1982, Dammam 31441, Saudi Arabia
4
Department of Computer Information Systems, College of Computer Science and Information Technology, Imam Abdulrahman Bin Faisal University, P.O. Box 1982, Dammam 31441, Saudi Arabia
*
Author to whom correspondence should be addressed.
Sustainability 2023, 15(14), 11138; https://doi.org/10.3390/su151411138
Submission received: 11 June 2023 / Revised: 10 July 2023 / Accepted: 13 July 2023 / Published: 17 July 2023
(This article belongs to the Special Issue Organic Waste Treatment, Recycling, and Reuse)

Abstract

:
Effective waste management and recycling are essential for sustainable development and environmental conservation. It is a global issue around the globe and emerging in Saudi Arabia. The traditional approach to waste sorting relies on manual labor, which is both time-consuming, inefficient, and prone to errors. Nonetheless, the rapid advancement of computer vision techniques has paved the way for automating garbage classification, resulting in enhanced efficiency, feasibility, and management. In this regard, in this study, a comprehensive investigation of garbage classification using a state-of-the-art computer vision algorithm, such as Convolutional Neural Network (CNN), as well as pre-trained models such as DenseNet169, MobileNetV2, and ResNet50V2 has been presented. As an outcome of the study, the CNN model achieved an accuracy of 88.52%, while the pre-trained models DenseNet169, MobileNetV2, and ResNet50V2, achieved 94.40%, 97.60%, and 98.95% accuracies, respectively. That is considerable in contrast to the state-of-the-art studies in the literature. The proposed study is a potential contribution to automating garbage classification and to facilitating an effective waste management system as well as to a more sustainable and greener future. Consequently, it may alleviate the burden on manual labor, reduce human error, and encourage more effective recycling practices, ultimately promoting a greener and more sustainable future.

1. Introduction

Every day, humans generate vast amounts of waste that impact the environment and pose significant challenges for waste management systems worldwide. The world generates 2.01 billion tons of municipal solid waste annually, with at least 33% of the extremely conservative is not managed in an environmentally safe manner [1]. Moreover, the amount of waste produced annually around the world is predicted to rise dramatically from the current 2.01 billion tons to 3.40 billion tons by 2050 [2]. According to the Saudi Press Agency, the Riyadh Municipality removed more than 2 million tons of solid garbage from the capital’s various districts during the first half of 2022 [3]. The improper management of waste can have severe consequences for the planet, such as air and water pollution, soil degradation, climate change, and biodiversity loss, which threaten the health and well-being of both humans and wildlife. Recycling is a critical process that contributes to reducing the amount of waste that ends up in landfills, oceans, or other ecosystems [4]. Among the work needed for recycling, garbage sorting is the most fundamental step to enable cost-efficient recycling. However, sorting waste materials manually can be time-consuming, laborious, costly, and error prone. Moreover, the management of solid waste in major urban contexts has become a challenging issue due to the rising volume of waste produced daily by both companies and individuals. Resulting in several issues such as public health, environmental pollution and many others. Fortunately, advances in deep learning and computer vision techniques offer a promising solution to automate waste classification and enable more efficient recycling processes.
In the most celebratory work by Filimonau [5,6,7,8,9], he emphasized food waste management in various sectors around the world. In [5], Filimonau and Gherbin presented exploratory research on food waste management practices in grocery stores in the United Kingdom (UK). As an outcome of the study, it was highlighted that though good policies for food waste management exist in the governance, food donations still need more attention in terms of improvement in consumer awareness, regulations, and effective policies. Based on the study, recommendations were made for retail stores. Similarly, in [6], the authors critically reviewed food waste management in the hospitality industry and highlighted the potential areas of improvement. Moreover, the feasibility analysis was made in terms of core in-house skills; training needs; preliminary financing costs; potential fiscal savings. In [7], the authors presented an important study on food waste management in Shanghai full-service restaurants. In this regard, comprehensive interviews were conducted with senior management to figure out the potential gaps in food waste management in the kitchens. As a result, the study concluded the ways to mitigate food waste by means of social campaigns, involving celebrities for public awareness programs and free-to-attend trainings for the senior management. In [8], the authors extended their work to address the similar as well as diverse nature of issues in ethnic food restaurants with special emphasis on the Chinese and UK markets.
An important and most significant study was conducted in [9] to reveal the aspects of waste management in the hospitality sector in the post-COVID-19 era. It is apparent that amid the COVID-19 pandemic [10], waste management was among the most significant areas of research especially plastic waste management when it comes to strictly restricting the fatal epidemic around the globe. The following were important highlights of the study in [9]:
  • COVID-19 has increased food and plastic waste in hospitality operations.
  • Alternative food networks (AFNs) can assist in food waste avoidance.
  • Short food supply chains (SFSCs) can assist in effective food waste management.
  • Corporate coopetition is essential to execute AFNs and SFSCs.
  • Administrative revolution and official support can assist in plastic waste mitigation.
Based on the provided introduction to waste management, it is apparent that it is among the most important areas of research for a better, sustainable, and greener planet. Its benefits are manifold, for instance, food donations, public health and safety, recycling products and cleanliness. Moreover, in Saudi Arabia food waste management needs serious attention at the individual as well as government levels. The undergoing study is a contribution in this regard and motivation for a sustainable and green kingdom. It is also aligned to the kingdom’s Vision2030 for a greener and more sustainable future.
In [11], the authors used deep learning to conduct a comparative study between custom-build models and pre-trained models to classify garbage images acquired from the Kaggle dataset “Garbage classification”. The models should learn different characteristics of different garbage types then they should be used to classify new pieces of garbage into plastic, paper, cardboard, glass, metal, or trash. The proposed approach aims to design and implement deep learning models that can accurately recognize and categorize waste items. We believe that this study can contribute to promoting sustainability and fostering innovation in the field of waste management. In this regard, the following steps have been taken towards contributing to the study.
1-
A comprehensive review of related recent studies to analyze the research gap.
2-
Investigation of Deep learning models to a recent public dataset of considerable size.
3-
Evaluation of the proposed model using well known metrics and contrasting to state-of-the-art studies in literature.
The remaining part of this work is arranged as follows. Section 2 contains a review of related literature. Section 3 contains the proposed models. Section 4 contains methodology that includes dataset description, experiment setup, performance measures, and optimization strategy while Section 5 contains the results and discussion. Finally, Section 6 covers the conclusion.

2. Literature Review

Over the past several years, deep learning (DL) has become increasingly popular in image classification. For this purpose, multiple studies implemented various DL techniques to create classifier models using image data. Below are some literature reviews that identify potential areas for improvement in this research.
In the study conducted by Rahman et al. [12], they introduce a DL-based automatic waste management system. The system utilizes the CNN algorithm as its basis. It is enhanced through the implementation of three key improvements: combining multiple input images with different features, repurposing remaining module features, and designing a novel activation function. The effectiveness of this new classification algorithm was then validated through experimentation using a public garbage dataset from GITHUB. The results of the study show that the proposed system exhibits a classification accuracy of 95.3125%.
Moreover, an image classification model is presented in the study by Niu et al. [13], which efficiently distinguishes recyclable materials. The “Dual-branch Multi-output CNN” is introduced, which is a custom CNN comprised of two branches designed to classify recyclables and identify the type of plastic. The proposed architecture includes two classifiers trained on distinct datasets to encode different attributes of the recyclable materials. The Trash net dataset was used in combination with data augmentation techniques, and the WaDaBa dataset was leveraged using physical variation techniques. The joint utilization of the datasets enabled the learning of separate label combinations. The effectiveness of the model is confirmed through experiments, which shows an accuracy of 90.02% in waste material classification.
Furthermore, in the study by Majchrowska et al. [14], the authors suggest a waste detection method that employs deep learning in a constructive manner. Initially, standardized datasets were formulated for waste detection and classification, integrating open-source information for all probable categories of waste, including metals, plastics, paper, unknown waste, non-recyclables, vital waste, and glass. Following this, a two-stage garbage localizing and classification detector was introduced. The garbage locator was created using Efficientdet-D2, while the waste classifier applied Efficientnet-B2 to sort the detected waste into seven classifications. Semi-supervised training was used to prepare the classifier by exploiting unclassified images. The approach proposed delivered up to 70% of the mean accuracy in waste detection and approximately 75% of accuracy in classification for the test dataset. Similarly, the authors conducted a study to propose a multi-layer system for classifying waste. The proposed method is a deep learning model that combines layers of the CNN model with a multi-layer perceptron (MLP). The study trained the model with a dataset of 5000 images, with 100 images for each waste class. The results showed that the MHS model outperformed the CNN model, achieving 92% and 91% accuracy in two testing scenarios. These findings suggest that the proposed model has the potential for improving waste classification accuracy [15].
The study aimed to develop an automated system for sorting trash and proposed a deep neural network called Deep Neural Network for Trash Classification (DNN-TC). DNN-TC uses the ResNext model with several improvements, including adding two fully connected layers after the global average pooling layer. The model was trained on the VN-trash dataset, which includes 5904 images from Vietnam. Testing the model on two different datasets, VN-trash, and TrashNet, showed that it achieved accuracies of 94% and 98%, respectively. In comparison to state-of-the-art methods, the DNN-TC model outperformed them by a significant margin. These findings demonstrate the potential for the DNN-TC model to improve the accuracy and efficiency of automated trash sorting systems [16]. The aim of this study was to develop a deep neural network image classifier that can identify and classify different types of waste material. The authors utilized multiple CNNs, such as VGG 16 and ResNet, to extract features from the images and feed them into the classifier to make predictions. Among the models tested, Densenet169 outperformed the others with 94.9% accuracy, as measured on a specific dataset after image scraping. These findings demonstrate the potential of Densenet169 for improving waste classification and management systems [17].
The authors of [18] aimed to create a system that can accurately identify metal objects and classify them with high accuracy. Rather than creating a new model, the authors focused on understanding the already-existing models to find the most suitable one. The system proposed in this study consists of four modules: the first is a smart camera to capture the object, the second extracts the region of interest, the third is where preprocessing takes place, and finally, the preprocessed data is fed to a deep learning model. The authors conducted experiments with multiple deep learning models, such as GoogleNet, VGGNet, and AlexNet, and found that AlexNet was the most suitable, with the highest recognition rate in both experiments. Another study aimed to develop a system that automatically classifies waste based on its material without human intervention. The dataset used in the study is the classification of trash for recyclability status. Since the dataset was not large enough, the authors used image augmentation techniques to generate more data. The study employed a CNN model with an input layer that takes an image of size 150 × 150 × 3 and 9 hidden layers, including the output layer. The study found that using hyperparameters such as dropout with a value of 0.5 and the Rectified Linear Unit (ReLU) activation function for the CNN resulted in the highest accuracy of around 85% to 90% on the training data and 80-86% on the validation data. This automated waste classification system has the potential to reduce the environmental impact of improper waste disposal, increase recycling rates, and promote a more sustainable future [19].
Ruiz et al. [20] presented a study that aims to use the TrashNet dataset to improve a deep-learning model for classifying isolated garbage. Mindy Yang and Gary Thung created the dataset at Stanford University, which contains 2527 RGB images of six waste classes. Researchers used several attractive CNN models for the automatic classification of waste. Also, the researchers used many methodologies, and the experiments were about OscarNet based on VGG-19 pre-trained with an accuracy of 88.48% and GarbeNet based on CNN with an accuracy of 87.69%. In conclusion, the best result on the Trash Net dataset was achieved using the Inception-ResNet model with 88.66% of average accuracy. In the future, the researchers want to generate realistic synthetic images with more types of waste for their training model and then test them with actual photos that combine several types of garbage. In a study by Alsubaei et al. [21], the researchers were interested in developing a novel deep learning model to detect and classify the small object for garbage waste management (DLSODC-GWM) technique. In their research, they used data from benchmark datasets to predict the performance validation of the method. Therefore, the goal of using and designing this technique was to detect objects utilizing an arithmetic optimization algorithm (AOA) to select the optimal hyperparameter values to improve the RefineDet (IRD) model detection efficiency. In addition, the researchers applied a model for classifying waste objects into multiple categories called the Functional Link Neural Network (FLNN) model. Thus, after comparing other technologies such as MLH-CNN, AlexNet, RestNet50, and VGG16, the DL model with (DLSODC-GWM) technique reached a high score of 95.23% in precision, 94.29% in the recall, and 94.73% in F-score.
The study by Meng and Chu [22] focused on improving the learning model that can detect the garbage entity from an image and classify it into one of the categories by employing deep learning methods. For garbage classification, the used dataset collected from Kaggle consists of 2527 images. The dataset was divided randomly and the experiment was conducted using the Support Vector Machines (SVM), convolutional neural network (CNN), and the histogram of oriented gradients (HOG), the models runs with and without the data augmentation then models were trained with different hyperparameters which are ReLU, and SoftMax activation functions, with the optimizers Adam and Adadelta, besides 40 epochs, 32 and 16 batch size, the dropout rate of 0.5, and the cross-entropy loss function. The results concluded that the best-performing algorithm was a simple CNN model with 82% training accuracy and 81% test accuracy. In another study by Fu et al. [23], the authors proposed a deep learning-based system to classify wastes. As for the dataset used in this model, it is from the Huawei challenge cup for classifying the garbage [24] including 40 categories and a total of 24,000 images. The design of the system includes two components: the hardware contains six devices and the classification models including ResNEt34, VGG126, InceptionV3, DenseNet121, MobileNetV3, and GNet the experiments were conducted using several learning rates and epochs. The study found that the best results were achieved using the Gnet algorithm and the accuracy was 92.62% for testing. Furthermore, In a paper authored by Ozkaya and Seyfi [25]. The authors provided deep learning-based techniques for developing garbage classification model. The dataset that was collected from TrashNet includes 2527 images and six categories. The predictive model was built using several CNN structures for fine-tuning which are: AlexNet, VGG-16, GoogleNet, ResNet, and SquezeeNe, likewise two classifiers were used to assess the execution Softmax and SVM. The highest accuracy is 97.86% and was obtained by GoogleNet and SVM.
Chen and Xiong [26] aimed to build a garbage classification model by YOLOVE. The model was built based on aVOC dataset consisting of 22,000 images, and three classes each with five kinds of garbage. The dataset was split into 70:30 proportions for training and testing after that trained using YOLOV3, YOLOV4, and improved YOLOV4 algorithms with 1200 iterations and 16 batch size, along with Ciou-Loss’s regression loss, and Diou-nums’s classification loss. The results showed that the YOLOV4 achieved the highest FBS with 92 f/s and mAP with 64%. Moreover, Zeng et al. [27] focused on developing a model for classifying the garbage by utilizing CNN’s structure using a collected public dataset from Stanford University consisting of 10,624 images with four main classes and 10 sub-categories. The Keras package with TensFlow was used to train the algorithms: DenseNet121, DenseNet169, ResNet50, ResNet101, ResNeXt50, ResNeXt101, Efficientnet-B3, and Efficientnet-B4, respectively. Besides the dataset split with a 5:1 ratio to training and testing sets, further, the study used various data augmentation methods, with random flip, random rotation, random translation, center clipping, and random erasure with Adam 0.0001 leaning rate and label smoothing together with PublicGarbageNet that was the best-performing model with 96.35% accuracy.
In [28], authors attempted to improve the efficiency of classifying social garbage and built a CNN classifier. To average the brightness of the image’s background, which led to low accuracy due to interference in the light and shadow, they used an adaptive image-brightening algorithm. Moreover, the Canny operator has been utilized to help crop blank backgrounds. The result of the study shows that the classifier reached an accuracy of 96.77% on the self-built dataset and 93.72% on the TrashNet dataset. Similarly, the authors in [29] developed an automated garbage sorting tool to make it simpler for locals to categorize garbage as the problem becomes more prevalent. They divided garbage into six categories using the TrashNet dataset. They were able to accomplish their goals by using CNN classifier and exploring numerous well-known architectures in the beginning phases. They arrived in a modified version of AlexNet by removing two layers, and they experimented with other model architecture-based strategies, such as dropout, data augmentation, and learning rate decay. In the final layer of the model, they experimented with two classifiers: Softmax and SVM. The result of this study attained an accuracy of 79.94% on the test dataset. The authors in [30] developed a CNN classifier to address the real-world waste management system’s practical issue. Researchers could attain an accuracy of 79%, according to the study’s final findings. According to [31], India generates more than 2 billion tons of waste annually, while solid waste is separated by laborers in an inefficient manner that is both time-consuming and impractical. To distinguish the type of garbage and classify it into predetermined categories, authors created a real-time system. using a CNN classifier on four datasets: Garythung Yang, Waste classifier master, TrashNet, and Real images, they successfully reached a test accuracy of 89% on the TrashNet dataset.
The authors of [32] stated that automation of waste classification is one of the efficient approaches to fully utilize these resources because garbage is an underutilized resource. For the recognition of garbage images, certain deep-learning models were employed. Also, a Garbage Classification Network (GCNet) based on model fusion and transfer learning was suggested in this paper. The EffcientNetv2, Vision Transformer, and DenseNet, respectively, were combined to develop the Neural Network model of GCNet. The dataset was expanded through data augmentation, and the resultant dataset contained 41,650 garbage images. The suggested model has good convergence and a high accuracy compared to other models, in which it successfully attained an accuracy of 97.54%.
In another study presented in [33], the authors aimed to develop a model that can accurately identify and classify different types of garbage. They used the TrashNet dataset consisting of images of six types of garbage, with the YOLOv5 algorithm. YOLOv5 automatically learns features from input, so no feature selection was needed. The model’s performance was evaluated using five-fold cross-validation, resulting in 95.51% accuracy. One area that the study lacks is the size of its dataset and the type of garbage it represents. In [34], the authors proposed an intelligent waste classification system that uses convolutional neural networks to automate the process of waste sorting. The dataset they used, called the “Garbage Classification Dataset”, was collected by them from multiple sources, but may not have been representative of all garbage types. They used transfer learning on the pre-trained model VGG16 as the base, then added additional layers to fine-tune the network. Using the five-fold cross validation technique, they reported an accuracy of 86%.
The study in [35] aimed to improve waste classification accuracy by developing a system using a fusion of deep learning features. The authors made the dataset [36] using images of 4 different types of waste: plastic paper, metal, and glass. They used a fusion-based deep learning approach that combined the features learned from pre-trained models, including VGG16, ResNet50, InceptionV3, and MobileNetV2. They fine-tuned each model with transfer learning, then performed the final classification using an SVM classifier. For validation, 10-fold cross-validation was used. In the end, they achieved 87% accuracy. Likewise, a study in [37] presents a waste classification model based on a multilayer hybrid CNN (MLHCNN). The authors created the dataset from images of plastic, metal, paper, glass, and residual waste. The images were collected from garbage sorting stations and garbage transfer stations in China. The MLHCNN consists of a feature extraction module that uses two pre-trained CNNs to extract features from the images, a feature fusion module that combines the extracted features, and a classification module that classifies the waste images. The authors used 10-fold cross-validation to evaluate the performance of their MHCNN model. The model achieved an accuracy of 92.6%. The study in [38] proposes a trash classification approach using deep learning. The authors used a deep learning-based approach called ScrapNet, which uses a CNN architecture. They fine-tuned a pre-trained InceptionV3 model on their dataset, TrashNet. Also, data augmentation techniques were used to increase the dataset’s size and performance. With 10-fold cross-validation, the reported accuracy on the TrashNet dataset was 92.87%.
In a summary, the respective number of studies are reviewed, investigating various DL techniques and algorithms to develop waste classifying models and most of the studies exhibited promising results as shown in Table 1. It is also observed that most of the studies used pre-trained models, and CNN algorithms and achieved their best outcomes using them. While the poorest result was obtained through Efficientnet-B2 [14] with 75% accuracy. Conversely, the proposed study compared pre-trained models with CNN model. Nonetheless, the proposed model in the current study utilized garbage classification data from Kaggle, as studies in [22,34] used the same data with CNN model and achieved accuracy of 82% and 86%, respectively. Furthermore, several computational intelligent methods are investigated for health informatics and public safety with promising results [39,40,41,42]. Therefore, this study proposed a deep learning model for waste management. In contrast to the studies in the literature, the proposed study investigated a middle eastern dataset while addressing the kingdom’s waste management problem, which is first of its kind study in the kingdom.

3. Description of the Proposed Models

To achieve the aim of classifying recyclable products, the following algorithms were considered and contributed.

3.1. Convolutional Neural Networks (CNN)

CNNs are a type of artificial neural network utilized for image classification based on their visual features [47]. This type of algorithm consists of numerous layers that evaluate and process data from the images, producing a prediction for the image classification result. The first layer is the input layer receiving the image data, followed by the convolution layer that employs filters to extract important features in the image. The pooling layer then sub-samples the previous layer’s output to simplify the visual representation and enable the extraction of more conceptual features. The process may involve stacking additional convolution and pooling layers to boost the visual feature extraction complexity. The culminating result generates a probability distribution portraying different image classes using the SoftMax function normalized output. The CNN algorithm utilizes backpropagation to refine its parameters, minimizing the distinction between its predictions and the accurate class labels.

3.2. MobileNetV2

MobileNetV2 is a convolutional neural network architecture that is designed to be efficient and lightweight for mobile devices [48]. It is based on an inverted residual structure, which allows it to achieve high accuracy while using fewer parameters and computations than traditional CNNs. The architecture of MobileNetV2 consists of a series of inverted residual blocks. Each block consists of three layers: a pointwise convolution layer, a depth-wise convolution layer, and another pointwise convolution layer. The pointwise convolution layers are used to reduce the number of channels in the input, while the depth-wise convolution layers perform feature extraction. The final pointwise convolution layer increases the number of channels back to the original size. In addition to the inverted residual blocks, MobileNetV2 also incorporates several other techniques to improve its performance, such as linear bottlenecks, shortcut connections, and skip connections. These techniques help to reduce the number of parameters and computations required while still achieving high accuracy. MobileNetV2 has achieved state-of-the-art performance on several benchmark datasets, such as ImageNet. It is widely used in a variety of applications for mobile devices, such as image classification, object detection, and natural language processing. Overall, MobileNetV2 is a powerful and efficient convolutional neural network architecture that is well-suited for mobile devices. It has achieved state-of-the-art performance on several benchmark datasets and is widely used in a variety of applications.

3.3. ResNet50V2

ResNet50V2 is a deep convolutional neural network that was created in 2017 as an improvement over the original ResNet50 architecture [49]. It is based on the concept of residual learning, which allows deep networks to be trained without the vanishing gradients issue. ResNet50V2 introduces several enhancements over the original ResNet50, such as: Using bottleneck blocks with a new design to reduce the number of parameters, adding a new skip connection from the first convolutional layer to the output, and Using pre-activation for the residual units. These changes in ResNet50V2 allow for better accuracy, faster training, and faster convergence. Moreover, ResNet50V2 is trained on the ImageNet dataset, which contains over 1 million images and 1000 classes. It has achieved state-of-the-art results in several computer vision tasks, including object detection, image classification, and semantic segmentation. ResNet50V2 is widely used as a pre-trained network and is also used as a backbone architecture in many other deep-learning models. Finally, ResNet50V2 is a powerful and efficient deep convolutional neural network architecture that has been shown to be effective for a variety of tasks.

3.4. DenseNet169

DenseNet169 is a convolutional neural network architecture that was proposed by Huang et al. in 2017 [50]. It is a variant of the original DenseNet architecture, which is designed to address the problem of vanishing gradients in very deep neural networks. Vanishing gradients is a problem that occurs in deep neural networks when the gradients of the loss function with respect to the weights of the network become very small. This can make it difficult for the network to learn, as the updates to the weights become very small. DenseNet169 addresses the problem of vanishing gradients by connecting each layer to every other layer in a dense, or fully connected, manner. This means that the output of each layer is concatenated with the input to every subsequent layer, allowing the network to reuse features learned at earlier layers. This helps to prevent the gradients from becoming too small and allows the network to learn more effectively. DenseNet169 has 169 layers, with a total of over 14 million parameters. It was trained on the ImageNet dataset, which contains over one million labeled images across 1000 classes. The network achieved a top-5 error rate of 3.46% on the validation set, which is among the best results ever reported on this benchmark. DenseNet169 has been used in a variety of applications, including image recognition, object detection, and medical image analysis. Its compact size and high accuracy make it a popular choice for many computer vision tasks. Largely, DenseNet169 is a powerful and efficient CNN architecture that has been shown to be effective for a variety of tasks.

4. Methodology

4.1. Datasets Description

The dataset, created by Yousefi [11], is a collection of 5000 images of garbage and waste items, divided into five categories: paper, plastic, glass, metal, and others. The images are of various sizes, with the majority being around 300 × 300 pixels and have been labeled with the corresponding category. This dataset can be used to train a model to classify images of garbage and waste into the appropriate category and is suitable for use with deep learning models such as convolutional neural networks. It was created in 2021 and is available for free on Kaggle. Additionally, the dataset includes metadata such as the date and time the images were taken, as well as the geographical location of the garbage. The dataset corresponds to middle eastern regions, especially Saudi Arabia.

4.2. Experimental Setup

This study builds a model for classifying recyclable products using a deep learning approach through Python programming language on Jupiter Notebook and Google Colab. First, pre-processing was performed on the obtained dataset, where the size of all the images within the dataset was all reshaped to (224,224), and normalization was implemented to each pixel in the image so that every image is in the shape of 224 × 224 × 3 and each pixel value inside the image has a range of 0 to 255. Afterward, the dataset was split into 70% and 30% for training and testing. Subsequently, a variety of deep learning algorithms, such as Convolutional Neural Network (CNN), MobileNetV2, ResNet50V2, and DenseNet169, were employed to train the models built with the optimal parameters. Finally, various performance metrics were used to evaluate the models, including (accuracy, precision, recall, and F1-score). Figure 1 shows a summary of the steps used in classification models.

4.3. Performance Measure

Performance measurement and evaluation are crucial procedures aimed at assessing the effectiveness and efficiency of the model. There are several performance metrics that are mainly used in our classification model are accuracy, precision, recall, and F1-score, in addition to the loss rate. Accuracy works to define the ratio between the correctly classified results and the total number of all results. As for precision and recall, both will measure the correctly predicted positives, but precision aims to show the number of weights that were positively placed. In contrast, recall helps to understand how many positively placed weights the model was able to detect. F1 score can be seen as the harmonic mean of both precision and recall. The performance measures can be implemented using a confusion matrix, that consists of True Positive (TP), True Negative (TN), False Positive (FP), and False Negative (FN). Furthermore, the loss rate stands for the total errors or the variance between the predicted and the actual values. Using a variety of metrics will significantly help in defining the performance of the proposed study [51,52,53,54,55,56]. The Equations (1)–(4) of the previously mentioned measures are seen below.
Accuracy = (TP + TN)/(TP + TN + FP + FN),
Precision = TP/(TP + FP),
Recall = TP/(TP + FN),
F1-Score = (2 × Precision × Recall)/(Precision + Recall).

4.4. Optimization Strategy

The best performance for the model is experienced by conducting different techniques. Consequently, the hyperparameter tuning is executed to find the optimum values for all hyperparameters in order to reach the best results and to ensure that the model can operate at its best for any given situation. This study utilized Randomized Search CV with CNN, which is a technique used for hyperparameter tuning in deep learning, it is efficient in finding the optimal set of hyperparameters for a model [57,58,59]. Table 2 enlists the best values to improve performance. Adjusting the hyperparameters of a classification algorithm is vital for generating an effective and optimal model, making it ready to deal with any classification problem it may encounter.

5. Results and Discussion

To improve the results of the CNN model, we tested several hyperparameters. We experimented with adding 11 hidden layers, three of the Dense types, one of the Flattened types, two of the Dropout type, three of the Conv2D type, and MaxPooling2D. Through this CNN model, we achieved an accuracy of 87.22% with an error rate of 0.517. We tried to enhance the previous model by applying hyperparameter tuning and cross-validation using Randomized SearchCV to classify the best hyperparameters. Consequently, we obtained an accuracy of up to 88.5% and an error rate of 0.324, as shown in Table 3 below.
Moreover, we employed three pre-training DL models, DenseNet169, MobileNetV2, and ResNet50V2. Table 4 presents the results of the evaluation of each algorithm. The experiments showed that the ResNet50V2 algorithm reached the highest results in terms of Accuracy, Precision, Recall, and F1-score of 98.95%, 98.35%, 98.38, and 98.38%, respectively. On the other hand, the DenseNet169 provided the lowest results with Accuracy, Precision, Recall, and F1-score of 94% each, respectively. Figure 2 shows a comparison between the CNN model and the pre-trained models while Figure 3 shows the accuracy learning curves for each type of algorithm in training and testing, respectively. The pretrained models tapered off after 17 epochs while CNN took around 50 epochs.
An extensive study has been conducted on garbage identification and classification using various DL models on a state-of-the-art middle eastern dataset. The study outperformed various approaches in the literature in terms of different performance parameters such as precision, recall, F1-score, and accuracy.
The proposed scheme has been compared with state-of-the-art studies and a comparison is provided in Table 5. The schemes are chosen based on a common dataset, nature of study and techniques used. It is evident that the proposed schemes outperform both studies [22,34] for the same dataset. The proposed CNN outperforms in terms of accuracy at 4.52% and 2.52%, respectively. While the pretrained models are way better than the schemes in terms of accuracy.
Better waste identification and classification help in better management. Like after classification, different items can be easily separated and managed accordingly. The dataset is rich in terms of middle eastern as well as global waste images that show the major implications of the study. As far as the limitations of the study are concerned, it is focused on the dataset provided in [37]; however, for totally different, unseen, and irrelevant waste images, the scheme may not perform that well. The limitations can be overcome in the future by using other techniques such as fusion, transfer learning and ensemble learning [45,46]; moreover, metaheuristic and evolutionary computation approaches [60,61]. The outcome of the study can be used by the government, administration, and the policy makers in the kingdom to implement systems for waste classification and management, consequently. In this regard, the system may be implemented by the municipality to segregate the waste items automatically and transported them for better management.

6. Conclusions

In this study, deep learning approaches have been investigated to efficiently identify and classify the waste items on a publicly available image dataset from the middle east. The models for garbage classification were built using CNN algorithms, as well as pre-trained models included MobileNetV2, ResNet50V2, and DenseNet169. Then, we evaluated them using the matrices: Accuracy, Precision, Recall, and F1-score. To acquire optimum results, the hyperparameters were tuned. For the pre-trained models, ResNet50V2 model achieved the best accuracy of 98.95%. On the other hand, the proposed CNN model achieved an accuracy of 88.5%, higher than the previous studies on the same dataset. Indicating that these models can facilitate a more effective waste management system as well as contribute to a more sustainable and greener future. For further work, we suggest expanding the dataset using the application of data augmentation. Where several types of dataset sources are merged, the model can be robust against the diversity and nature of the dataset. Based on the outcome of the study, the government and administration in the kingdom can make use of the intelligent system for better waste classification and management. In addition, enhance the proposed model’s performance by investigating more algorithms and techniques such as fusion and ensemble leaning.

Author Contributions

Conceptualization, M.I.B.A., R.A.A.-Q., S.S.A.-H., N.K.A.-S. and M.Y.; Data curation, S.S.A.-H., N.K.A.-S. and G.K.; Formal analysis, R.S.A.-Q. and M.Y.; Funding acquisition, L.S. and G.K.; Investigation, S.S.A.-H. and A.R.; Methodology, M.I.B.A., R.B.A., R.S.A.-Q., K.A.A.-M., M.Y. and G.K.; Project administration, M.I.B.A. and A.R.; Resources, S.S.A.-H., N.K.A.-S. and G.K.; Software, R.B.A., R.A.A.-Q. and N.K.A.-S.; Supervision, M.I.B.A.; Validation, R.A.A.-Q., R.S.A.-Q. and A.R.; Visualization, R.S.A.-Q., K.A.A.-M. and L.S.; Writing—original draft, R.B.A., R.A.A.-Q. and K.A.A.-M.; Writing—review and editing, A.R. and L.S. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Data can be requested from the corresponding author.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. “What a Waste 2.0”, Trends in Solid Waste Management. Available online: https://datatopics.worldbank.org/what-a-waste/trends_in_solid_waste_management.html#:~:text=The%20world%20generates%202.01%20billion,from200.11%20to%204.54%20kilograms (accessed on 5 April 2023).
  2. Kaza, S.; Yao, L.; Bhada-Tata, P.; Woerden, V.F.; Ionkova, K. What a Waste 2.0: A Global Snapshot of Solid Waste Management to 2050; World Bank Group: Washington, DC, USA, 2018. [Google Scholar]
  3. Available online: https://www.my.gov.sa/wps/portal/snp/agencies/agencyDetails/AC022/!ut/p/z1/ (accessed on 5 March 2023).
  4. European Environment Agency. “Waste: A Problem or a Resource?” 5 November 2021. Available online: https://www.eea.europa.eu/publications/signals-2014/articles/ (accessed on 5 April 2023).
  5. Filimonau, V.; Gherbin, A. An exploratory study of food waste management practices in the UK grocery retail sector. J. Clean. Prod. 2017, 167, 1184–1194. [Google Scholar] [CrossRef] [Green Version]
  6. Filimonau, V.; De Coteau, D.A. Food waste management in hospitality operations: A critical review. Tour. Manag. 2018, 71, 234–245. [Google Scholar] [CrossRef]
  7. Filimonau, V.; Zhang, H.; Wang, L.-E. Food waste management in Shanghai full-service restaurants: A senior managers’ perspective. J. Clean. Prod. 2020, 258, 120975. [Google Scholar] [CrossRef]
  8. Filimonau, V.; Nghiem, V.N.; Wang, L.-E. Food waste management in ethnic food restaurants. Int. J. Hosp. Manag. 2020, 92, 102731. [Google Scholar] [CrossRef]
  9. Filimonau, V. The prospects of waste management in the hospitality sector post COVID-19. Resour. Conserv. Recycl. 2020, 168, 105272. [Google Scholar] [CrossRef]
  10. Naqvi, R.A.; Mushtaq, M.F.; Mian, N.A.; Khan, M.A.; Atta-ur-Rahman; Yousaf, M.A.; Umair, M.; Majeed, R. Coronavirus: A “Mild” Virus Turned Deadly Infection. Comput. Mater. Contin. 2021, 67, 2631–2646. [Google Scholar] [CrossRef]
  11. Garbage Classification. Available online: https://www.kaggle.com/datasets/asdasdasasdas/garbage-classification (accessed on 5 April 2023).
  12. Rahman, W.; Islam, R.; Hasan, A.; Bithi, N.I.; Hasan, M.; Rahman, M.M. Intelligent waste management system using deep learning with IoT. J. King Saud Univ.-Comput. Inf. Sci. 2022, 34, 2072–2087. [Google Scholar] [CrossRef]
  13. Niu, B.; Lan, J.; Shao, Y.; Zhang, H. A Dual-Branch Extraction and Classification Method Under Limited Samples of Hyperspectral Images Based on Deep Learning. Remote Sens. 2020, 12, 536. [Google Scholar] [CrossRef] [Green Version]
  14. Majchrowska, S.; Mikołajczyk, A.; Ferlin, M.; Klawikowska, Z.; Plantykow, M.A.; Kwasigroch, A.; Majek, K. Deep learning-based waste detection in natural and urban environments. Waste Manag. 2022, 138, 274–284. [Google Scholar] [CrossRef]
  15. Chu, Y.; Huang, C.; Xie, X.; Tan, B.; Kamal, S.; Xiong, X. Multilayer Hybrid Deep-Learning Method for Waste Classification and Recycling. Comput. Intell. Neurosci. 2018, 2018, 5060857. [Google Scholar] [CrossRef] [Green Version]
  16. Vo, A.H.; Son, L.H.; Vo, M.T.; Le, T. A Novel Framework for Trash Classification Using Deep Transfer Learning. IEEE Access 2019, 7, 178631–178639. [Google Scholar] [CrossRef]
  17. Sai Susanth, G.; Jenila Livingston, L.M.; Agnel Livingston, L.G.X. Garbage Waste Segregation Using Deep Learning Techniques. IOP Conf. Ser. Mater. Sci. Eng. 2021, 1012, 012040. [Google Scholar] [CrossRef]
  18. Dang, T.L.; Cao, T.; Hoshino, Y. Classification of metal objects using deep neural networks in waste processing line. Int. J. Innov. Comput. Inf. Control 2019, 15, 1901–1912. [Google Scholar] [CrossRef]
  19. Hulyalkar, S.; Deshpande, R.; Makode, K.; Kajale, S. Implementation of smartbin using Convolutional Neural Networks. Int. Res. J. Eng. Technol. 2018, 5, 3352–3358. [Google Scholar]
  20. Ruiz, V.; Sánchez, Á.; Vélez, J.F.; Raducanu, B. Automatic Image-Based Waste Classification. In From Bioinspired Systems and Biomedical Applications to Machine Learning; IWINAC 2019. Lecture Notes in Computer Science; Ferrández Vicente, J., Álvarez-Sánchez, J., de la Paz López, F., Toledo Moreo, J., Adeli, H., Eds.; Springer: Cham, Switzerland, 2019; Volume 11487. [Google Scholar] [CrossRef]
  21. Alsubaei, F.S.; Al-Wesabi, F.N.; Hilal, A.M. Deep Learning-Based Small Object Detection and Classification Model for Garbage Waste Management in Smart Cities and IoT Environment. Appl. Sci. 2022, 12, 2281. [Google Scholar] [CrossRef]
  22. Meng, S.; Chu, W.-T. A Study of Garbage Classification with Convolutional Neural Networks. In Proceedings of the 2020 Indo–Taiwan 2nd International Conference on Computing, Analytics and Networks (Indo-Taiwan ICAN), Rajpura, India, 7–15 February 2020; pp. 152–157. [Google Scholar] [CrossRef]
  23. Fu, B.; Li, S.; Wei, J.; Li, Q.; Wang, Q.; Tu, J. A Novel Intelligent Garbage Classification System Based on Deep Learning and an Embedded Linux System. IEEE Access 2021, 9, 131134–131146. [Google Scholar] [CrossRef]
  24. Huaweiyun Garbage Classify Learning. Available online: https://github.com/x670783915/huaweiyun_garbage_classify__learning (accessed on 10 March 2023).
  25. Ozkaya, U.; Seyfi, L. Fine-Tuning Models Comparisons on Garbage Classification for Recyclability. arXiv 2019, arXiv:1908.04393. [Google Scholar]
  26. Chen, Q.; Xiong, Q. Garbage Classification Detection Based on Improved YOLOV4. J. Comput. Commun. 2020, 8, 285–294. [Google Scholar] [CrossRef]
  27. Zeng, M.; Lu, X.; Xu, W.; Zhou, T.; Liu, Y. PublicGarbageNet: A deep learning framework for public garbage classification. In Proceedings of the 2020 39th Chinese Control Conference (CCC), Shenyang, China, 27–29 September 2020. [Google Scholar] [CrossRef]
  28. Yang, Z.; Xia, Z.; Yang, G.; Lv, Y. A Garbage Classification Method Based on a Small Convolution Neural Network. Sustainability 2022, 14, 14735. [Google Scholar] [CrossRef]
  29. He, Y.; Gu, Q.; Shi, M. Trash Classification Using Convolutional Neural Networks Project Category: Computer Vision; Stanford University: Stanford, CA, USA, 2020. [Google Scholar]
  30. Aghilan, M.; Kumar, M.A.; Aafrid, T.S.M.; Kumar, A.N.; Muthulakshmi, S. Garbage Waste Classification Using Supervised Deep Learning Techniques. Int. J. Emerg. Technol. Innov. Eng. 2020, 6, 77–82. [Google Scholar]
  31. Mittal, I.; Tiwari, A.; Rana, B.; Singh, P. Trash Classification: Classifying garbage using Deep Learning. J. Eng. Sci. 2020, 11, 61–68. [Google Scholar]
  32. Liu, W.; Ouyang, H.; Liu, Q.; Cai, S.; Wang, C.; Xie, J.; Hu, W. Image Recognition for Garbage Classification Based on Transfer Learning and Model Fusion. Math. Probl. Eng. 2022, 2022, 4793555. [Google Scholar] [CrossRef]
  33. Sahu, A.; Patra, M.R. Using YOLOv5 for Garbage Classification. In Proceedings of the 2021 IEEE International Conference on Computational Intelligence and Computing Research (ICCIC), Nagpur, India, 26–27 November 2021; pp. 1–6. [Google Scholar]
  34. El-Zaart, N.; Alhalabi, W. Intelligent Fusion of Deep Features for Improved Waste Classification. IEEE Access 2020, 8, 118947–118957. [Google Scholar]
  35. Khalifa, A.M.; Hasan, M.A.; Fahmy, A.M.A.; Abdelhack, M.A. Intelligent Waste Classification System Using Deep Learning Convolutional Neural Network. Sustain. Cities Soc. 2019, 50, 101693. [Google Scholar]
  36. Thung, G.; Yang, M. Classification of Trash for Recyclability Status. CS229 Proj. Rep. 2016, 201, 940–945. [Google Scholar]
  37. Shi, C.; Tan, C.; Wang, T.; Wang, L. A Waste Classification Method Based on a Multilayer Hybrid Convolution Neural Network. Appl. Sci. 2021, 11, 8572. [Google Scholar] [CrossRef]
  38. Xue, B.; Lei, J.; Ma, S.; Du, M. Analysis of Quadruple Corner-Cut Ridged Elliptical Waveguide by NURBS Enhanced Scaled Boundary Finite Element Method. IEEE Access 2021, 9, 55654–55662. [Google Scholar] [CrossRef]
  39. Alassaf, R.A.; Alsulaim, K.A.; Alroomi, N.Y.; Alsharif, N.S.; Aljubeir, M.F.; Olatunji, S.O.; Alahmadi, A.Y.; Imran, M.; Alzahrani, R.A.; Alturayeif, N.S. Preemptive Diagnosis of Chronic Kidney Disease Using Machine Learning Techniques. In Proceedings of the 2018 International Conference on Innovations in Information Technology (IIT), Al Ain, United Arab Emirates, 18–19 November 2018; pp. 99–104. [Google Scholar] [CrossRef]
  40. Alassaf, R.A.; Alsulaim, K.A.; Alroomi, N.Y.; Alsharif, N.S.; Aljubeir, M.F.; Olatunji, S.O.; Alahmadi, A.Y.; Imran, M.; Alzahrani, R.A.; Alturayeif, N.S. Preemptive Diagnosis of Diabetes Mellitus Using Machine Learning. In Proceedings of the 2018 21st Saudi Computer Society National Computer Conference (NCC), Riyadh, Saudi Arabia, 25–26 April 2018; pp. 1–5. [Google Scholar] [CrossRef]
  41. Olatunji, S.O.; Alansari, A.; Alkhorasani, H.; Alsubaii, M.; Sakloua, R.; Alzahrani, R.; Alsaleem, Y.; Alassaf, R.; Farooqui, M.; Ahmed, M.I.B.; et al. Preemptive Diagnosis of Alzheimer’s Disease in the Eastern Province of Saudi Arabia Using Computational Intelligence Techniques. Comput. Intell. Neurosci. 2022, 2022, 5476714. [Google Scholar] [CrossRef] [PubMed]
  42. Olatunji, S.O.; Alansari, A.; Alkhorasani, H.; Alsubaii, M.; Sakloua, R.; Alzahrani, R.; Alsaleem, Y.; Almutairi, M.; Alhamad, N.; Alyami, A.; et al. A Novel Ensemble-Based Technique for the Preemptive Diagnosis of Rheumatoid Arthritis Disease in the Eastern Province of Saudi Arabia Using Clinical Data. Comput. Math. Methods Med. 2022, 2022, 2339546. [Google Scholar] [CrossRef] [PubMed]
  43. Ibrahim, N.M.; Gabr, D.G.; Rahman, A.; Musleh, D.; AlKhulaifi, D.; AlKharraa, M. Transfer Learning Approach to Seed Taxonomy: A Wild Plant Case Study. Big Data Cogn. Comput. 2023, 7, 128. [Google Scholar] [CrossRef]
  44. Khan, T.A.; Fatima, A.; Shahzad, T.; Rahman, A.U.; Alissa, K.; Ghazal, T.M.; Al-Sakhnini, M.M.; Abbas, S.; Khan, M.A.; Ahmed, A. Secure IoMT for Disease Prediction Empowered with Transfer Learning in Healthcare 5.0, the Concept and Case Study. IEEE Access 2023, 11, 39418–39430. [Google Scholar] [CrossRef]
  45. Ibrahim, N.M.; Gabr, D.G.I.; Rahman, A.-U.; Dash, S.; Nayyar, A. A deep learning approach to intelligent fruit identification and family classification. Multimed. Tools Appl. 2022, 81, 27783–27798. [Google Scholar] [CrossRef]
  46. Santad, T.; Silapasupphakornwong, P.; Choensawat, W.; Sookhanaphibarn, K. Application of YOLO Deep Learning Model for Real Time Abandoned Baggage Detection. In Proceedings of the 2018 IEEE 7th Global Conference on Consumer Electronics (GCCE), Nara, Japan, 9–12 October 2018; pp. 157–158. [Google Scholar] [CrossRef]
  47. Rawat, W.; Wang, Z. Deep Convolutional Neural Networks for Image Classification: A Comprehensive Review. Neural Comput. 2017, 29, 2352–2449. [Google Scholar] [CrossRef] [PubMed]
  48. Harjoseputro, Y.; Yuda, I.P.; Danukusumo, K.P. MobileNets: Efficient Convolutional Neural Network for Identification of Protected Birds. Int. J. Adv. Sci. Eng. Inf. Technol. 2020, 10, 2290–2296. [Google Scholar] [CrossRef]
  49. Boesch, G. Deep Residual Networks (ResNet, RESNET50)-2023 Guide, viso.ai. Available online: https://viso.ai/deep-learning/resnet-residual-neural-network/ (accessed on 25 May 2023).
  50. Huang, G.; Liu, Z.; Van Der Maaten, L.; Weinberger, K.Q. Densely Connected Convolutional Networks. In Proceedings of the 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Honolulu, HI, USA, 21–26 July 2017; pp. 2261–2269. [Google Scholar]
  51. Alhaidari, F.A.; Rahman, A.; Alghamdi, A.; Dash, S. Motion Detection in Digital Video Recording Format with Static Background. In Proceedings of the 1st International Conference on Smart Innovation, Ergonomics and Applied Human Factors (SEAHF), Madrid, Spain, 22–24 January 2019; Benavente-Peces, C., Slama, S., Zafar, B., Eds.; Springer: Cham, Switzerland, 2019; Volume 150. [Google Scholar] [CrossRef]
  52. Ahmed, M.I.B.; Zaghdoud, R.; Ahmed, M.S.; Sendi, R.; Alsharif, S.; Alabdulkarim, J.; Saad, B.A.A.; Alsabt, R.; Rahman, A.; Krishnasamy, G. A Real-Time Computer Vision Based Approach to Detection and Classification of Traffic Incidents. Big Data Cogn. Comput. 2023, 7, 22. [Google Scholar] [CrossRef]
  53. Gollapalli, M.; Rahman, A.U.; Musleh, D.; Ibrahim, N.; Khan, M.A.; Abbas, S.; Atta, A.; Farooqui, M.; Iqbal, T.; Ahmed, M.S.; et al. A Neuro-Fuzzy Approach to Road Traffic Congestion Prediction. Comput. Mater. Contin. 2022, 73, 295–310. [Google Scholar] [CrossRef]
  54. Sajid, N.A.; Rahman, A.; Ahmad, M.; Musleh, D.; Basheer Ahmed, M.I.; Alassaf, R.; Chabani, S.; Ahmed, M.S.; Salam, A.A.; AlKhulaifi, D. Single vs. Multi-Label: The Issues, Challenges and Insights of Contemporary Classification Schemes. Appl. Sci. 2023, 13, 6804. [Google Scholar] [CrossRef]
  55. Ahmed, M.I.B.; Alotaibi, S.; Rahman, A.U.; Dash, S.; Nabil, M.; AlTurki, A.O. A Review on Machine Learning Approaches in Identification of Pediatric Epilepsy. SN Comput. Sci. 2022, 3, 437. [Google Scholar] [CrossRef] [PubMed]
  56. Talha, M.; Sarfraz, M.; Rahman, A.; Ghauri, S.A.; Mohammad, R.M.; Krishnasamy, G.; Alkharraa, M. Voting-Based Deep Convolutional Neural Networks (VB-DCNNs) for M-QAM and M-PSK Signals Classification. Electronics 2023, 12, 1913. [Google Scholar] [CrossRef]
  57. Ahmed, M.I.B.; Rahman, A.-U.; Farooqui, M.; Alamoudi, F.; Baageel, R.; Alqarni, A. Early Identification of COVID-19 Using Dynamic Fuzzy Rule Based System. Math. Model. Eng. Probl. 2021, 8, 805–812. [Google Scholar] [CrossRef]
  58. Alotaibi, S.M.; Rahman, A.U.; Basheer, M.I.; Khan, M.A. Ensemble Machine Learning Based Identification of Pediatric Epilepsy. Comput. Mater. Contin. 2021, 68, 149–165. [Google Scholar]
  59. Rahman, A.; Abbas, S.; Gollapalli, M.; Ahmed, R.; Aftab, S.; Ahmad, M.; Khan, M.A.; Mosavi, A. Rainfall Prediction System Using Machine Learning Fusion for Smart Cities. Sensors 2022, 22, 3504. [Google Scholar] [CrossRef] [PubMed]
  60. Jawad, K.; Mahto, R.; Das, A.; Ahmed, S.U.; Aziz, R.M.; Kumar, P. Novel Cuckoo Search-Based Metaheuristic Approach for Deep Learning Prediction of Depression. Appl. Sci. 2023, 13, 5322. [Google Scholar] [CrossRef]
  61. Yaqoob, A.; Aziz, R.M.; Verma, N.K.; Lalwani, P.; Makrariya, A.; Kumar, P. A Review on Nature-Inspired Algorithms for Cancer Disease Prediction and Classification. Mathematics 2023, 11, 1081. [Google Scholar] [CrossRef]
Figure 1. Proposed Methodology.
Figure 1. Proposed Methodology.
Sustainability 15 11138 g001
Figure 2. The results of all algorithms.
Figure 2. The results of all algorithms.
Sustainability 15 11138 g002
Figure 3. The accuracy graph: (a) MobileNetV2, (b) ResNet50V2, (c) DenseNet169, and (d) CNN.
Figure 3. The accuracy graph: (a) MobileNetV2, (b) ResNet50V2, (c) DenseNet169, and (d) CNN.
Sustainability 15 11138 g003
Table 1. Literature review summary.
Table 1. Literature review summary.
RefYearAlgorithmsDatasetPerformance Measure
[15]2018MHS-Accuracy = 92%
[25]2018AlexNet, VGG-16, GoogleNet, ResNet and SquezeeNet [43]TrashNetAccuracy = 97.86% by GoogleNet, together with SVM.
[19]2018CNN [44]-Accuracy = 90%
[16]2019DNN-TCVN-trash datasetAccuracy = 98%
[18]2019GoogleNet, VGGNet AlexNet [43]-AlexNet has the highest accuracy
[20]2019CNN models with OscarNet based on VGG19, GarbeNet based on CNN with an Inception-ResNet model [43].Mindy Yang and Gary Thung created the dataset at Stanford UniversityVGG-19 accuracy = 88.48%
GarbeNet based on CNN accuracy = 87.69%
InceptionResNet accuracy = 88.66%
[35]2019CNN, ResNet-50, SVM, InceptionV3, and MobileNetV2 [43]Gary Thung and Mindy Yang [36]Accuracy = 87%
[12]2022CNN [44]GITHUB 2020Accuracy = 95.3125%
[26]2020YOLOV3, and YOLOV4 [45]VOCYOLOV4 FBS = 92 f/s and MAP = 64%.
[27]2020DenseNet121, DenseNet169, ResNet50, ResNet101, ResNeXt50, ResNeXt101, Efficientnet-B3, and Efficientnet-B4 [43]Stanford University datasetThe best accuracy of 96.35% with PublicGarbageNet
[29]2020CNN, and SoftMax [46]TrashNetAccuracy = 79.94%
[30]2020CNN [46]-Accuracy = 79%
[31]2020CNN [46]Garythung Yang, Waste classifier master, TrashNet, and Real imagesAccuracy = 89% on TrashNet dataset
[34]2020AlexNet, GNet, VGGNet-19, and ResNet-101 [43]Garbage Classification DatasetAccuracy 86% on CNN
[13]2021Dual-branch Multi-output CNNTrashNet and WaDaBaAccuracy = 90%
[17]2021CNNs, Densenet169 [43]-Accuracy = 94.9%
[22]2021SVM, CNN, and HOGGarbage Classification datasetCNN with accuracy = 84%
[23]2021ResNEt34, VGG126, InceptionV3, DenseNet121, MobileNetV3, and GNet [43]24,000 images from Huawei challenge cup dataset [24]GNet accuracy = 92.62%
[33]2021YoloV5 [45]TrashNetAccuracy = 95.51%
[37]2021CNN [44]TrashNetAccuracy = 92.6%
[38]2021InceptionV3 [43]TrashNetAccuracy = 92.87%
[14]2022EfficientdetD2 & EfficientnetB2 [43]14,000 instancesAccuracy = 75%
[21]2022MLH-CNN, AlexNet, RestNet50, and VGG16, DL model with (DLSODC-GWM) [43]Benchmark datasetsPrecision = 95.23%,
Recall = 94.29%
F-score = 94.73%
[28]2022CNN [44]TrashNet, and self-built datasetAccuracy = 96.77%
[32]2022GCNet [43]Internet collected dataset combined with self-built datasetAccuracy = 97.54%.
Table 2. The optimal values of hyperparameters.
Table 2. The optimal values of hyperparameters.
ClassifierHyperparameterOptimal Value
DenseNet169No Layers7 layers
Loss FunctionSparse_categorical_crossentropy
OptimizerSGD
Activation functionReLU + softmax
Dropout rate0.2
Epochs20
MobileNetV2No Layers5
Loss FunctionSparse_categorical_crossentropy
OptimizerSGD
Activation functionReLU + softmax
epochs20
ResNet50V2Layers7
Loss FunctionSparse_categorical_crossentropy
OptimizerSGD
Activation functionReLU + softmax
Dropout rate0.5
Epochs20
CNNLayers11
Loss FunctionSparse_categorical_crossentropy
OptimizerSGD
Kernel size(3, 3)
Paddingsame
Activation functionReLU + softmax
Pooling size2
Dropout rate0.5
Epochs50
CNN with Randomized Search CVLayers10
Loss FunctionSparse_categorical_crossentropy
OptimizerSGD
Kernel size(3, 3)
Paddingsame
Activation functionReLU + softmax
Pooling size(2, 2)
Dropout rate0.6
Epochs150
Table 3. Comparison of two types of model CNN.
Table 3. Comparison of two types of model CNN.
Performance MeasureCNNCNN (Randomized Search CV)
Accuracy87%88.5%
Precision87%88%
Recall87%89%
F-Score86%88%
Learning Rate0.0010.01
Epochs50150
Activation FunctionReluRelu
Table 4. Algorithms result.
Table 4. Algorithms result.
DenseNet169MobileNetV2ResNet50V2
Accuracy94.4%97.6%98.95%
Precision94%95%98.35%
Recall94%97%98.38%
F-Score94%97%98.38%
Table 5. Comparison.
Table 5. Comparison.
StudyAlgorithmsPerformance Measure
[34]AlexNet, GNet, VGGNet-19, and ResNet-101Accuracy 86% on CNN
[22]SVM, CNN, and HOGCNN with accuracy = 84%
Proposed ApproachCNN, DenseNet169,
MobileNetV2, ResNet50V2
CNN Accuracy = 88.52%
DenseNet169 Accuracy = 94.4%
MobileNetV2 Accuracy = 97.6%
ResNet50V2 Accuracy = 98.95%
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Ahmed, M.I.B.; Alotaibi, R.B.; Al-Qahtani, R.A.; Al-Qahtani, R.S.; Al-Hetela, S.S.; Al-Matar, K.A.; Al-Saqer, N.K.; Rahman, A.; Saraireh, L.; Youldash, M.; et al. Deep Learning Approach to Recyclable Products Classification: Towards Sustainable Waste Management. Sustainability 2023, 15, 11138. https://doi.org/10.3390/su151411138

AMA Style

Ahmed MIB, Alotaibi RB, Al-Qahtani RA, Al-Qahtani RS, Al-Hetela SS, Al-Matar KA, Al-Saqer NK, Rahman A, Saraireh L, Youldash M, et al. Deep Learning Approach to Recyclable Products Classification: Towards Sustainable Waste Management. Sustainability. 2023; 15(14):11138. https://doi.org/10.3390/su151411138

Chicago/Turabian Style

Ahmed, Mohammed Imran Basheer, Raghad B. Alotaibi, Rahaf A. Al-Qahtani, Rahaf S. Al-Qahtani, Sara S. Al-Hetela, Khawla A. Al-Matar, Noura K. Al-Saqer, Atta Rahman, Linah Saraireh, Mustafa Youldash, and et al. 2023. "Deep Learning Approach to Recyclable Products Classification: Towards Sustainable Waste Management" Sustainability 15, no. 14: 11138. https://doi.org/10.3390/su151411138

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop