ORIGINAL RESEARCH article
Front. Mar. Sci.
Sec. Ocean Observation
This article is part of the Research TopicIntegrating Unmanned Platforms and Deep Learning Technologies for Enhanced Ocean Observation and Risk Mitigation in Ocean EngineeringView all 6 articles
Feature-Gradient Enhanced Transformer for Accurate dissolved oxygen saturation Forecasting in Marine Environments
Provisionally accepted- Guangdong service center for veterans, Guangzhou, China
Select one of your emails
You have multiple emails registered with Frontiers:
Notify me on publication
Please enter your email address:
If you already have an account, please login
You don't have a Frontiers account ? You can register here
With the increasing severity of marine environmental issues, dissolved oxygen saturation (O2%) forecasting is not only essential for water quality monitoring and ecological risk assessment, but also for deepening our understanding of how physical and biogeochemical processes jointly shape coastal oxygen dynamics. Using multi-year in situ records from five representative NOAA ocean observation stations spanning distinct hydrographic regimes, this study develops an improved time series forecasting framework based on the Transformer architecture and uses it as a lens to analyze the structure and predictability of O2% variability. A Feature Pyramid Space Transformation (FPST) is incorporated into the encoder to decompose the observed O2% time series into multiple temporal scales, enabling the identification of station-dependent contributions from long-term trends, synoptic variability, and short-term fluctuations. In the decoder, a Gradient Attention Mechanism (GAM) explicitly leverages temporal gradients to highlight sharp transitions and turning points in the observational record, thereby revealing how rapid changes and extreme episodes affect the local predictability of O2%. Experiments on the five buoy datasets show that the proposed framework achieves consistently improved forecasting performance over a range of baseline methods; for example, averaged across all stations, Mean Squared Error (MSE), Mean Absolute Error (MAE), and Mean Absolute Percentage Error (MAPE) are reduced while the coefficient of determination (R2) is increased, indicating a better fit between predicted and observed time series. Further ablation and input-subset experiments demonstrate that FPST and GAM provide complementary benefits and elucidate the relative importance of depth, temperature, and local oxygen concentration as drivers of O2% dynamics at different sites. Overall, the study offers both a robust forecasting tool and an observation-based characterization of the multi-scale structure and event-driven behaviour of dissolved oxygen saturation in coastal ocean environments.
Keywords: dissolved oxygen saturation forecasting, marine environmental monitoring, Multi-scale features, Time series modeling, transformer
Received: 15 Sep 2025; Accepted: 19 Dec 2025.
Copyright: © 2025 Tan, Geng and Bai. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
* Correspondence: Weiyan Tan
Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.
