Earth Science Frontiers ›› 2026, Vol. 33 ›› Issue (1): 419-431.DOI: 10.13745/j.esf.sf.2025.10.1

Previous Articles     Next Articles

Research on groundwater level prediction of northern karst spring of China based on LSTM-Attention neural network

HUANG Linxian1(), XU Zhenghe1, ZHI Chuanshun1, LI Shuang2, LIU Zhizheng2, XING Liting1, ZHU Henghua3, WANG Xiaowei3, BI Wenwen4, HU Xiaonong1,*()   

  1. 1. School of Water Conservancy and Environment, University of Jinan, Jinan 250022, China
    2. Shandong Institute of Geological Survey, Jinan 250013, China
    3. Shandong Provincial Territorial Spatial Ecological Restoration Center, Jinan 250014, China
    4. Shandong Provincial Geo-mineral Engineering Exploration Institute (No.801 Hydrogeological and Engineering Exploration Brigade of Shandong Provincial Bureau of Geology and Mineral Exploration and Development), Jinan 250014, China
  • Received:2025-06-20 Revised:2025-10-10 Online:2026-01-25 Published:2025-11-10

Abstract:

Karst groundwater serves as a critical water source in northern karst regions of China, and accurately forecasting its water level dynamics is essential for the scientific management and conservation of groundwater resources. However, the inherent strong heterogeneity and anisotropy of karst aquifer systems often result in non-stationary and nonlinear groundwater fluctuations, posing significant challenges for reliable prediction and frequently leading to considerable errors. This study proposes a multivariate groundwater level forecasting model for the Baotu Spring, based on the integration of an attention mechanism and a long short-term memory (LSTM) neural network. The model is trained and validated using daily data from 2013 to 2024, including precipitation (as a proxy for recharge), vapor pressure, air temperature, and groundwater extraction volume (as indicators of discharge). The main findings are as follows: (a) The BEAST (Bayesian Estimator of Abrupt Change, Seasonality, and Trend) algorithm was applied to the 1958-2024 Baotu Spring groundwater level time series, identifying four abrupt change points. Based on these, the time series was segmented into four distinct stages. (b) Cross-correlation analysis revealed a time lag of approximately 2-3 months between precipitation and groundwater level variations, suggesting a strong dynamic coupling between the two variables. (c) The proposed model incorporates multiple input variables (precipitation, vapor pressure, temperature, and extraction volume). The interplay among these variables enhances model interpretability and contributes to improved forecasting accuracy. (d) Daily temperature data were smoothed using a sinusoidal fitting function, which effectively reduces measurement noise and improves prediction performance. (e) Compared to standard LSTM and gated recurrent unit (GRU) models, the LSTM-Attention model demonstrates superior predictive capability. By leveraging the attention mechanism to prioritize influential features, it achieved a root mean square error (RMSE) of 0.13 m and a coefficient of determination (R2) of 0.94. In summary, the LSTM-Attention-based forecasting model exhibits robust accuracy and stability, offering valuable insights into the precise prediction of groundwater dynamics in karst environments.

Key words: northern karst, prediction of groundwater dynamics, multivariate modeling, LSTM-Attention neural network

CLC Number: