{"title":"Study on the CNN model optimization for household garbage classification based on machine learning","authors":"Wenzhuo Xie, Shiping Li, Wei Xu, Haotian Deng, Weihan Liao, Xianbao Duan, Xiang Wang","doi":"10.3233/ais-220017","DOIUrl":null,"url":null,"abstract":"In order to solve the problem of household garbage classification accurately and efficiently, convolutional neural network classifier is an effective method. In this study, a garbage classification device was designed, and the image dataset Wit-Garbage for garbage classification was constructed based on the device by collecting garbage images under different light intensity and weather environment. The performances of the five network models VGG16, ResNet50, DenseNet121, MobileNet V2, Inception V3 on this dataset were compared by transfer learning. Then, the lightweight convolutional neural network MobileNet V2 was optimized by fine-tuning the hyperparameters, such as the type of optimizer, learning rate, Dropout parameter and number of freezing layers, respectively, and the training accuracy and efficiency were discussed in detail. Finally, the optimized model MobileNet V2 was deployed to the self-made garbage classification device for verification. The results show that the MobileNet V2 network model is superior to other networks in terms of training accuracy and efficiency on the proposed dataset, when the image input size was 224 ∗ 224 pixels, the Adamax optimizer was adopted, the learning rate was 0.0001, the Dropout was less than 0.5, and the number of frozen layers is less than 30. The actual verification results show that the average accuracy of the optimized network model trained on the proposed dataset for MSW classification was up to 98.75%, and compared with the model before optimization, the average accuracy was improved by 2.83%, and the average detection time was reduced by 69%.","PeriodicalId":49316,"journal":{"name":"Journal of Ambient Intelligence and Smart Environments","volume":"41 1","pages":"439-454"},"PeriodicalIF":1.8000,"publicationDate":"2022-11-17","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"3","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Ambient Intelligence and Smart Environments","FirstCategoryId":"94","ListUrlMain":"https://doi.org/10.3233/ais-220017","RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE","Score":null,"Total":0}
引用次数: 3
Abstract
In order to solve the problem of household garbage classification accurately and efficiently, convolutional neural network classifier is an effective method. In this study, a garbage classification device was designed, and the image dataset Wit-Garbage for garbage classification was constructed based on the device by collecting garbage images under different light intensity and weather environment. The performances of the five network models VGG16, ResNet50, DenseNet121, MobileNet V2, Inception V3 on this dataset were compared by transfer learning. Then, the lightweight convolutional neural network MobileNet V2 was optimized by fine-tuning the hyperparameters, such as the type of optimizer, learning rate, Dropout parameter and number of freezing layers, respectively, and the training accuracy and efficiency were discussed in detail. Finally, the optimized model MobileNet V2 was deployed to the self-made garbage classification device for verification. The results show that the MobileNet V2 network model is superior to other networks in terms of training accuracy and efficiency on the proposed dataset, when the image input size was 224 ∗ 224 pixels, the Adamax optimizer was adopted, the learning rate was 0.0001, the Dropout was less than 0.5, and the number of frozen layers is less than 30. The actual verification results show that the average accuracy of the optimized network model trained on the proposed dataset for MSW classification was up to 98.75%, and compared with the model before optimization, the average accuracy was improved by 2.83%, and the average detection time was reduced by 69%.
期刊介绍:
The Journal of Ambient Intelligence and Smart Environments (JAISE) serves as a forum to discuss the latest developments on Ambient Intelligence (AmI) and Smart Environments (SmE). Given the multi-disciplinary nature of the areas involved, the journal aims to promote participation from several different communities covering topics ranging from enabling technologies such as multi-modal sensing and vision processing, to algorithmic aspects in interpretive and reasoning domains, to application-oriented efforts in human-centered services, as well as contributions from the fields of robotics, networking, HCI, mobile, collaborative and pervasive computing. This diversity stems from the fact that smart environments can be defined with a variety of different characteristics based on the applications they serve, their interaction models with humans, the practical system design aspects, as well as the multi-faceted conceptual and algorithmic considerations that would enable them to operate seamlessly and unobtrusively. The Journal of Ambient Intelligence and Smart Environments will focus on both the technical and application aspects of these.