Stephany Valarezo-Plaza;Julio Torres-Tello;Keshav D. Singh;Steve J. Shirtliffe;S. Deivalakshmi;Seok-Bum Ko
{"title":"用于边缘设备油菜籽作物产量预测的新型优化深度学习模型","authors":"Stephany Valarezo-Plaza;Julio Torres-Tello;Keshav D. Singh;Steve J. Shirtliffe;S. Deivalakshmi;Seok-Bum Ko","doi":"10.1109/TAFE.2024.3414953","DOIUrl":null,"url":null,"abstract":"The escalating global demand for food, coupled with challenges in sustaining crop production, deteriorating ocean health, and depleting natural resources, underscores the critical role of agricultural technology. This article addresses the imperative of developing an optimal deep-learning model for predicting canola crop yield using hyperspectral images captured by drone flights. Our primary objective is to identify the most efficient model in terms of performance and size, considering the storage limitations on edge devices like Raspberry Pi 4 (RPi4). We start with the baseline 1D\n<italic>_</i>\nCNN model, which achieves an \n<inline-formula><tex-math>$R^{2}$</tex-math></inline-formula>\n score of 0.82, and compress it into the proposed \n<italic>fs_model</i>\n (fp32). To achieve the compression, we apply pruning through sparsity and feature selection using SHAP values. Further reduction in model size is accomplished by quantizing the weights of the proposed model to a lower precision, such as int16. This combined approach substantially decreases the proposed model's size by approximately 92.6% and inference time by approximately ×9013 in comparison to the baseline 1D\n<italic>_</i>\nCNN model. In addition, we propose the novel \n<italic>fsp_model</i>\n posit(8,3) that uses posit quantization to further reduce the computation requirements compared to the proposed \n<italic>fs_model</i>\n (int16). Our findings indicate that the utilization of posit numbers enables us to shrink the model size to 94% of the original base model, while only reducing the \n<inline-formula><tex-math>$R^{2}$</tex-math></inline-formula>\n score by 5.7%.","PeriodicalId":100637,"journal":{"name":"IEEE Transactions on AgriFood Electronics","volume":"2 2","pages":"436-444"},"PeriodicalIF":0.0000,"publicationDate":"2024-06-28","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"A Novel Optimized Deep Learning Model for Canola Crop Yield Prediction on Edge Devices\",\"authors\":\"Stephany Valarezo-Plaza;Julio Torres-Tello;Keshav D. Singh;Steve J. Shirtliffe;S. Deivalakshmi;Seok-Bum Ko\",\"doi\":\"10.1109/TAFE.2024.3414953\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"The escalating global demand for food, coupled with challenges in sustaining crop production, deteriorating ocean health, and depleting natural resources, underscores the critical role of agricultural technology. This article addresses the imperative of developing an optimal deep-learning model for predicting canola crop yield using hyperspectral images captured by drone flights. Our primary objective is to identify the most efficient model in terms of performance and size, considering the storage limitations on edge devices like Raspberry Pi 4 (RPi4). We start with the baseline 1D\\n<italic>_</i>\\nCNN model, which achieves an \\n<inline-formula><tex-math>$R^{2}$</tex-math></inline-formula>\\n score of 0.82, and compress it into the proposed \\n<italic>fs_model</i>\\n (fp32). To achieve the compression, we apply pruning through sparsity and feature selection using SHAP values. Further reduction in model size is accomplished by quantizing the weights of the proposed model to a lower precision, such as int16. This combined approach substantially decreases the proposed model's size by approximately 92.6% and inference time by approximately ×9013 in comparison to the baseline 1D\\n<italic>_</i>\\nCNN model. In addition, we propose the novel \\n<italic>fsp_model</i>\\n posit(8,3) that uses posit quantization to further reduce the computation requirements compared to the proposed \\n<italic>fs_model</i>\\n (int16). Our findings indicate that the utilization of posit numbers enables us to shrink the model size to 94% of the original base model, while only reducing the \\n<inline-formula><tex-math>$R^{2}$</tex-math></inline-formula>\\n score by 5.7%.\",\"PeriodicalId\":100637,\"journal\":{\"name\":\"IEEE Transactions on AgriFood Electronics\",\"volume\":\"2 2\",\"pages\":\"436-444\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2024-06-28\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"IEEE Transactions on AgriFood Electronics\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://ieeexplore.ieee.org/document/10577427/\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"IEEE Transactions on AgriFood Electronics","FirstCategoryId":"1085","ListUrlMain":"https://ieeexplore.ieee.org/document/10577427/","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
A Novel Optimized Deep Learning Model for Canola Crop Yield Prediction on Edge Devices
The escalating global demand for food, coupled with challenges in sustaining crop production, deteriorating ocean health, and depleting natural resources, underscores the critical role of agricultural technology. This article addresses the imperative of developing an optimal deep-learning model for predicting canola crop yield using hyperspectral images captured by drone flights. Our primary objective is to identify the most efficient model in terms of performance and size, considering the storage limitations on edge devices like Raspberry Pi 4 (RPi4). We start with the baseline 1D
_
CNN model, which achieves an
$R^{2}$
score of 0.82, and compress it into the proposed
fs_model
(fp32). To achieve the compression, we apply pruning through sparsity and feature selection using SHAP values. Further reduction in model size is accomplished by quantizing the weights of the proposed model to a lower precision, such as int16. This combined approach substantially decreases the proposed model's size by approximately 92.6% and inference time by approximately ×9013 in comparison to the baseline 1D
_
CNN model. In addition, we propose the novel
fsp_model
posit(8,3) that uses posit quantization to further reduce the computation requirements compared to the proposed
fs_model
(int16). Our findings indicate that the utilization of posit numbers enables us to shrink the model size to 94% of the original base model, while only reducing the
$R^{2}$
score by 5.7%.