Explainable machine learning models for coastal pH forecasting at aquaculture-relevant thresholds in Eastern Canada

IF 3.1 3区 地球科学 Q2 METEOROLOGY & ATMOSPHERIC SCIENCES
Ocean Modelling Pub Date : 2026-02-01 Epub Date: 2026-01-06 DOI:10.1016/j.ocemod.2026.102682
Zhor Benhafid , Elise Mayrand , Sid Ahmed Selouani
{"title":"Explainable machine learning models for coastal pH forecasting at aquaculture-relevant thresholds in Eastern Canada","authors":"Zhor Benhafid ,&nbsp;Elise Mayrand ,&nbsp;Sid Ahmed Selouani","doi":"10.1016/j.ocemod.2026.102682","DOIUrl":null,"url":null,"abstract":"<div><div>Ocean acidification poses a growing threat to marine ecosystems and aquaculture productivity, particularly in under-monitored coastal regions such as Eastern Canada. Existing pH prediction frameworks typically rely on multi-year records combining extensive carbonate chemistry, physical, and biological parameters. While these models can achieve high accuracy, their data requirements make them costly, complex, and challenging to implement for local, site-specific acidification forecasting in aquaculture contexts. To address this limitation, this study benchmarks several machine learning models for coastal pH<sub>SWS</sub> prediction using only three routinely measured environmental variables (temperature, salinity, sea level), from which we derived moving-average descriptors, local gradients, and two temporal indicators, resulting in a compact set of 11 input features. Six different models and a multivariate linear regression baseline were trained on one of the most complete and extended high-frequency datasets available (BSSS2018) and evaluated across four independent datasets: one from the same site but six months earlier (BSSS2017), and three from nearby bays in northeastern New Brunswick collected between 2017 and 2019. Among all tested models, XGBoost emerged as the most reliable and interpretable, achieving the best trade-off between sensitivity and precision at the operational acidification threshold (<span><math><mrow><mi>p</mi><msub><mrow><mi>H</mi></mrow><mrow><mi>S</mi><mi>W</mi><mi>S</mi></mrow></msub><mo>&lt;</mo><mn>7</mn><mo>.</mo><mn>75</mn></mrow></math></span>). Its performance remained acceptable within-site but declined across bays due to environmental and seasonal discrepancies, underscoring the importance of training data representativeness. SHAP-based explainability confirmed that Julian day was the dominant predictor, integrating the composite effects of seasonal environmental variability. Overall, this study demonstrates that using only low-cost, routinely measured features provides a promising foundation for short-term coastal pH forecasting, particularly for aquaculture monitoring needs. Despite limited inter-bay generalization, the proposed framework shows that interpretable machine learning models can deliver actionable early-warning insights under realistic data constraints. It constitutes one of the first data-driven benchmarks explicitly tested at aquaculture-relevant thresholds, highlighting a scalable and transparent approach toward operational acidification forecasting.</div></div>","PeriodicalId":19457,"journal":{"name":"Ocean Modelling","volume":"200 ","pages":"Article 102682"},"PeriodicalIF":3.1000,"publicationDate":"2026-02-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Ocean Modelling","FirstCategoryId":"89","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S1463500326000065","RegionNum":3,"RegionCategory":"地球科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2026/1/6 0:00:00","PubModel":"Epub","JCR":"Q2","JCRName":"METEOROLOGY & ATMOSPHERIC SCIENCES","Score":null,"Total":0}
引用次数: 0

Abstract

Ocean acidification poses a growing threat to marine ecosystems and aquaculture productivity, particularly in under-monitored coastal regions such as Eastern Canada. Existing pH prediction frameworks typically rely on multi-year records combining extensive carbonate chemistry, physical, and biological parameters. While these models can achieve high accuracy, their data requirements make them costly, complex, and challenging to implement for local, site-specific acidification forecasting in aquaculture contexts. To address this limitation, this study benchmarks several machine learning models for coastal pHSWS prediction using only three routinely measured environmental variables (temperature, salinity, sea level), from which we derived moving-average descriptors, local gradients, and two temporal indicators, resulting in a compact set of 11 input features. Six different models and a multivariate linear regression baseline were trained on one of the most complete and extended high-frequency datasets available (BSSS2018) and evaluated across four independent datasets: one from the same site but six months earlier (BSSS2017), and three from nearby bays in northeastern New Brunswick collected between 2017 and 2019. Among all tested models, XGBoost emerged as the most reliable and interpretable, achieving the best trade-off between sensitivity and precision at the operational acidification threshold (pHSWS<7.75). Its performance remained acceptable within-site but declined across bays due to environmental and seasonal discrepancies, underscoring the importance of training data representativeness. SHAP-based explainability confirmed that Julian day was the dominant predictor, integrating the composite effects of seasonal environmental variability. Overall, this study demonstrates that using only low-cost, routinely measured features provides a promising foundation for short-term coastal pH forecasting, particularly for aquaculture monitoring needs. Despite limited inter-bay generalization, the proposed framework shows that interpretable machine learning models can deliver actionable early-warning insights under realistic data constraints. It constitutes one of the first data-driven benchmarks explicitly tested at aquaculture-relevant thresholds, highlighting a scalable and transparent approach toward operational acidification forecasting.
加拿大东部水产养殖相关阈值沿海pH预测的可解释机器学习模型
海洋酸化对海洋生态系统和水产养殖生产力构成越来越大的威胁,特别是在加拿大东部等监测不足的沿海地区。现有的pH预测框架通常依赖于多年的记录,结合了广泛的碳酸盐化学、物理和生物参数。虽然这些模型可以达到很高的准确性,但它们对数据的要求使得它们在水产养殖环境下进行当地特定地点的酸化预测时成本高昂、复杂且具有挑战性。为了解决这一限制,本研究仅使用三个常规测量的环境变量(温度、盐度、海平面)对几种用于沿海pHSWS预测的机器学习模型进行了基准测试,从中我们获得了移动平均描述符、局部梯度和两个时间指标,从而得到了一组紧凑的11个输入特征。在现有最完整和扩展的高频数据集(BSSS2018)上训练了六种不同的模型和多元线性回归基线,并在四个独立数据集上进行了评估:一个来自同一地点但六个月前(BSSS2017),三个来自2017年至2019年间收集的新不伦瑞克省东北部附近海湾。在所有测试模型中,XGBoost是最可靠和可解释的,在操作酸化阈值(pHSWS<7.75)下实现了灵敏度和精度之间的最佳平衡。它的性能在现场仍然可以接受,但由于环境和季节差异,在海湾之间下降,强调了训练数据代表性的重要性。基于shap的可解释性证实,朱利安日是主要的预测因子,整合了季节环境变化的综合效应。总体而言,本研究表明,仅使用低成本的常规测量特征为短期沿海pH预测提供了有希望的基础,特别是对水产养殖监测需求。尽管跨湾泛化有限,但所提出的框架表明,可解释的机器学习模型可以在现实数据约束下提供可操作的预警见解。它是首批在水产养殖相关阈值上进行明确测试的数据驱动基准之一,突出了可扩展和透明的酸化业务预测方法。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Ocean Modelling
Ocean Modelling 地学-海洋学
CiteScore
5.50
自引率
9.40%
发文量
86
审稿时长
19.6 weeks
期刊介绍: The main objective of Ocean Modelling is to provide rapid communication between those interested in ocean modelling, whether through direct observation, or through analytical, numerical or laboratory models, and including interactions between physical and biogeochemical or biological phenomena. Because of the intimate links between ocean and atmosphere, involvement of scientists interested in influences of either medium on the other is welcome. The journal has a wide scope and includes ocean-atmosphere interaction in various forms as well as pure ocean results. In addition to primary peer-reviewed papers, the journal provides review papers, preliminary communications, and discussions.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书