Original papers
Knowledge transfer for adapting pre-trained deep neural models to predict different greenhouse environments based on a low quantity of data

https://doi.org/10.1016/j.compag.2021.106136Get rights and content

Highlights

Abstract

Deep learning is the state-of-the-art application of machine learning in many fields, and this technology has also been applied in agriculture. A large quantity of data needs to be provided to the deep learning models in the training procedure; however, sufficient data may not be provided when considering agriculture applications. Transfer learning, which is a learning strategy for rapid and easy adaptation of a pre-trained model, can be a solution for limited agricultural data. Therefore, the objective of this study is to verify the adaptability of a pre-trained model that predicts the environmental variables of a greenhouse by retraining the model with data from a new cultivation condition, using the transfer learning technique. As a result, the transfer learning methodology was applied to five common deep learning models. Twenty-seven greenhouses (14 sweet peppers and 13 tomato cultivations) in various regions of South Korea provided the experimental dataset to this research. The analyzed environmental variables are the internal temperature, relative humidity, radiation, CO2 concentration, and external temperature. Before the transfer learning procedure is conducted, some layers from pre-trained models were replaced with new layers. The model was, thereafter, re-trained with a new test dataset. The best model in the training procedure was BiLSTM, resulting in an average R2 of 0.69. The models could predict the tendencies of the environmental changes, indicating that they were adequately trained. The most accurate deep-learning model considering the transfer dataset was the transferred BiLSTM, with an average R2 of 0.78 and 0.81 for sweet pepper and tomato datasets, respectively. The accuracies of most transferred models are higher than those of the corresponding deep-learning models. As a result, transfer learning can be used to adapt previously trained deep-learning models, enabling them to predict the microclimates of a greenhouse with scarce data. Furthermore, advanced transfer learning strategies would increase the performance of the transferred models analyzed in this study.

Introduction

In agriculture, the amount of stored data is increasing, and the types of methodologies for data analyses are diversifying (Muangprathub et al., 2019, Sarker et al., 2019). Wireless networks with IoT applications are the main cause for the increase in data accumulation (Kochhar and Kumar, 2019). Novel data types, such as hyperspectral imaging, have also been used in previous research for yield prediction (Hassanzadeh et al., 2020). Owing to the improvement of sensors and computational performance, collecting and monitoring multidimensional data have continuously been studied. (Wolfert et al., 2017, Khanna and Kaur, 2019).

With an expectation to understand a phenomenon from a stable database, many types of methodologies were adapted in the agriculture area. As the deep learning methodology represents the state-of-the-art in many areas owing to its performance, it has also been used to solve problems in the agriculture, such as fruit segmentation, autonomous greenhouse control, and estimation of root-zone ion concentration (Barth et al., 2019, Hemming et al., 2019, Moon et al., 2019a). Deep learning became prevalent, because the adaptation of this methodology to address problems was relatively simple.

When analyzing phenomena in greenhouses, active control of the internal environment improves crop quality and yield. The active control of the environment surmounts the regional limitations of plant growth (Sethi et al., 2013, Shamshiri and Ismail, 2013). As a result, optimal control of the internal environment is considered an important goal regarding greenhouse cultivation. The research of new technologies or approaches that led to optimizations have been conducted (Van Beveren et al., 2015, Atia and El-madany, 2017, Tsai et al., 2020).

One of the new technologies, deep learning, requires a large amount of data (Sun et al., 2017). However, in a greenhouse environment, the vulnerability of sensors to relative humidity and temperature, which may result in data loss, and the restricted number of cultivated crops affect the data collection (Moon et al., 2019b, Lee et al., 2020). Moreover, disparate tendencies of plant environment and growth due to target crop, season, and cultivation strategy lead to the (Serret et al., 2018) requirement of more diverse data (Jones et al., 1991, Van Henten and Van Straten, 1994, Wubs et al., 2012). As a result, the collection of sufficient data is a difficult task in this environment, resulting in lower performance of deep learning models when compared to that in other fields, where data are abundant (Kamilaris and Prenafeta-Boldú, 2018).

Owing to the restricted data conditions in agriculture, better adaptations of the deep learning models are necessary. Transfer learning, which is one of the machine learning studies, may be an alternative solution to this problem, as it is applied for situations of limited available data. In the machine learning field, derived models need to learn tasks without prior knowledge of the target task. In the transfer learning methodology, the knowledge derived from data can be transferred from some previous tasks (Pan and Yang, 2009).

As a result, pre-trained models have been actively adopted, by varying the structure of the network, and, afterward, retrained with a new dataset (Shin et al., 2016, Gómez-Valverde et al., 2019, Thenmozhi and Reddy, 2019). Moreover, this methodology has improved the performance of the model (Devlin et al., 2018). Therefore, if the pre-trained plant environment can be adapted to a new cultivation condition, deep learning model can show better performance. This study aimed to verify the adaptability of a pre-trained model of a greenhouse environment by retraining it using transfer learning with a new cultivation condition.

Section snippets

Deep learning models

The transfer learning methodology was applied in this work based on five common deep learning models, as indicated in Fig. 1: multilayer perceptron (MLP), long short-term memory (LSTM), bidirectional long short-term memory (BiLSTM), and LSTMs with autoencoder (AE-LSTM and AE-BiLSTM). MLP is a basic neural network architecture that is the core structure of deep learning algorithms (Schmidhuber, 2015). LSTM is commonly used to analyze sequence data (Hochreiter and Schmidhuber, 1997). Meanwhile,

Accuracies of the deep learning models

Five models showed adequate test accuracies after the model training procedure; however, their performances varied for each target factor (Fig. 5). The model with the highest accuracy was BiLSTM, with an average R2 of 0.69. The accuracy of each environmental variable was different based on the model. Furthermore, for each model, the highest and lowest accuracies were always attributed to the external temperature and CO2 concentration, respectively. The increase in the complexity of the models,

Discussion

The accuracies obtained from the deep-learning models were relatively low, although the models generated by some methodologies resulted in highly accurate results in comparison with those obtained from canonical methods (Zhou et al., 2016, Fischer and Krauss, 2018, Khan and Yairi, 2018). The CO2 concentrations influenced the accuracy of the predictions, resulting in a low average R2 (Fig. 5). As a high CO2 concentration can enhance crop production, most sweet pepper greenhouses adopted CO2

Conclusion

To improve the adaptability of deep-learning models using the transfer learning technique, deep-learning models were trained and transferred using sweet pepper and tomato datasets obtained from 14 sweet pepper and 13 tomato greenhouses. The objective of this study was to analyze and predict the aerial environment of greenhouses. As a result, BiLSTM was the most accurate model, resulting in an R2 of 0.69 for the training dataset, 0.78 considering the data collected from sweet peppers in transfer

Credit authorship contribution statement

Taewon Moon: Conceptualization, Methodology, Investigation, Data curation, Validation, Writing - Original draft preparation. Jung Eek Son: Conceptualization, Methodology, Validation, Supervision, Writing - Reviewing and Editing.

Declaration of Competing Interest

The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.

Acknowledgment

This work was supported by Korea Institute of Planning and Evaluation for Technology in Food, Agriculture, Forestry and Fisheries (IPET) through Agriculture, Food and Rural Affairs Convergence Technologies Program for Educating Creative Global Leader, funded by Ministry of Agriculture, Food and Rural Affairs (MAFRA)(717001-7). We also thank Korean Agency of Education, Promotion and Information Service in Food, Agriculture, Forestry and Fisheries for providing the greenhouse data.

References (51)

  • T. Moon et al.

    Interpolation of greenhouse environment data using multilayer perceptron

    Comput. Electron. Agric.

    (2019)
  • J. Muangprathub et al.

    IoT and agriculture data analysis for smart farm

    Comput. Eelctron. Agric.

    (2019)
  • E.M. Nederhoff et al.

    Leaf conductance and rate of crop transpiration of greenhouse grown sweet pepper (Capsicum annuum L.) as affected by carbon dioxide

    Sci. Hortic.

    (1992)
  • J. Schmidhuber

    Deep learning in neural networks: an overview

    Neural Networks

    (2015)
  • V.P. Sethi et al.

    Thermal modeling aspects of solar greenhouse microclimate control: a review on heating technologies

    Sol. Energy

    (2013)
  • K. Thenmozhi et al.

    Crop pest classification based on deep convolutional neural network and transfer learning

    Comput. Electron. Agric.

    (2019)
  • P.J.M. Van Beveren et al.

    Optimal control of greenhouse climate using minimal energy and grower defined bounds

    Appl. Energy

    (2015)
  • E.J. Van Henten et al.

    Sensitivity analysis of a dynamic growth model of lettuce

    J. Agr. Eng. Res.

    (1994)
  • F. Villarreal-Guerrero et al.

    Simulated performance of a greenhouse cooling control strategy with natural ventilation and fog cooling

    Biosyst. Eng.

    (2012)
  • S. Wolfert et al.

    Big data in smart farming–a review

    Agric. Sys.

    (2017)
  • Abadi, M., Agarwal, A., Barham, P., Brevdo, E., Chen, Z., Citro, C., Corrado, G.S., Davis, A., Dean, J., Devin, M., et...
  • Ba J.L., Kiros J.R., Hinton G.E., 2016. Layer normalization. arXiv Preprint...
  • P. Baldi
  • Barth R., IJsselmuiden J., Hemming J., Van Henten E.J., 2019. Synthetic bootstrapping of convolutional neural networks...
  • H. Choi et al.

    Prediction of air temperature and relative humidity in greenhouse via a multilayer perceptron using environmental factors

    Prot. Hortic. Plant Fact.

    (2019)
  • Cited by (19)

    • Ventilation Models in Greenhouses

      2024, Protected Cultivation: Structural Design, Crop Management Modeling, and Automation
    View all citing articles on Scopus
    View full text