Ilham Ihoume, Rachid Tadili, Nora Arbaoui, Mohamed Benchrifa, Ahmed Idrissi, Mohamed Daoudi
{"title":"Developing a multi-label tinyML machine learning model for an active and optimized greenhouse microclimate control from multivariate sensed data","authors":"Ilham Ihoume, Rachid Tadili, Nora Arbaoui, Mohamed Benchrifa, Ahmed Idrissi, Mohamed Daoudi","doi":"10.1016/j.aiia.2022.08.003","DOIUrl":null,"url":null,"abstract":"<div><p>In the uncertainties within which the worldwide food security lies nowadays, the agricultural industry is raising a crucial need for being equipped with the state-of-the-art technologies for a more efficient, climate-resilient and sustainable production. The traditional production methods have to be revisited, and opportunities should be given for the innovative solutions henceforth brought by big data analytics, cloud computing and internet of things (IoT). In this context, we develop an optimized tinyML-oriented model for an active machine learning-based greenhouse microclimate management to be integrated in an on-field microcontroller. We design an experimental strawberry greenhouse from which we collect multivariate climate data through installed sensors. The obtained values' combinations are labeled according to a five-action multi-label control strategy, then used to prepare a machine learning-ready dataset. The dataset is used to train and five-fold cross-validate 90 Multi-Layer Perceptrons (MLPs) with varied hyperparameters to select the most performant –yet optimized– model instance for the addressed task. Our multi-label control approach enables designing highly scalable models with reduced computational complexity, comprising only <em>n</em> control neurons instead of (1 + ∑<sub><em>n</em></sub><sup><em>k</em>=1</sup><em>C</em><sub><em>n</em></sub><sup><em>k</em></sup>) neurons (usually generated from a classic single-label approach from <em>n</em> input variables). Our final selected model incorporates 2 hidden layers with 7 and 8 neurons respectively and 151 parameters; it scored a mean accuracy of 97% during the cross-validation phase, then 96% on our supplementary test set. The model enables an intelligent and autonomous greenhouse management with the less required computations. It can be efficiently deployed in microcontrollers within real world operating conditions.</p></div>","PeriodicalId":52814,"journal":{"name":"Artificial Intelligence in Agriculture","volume":"6 ","pages":"Pages 129-137"},"PeriodicalIF":8.2000,"publicationDate":"2022-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.sciencedirect.com/science/article/pii/S2589721722000101/pdfft?md5=73a9c3cd093ea0be14dfa96d10299fd2&pid=1-s2.0-S2589721722000101-main.pdf","citationCount":"3","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Artificial Intelligence in Agriculture","FirstCategoryId":"1087","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S2589721722000101","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"AGRICULTURE, MULTIDISCIPLINARY","Score":null,"Total":0}
引用次数: 3
Abstract
In the uncertainties within which the worldwide food security lies nowadays, the agricultural industry is raising a crucial need for being equipped with the state-of-the-art technologies for a more efficient, climate-resilient and sustainable production. The traditional production methods have to be revisited, and opportunities should be given for the innovative solutions henceforth brought by big data analytics, cloud computing and internet of things (IoT). In this context, we develop an optimized tinyML-oriented model for an active machine learning-based greenhouse microclimate management to be integrated in an on-field microcontroller. We design an experimental strawberry greenhouse from which we collect multivariate climate data through installed sensors. The obtained values' combinations are labeled according to a five-action multi-label control strategy, then used to prepare a machine learning-ready dataset. The dataset is used to train and five-fold cross-validate 90 Multi-Layer Perceptrons (MLPs) with varied hyperparameters to select the most performant –yet optimized– model instance for the addressed task. Our multi-label control approach enables designing highly scalable models with reduced computational complexity, comprising only n control neurons instead of (1 + ∑nk=1Cnk) neurons (usually generated from a classic single-label approach from n input variables). Our final selected model incorporates 2 hidden layers with 7 and 8 neurons respectively and 151 parameters; it scored a mean accuracy of 97% during the cross-validation phase, then 96% on our supplementary test set. The model enables an intelligent and autonomous greenhouse management with the less required computations. It can be efficiently deployed in microcontrollers within real world operating conditions.