Source-linked AI summary

A Responsible Artificial Intelligence Framework for Groundwater Modeling

Chong Chen, Yulu Zhang, Qingxi Guo, Yihan Liu

arXiv:2608.15657v1cs.AI

TL;DR

Responsible AI research and AI application in groundwater remain limited, while simplified physical assumptions may inadequately represent groundwater systems. This paper establishes a six-principle framework and evaluates LSTM and Transformer models, finding that Transformer performs better in interpretability and robustness and supports zoned groundwater regulation thresholds.

  • Problem

    Responsible AI research and AI application in groundwater remain limited, while simplified physical assumptions may fail to accurately reflect groundwater systems.

  • Method

    The paper establishes a Responsible AI framework and empirically evaluates LSTM and Transformer groundwater models across the model lifecycle.

  • Results

    Transformer achieves better interpretability, lower prediction uncertainty, stronger anti-disturbance capacity, and better overall robustness than LSTM, with zoned groundwater regulation thresholds proposed.

  • Takeaways & Limitations

    The framework demonstrates an operational approach for applying Responsible AI principles to groundwater systems and informing zoned groundwater regulation.

  • Takeaways & Limitations

    The models cannot handle extreme or unseen scenarios and cannot quickly identify and fix errors once they occur.

Abstract

from arXiv · show

The rapid development and widespread application of artificial intelligence (AI) have sparked intense discussions on how to deploy responsible AI systems in a manner aligned with human values and ethical standards. Compared to fields like healthcare, energy, or finance, the application of AI in groundwater is relatively limited, and research on responsible AI is even more scarce. Taking the middle reaches of the Heihe River Basin as the study area, this paper proposes six Responsible AI principles: transparency, technical robustness, privacy governance, fairness, accountability, and sustainability. LSTM and Transformer time-series models are developed using multi-source hydrometeorological data, and validated via post-hoc interpretability, Monte Carlo simulation, and scenario analysis. The results show that Transformer outperforms LSTM in accuracy, robustness, and interpretability, demonstrating the operability and practical value of Responsible AI principles in groundwater prediction to support sustainable water management under climate change and human activities.

1 College of Artificial Intelligence, China University of Petroleum – Beijing

This section identifies the authors’ affiliation and frames the paper around responsible AI for groundwater-level prediction using LSTM and Transformer models.

  • Responsible AI is a central keyword of the paper.
  • Groundwater-level prediction is studied with LSTM and Transformer models.

1 Introduction

The introduction frames responsible AI as necessary for governing ethical, secure, and accountable AI amid emerging risks, and identifies groundwater modeling as a domain requiring such governance. It proposes a lifecycle framework integrating key principles and evaluates LSTM and Transformer models to support sustainable groundwater management.

  • Motivation: AI’s growing capabilities have intensified concerns about opaque decisions, data leakage, algorithmic prejudice, privacy infringement, and broader governance risks.Responsible AI addresses these concerns by emphasizing secure, ethical, trustworthy, accountable, and value-aligned systems.
  • Motivation: Groundwater supports agricultural, industrial, and domestic water use, while climate change is dramatically altering its recharge, runoff, and discharge.Its concealed and spatiotemporally heterogeneous dynamics challenge traditional hydrological models based on simplified physical assumptions.
  • Motivation: Deep learning can mine massive datasets, capture complex nonlinear relationships, and deliver timely, precise groundwater predictions.These capabilities have made deep learning an important research direction in water resources.
  • Contribution: The paper proposes a Responsible AI governance framework for groundwater models that integrates transparency, technical robustness, fairness, and accountability across the model lifecycle.Responsible AI translates trustworthiness into practical accountability and upholds fairness, sustainability, and public interests throughout AI development and deployment.
  • Contribution: Empirical studies using LSTM and Transformer models provide technical support for sustainable groundwater management and reference for AI applications in other high-risk fields.The introduction identifies these models as the empirical basis for applying the proposed governance framework.

2 Research Methods

The study operationalizes Responsible AI for groundwater prediction by tailoring general principles to groundwater-specific requirements and developing LSTM and Transformer time-series models. The methods emphasize lifecycle-oriented governance alongside model architectures that capture temporal dependencies and sequence relationships.

  • Responsible AI framework: The framework covers explainability, safety, accountability, fairness, and privacy, with transparency encompassing explainability and openness.Sustainability and environmental well-being are identified as further expansions of AI principles.
  • Responsible AI framework: Responsible AI principles are mapped to groundwater prediction through analysis of data governance, model development, and decision support.The framework seeks fair and responsible AI development and application across scenarios.
  • LSTM model: LSTM uses forget, input, and output gates to store information in memory units and learn long-term dependencies between inputs and outputs.The gates control retention, entry, and output of information, allowing dependence on inputs at different times to be adjusted.
  • Transformer model: The Transformer combines encoder–decoder structure, multi-head self-attention, positional encoding, and feed-forward networks.Self-attention focuses on different sequence positions, positional encoding represents time-step locations, and feed-forward layers add nonlinear transformations.

3 Responsible AI Framework for Groundwater Modeling · 3.1 Transparency

The framework assigns distinct responsibilities to four groundwater-prediction stakeholder groups, while transparency requires interpretable models and lifecycle records that support review, verification, reproducibility, and accountability.

  • 3 Responsible AI Framework for Groundwater Modeling: Four stakeholder groups—data providers, model developers, model users, and local communities and the general public—hold distinct responsibilities in groundwater prediction.These responsibilities concern data resources, model performance, water-resource utilization, and ecological protection.
  • 3 Responsible AI Framework for Groundwater Modeling: The stakeholder responsibilities define roles and functions within the Responsible AI framework and jointly advance its scientificity, ethics, and sustainability.Responsible AI practices further refine task division and clarify entities responsible for implementation.
  • 3.1 Transparency: Transparency requires human-understandable model logic, full-process recording, reproducibility, and verifiability to improve decision credibility and acceptability.This definition frames transparency as a lifecycle property rather than only an explanation of model outputs.
  • 3.1.1 Explainability: Black-box models may fail under extreme or unseen scenarios and cannot quickly identify or fix errors, making XAI essential for interpreting their internal logic.XAI identifies influential input factors and can improve model trustworthiness when combined with traceability and audience-tailored interpretation.
  • 3.1.1 Explainability: Explainability makes groundwater predictions interpretable, reviewable, and communicable to managers and decision-makers while aligning outputs with hydrological mechanisms and regional conditions.Groundwater variation reflects hydrological, meteorological, and human influences that change across time series.
  • 3.1.2 Traceability: Traceability uses documented identifiers, metadata management, structured logging, version control, and distributed storage to track data, development, and deployment.These practices record data sources, processing flows, model parameters, and decision logic across the lifecycle.
  • 3.1.2 Traceability: Complete traceability enhances groundwater-model reliability and transparency, supports accountability and error tracing, and makes the lifecycle reviewable, verifiable, and reproducible.Blockchain and immutable distributed ledgers are recommended for core storage and parameter-adjustment records because centralized logs are vulnerable to tampering.
  • 3.1.2 Traceability: A full-process recording mechanism documents collection, preprocessing, model structure, variable selection, dataset partitioning, hyperparameters, training time, predictions, and evaluation metrics.Embedding traceability and logging early facilitates auditing and satisfies diverse transparency demands.

3.2 Privacy and Data Governance

The section frames privacy and data governance as complementary standards for protecting individuals and managing data quality, access, confidentiality, and lawful use. It outlines technical privacy protections and a four-aspect governance framework spanning the data lifecycle.

  • Privacy and Data Governance: Privacy protects individuals’ rights by keeping personal data safe, preventing unauthorized use, and giving people control and knowledge over its use.Privacy and data governance together establish management standards for data access, quality, and privacy.
  • Privacy and Data Governance: Federated learning keeps raw data local, performs early edge aggregation, and exchanges only task-essential information.This approach supports data protection by limiting raw-data movement between clients.
  • Privacy and Data Governance: Differential privacy protects deep-neural-network training through gradient clipping and Gaussian noise injection, either independently or jointly with other methods.These methods safeguard personal privacy and minimize potential risks.
  • Privacy and Data Governance: Data governance establishes four key aspects: sensitive-data protection, fine-grained access management, strict quality control, and comprehensive regulatory compliance.The framework uses minimization, de-identification, hierarchical protection, role-based permissions, encryption, and checks for accuracy, completeness, and timeliness.

3.3 Technical Robustness and Safety

Technical robustness and safety require groundwater models to maintain reliable outputs under noisy data, extreme conditions, unseen scenarios, and potential attacks. This framework emphasizes proactive risk prevention, uncertainty quantification, data protection, continuous validation, and reproducibility.

  • Risk prevention and uncertainty: Proactive risk prevention should address data-collection, transmission, and preprocessing risks before training, while uncertainty quantification communicates prediction confidence to decision-makers.Out-of-distribution detection and uncertainty quantification are identified as strategies for enhancing system security and anticipating unreliable outputs.
  • Robustness: Robust models should maintain stable, reliable performance under sensor errors, missing observations, climate extremes, intense human activities, adversarial conditions, and out-of-distribution inputs.Groundwater data may be impaired by sensor errors, noise, and missing observations, while sharp rainfall increases or water extraction can produce unreliable outputs.
  • Security: Accuracy is the core security objective because underestimated groundwater decline may cause ecological degradation and water-supply prediction errors may threaten domestic water safety.Continuous validation, testing, monitoring, and encryption are proposed to protect performance and sensitive hydrological data.
  • Reproducibility: Reproducibility supports credible assurance of system robustness and safety, but evaluation depends on confidentiality, proprietary development platforms, and access to code and data.Where core algorithms or datasets are undisclosed, strict protocols, detailed documentation, and standardized testing are needed for consistent evaluation results.

3.4 Fairness

The fairness framework addresses data and algorithm bias in groundwater prediction. It emphasizes representative data, climate-specific feature selection, suitable architectures, and fair training strategies to support balanced predictions.

  • Fairness: Sparse records in remote or water-abundant areas bias models toward well-sampled regions and weaken prediction performance in data-deficient areas.Water-scarce regions generally have more detailed and frequent observations, whereas remote or water-abundant areas face cost and technical constraints.
  • Fairness: Input variables require screening and optimization across climatic zones because precipitation has limited arid-region impact but is central in humid regions.Proper data collection and feature selection are identified as ways to achieve data fairness.
  • Fairness: Model architecture and optimization can create algorithm bias because models differ in adaptability to data distributions, sequence lengths, and nonlinear features.Transformer relies on large datasets and long sequences and may overfit or generalize poorly with limited samples, whereas LSTM and GRU capture local temporal dependencies.
  • Fairness: Fair training can reduce bias through fairness constraints, globally tuned hyperparameters, reduced model scale, and architectures matched to data characteristics.Regression analysis, T-tests, SMOTE, Bayesian optimization, grid search, and particle swarm optimization are described as applicable techniques.

3.5 Accountability

Accountability in groundwater AI modeling establishes traceable responsibilities, auditable conduct, and accountable outcomes. The proposed RACI matrix formalizes responsibility allocation across five critical stages to create a transparent chain of responsibility.

  • 3.5 Accountability: Accountability clarifies responsibilities, supports auditable conduct, and assigns liabilities for technical risks and biased outputs.Stochastic decision mechanisms lack clear accountability when they cannot explain decision logic or assign liabilities to specific entities.
  • 3.5 Accountability: The proposed RACI matrix formalizes responsibility allocation across five stages: data quality, model development, water resource scheduling, ecological impact assessment, and grievance redress.It is designed to establish a transparent chain of responsibility and prevent accountability from becoming diluted.
  • 3.5 Accountability: In data quality, data providers are responsible and accountable, model developers are consulted for technical support, model users provide advice, and the public is informed.This allocation assigns direct implementation and outcome responsibility while preserving consultation and public notification.

3.6 Sustainability

Sustainability requires groundwater AI to balance predictive accuracy and computational efficiency with low energy use, ecological protection, and equitable water allocation. Models should support long-term groundwater regulation while safeguarding aquifer stability, ecosystems, and vulnerable groups.

  • Computational sustainability: Sustainable AI prioritizes low energy consumption and high accuracy through optimized architectures, training strategies, computing resources, pruning, distillation, and early stopping.These measures reduce training and inference overhead without obvious accuracy loss.
  • Computational sustainability: Groundwater prediction should evaluate energy consumption and computing costs alongside RMSE and R² to balance model performance with sustainability.The framework emphasizes full-stack optimization across data, algorithms, training, and hardware.
  • Ecological and social sustainability: Groundwater models should coordinate multi-stakeholder demands, ensure equitable allocation, and prioritize groundwater maintenance, efficient irrigation, and ecological restoration.This approach balances social and ecological benefits while avoiding adverse impacts on vulnerable groups and ecosystems.
  • Ecological and social sustainability: Ecological demand thresholds and scenario simulation support long-term groundwater prediction, regulation, and interregional allocation while preventing ecological degradation.Dynamically optimized models adapt to changing watershed conditions and promote ecological improvement.

4 Experiment

The experiment uses multi-source monthly hydrometeorological data from the middle Heihe River Basin, with systematic preprocessing, chronological splitting, and sliding-window reconstruction for groundwater-level prediction. Transformer generally performs better than LSTM, although both achieve high accuracy at Observation Well No.28.

  • Study area and data: The study uses monthly multi-source groundwater and meteorological data from 1986 to 2008 in the middle reaches of the Heihe River Basin.Inputs include groundwater level, recharge depth, water extraction, precipitation, and temperature.
  • Data preprocessing: The experiment reconstructs samples with a sliding window of 60 for one-step-ahead groundwater-level prediction.Predicted values are inversely normalized to their original physical dimensions for comparison with measured data.
  • Prediction results: After integrating multi-source features, both models improve prediction accuracy, while Transformer better tracks groundwater-level peaks and troughs overall.LSTM remains effective at capturing local abrupt changes, whereas Transformer benefits from global self-attention and sequential-dependency learning.
  • Prediction results: R2 of 0.924 makes Transformer approximately 11% higher than LSTM at Observation Well No.2.This indicates higher fitting accuracy and stronger explanatory power for water-level variations at that well.
  • Prediction results: At Observation Well No.28, LSTM has slightly lower error metrics and R2 (0.989) versus Transformer's 0.986, with both models achieving high prediction accuracy.The small performance difference contrasts with Transformer’s advantages under more complex hydrological conditions and larger fluctuations.

5 Results and discussions

Results show that Transformer provides more stable and interpretable groundwater predictions than LSTM, with narrower uncertainty bounds and better long-term trend representation. Scenario analyses further identify contrasting groundwater risks and management responses across the piedmont inclined plain and river plain.

  • Interpretability: SHAP analysis identifies pumping volume and recharge depth as the main groundwater-change drivers, while precipitation and temperature have lower importance in the arid/semi-arid climate.Both models capture the core physical drivers, but Transformer produces more stable and traceable feature contributions through self-attention.
  • Uncertainty analysis: At Well No.2, LSTM uncertainty widens over time, whereas Transformer maintains narrower confidence intervals and better fits the long-term declining trend.At Well No.28, both models capture seasonal fluctuations, but Transformer shows tighter confidence bounds.
  • Optimization strategies: Hyperparameter search improves temporal-feature capture, while manually set parameters can produce negative test-set R2 and early stopping alone remains inferior to systematic optimization.Grid search is used for LSTM and Bayesian optimization for Transformer.

6 Conclusions

The paper establishes and verifies a six-principle Responsible AI framework for groundwater modeling, comparing LSTM and Transformer predictions in the middle reaches of the Heihe River Basin. Transformer shows more stable interpretability, lower uncertainty, stronger anti-disturbance capacity, and better overall robustness, supporting zoned groundwater regulation and sustainable management.

  • Framework: The framework covers transparency, privacy governance, technical robustness, fairness, accountability, and sustainability while clarifying stakeholder responsibilities.It addresses groundwater systems’ invisibility, complex monitoring, and multi-agent governance.
  • Model comparison: In the middle reaches of the Heihe River Basin, LSTM and Transformer are compared for groundwater-level prediction using hydrometeorological data.The comparison evaluates prediction performance within the proposed Responsible AI framework.
  • Interpretability: Transformer achieves more stable feature attribution with less noise and captures long-range dependencies, whereas LSTM relies on recent temporal information.These findings distinguish the models’ temporal information use and interpretability behavior.
  • Robustness: Transformer has lower prediction uncertainty, stronger anti-disturbance capacity, and better overall robustness than LSTM.The conclusion identifies these as key comparative advantages in prediction robustness.
  • Groundwater regulation: Zoned thresholds require river-plain recharge of no less than 10% under Transformer, recharge not exceeding 10% under LSTM, and pumping increases within 20% for both models.Both models call for stricter pumping control and recharge measures in the piedmont inclined zone.
  • Implications: The framework’s practicability is verified, and its models and methods provide references for sustainable groundwater management and standardized AI application in hydrology.The stated references are both technical and practical.
Loading 2608.15657v1…