Kaixuan Shao , Daoliang Li , Hao Tang , Yonghui Zhang , Bo Xu , Uzair Aslam Bhatti
{"title":"Improving multi-step dissolved oxygen prediction in aquaculture using adaptive temporal convolution and optimized transformer","authors":"Kaixuan Shao , Daoliang Li , Hao Tang , Yonghui Zhang , Bo Xu , Uzair Aslam Bhatti","doi":"10.1016/j.compag.2025.110329","DOIUrl":null,"url":null,"abstract":"<div><div>Accurate dissolved oxygen (DO) prediction is crucial for optimizing aquaculture efficiency. However, existing forecasting methods often struggle to capture periodic patterns, model complex feature dependencies, and maintain high accuracy in multi-step predictions. To address these challenges, this study proposes an enhanced Transformer-based model designed to improve both prediction accuracy and stability. The model first integrates an Adaptive Temporal Convolutional Network (ATCN) to extract periodic patterns and local temporal features from time-series data. Then, a Transformer encoder with linear attention mechanisms and relative position encoding is employed to enhance feature extraction and sequence modeling. To further strengthen temporal dependency learning, the conventional decoder is replaced with a modified Gated Recurrent Unit (GRU), and a linear regression-based error correction mechanism is introduced to refine multi-step forecasting accuracy. Experimental results on Public Dataset 3 demonstrate that the proposed model achieves an average MAE of 1.624 and RMSE of 2.254, reflecting improvements of 45.06% and 40.57%, respectively, compared to the baseline Transformer model. These findings highlight the model’s ability to effectively capture complex temporal dependencies, significantly enhancing DO prediction accuracy and robustness in multi-step forecasting tasks. Additionally, the model demonstrates strong performance in pH prediction, underscoring its potential for multi-parameter water quality forecasting. This work provides valuable insights for improving water quality management and mitigating risks in aquaculture.</div></div>","PeriodicalId":50627,"journal":{"name":"Computers and Electronics in Agriculture","volume":"235 ","pages":"Article 110329"},"PeriodicalIF":7.7000,"publicationDate":"2025-04-01","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/S0168169925004351","RegionNum":1,"RegionCategory":"农林科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"AGRICULTURE, MULTIDISCIPLINARY","Score":null,"Total":0}
引用次数: 0
Abstract
Accurate dissolved oxygen (DO) prediction is crucial for optimizing aquaculture efficiency. However, existing forecasting methods often struggle to capture periodic patterns, model complex feature dependencies, and maintain high accuracy in multi-step predictions. To address these challenges, this study proposes an enhanced Transformer-based model designed to improve both prediction accuracy and stability. The model first integrates an Adaptive Temporal Convolutional Network (ATCN) to extract periodic patterns and local temporal features from time-series data. Then, a Transformer encoder with linear attention mechanisms and relative position encoding is employed to enhance feature extraction and sequence modeling. To further strengthen temporal dependency learning, the conventional decoder is replaced with a modified Gated Recurrent Unit (GRU), and a linear regression-based error correction mechanism is introduced to refine multi-step forecasting accuracy. Experimental results on Public Dataset 3 demonstrate that the proposed model achieves an average MAE of 1.624 and RMSE of 2.254, reflecting improvements of 45.06% and 40.57%, respectively, compared to the baseline Transformer model. These findings highlight the model’s ability to effectively capture complex temporal dependencies, significantly enhancing DO prediction accuracy and robustness in multi-step forecasting tasks. Additionally, the model demonstrates strong performance in pH prediction, underscoring its potential for multi-parameter water quality forecasting. This work provides valuable insights for improving water quality management and mitigating risks in aquaculture.
期刊介绍:
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.