Junseo Lee , Seongil Im , Jae-Seung Jeong , Taek Sung Lee , Soo Hyun Park , Changhwan Shin , Hyunsu Ju , Hyung-Jun Kim
{"title":"Learning hidden relationship between environment and control variables for direct control of automated greenhouse using Transformer-based model","authors":"Junseo Lee , Seongil Im , Jae-Seung Jeong , Taek Sung Lee , Soo Hyun Park , Changhwan Shin , Hyunsu Ju , Hyung-Jun Kim","doi":"10.1016/j.compag.2025.110335","DOIUrl":null,"url":null,"abstract":"<div><div>Climate change poses a significant threat to agricultural sustainability and food security. Automated greenhouse systems, which provide stable and controlled environments for crop cultivation, have emerged as a promising solution. However, traditional rule-based greenhouse control algorithms struggle to determine optimal control variables due to the complex relationships between environmental variables. In response, we propose a Transformer-based model, Trans-Farmer, which predicts the control variables by considering the complex interactions among environmental variables. Trans-Farmer leverages the attention mechanism to learn the intricate relationships among the environmental variables. The encoder-decoder structure enables the translation of the environmental variables into the corresponding control variables, analogous to language translation. Experimental results demonstrate that Trans-Farmer outperforms baseline models across all the evaluation metrics, achieving superior accuracy and predictive performance. The attention maps of the encoder visualize how Trans-Farmer comprehends the complex interactions among the environmental variables. Additionally, the compact size of Trans-Farmer is suitable for application in general greenhouses with constrained microcontroller units. This approach contributes to the development of automated greenhouse management systems and emphasizes the potential of artificial intelligence applications in agriculture.</div></div>","PeriodicalId":50627,"journal":{"name":"Computers and Electronics in Agriculture","volume":"235 ","pages":"Article 110335"},"PeriodicalIF":7.7000,"publicationDate":"2025-03-26","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computers and Electronics in Agriculture","FirstCategoryId":"97","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0168169925004417","RegionNum":1,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"AGRICULTURE, MULTIDISCIPLINARY","Score":null,"Total":0}
引用次数: 0
Abstract
Climate change poses a significant threat to agricultural sustainability and food security. Automated greenhouse systems, which provide stable and controlled environments for crop cultivation, have emerged as a promising solution. However, traditional rule-based greenhouse control algorithms struggle to determine optimal control variables due to the complex relationships between environmental variables. In response, we propose a Transformer-based model, Trans-Farmer, which predicts the control variables by considering the complex interactions among environmental variables. Trans-Farmer leverages the attention mechanism to learn the intricate relationships among the environmental variables. The encoder-decoder structure enables the translation of the environmental variables into the corresponding control variables, analogous to language translation. Experimental results demonstrate that Trans-Farmer outperforms baseline models across all the evaluation metrics, achieving superior accuracy and predictive performance. The attention maps of the encoder visualize how Trans-Farmer comprehends the complex interactions among the environmental variables. Additionally, the compact size of Trans-Farmer is suitable for application in general greenhouses with constrained microcontroller units. This approach contributes to the development of automated greenhouse management systems and emphasizes the potential of artificial intelligence applications in agriculture.
期刊介绍:
Computers and Electronics in Agriculture provides international coverage of advancements in computer hardware, software, electronic instrumentation, and control systems applied to agricultural challenges. Encompassing agronomy, horticulture, forestry, aquaculture, and animal farming, the journal publishes original papers, reviews, and applications notes. It explores the use of computers and electronics in plant or animal agricultural production, covering topics like agricultural soils, water, pests, controlled environments, and waste. The scope extends to on-farm post-harvest operations and relevant technologies, including artificial intelligence, sensors, machine vision, robotics, networking, and simulation modeling. Its companion journal, Smart Agricultural Technology, continues the focus on smart applications in production agriculture.