Pinzheng Hu , Bo Ai , Haolin Cai , Zhen Wen , Wenjun Feng , Chongjun Feng , Xue Liu , Guannan Lv
{"title":"Large language models for the marine environmental variables prediction","authors":"Pinzheng Hu , Bo Ai , Haolin Cai , Zhen Wen , Wenjun Feng , Chongjun Feng , Xue Liu , Guannan Lv","doi":"10.1016/j.joes.2025.11.007","DOIUrl":null,"url":null,"abstract":"<div><div>Monitoring and predicting marine environmental variables are important for safeguarding livelihoods and the economy. Large language models (LLMs) have shown great potential in time series prediction because of their strong computational capabilities, and the application of LLMs to the prediction of marine environmental variables is an emerging area of research. However, LLM-based approaches often exhibit oscillations in prediction outputs and large deviations from observed values. To address these issues, we propose TimeLLM-BERT, a hybrid three-stage model based on feature extraction, autoregressive prediction, and error correction. The model incorporates a structured prompt module, a trend enhancement algorithm, and a residual-fitting optimization strategy, which significantly enhance prediction accuracy. To systematically evaluate the performance of the model, comparative experiments were conducted against LSTM, BiTCN, NBEATSx, iTransformer, NHITS, and Time-LLM models using four key variables: significant wave height (SWH), sea surface temperature (SST), temperature at 2 m above the sea surface (T2M), and wind field (WF). The results show that the performance of the model is significantly better than existing models, and the mean absolute error for SWH prediction is reduced by 24.7%. It also achieves stable performance in SST prediction and strong consistency in WF prediction compared with the existing models. Robustness and universality tests show that the error evaluation indicators exhibit low variation, demonstrating strong stability and generalization ability. In summary, TimeLLM-BERT offers significant improvements in accuracy and stability for predicting marine environmental variables, providing a new framework for modeling complex time series data.</div></div>","PeriodicalId":48514,"journal":{"name":"Journal of Ocean Engineering and Science","volume":"11 1","pages":"Pages 204-221"},"PeriodicalIF":5.8000,"publicationDate":"2026-02-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Ocean Engineering and Science","FirstCategoryId":"5","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S2468013325000932","RegionNum":1,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2025/11/26 0:00:00","PubModel":"Epub","JCR":"Q1","JCRName":"ENGINEERING, MARINE","Score":null,"Total":0}
引用次数: 0
Abstract
Monitoring and predicting marine environmental variables are important for safeguarding livelihoods and the economy. Large language models (LLMs) have shown great potential in time series prediction because of their strong computational capabilities, and the application of LLMs to the prediction of marine environmental variables is an emerging area of research. However, LLM-based approaches often exhibit oscillations in prediction outputs and large deviations from observed values. To address these issues, we propose TimeLLM-BERT, a hybrid three-stage model based on feature extraction, autoregressive prediction, and error correction. The model incorporates a structured prompt module, a trend enhancement algorithm, and a residual-fitting optimization strategy, which significantly enhance prediction accuracy. To systematically evaluate the performance of the model, comparative experiments were conducted against LSTM, BiTCN, NBEATSx, iTransformer, NHITS, and Time-LLM models using four key variables: significant wave height (SWH), sea surface temperature (SST), temperature at 2 m above the sea surface (T2M), and wind field (WF). The results show that the performance of the model is significantly better than existing models, and the mean absolute error for SWH prediction is reduced by 24.7%. It also achieves stable performance in SST prediction and strong consistency in WF prediction compared with the existing models. Robustness and universality tests show that the error evaluation indicators exhibit low variation, demonstrating strong stability and generalization ability. In summary, TimeLLM-BERT offers significant improvements in accuracy and stability for predicting marine environmental variables, providing a new framework for modeling complex time series data.
期刊介绍:
The Journal of Ocean Engineering and Science (JOES) serves as a platform for disseminating original research and advancements in the realm of ocean engineering and science.
JOES encourages the submission of papers covering various aspects of ocean engineering and science.