Please use this identifier to cite or link to this item: http://ir-ithesis.swu.ac.th/dspace/handle/123456789/3412
Title: MODEL OPTIMIZATION FOR CORN LEAF DISEASE CLASSIFICATION USING CONVOLUTIONAL NEURAL NETWORK
การปรับปรุงแบบจำลองให้เหมาะสมที่สุดสำหรับการจำแนกโรคใบข้าวโพดโดยใช้โครงข่ายประสาทเทียมแบบคอนโวลูชัน
Authors: PIYANAT THEPSUEB
ปิยะณัฐ เทพสืบ
Banphatree Khomkham
บรรพตรี คมขำ
Srinakharinwirot University
Banphatree Khomkham
บรรพตรี คมขำ
banphatree@swu.ac.th
banphatree@swu.ac.th
Keywords: โครงข่ายประสาทเทียมแบบคอนโวลูชัน
การจำแนกโรคใบข้าวโพด
การแปลงควอนไทซ์
การกลั่นความรู้
การลดขนาดแบบจำลอง
Convolutional Neural Network
Corn Leaf Disease Classification
Post-training Quantization
Knowledge Distillation
Model Compression
Issue Date:  16
Publisher: Srinakharinwirot University
Abstract: This research proposes the development of convolutional neural network CNN models for corn leaf diseases classification from images and aims to optimize the model for deployment on mobile devices using corn leaf images from the PlantVillage dataset, which divided into training and testing sets in an 80:20 ratio. The pre-trained models include VGG16, DenseNet121, MobileNetV2 and NASNet Mobile. Furthermore, Knowledge Distillation was applied to develop two tiny models, STD Conv Student and DW Conv Student Model, both with fewer than one million parameters but maintaining high accuracy. Post-training quantization techniques, including Float16 Quantization and Dynamic Range Quantization, were applied to reduce model size while preserving performance. These techniques successfully reduced model sizes by up to 50% and 75%, respectively. Experimental results show that the MobileNetV2 with Dynamic Range Quantization achieved a test accuracy of 99.22%, while the Float16 Quantized MobileNetV2 achieved approximately six times faster inference speed. When tested on a mobile phone evaluation, the Float16 Quantized DenseNet121 achieved an accuracy of 99.35%. Finally, an evaluation using a Weighted Decision Matrix, considering accuracy, model size, and processing speed, revealed that the STD Conv Student with Float16 Quantization scored the highest overall, 92.074 points, a compact size of only 1.5 MB and an accuracy of 98.18%. These results indicate that using Knowledge Distillation with Post-training Quantization can produce small but efficient models for corn leaf disease classification that can be effectively deployed on mobile devices.
งานวิจัยนี้นำเสนอการพัฒนาแบบจำลองโครงข่ายประสาทเทียมแบบคอนโวลูชันสำหรับการจำแนกโรคใบข้าวโพดจากภาพถ่าย และปรับปรุงแบบจำลองให้เหมาะสมที่สุดกับการใช้งานบนอุปกรณ์พกพา โดยใช้ชุดข้อมูลภาพถ่ายใบข้าวโพดจากชุดข้อมูล PlantVillage โดยแบ่งข้อมูลออกเป็นชุดฝึกฝนต่อชุดทดสอบ ในอัตราส่วน 80 : 20 แบบจำลองที่ใช้ในการทดลอง ได้แก่ VGG16 DenseNet121 MobileNetV2 และ NASNet Mobile  และใช้เทคนิค Knowledge Distillation เพื่อพัฒนาแบบจำลอง 2 แบบ ได้แก่ STD Conv Student Model และ DW Conv Student Model ซึ่งมีพารามิเตอร์น้อยกว่า 1 ล้านพารามิเตอร์ แต่ยังคงความแม่นยำสูง จากนั้นใช้เทคนิค Post-training Quantization ได้แก่ Float16 Quantization และ Dynamic Range Quantization เพื่อลดขนาดแบบจำลองแต่ยังคงรักษาประสิทธิภาพไว้ โดยสามารถลดขนาดของแบบจำลองได้มากถึง 50 % และ 75% ตามลำดับ และเมื่อทดสอบแบบจำลองด้วยชุดข้อมูลทดสอบพบ ว่า MobileNetV2 ที่ทำ Dynamic Range Quantization ให้ความแม่นยำสูงถึง 99.22% และ  MobileNetV2 ที่ทำ Float16 Quantization มีความเร็วในการประมวลผลเร็วขึ้นถึงประมาณ 6 เท่า และเมื่อทดสอบแบบจำลองบนโทรศัพท์มือถือ พบว่า และ DenseNet121 ที่ทำ Float16 Quantization ให้ความแม่นยำสูงถึง 99.35% สุดท้ายเมื่อประเมินด้วย Weighted Decision Matrix โดยพิจารณา ได้แก่ ความแม่นยำ ขนาดของแบบจำลอง และความเร็วในการประมวลผล พบว่า STD Conv Student Model ที่ทำ Float16 Quantization มีคะแนนรวมสูงสุด 92.074 คะแนน ด้วยขนาดเพียง 1.5 MB และมีความแม่นยำ 98.18% จากผลการวิจัย แสดงให้เห็นว่าการใช้เทคนิค Knowledge Distillation ร่วมกับ Post-training Quantization สามารถพัฒนาแบบจำลองที่มีขนาดเล็กแต่มีประสิทธิภาพในการจำแนกโรคจากใบข้าวโพดได้ดีสามารถใช้งานบนโทรศัพท์มือถือได้อย่างมีประสิทธิภาพ
URI: http://ir-ithesis.swu.ac.th/dspace/handle/123456789/3412
Appears in Collections:Faculty of Science

Files in This Item:
File Description SizeFormat 
gs661160167.pdf8.86 MBAdobe PDFView/Open


Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.