Optimizing groundwater management to prevent drawdown and sustain agricultural production using machine learning model | Research Square window.SnipcartSettings = { analytics: { enabled: false } }; (function() { var accessVector = localStorage.getItem('access_vector') || ''; window.dataLayer = window.dataLayer || []; if (accessVector) { window.dataLayer.push({ user: { profile: { profileInfo: { snid: accessVector } } } }); } })(); (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-K279D39R'); Browse Preprints In Review Journals COVID-19 Preprints AJE Video Bytes Research Tools Research Promotion AJE Professional Editing AJE Rubriq About Preprint Platform In Review Editorial Policies Our Team Advisory Board Help Center Sign In Submit a Preprint Cite Share Download PDF Article Optimizing groundwater management to prevent drawdown and sustain agricultural production using machine learning model Sheng-Wei Wang, Yu-Hsuan Kao, Yen-Yu Chen, Shu-Han Hsu, Masaomi Kimura, and 2 more This is a preprint; it has not been peer reviewed by a journal. https://doi.org/ 10.21203/rs.3.rs-4614420/v1 This work is licensed under a CC BY 4.0 License Status: Posted Version 1 posted You are reading this latest preprint version Abstract This study presents a comprehensive analysis of groundwater level prediction and management using an extreme gradient boosting (XGB) model, optimized through Bayesian techniques. To address the challenge of unavailable accurate pumping volume data in high-density agricultural well areas, our approach leverages well power consumption as a key feature for the machine learning model. This innovative method enables accurate groundwater level predictions based on precipitation and power consumption data. To mitigate significant groundwater level declines during drought periods, the developed XGB model offers flexible design scenarios with varying degrees of groundwater extraction reduction. This capability allows for rapid predictions of groundwater levels, providing decision-makers with a powerful tool to adapt to hydrological uncertainties caused by future climate change. The results of model testing present that the increases in groundwater levels with a 25% reduction in power consumption range from 0.45 to 0.79 m during the wet season and from 0.45 to 0.99 m during the dry season. Interestingly, as the percentage of power consumption reduction increases, the elevations in groundwater levels do not increase proportionally, indicating that the non-linear characteristics among the interactions of precipitation, pumping behaviors, and groundwater level variations. In all three scenarios, the increases in groundwater levels during the dry season are significantly greater than those during the wet season. This implies that appropriate reductions in pumping volumes during drought periods can effectively prevent sharp groundwater level drawdowns. Furthermore, the XGB model plays a crucial role in formulating groundwater extraction reduction policies and agricultural fallow subsidy programs. When considering the opportunity cost of agricultural labor, the subsidies for the first and second crop periods meet only 30% and 59% of the economic profit, respectively. This economic shortfall is a major barrier to the adoption of fallowing practices by farmers during droughts. Therefore, it is crucial to enhance these subsidies to make fallowing a more viable and attractive option for farmers. In conclusion, while predictive modeling offers a robust tool for groundwater management and policy decision-making, there is a clear need for improved economic incentives and integrated management strategies. Earth and environmental sciences/Hydrology Earth and environmental sciences/Environmental social sciences/Climate-change adaptation Groundwater level prediction Extreme gradient boosting Drought Agricultural economic Figures Figure 1 Figure 2 Figure 3 Figure 4 Figure 5 Figure 6 Figure 7 1. Introduction Groundwater is the largest and one of the most important sources of freshwater, and it supports a major part of the domestic and irrigation needs of many nations 1 . However, the increase in groundwater extraction and continued climate change have played significant roles in the groundwater level decline 2 . Extreme climatic conditions such as droughts and anthropogenic activities, such as rapid population growth, industrial development, the expansion of agricultural activities, and other domestic uses, have escalated the demand for groundwater, highly influencing groundwater levels 3 . A decrease in the groundwater level can trigger serious environmental consequences, such as groundwater quality deterioration, ecosystem degradation, reduced agricultural production, land subsidence, and seawater intrusion 4,5 . Moreover, agricultural irrigation is critical for crop production and food security worldwide. For regions with intensive agricultural development, the increasing demand for water resources, coupled with the effects of climate change, has led to water scarcity issues and competition among different sectors. Therefore, the sustainable use of groundwater is essential for water resource conservation and food security. Accurately predicting groundwater levels is a significant challenge in managing aquifer systems, especially in regions where surface water is scarce 6 . There are two main categories of models for groundwater prediction: physically descriptive models and data-driven empirical models 7 . Physical models typically require extensive datasets covering parameters such as the water content, hydraulic conductivity, precipitation, volume of groundwater extraction, and soil properties, as well as information about human activities, such as dam construction 8,9 . These models also require precise information on the properties of aquifers to account for subsurface variability 10 . However, implementing physical models is challenging due to the immense need for accurate data, which are often limited due to cost and time constraints 11,12 . Although physical models are historically important, they have limitations. They require large amounts of data and can take a long time to construct, particularly for complex hydrogeological systems. Furthermore, the nonlinear behavior of subsurface systems and their responses to climatic variables can complicate modeling, given the large datasets required to achieve high accuracy. As alternatives, data-driven empirical models have gained traction, as an in-depth representation of some system properties is unnecessary 13 . Machine learning algorithms use advanced mathematics to identify optimal functions based on the available data and support tasks such as prediction, classification, and anomaly detection. Machine learning algorithms excel at identifying intricate patterns in data, making them an excellent choice for groundwater level prediction 13 . In the last two decades, artificial neural networks (ANNs) have become popular algorithms, followed by support vector machines (SVMs) and adaptive network-based fuzzy inference systems (ANFISs) 14,15 . However, the main drawback of these algorithms is that they are computationally intensive, and training is time consuming, especially for large datasets. Despite their good performance in modeling groundwater levels, ANNs can get stuck at local minima and be affected by overfitting during model training. In addition, their inability to compute missing values and address data correlations can lead to complex simulations with long calibration times 16 . SVMs are sensitive to the choice of kernel function and parameters and struggle with noisy data. Moreover, it is challenging to determine suitable numbers of fuzzy sets and rules when applying ANFISs 17 . Decision tree-based models, notably extreme gradient boosting (XGB), are appealing alternatives to ANNs 18 . These models are particularly advantageous for small datasets and offer various benefits. Unlike ANNs, decision trees provide more interpretable results. They allow for flexible model development, accommodating data with varying complexities and levels of accuracy. Decision trees can effectively model nonlinear relationships without requiring prior statistical assumptions, data transformations, or outlier elimination. These algorithms are valuable for both classification and regression tasks in supervised learning. Decision trees recursively partition the training data across input variables and fit simple functions to each partition. However, decision tree models are sensitive to data size and quality, potentially leading to overfitting. To address this issue, ensemble decision trees combine multiple weak learners to form a robust model. Boosting and bagging are two key techniques in ensemble modeling. Bagging involves training homogeneous weak learners in parallel using bootstrap subsets of the original dataset and combining their results to reduce model variance. Boosting can be used to train weak learners sequentially in an adaptive manner, with a focus on challenging samples that can reduce model bias. These techniques have inspired various machine learning algorithms. For instance, random forests (RFs), which are based on bagging, have become prominent for classification and regression across various fields. Additionally, algorithms such as AdaBoost and the gradient boosting machine (GBM) implement boosting. GBM algorithms, such as the light gradient boosting machine (LightGBM) and extreme gradient boosting (XGB), excel at capturing the complex nonlinear relationships among variables. XGB, in particular, is renowned for its exceptional performance and is highly recommended for predicting natural phenomena. In summary, decision tree-based models, especially XGB, are attractive alternatives to ANNs. XGB models provide interpretable results, are well suited for small datasets, and have demonstrated remarkable performance and versatility in various practical applications 19–21 . The application of XGB for groundwater level prediction remains relatively unexplored, despite recent reports of remarkable performance and accuracy. Table 1 shows that previous studies employed XGB for various purposes, ranging from small- to large-scale applications. These applications encompass irrigation pumping and planning, investigating the demands of growing populations, assessing hydrogeological interactions, and exploring drought mitigation strategies. The spatial scope, including the study area and the number of monitored groundwater wells, largely depends on the specific research objectives. The temporal scales of datasets are primarily determined based on data availability and the objectives of groundwater level prediction. One critical concern in groundwater level prediction using machine learning is the collection of sufficient input features. Table 1 highlights that the most employed model inputs include observed groundwater level, precipitation, evapotranspiration, and temperature records, as previously noted by 14 . Groundwater levels in aquifer systems are predominantly monitored via observation wells, providing critical insights into how hydrological influences affect recharge, storage, and discharge. Previous studies have consistently underscored the significance of the relationships among groundwater levels, rainfall, and groundwater utilization by growing populations 22–24 . Groundwater discharge is frequently characterized by the pumping rate 25–27 . However, assessments of dynamic groundwater pumping in the field are often challenging due to substantial infrastructure costs, particularly in areas with intensive irrigation. As a practical alternative, many machine learning models can be used to estimate total groundwater pumping over a season or year, as a proxy for groundwater discharge. Notably, in regions where electric motors power most irrigation wells, electricity consumption has become a reliable indicator of groundwater pumping rates 28,29 . Table 1 Previous studies of the application of XGB model on groundwater level prediction Purpose of previous study Temporal scale Spatial scale of study area Input parameters Performance of model testing To assess geological-geomechanical properties on groundwater level changes (Kenda et al., 2018) Daily 518 stations Groundwater information Weather data Pump sensor data R 2 = 0.644 RMSE = 0.0211 cm To improve Real-time irrigational planning (Brédy et al., 2020) Hourly ~ 0.18 km 2 with 3 monitoring wells Groundwater level Precipitation Evapotranspiration R 2 = 0.73–0.83 RMSE = 2.66–3.59 cm (for P1 well) To keep water sustainability and drought mitigation (Hussein et al., 2020) Monthly Global 7 features sets from satellite images R 2 = 0.6165 RMSE = 5.544–6.145 m To predict groundwater level in highly populated towns (Osman et al., 2021) Daily 1429.1 km 2 with 5 monitoring wells Groundwater level Precipitation Temperature Evaporation R 2 = 0.11–0.92 RMSE = 0.137–0.448m To predict groundwater level dynamics across a tropical peatland (Hikouei et al. (2023) Monthly 453 km 2 with 292 dipwells Groundwater level Precipitation Evapotranspiration Surface heights Distance to the canal R 2 = 0.995 RMSE = 0.101 m To assess the geo-environmental for sustainable groundwater restoration (Mahammad et al., 2023) Seasonal 3200 km 2 with 30 monitoring wells Precipitation Population growth Use of groundwater R= -0.72–0.9 RMSE = 4.73–0.52m From a macroscopic perspective, the primary motivation behind groundwater level prediction is the anticipation of drought events increasing in frequency in the context of continued climate change. The escalating stress of surface water scarcity has led to the overexploitation of groundwater, resulting in heightened pumping costs, diminished base flow, saltwater intrusion, and land subsidence 30 . However, curbing intensive irrigation pumping could lead to notable losses, spanning agricultural economics and food security. Consequently, addressing the mitigation of irrigation practices and assessing the socioeconomic implications of groundwater management are imperative tasks 31–33 . Hence, the objective of this study is to establish a groundwater level prediction model using data related to groundwater dynamics, electricity consumption by pumping wells, and precipitation as inputs for the XGBoost (XGB) algorithm. The developed model can be applied to assess the impact of reducing groundwater usage for irrigation on crop yields and fallowing subsidies. 2. Materials and methods 2.1 Study area Yun-Lin County, which is situated in the southern region of the Choushui River alluvial fan in southwestern Taiwan, spans an extensive area of approximately 1,291 km² and serves as a crucial hub for rice production (Fig. 1 (a)). The formation of this alluvial fan was influenced by the Choushui River, which flows from the Central Mountains before diverging to create a triangular alluvial fan characterized by fine-grained sediment enriched in organic carbon. Hydrogeologically, the Choushui River alluvial fan is primarily categorized into apex-fan and apron-fan areas. Due to inadequate surface water resources and rapid direct runoff within the apron fan area, a considerable volume of groundwater has been extracted to serve as a reliable source of irrigation water for agricultural cultivation. Intensive pumping activities have led to a significant decline in groundwater levels and subsequent land subsidence. The Global Navigation Satellite System (GNSS) has been used by the Water Resources Agency in Taiwan to identify areas with land subsidence rates exceeding 3 and 5 cm/year, raising concerns about the safety of public transportation infrastructure. In this study, a groundwater monitoring well located at the center of a land subsidence area and adjacent to the Taiwan High-Speed Rail network is selected as the target for groundwater level prediction. This groundwater monitoring well, situated in an apex-fan area, was completed in gravel and sand, constituting an unconfined aquifer. In the apron fan areas, geological formations consist of interlayered sequences, including marine and nonmarine sequences. The nonmarine sequences, comprising coarse sediment ranging from medium sand to highly permeable gravel, constitute the most significant aquifer units. According to geological investigations by the Water Resources Agency in Taiwan, the depths of the main aquifers at these monitoring wells range from 7–12 m, 65–102 m, and 121–146 m, respectively (Fig. 1 (b)). Rainfall infiltration serves as the primary recharge source for the shallowest aquifer. Based on measurements by the Central Weather Administration in Taiwan, the average annual rainfall at the meteorological station in this study from 2007 to 2023 totaled 1323 mm, with a noticeable difference between the wet (May–October) and dry (November–April) seasons, with values of 1155.3 mm/year and 168.1 mm/year, respectively. Notably, approximately 87.3% of the annual rainfall occurs during the wet season, highlighting the reliance on groundwater resources for irrigation during the dry season. Figure 1 (c) illustrates the distribution of pumping wells around the monitoring wells. Within a 2.5-km radius surrounding the groundwater monitoring wells in the study area, a total of 2,894 pumping wells were identified. These wells cover an agricultural land area of 1,520 hectares, with approximately 1,030 hectares dedicated to rice cultivation. 2.2 Data preparation and model features An extensive dataset spanning over 20 years of groundwater level monitoring data and rainfall measurements was established to provide a robust foundation for assessing temporal variations in groundwater resources. Notably, the numerous pumping wells have a notable effect on the aquifer system. The power consumption of each individual pumping well within a 2.5 km radius of the monitoring wells was utilized as a model feature in replace of the pumping volume. The groundwater level, rainfall, and power consumption data for pumping wells spanning from July 2007 to June 2023 were sourced from the Water Resources Agency, the Central Weather Administration, and Taiwan Power Company, respectively. Since power consumption data are available monthly, hourly groundwater level data and rainfall records were respectively averaged and summed to establish monthly datasets. In this study, pumping wells were categorized based on their registered water usage rights into agricultural, industrial, domestic, public, and other classes. Notably, within the agricultural water usage class, five types of irrigation practices, five types of livestock farming, and an aquaculture practice are identified (Table 2 ). The depth, motor power, and diameter of the pumping wells were obtained to explore the pumping well characteristics. Based on the classes of pumping wells illustrated in Fig. 2 (a), 1,061 pumping wells are dedicated to single-crop rice cultivation, while 684 pumping wells are used for double-crop farming, together accounting for 60% of all pumping wells. Another significant purpose of groundwater abstraction is dryland farming, with 909 pumping wells allocated for this purpose, constituting 31.4% of the total. Hence, these three purposes represent the primary types of groundwater discharge from the aquifer. Although the remaining classes of pumping wells represent only 8.6% of the total, their power consumption must still be considered due to the potential impact of flow rate on groundwater levels, which cannot be overlooked. Furthermore, the characteristics of most pumping wells exhibit consistency, as evidenced by several factors. Approximately 79.5% of the wells reach a depth of at least 50 meters below the ground, while 85.1% of the wells feature pumping motors with a horsepower rating between 2 and 5 HP. Additionally, the diameter of the well tube for 87% of the wells falls within the range of 2 to 5 inches (Fig. 2 (b)-(d)). Despite the use of conversion factor for estimating the pumping volume at each well, which refers to the volume of groundwater abstracted per unit power consumed, uncertainties arise due to variations in hydrogeological conditions and well characteristics 34 . Considering that the power consumption of a single well is directly proportional to the pumping volume, utilizing consumed power as the input for machine learning models is preferable to using the estimated groundwater volume, even in numerical transport models. Table 2 Groundwater usage category and the average power consumption of pumping wells in each category Groundwater usage Abbreviation Power consumption of pumping well Average ± Standard deviation Minimum–maximum Agricultural water use Irrigation-Single crop rice AWU-IP1 114,135.3 ± 55,483.4 25,750–278,451 Irrigation-Double crop rice AWU-IP2 66,322.8 ± 29,167.1 19,353–153,966 Irrigation-Dryland AWU-ID 68,537.7 ± 23,036.2 26,958–144,872 Irrigation-Greenhouse AWU-IG 612 ± 414.4 95–2,732 Irrigation-Other AWU-IO 53,411.7 ± 12,792 27,002–88,647 Livestock-Cow AWU-LC 239.3 ± 122.9 23–547 Livestock-Swine AWU-LS 7,714 ± 3,227.8 2,385–16,233 Livestock-Fowl AWU-LF 2,914 ± 2,199.1 602–10,214 Livestock-Duck AWU-LD 145.6 ± 100.8 5–581 Livestock-Other AWU-LO 30.3 ± 28.8 0–170 Aquaculture-Freshwater AWU-AF 4,375.9 ± 1,412.1 919–8,913 Industrial water use IWU 1,418.8 ± 510.3 591–2,843 Domestic/public water supply DPWS 4,313.3 ± 2,067.6 1,245–7,048 Other uses OU 20,241.3 ± 6,525.2 8,362–49,923 Upon collection of raw data regarding the electrical power consumed by each pumping well, it was observed that some wells were either constructed after 2007 or abandoned before 2023. As a result, the categorization of pumping wells based on their purpose became imperative. The power consumption values within the same categories were aggregated to preserve the raw data rather than removing the data. In summary, the features of the prediction model included the monthly power consumption for 14 categories of pumping wells, along with the previously mentioned groundwater level and rainfall data. 2.3 Development of the extreme gradient boosting model Extreme gradient boosting (XGB) is a supervised machine learning method that was introduced by 35 , and it employs a recursive partitioning procedure. In XGB, trees are sequentially and stagewise grown by fitting decision trees to training data subsets, applying a loss function to the residuals of the preceding tree, and combining the loss function and the results of the previous tree to construct the subsequent tree. The utilization of the second partial derivatives of the loss function enables XGB to effectively minimize loss, resulting in high accuracy. The ultimate prediction of XGB is derived from the weighted contribution of all the decision trees used. XGB is highly efficient in supervised learning tasks as an ensemble learning technique in the realm of gradient boosting machines. Its implementation extends to both classification and regression applications, offering notable advantages such as high execution speed and compatibility with out-of-core computations. The prediction accuracy of this model is assessed through metrics such as deviation and model variation 36 . Given that \(\:D=\left\{\left({x}_{i},{y}_{i}\right)\right\}\) is considered a dataset with n samples and m features, the prediction value is generated using the following equations (Eqs. ( 1 ) and ( 2 )): $$\:\widehat{{y}_{i}}=\sum\:_{k=1}^{k}{f}_{k}\left({x}_{i}\right),\:{f}_{k}ϵ\phi\:$$ 1 $$\:\phi\:=\left\{f\left(x\right)={w}_{s}\left(x\right)\right\}(s:\:{R}^{m}\to\:T,\:{w}_{s},\:ϵ{R}^{T})$$ 2 where \(\:{x}_{i}\) represents one sample, \(\:{f}_{k}\left({x}_{i}\right)\) represents the prediction score, φ is the set of regression trees, \(\:f\left(x\right)\) is each tree, s is a structural parameter, w is the leaf weight, T is the number of leaves per tree, k is the number of trees used to obtain the ensemble results, and \(\:\widehat{{y}_{i}}\) is the predicted output. Further details on XGBoost (XGB) theory can be found in the works of 35–37 . The XGB algorithm and model performance were implemented using the scikit-learn library in the Anaconda python distribution (version 2020.07). The dataset consisted of 192 monthly measurements for each variable, such as the groundwater level, rainfall, and the power consumption of pumping wells. The first 174 monthly measurements were adopted for model training to obtain the best-fit model and optimal hyperparameters. The remaining 18 monthly records were used for model testing. For the training dataset, the 'TimeSeriesSplit' function from the scikit-learn library was used to perform cross-validation of the time series data. The dataset was divided into 10 consecutive subsets, with each subset serving as a validation set once and the rest serving as the training set to validate the stability of model training. Hyperparameter settings significantly influence the performance of machine learning models, and improper selection can lead to poorly performing models. Traditionally, hyperparameters are chosen through trial-and-error, grid search, random search, or heuristic optimization algorithms 38,39 . Bayesian optimization is a state-of-the-art approach for the global and local optimization of hyperparameters and efficiently searches through a hyperparameter space to find the optimal set of values for the XGB model 40,41 . This approach is characterized by broader applicability than other methods, such as the grid search and random search methods, and has been widely used in numerous machine learning algorithms. In this study, Bayesian optimization was implemented for hyperparameter selection via cross-validation for the training data. The Gaussian process prior and expected improvement were adopted as bases of the prior and acquisition functions, respectively, for optimizing the hyperparameters 40 . In this method, the objective function is continuously updated by adding sample points, and cross-validation is used to select the combination of hyperparameters that yields the highest average score for the model. The objective function of Bayesian optimization is shown in Eq. 3 . $$\:{X}^{\left(*\right)}=arg\text{min}\:{X}_{x\in\:S}f\left(X\right)$$ 3 where \(\:{X}^{\left(*\right)}\:\) denotes the optimal hyperparameter combination, S denotes the candidate set of x , and \(\:f\left(X\right)\) is the objective function. Tree-based machine learning models such as XGB prioritize features based on their importance 42 . XGB estimates feature importance, aiding in the evaluation of the predictive power of input variables. It also provides contribution scores to assess variable significance. Importance is determined based on relevance (squared) and the number of selections in splitting, with weights assigned based on the contribution to model improvement and averaged over all trees 43 . The XGB scale variable sums to 100 across all trees, with high values for individual trees indicating strong impacts on the results 44 . This method provides a comprehensive assessment of variable contributions. Model performance was evaluated using the following statistical criteria: root mean square error (RMSE), mean absolute error (MAE), and coefficient of determination (R 2 ) (Eqs. 4 – 6 ) $$\:RMSE=\sqrt{\frac{{\sum\:}_{i=1}^{N}{({y}_{i}-\widehat{{y}_{i}})}^{2}}{N}}$$ 4 $$\:MAE=\frac{1}{N}{\sum\:}_{i=1}^{N}\left|{y}_{i}-\widehat{{y}_{i}}\right|$$ 5 $$\:{R}^{2}=1-\frac{{\sum\:}_{i=1}^{N}{({y}_{i}-\widehat{{y}_{i}})}^{2}}{{\sum\:}_{i=1}^{N}{y}_{i}^{2}-\frac{\sum\:_{i=1}^{N}{\widehat{{y}_{i}}}^{2}}{N}}$$ 6 2.4 Application of the XGB model for adapting to groundwater level decline A well-developed prediction model is necessary to fully consider the impacts of pumping on groundwater level variations. The model can be used to develop strategies to reduce groundwater pumping and implement policies such as agricultural fallowing in response to significant declines in groundwater levels. Furthermore, establishing a threshold groundwater level is essential for evaluating the extent to which groundwater pumping needs to be restricted in the future to ensure the safety of groundwater resources. The exceedance probability, an indicator used in the current groundwater level management strategy in Taiwan, has also been widely utilized in previous studies regarding the management of groundwater resources during periods of drought 45–47 . This indicator can be estimated from historical groundwater level data using the Weibull distribution 48 . Exceedance probabilities of > 85%, > 25% and < 25% correspond to the safe level, the lower limit of exceedance, and the extremely low limit of exceedance, respectively. Based on the predicted groundwater levels under various rainfall conditions, adjustments in the XGB model can be made to reduce power consumption of pumping wells by certain proportions. This approach can be used to determine the optimal quantities of groundwater pumping and fallowing, aimed at maintaining groundwater levels above the lower limit of exceedance. Additionally, the economic profitability of agricultural crop production, particularly rice production, can be calculated to evaluate the cost of conserving groundwater resources in the future in periods with limited rainfall. 3. Results and discussion 3.1 Dynamics of groundwater level, power consumption, and precipitation The analysis of rainfall data revealed that precipitation is predominantly concentrated in the wet season and is primarily influenced by monsoon and typhoon events (Fig. 3 ). The average annual rainfall recorded during the period from 2007 to 2022 was 1549.1 ± 397.9 mm. The lowest annual rainfall levels were observed in 2011 and 2020 at 928.5 mm and 1058 mm, respectively. Furthermore, the average rainfall during the dry season was 248.5 ± 142.9 mm, which significantly increased to 1296.6 ± 369.3 mm during the wet season. The reliance on groundwater as a reliable irrigation water resource is reflected in the variation in groundwater levels. The seasonal cycling of groundwater indicates that the increase in groundwater levels each year follows the significant rainfall in the wet season (Fig. 3 ). The average groundwater level during the wet season (-3.92 ± 3.2 m with a range of -15.01 to -1.35 m) was significantly greater than that during the dry season (-4.75 ± 3.28 m with a range of -13.29 to 1.53 m) ( t test, p value < 0.05). The substantial disparity in rainfall between dry and wet years, as well as between seasons, contributed to the uncertainty surrounding the availability of natural water for agricultural irrigation purposes. Notably, the groundwater levels reached their lowest point during the dry season in 2020, which was attributed to the severe drought resulting from the low rainfall in 2020. These conditions persisted into the wet season of 2021. An increase in water scarcity has led to the construction of more groundwater pumping wells, a trend expected to continue with climate change. Table 2 outlines the abbreviations for each groundwater usage category and provides the average power consumption of pumping wells in each category. Rice and rainfed crops are the predominant crops in the study area, resulting in higher power consumption for agricultural irrigation than for other purposes. Notably, the average power consumption for the “other” class is significant, as some groundwater users may not specify a particular crop during water rights registration, resulting in classification into this category. The wide ranges of consumed power imply that groundwater abstraction amounts can significantly vary among different months and years. The trend of the monthly variation in power consumption indicates that the period from February to June corresponds to the highest groundwater demand, especially for single-crop, double-crop, and dryland farming (Fig. 4 ). The utilization of groundwater for livestock, aquaculture, industry, and domestic purposes shows no significant cyclic variation. In addition, the water consumption for swine cultivation and domestic use slightly increased after 2014 due to increases in the livestock market price and municipal development, respectively, resulting in stress on the water supply and increased groundwater pumping. 3.2 Performance of the XGB model for groundwater level prediction To develop the groundwater level prediction model, the hyperparameters were determined using Bayesian optimization, a commonly employed approach 49 . Table 3 provides details of the search intervals of the XGB model. According to the results of 10-folds model training and validation, the RMSE, MAE, and R 2 values are 0.001–0.978, 0-0.807, and 0.901-1, respectively, for model training and 0.804–2.597, 0.626–2.233, and 0.781–0.852, respectively, for model validation. Figure 5 presents the validation results of the groundwater level prediction from January 2022 to June 2023. The consistent variations between the monitored and predicted groundwater levels indicate that the developed model effectively captures the trends in groundwater levels using power consumption and rainfall data, which are critical factors to consider. The predicted groundwater levels during wet season well fitted with the monitored groundwater levels. However, during the dry season, the predicted groundwater levels were slightly higher than the monitored levels. Due to a prolonged drought from late 2021 until the monsoon season of 2023 in Taiwan (Fig. 3 ), the limited precipitation encouraged the practice of fallowing policies. Nonetheless, the sharp decrease in groundwater levels from December 2022 may be attributed to unregistered pumping, as the decrease in power consumption from registered pumping wells was significant (Fig. 4 ). Table 3 Definitions, search intervals, and best-fit of hyperparameters in XGB model Hyper-parameters Definition Search interval Best fitted learning_rate The rate at which the model learns pattern in training data 0.0001–0.1 0.003 n_estimators The maximum number of trees generated 1,000–50,000 50000 max_depth Maximum depth of tree 1–10 10 min_child_weight The sum of the minimum weights of each leaf 1–5 1 gamma Minimum loss reduction needed for further leaf node partition 0–0.5 0 subsample Subsample ratio of the training instances 0.3–0.9 0.3 colsample_bytree Column sampling rate 0.3–0.9 0.5911 scale_pos_weight Balance positive and negative weights to address class imbalance 1–10 3 reg_alpha L1 Regularization parameters 0.001–10 0.0126 reg_lambda L2 Regularization parameters 0.001–10 0.0013 base_score The initial prediction score of all instances 0.3–0.7 0.3798 Among the 10-fold model training and validation processes, the subset with the lowest RMSE and MAE is considered the best-fit model, with the corresponding hyperparameters shown in Table 3 . For this best-fit model, the RMSE, MAE, and R² values are 0.002, 0.00, and 0.999, respectively, for model training, and 0.804, 0.626, and 0.818, respectively, for model validation. These impressive results, achieved using only precipitation and power consumption data for groundwater level prediction, support the utilization of the hyperparameter values for further predictions with the XGB model. In terms of predictions of groundwater variations, the XGB model consistently outperformed other machine learning algorithms in both the training and validation stages, primarily due to its superior calibration capability, as indicated by the RMSE and MAE 24,50 . The XGB algorithm integrates a regularization term to control model complexity and is adaptable to various types of base classifiers. After each computational iteration, the weights of the leaf nodes are adjusted by a reduction factor, mitigating the influence of individual classifiers and promoting a more balanced and effective learning process 35 . Moreover, the Bayesian optimization approach employed in this study utilizes Bayes' theorem to determine the minimum and maximum values of the objective function. In each iteration, information from previous calculations is leveraged to optimize subsequent steps, creating an efficient search process 51 . 52 highlighted a notable advantage of Bayesian optimization, which is the automatic estimation of model parameters in coupled machine learning models. The selection of input features plays a crucial role in ensuring the stability and robustness of prediction models 53 . Feature importance analysis provides insights into the contribution of each variable to the target value. In this study, the importance of the input variables for groundwater level prediction was automatically estimated by using the trained models (Fig. 6 ). The results revealed that AWU-IP2 had the most significant impact on the prediction, with the highest relative importance (0.409) in the model, followed by AWU-IP1 (0.078) and AWU-ID (0.072). Groundwater pumping for rice cultivation, the primary agricultural activity in the study area, accounts for the highest electricity consumption. Additionally, due to the implementation of water-saving policies by the Taiwanese government, a considerable portion of farmland is now used to grow rainfed crops. Moreover, the average power consumptions of AWU-IP1, AWU-IP2, AWU-ID, and AWU-IO are significantly higher than those of other groundwater usage purposes (Table 2 ). However, the feature importance of these four purposes does not follow the order of power consumption. The groundwater abstraction for paddy rice and dry farming is highly correlated with seasonal variations in precipitation and groundwater levels (Fig. 4 ), making AWU-IP1, AWU-IP2, and AWU-ID the top three in feature importance. In contrast, there is no significant variation in the power consumption of AWU-IO, resulting in its lower feature importance. Therefore, the XGB model can clearly reflect the impact of seasonal pumping behavior on groundwater level changes. Water usage purposes with high power consumption and significant differences between wet and dry seasons will predominantly control the rise and fall of groundwater levels. Conversely, water usage purposes with stable power consumption act like baseline data, having little impact on groundwater level changes. The high density of pumping wells underscores the urgency of addressing the over-extraction of groundwater to mitigate adverse impacts on both agricultural practices and infrastructure safety. Theoretically, halting pumping activities has emerged as the most viable strategy for preventing further exacerbation of land subsidence. However, this course of action poses a significant challenge, as it directly impacts the self-sufficiency of rice production in Taiwan. Therefore, there is an urgent need for the development of a groundwater level prediction model to help optimize management. This model must achieve a balance by reducing irrigation pumping, subsequently facilitating the recovery of land subsidence while simultaneously maintaining essential crop production. 3.3 Impacts of reducing pumping from environmental and agroeconomic perspectives The primary objective of this study is to utilize a well-trained groundwater level prediction model to assess the impact of reducing groundwater pumping from both environmental and socioeconomic perspectives. The groundwater level fluctuations of the best-fit model from January 2022 to June 2023 revealed that the monthly groundwater levels between August 2022 and March 2023 consistently fell below the lower limit level and even dipped below the extremely low level (Fig. 7 ). Local farmers often rely on groundwater extraction during the second crop period to mitigate the risks associated with unpredictable rainfall patterns during the monsoon season and typhoon events. Additionally, substantial groundwater abstraction occurs at the beginning of each year to flood paddy fields in preparation for the first crop period. To evaluate the effectiveness of reducing groundwater pumping to maintain groundwater levels, we considered scenarios where 25%, 50%, and 75% of paddy fields adhere to the government's fallowing recommendations, resulting in corresponding reductions in power consumption. Figure 7 presents the groundwater level predictions for these varied reduction percentages. The increases in groundwater levels with a 25% reduction in power consumption range from 0.45 to 0.79 m during the wet season and from 0.45 to 0.99 m during the dry season. As the percentage of power consumption reduction increases, the elevations in groundwater levels do not increase proportionally. A 50% reduction in power consumption results in groundwater level increases ranging from 0.68 to 1.6 m in the wet season and from 1.07 to 1.96 m in the dry season. A 75% reduction leads to increases ranging from 0.68 to 1.98 m in the wet season and from 1.05 to 3.11 m in the dry season. In all three scenarios, the increases in groundwater levels during the dry season are significantly greater than those during the wet season. This implies that appropriate reductions in pumping volumes during drought periods can effectively prevent sharp groundwater level drawdowns. In this study, a 50% reduction in power consumption maintains monthly groundwater levels within safe level. Over the past few decades, the implementation of fallowing policies has been a common strategy for coping with the shortage of irrigation water during drought periods. While fallow practices have aided in groundwater maintenance and prevented rapid drawdown and potential land subsidence, they have also led to significant economic losses in agricultural cultivation. In addition, determining the appropriate area for fallowing poses a significant challenge for local governments due to the need to balance rice production self-sufficiency with fallow subsidies 31 . Water management policies often entail trade-offs between economic and sustainability objectives 32,33 . From an agricultural economic perspective, farmers are likely to opt for the option that offers the best financial return, whether it be rice prices or fallow subsidies, which complicates the promotion of fallowing policies during drought periods 54 . While the benefits of reducing groundwater pumping to prevent declines in groundwater levels are widely recognized among residents, the willingness to adhere to fallowing policies largely hinges on the incentives provided. In our study area, we aimed to estimate the economic profitability of rice production under fallow conditions. Economic profit serves as a crucial indicator for assessing firms' economic value and aids in decision-making processes 55,56 . It is essential to distinguish between accounting profits and economic profits. Accounting profit represents a firm's net income or revenue minus explicit costs, while economic profit represents opportunity costs, including both explicit and implicit costs 55 . Accounting profit is a firm's net income or revenue minus expenses (total explicit costs). Economic profit is the total revenue minus opportunity costs (total explicit costs and total implicit costs) from all inputs. The formula for calculating the accounting profit is as follows. \(\:{\pi\:}_{a}\) = total revenue - total explicit costs ( 7 ) where π a is the accounting profit. The total revenue is the average grain yield per hectare of rice multiplied by the average price. Total production costs (explicit costs) include direct costs (seedling fees, material fees, pesticides and other medicines, fertilizer fees, wages, and water purchase fees) and indirect costs (farmhouse fees, farm tool fees, land rent, and capital interest). To assess the economic profit of rice production, we need to consider both explicit costs (production costs) and implicit costs (opportunity costs), which encompass labor income from nonagricultural activities, nonagricultural land rent, and capital interest. When the opportunity cost of agricultural labor exceeds zero, the economic profit ( π e ) calculation involves subtracting the total explicit and implicit costs from the total revenue (Eq. 8). \(\:{\pi\:}_{e}\) = Total revenue - (total explicit costs + total implicit costs) ( 8 ) In cases in which the opportunity cost of agricultural labor equals zero, signifying that farmers cannot find work outside the agricultural sector, the economic profit ( \(\:{\pi\:}_{\widehat{e}}\) ) must be adjusted to account for self-employed wages (Eq. 9 ). $$\:{\pi\:}_{\widehat{e}}=\:{\pi\:}_{e}+\:\text{s}\text{e}\text{l}\text{f}-\text{e}\text{m}\text{p}\text{l}\text{o}\text{y}\text{e}\text{d}\:\text{w}\text{a}\text{g}\text{e}\text{s}$$ 9 According to the Ministry of Agriculture's annual report on rice production and cost analysis in 2022, the economic profitability per hectare in our study area was determined, as outlined in Table 4 . While the fallow subsidies during the second crop period may barely offsets the opportunity cost when agricultural laborers can find work outside the sector, it remains insufficient for the first crop period. Consequently, when the opportunity cost of agricultural labor is zero, fallowing subsidies for the first and second crop periods only reach 30% and 59% of the economic profit, respectively. This is the main reason why it is challenging to promote fallowing policies during drought periods to sustain groundwater levels within safe limits. Table 4 Economic profitability per hectare of rice cultivation in this study area 1st crop 2nd crop Direct costs (A) Seedling fees 423.8 403.1 Material fees 1.3 3.4 Pesticides and other medicines 458.6 485.8 Fertilizer fees 534.7 483.1 Wages 2189.4 2354.9 Water purchase fees 200.4 65.5 Indirect costs (B) Farmhouse fees 22.6 13.8 Farm tool fees 2.7 1.6 Land rent 814.1 613.7 Capital interest 5.2 5.6 Total production costs (A + B) 4652.8 4430.5 Average grain yield of rice (kg/ha) 7686.0 6564.0 Average price per kg 0.8 0.8 Total revenue (C) 5867.0 5141.8 Accounting profit ( 1 ) = (C)-(A + B) 1214.1 711.3 Assumed land rent ( 2 ) 524.1 336.9 Assumed capital interest ( 3 ) 5.2 5.6 Self-employed Wages ( 4 ) 394.5 347.0 When opportunity cost of agricultural labor is > 0, Economic profit = ( 1 )+( 2 )+( 3 ) 1743.4 1053.8 Fallowing subsidy 1037.1 1176.8 When opportunity cost of agricultural labor is 0, Economic profit = ( 1 )+( 2 )+( 3 )+( 4 ) 2138.0 1400.9 Fallowing subsidy 642.6 829.7 To encourage farmers to participate in fallowing, it is crucial to increase fallow subsidies. This approach not only incentivizes farmers to reduce groundwater usage but also mitigates the economic losses associated with fallowing. Enhanced subsidies could ensure that groundwater levels are maintained within safe limits during droughts, thereby balancing agricultural productivity with sustainable water management practices. Wit the predictive capabilities of this model, it provides policymakers with a flexible and efficient approach to determine the optimal percentage of fallow land. By incorporating data-driven insights, policymakers can tailor their strategies to maximize the benefits of groundwater conservation while minimizing economic repercussions in the agricultural sector. Conclusion This study has effectively demonstrated the application of an XGB-based model to predict groundwater levels and evaluate the impacts of reduced groundwater pumping from both environmental and socioeconomic perspectives. The model, optimized through Bayesian techniques, has shown high predictive accuracy, evidenced by the strong alignment between observed and predicted groundwater levels. This validates the use of precipitation and power consumption data as significant predictors in the model. The analysis of groundwater level fluctuations from January 2022 to June 2023 revealed that strategic reductions in groundwater pumping can substantially mitigate groundwater depletion. Specifically, a varied percentages reduction in groundwater extraction resulted in different groundwater level increases to safe level in the wet and dry seasons. This suggests that appropriate management of groundwater resources, through reduced pumping, can help maintain groundwater levels within safe limits, thereby reducing the risk of over-extraction during drought periods. However, the economic implications of such conservation strategies present significant challenges. The current fallowing subsidies are insufficient, covering only a fraction of the economic profits from rice cultivation. When considering the opportunity cost of agricultural labor, the subsidies for the first and second crop periods meet only 30% and 59% of the economic profit, respectively. This economic shortfall is a major barrier to the adoption of fallowing practices by farmers during droughts. Therefore, it is crucial to enhance these subsidies to make fallowing a more viable and attractive option for farmers. In conclusion, while predictive modeling offers a robust tool for groundwater management and policy decision-making, there is a clear need for improved economic incentives and integrated management strategies. Future research should aim to refine these models further by incorporating additional variables and conducting long-term studies to evaluate the cumulative effects of groundwater management policies on agricultural output and ecosystem health. Through such efforts, sustainable agricultural practices can be promoted, ensuring the long-term availability and health of groundwater resources. Declarations Declaration of Interests The authors declare no competing interests. Author Contributions Conceptualization, S.W.W, Y.Y.C. and T.W.P.; Methodology, Y.H.K., Y.Y.C., and S.H.H.; Writing – Original Draft, S.W.W. and Y.H.K.; Writing – Review & Editing, M.K. and L.C.C.; Funding Acquisition, S.W.W. and L.C.C.; Resources, Y.Y.C. and S.H.H.; Supervision, M.K. and L.C.C. Acknowledgments The authors wish to express their appreciation to the National Science and Technology Council, Taiwan (R.O.C.) for their financial support under Grant Numbers NSTC 112-2625-M-032-003. Data availability statement Data are available on request from the authors. References Reinecke, R. et al. Importance of Spatial Resolution in Global Groundwater Modeling. Groundwater 58, 363–376 (2020). Le Brocque, A. F., Kath, J. & Reardon-Smith, K. Chronic groundwater decline: A multi-decadal analysis of groundwater trends under extreme climate cycles. J. Hydrol. 561, 976–986 (2018). Pandey, K., Kumar, S., Malik, A. & Kuriqi, A. Artificial Neural Network Optimized with a Genetic Algorithm for Seasonal Groundwater Table Depth Prediction in Uttar Pradesh, India. Sustainability 12, 8932 (2020). Bierkens, M. F. P. & Wada, Y. Non-renewable groundwater use and groundwater depletion: a review. Environ. Res. Lett. 14, 063002 (2019). Lall, U., Josset, L. & Russo, T. A Snapshot of the World’s Groundwater Challenges. Annu. Rev. Environ. Resour. 45, 171–194 (2020). Chang, F.-J., Chang, L.-C., Huang, C.-W. & Kao, I.-F. Prediction of monthly regional groundwater levels through hybrid soft-computing techniques. J. Hydrol. 541, 965–976 (2016). Tian, J. et al. Groundwater Depth Prediction Using Data-Driven Models with the Assistance of Gamma Test. Sustainability 8, 1076 (2016). Wei, Z., Wang, D., Sun, H. & Yan, X. Comparison of a physical model and phenomenological model to forecast groundwater levels in a rainfall-induced deep-seated landslide. J. Hydrol. 586, 124894 (2020). Zhou, T., Wang, F. & Yang, Z. Comparative Analysis of ANN and SVM Models Combined with Wavelet Preprocess for Groundwater Depth Prediction. Water 9, 781 (2017). Taormina, R., Chau, K. & Sethi, R. Artificial neural network simulation of hourly groundwater levels in a coastal aquifer system of the Venice lagoon. Eng. Appl. Artif. Intell. 25, 1670–1676 (2012). Coulibaly, P., Anctil, F., Aravena, R. & Bobée, B. Artificial neural network modeling of water table depth fluctuations. Water Resour. Res. 37, 885–896 (2001). Nayak, P. C., Rao, Y. R. S. & Sudheer, K. P. Groundwater Level Forecasting in a Shallow Aquifer Using Artificial Neural Network Approach. Water Resour. Manag. 20, 77–90 (2006). Daliakopoulos, I. N., Coulibaly, P. & Tsanis, I. K. Groundwater level forecasting using artificial neural networks. J. Hydrol. 309, 229–240 (2005). Uc-Castillo, J. L., Marín-Celestino, A. E., Martínez-Cruz, D. A., Tuxpan-Vargas, J. & Ramos-Leal, J. A. A systematic review and meta-analysis of groundwater level forecasting with machine learning techniques: Current status and future directions. Environ. Model. Softw. 168, 105788 (2023). Ahmadi, A. et al. Groundwater Level Modeling with Machine Learning: A Systematic Review and Meta-Analysis. Water 14, 949 (2022). Maier, H. R., Jain, A., Dandy, G. C. & Sudheer, K. P. Methods used for the development of neural networks for the prediction of water resource variables in river systems: Current status and future directions. Environ. Model. Softw. 25, 891–909 (2010). Gong, Y., Zhang, Y., Lan, S. & Wang, H. A Comparative Study of Artificial Neural Networks, Support Vector Machines and Adaptive Neuro Fuzzy Inference System for Forecasting Groundwater Levels near Lake Okeechobee, Florida. Water Resour. Manag. 30, 375–391 (2016). Brédy, J., Gallichand, J., Celicourt, P. & Gumiere, S. J. Water table depth forecasting in cranberry fields using two decision-tree-modeling approaches. Agric. Water Manag. 233, 106090 (2020). Hikouei, I. et al. Machine Learning Approach to Identify the Relationship Between Heavy Metals and Soil Parameters in Salt Marshes. Int. J. Environ. Sci. 27, (2021). Jia, Y. et al. GNSS-R Soil Moisture Retrieval Based on a XGboost Machine Learning Aided Method: Performance and Validation. Remote Sens. 11, 1655 (2019). Zamani Joharestani, M., Cao, C., Ni, X., Bashir, B. & Talebiesfandarani, S. PM2.5 Prediction Based on Random Forest, XGBoost, and Deep Learning Using Multisource Remote Sensing Data. Atmosphere 10, 373 (2019). Hussein, E. A., Thron, C., Ghaziasgar, M., Bagula, A. & Vaccari, M. Groundwater Prediction Using Machine-Learning Tools. Algorithms 13, 300 (2020). Kenda, K. et al. Groundwater Modeling with Machine Learning Techniques: Ljubljana polje Aquifer. Proceedings 2, 697 (2018). Mahammad, S., Islam, A., Shit, P. K., Towfiqul Islam, A. R. M. & Alam, E. Groundwater level dynamics in a subtropical fan delta region and its future prediction using machine learning tools: Sustainable groundwater restoration. J. Hydrol. Reg. Stud. 47, 101385 (2023). Mohanty, S., Jha, M., Kumar, A. & Sudheer, K. Artificial Neural Network Modeling for Groundwater Level Forecasting in a River Island of Eastern India. Water Resour. Manag. 24, 1845–1865 (2010). Mohanty, S., Jha, M. K., Raul, S. K., Panda, R. K. & Sudheer, K. P. Using Artificial Neural Network Approach for Simultaneous Forecasting of Weekly Groundwater Levels at Multiple Sites. Water Resour. Manag. 29, 5521–5532 (2015). Lee, S., Lee, K.-K. & Yoon, H. Using artificial neural network models for groundwater level forecasting and assessment of the relative impacts of influencing factors. Hydrogeol. J. 27, 567–579 (2019). Chu, H., Lin, C., Burbey, T. J. & Ali, M. Z. Spatiotemporal Analysis of Extracted Groundwater Volumes Estimated from Electricity Consumption. Groundwater 58, 962–972 (2020). Tatas, Chu, H.-J., Burbey, T. J. & Lin, C.-W. Mapping regional subsidence rate from electricity consumption-based groundwater extraction. J. Hydrol. Reg. Stud. 45, 101289 (2023). Kahil, T. et al. A Continental-Scale Hydroeconomic Model for Integrating Water-Energy-Land Nexus Solutions. Water Resour. Res. 54, 7511–7533 (2018). Rodríguez-Flores, J. M., Gupta, R. S., Zeff, H. B., Reed, P. M. & Medellín-Azuara, J. Identifying robust adaptive irrigation operating policies to balance deeply uncertain economic food production and groundwater sustainability trade-offs. J. Environ. Manage. 345, 118901 (2023). Stone, K. M., Gailey, R. M. & Lund, J. R. Economic tradeoff between domestic well impact and reduced agricultural production with groundwater drought management: Tulare County, California (USA), case study. Hydrogeol. J. 30, 3–19 (2022). Torhan, S. et al. Tradeoffs and Synergies Across Global Climate Change Adaptations in the Food-Energy‐Water Nexus. Earths Future 10, e2021EF002201 (2022). Alam, M. F. et al. Energy consumption as a proxy to estimate groundwater abstraction in irrigation. Groundw. Sustain. Dev. 23, 101035 (2023). Chen, T. & Guestrin, C. XGBoost: A Scalable Tree Boosting System. in Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining 785–794 (Association for Computing Machinery, New York, NY, USA, 2016). doi: 10.1145/2939672.2939785 . Ibrahem Ahmed Osman, A., Najah Ahmed, A., Chow, M. F., Feng Huang, Y. & El-Shafie, A. Extreme gradient boosting (Xgboost) model to predict the groundwater levels in Selangor Malaysia. Ain Shams Eng. J. 12, 1545–1556 (2021). Chen, T. & He, T. xgboost: eXtreme Gradient Boosting. Feurer, M. & Hutter, F. Hyperparameter Optimization. in Automated Machine Learning: Methods, Systems, Challenges (eds. Hutter, F., Kotthoff, L. & Vanschoren, J.) 3–33 (Springer International Publishing, Cham, 2019). doi: 10.1007/978-3-030-05318-5_1 . Jeong, J. & Park, E. Comparative applications of data-driven models representing water table fluctuations. J. Hydrol. 572, 261–273 (2019). Snoek, J., Larochelle, H. & Adams, R. P. Practical Bayesian Optimization of Machine Learning Algorithms. Preprint at https://doi.org/10.48550/arXiv.1206.2944 (2012). Falkner, S., Klein, A. & Hutter, F. BOHB: Robust and Efficient Hyperparameter Optimization at Scale. Preprint at https://doi.org/10.48550/arXiv.1807.01774 (2018). Khan, N. M., Madhav C, N., Negi, A. & Thaseen, I. S. Analysis on Improving the Performance of Machine Learning Models Using Feature Selection Technique. in Intelligent Systems Design and Applications (eds. Abraham, A., Cherukuri, A. K., Melin, P. & Gandhi, N.) 69–77 (Springer International Publishing, Cham, 2020). doi: 10.1007/978-3-030-16660-1_7 . Friedman, J. H. & Meulman, J. J. Multiple additive regression trees with application in epidemiology. Stat. Med. 22, 1365–1381 (2003). Elith, J., Leathwick, J. R. & Hastie, T. A working guide to boosted regression trees. J. Anim. Ecol. 77, 802–813 (2008). Peters, E., van Lanen, H. A. J., Torfs, P. J. J. F. & Bier, G. Drought in groundwater—drought distribution and performance indicators. J. Hydrol. 306, 302–317 (2005). Fürst, J., Bichler, A. & Konecny, F. Regional Frequency Analysis of Extreme Groundwater Levels. Groundwater 53, 414–423 (2015). Sadeghfam, S., Ehsanitabar, A., Khatibi, R. & Daneshfaraz, R. Investigating ‘risk’ of groundwater drought occurrences by using reliability analysis. Ecol. Indic. 94, 170–184 (2018). Stedinger, J. & Foufoula-Georgiou, E. Frequency Analysis of Extreme Events. Handb. Hydrol. 18, (1993). Saha, S. et al. Integrating the Particle Swarm Optimization (PSO) with machine learning methods for improving the accuracy of the landslide susceptibility model. Earth Sci. Inform. 15, 2637–2662 (2022). Hikouei, I. S. et al. Using machine learning algorithms to predict groundwater levels in Indonesian tropical peatlands. Sci. Total Environ. 857, 159701 (2023). Subramanian, M., L.V., N. P., B., J., A., M. B. & VE, S. Hyperparameter Optimization for Transfer Learning of VGG16 for Disease Identification in Corn Leaves Using Bayesian Optimization. Big Data 10, 215–229 (2022). Rahman, A. T. M. S. et al. Modeling the changes in water balance components of the highly irrigated western part of Bangladesh. Hydrol. Earth Syst. Sci. 22, 4213–4228 (2018). Gültekin, B. & Erdoğdu Şakar, B. Variable Importance Analysis in Default Prediction using Machine Learning Techniques: in Proceedings of the 7th International Conference on Data Science, Technology and Applications 56–62 (SCITEPRESS - Science and Technology Publications, Porto, Portugal, 2018). doi: 10.5220/0006872400560062 . Van Schmidt, N. D., Wilson, T. S. & Langridge, R. Linkages between land-use change and groundwater management foster long-term resilience of water supply in California. J. Hydrol. Reg. Stud. 40, 101056 (2022). Vahid, N., Reza Dehghanpour, M. & Nasirizadeh, H. Comparison between accounting profit and economic profit and its effect on optimal point of production. Eur. Online J. Nat. Soc. Sci. 2, 493–499 (2013). Sichigea, N. & Vasilescu, L. Economic Value Added And Market Value Added - Modern Indicators For Assessment The Firm’S Value. Ann. - Econ. Ser. 6Special, 488–493 (2015). Additional Declarations The Authors declare no Competing Financial or Non-Financial Interests. Cite Share Download PDF Status: Posted Version 1 posted You are reading this latest preprint version Research Square lets you share your work early, gain feedback from the community, and start making changes to your manuscript prior to peer review in a journal. As a division of Research Square Company, we’re committed to making research communication faster, fairer, and more useful. We do this by developing innovative software and high quality services for the global research community. Our growing team is made up of researchers and industry professionals working together to solve the most critical problems facing scientific publishing. Also discoverable on Platform About Our Team In Review Editorial Policies Advisory Board Help Center Resources Author Services Accessibility API Access RSS feed Manage Cookie Preferences © Research Square 2026 | ISSN 2693-5015 (online) Privacy Policy Terms of Service Do Not Sell My Personal Information {"props":{"pageProps":{"initialData":{"identity":"rs-4614420","acceptedTermsAndConditions":true,"allowDirectSubmit":true,"archivedVersions":[],"articleType":"Article","associatedPublications":[],"authors":[{"id":327474380,"identity":"c2d5c105-07d5-4b82-b134-29961ec88f0a","order_by":0,"name":"Sheng-Wei Wang","email":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAAyAQMAAABI0h/eAAAABlBMVEX///8AAABVwtN+AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA6klEQVRIie3OIQvCQBTA8TcOtDhWZ/EznAxWJvpBLIKg5U6MxqVZBKtJv4IryzcOtJyuDixLgrAwmxbxFC66GQXvDw/ewf24A9DpfrcOAEI+AHsdBl+RkSSGD0wRVk24nG8J3h/45R4kfWtu+KgQHKw6wegalBAxGXlmcKIr/nol5dBc5BjiEuIy4jpGdKL+mxQccEokiUpIkrvte3SkG0V6lSQlTmZGjG7Vx7BdQXpp7iLzMaShJEyIccMW5yk7PD6T5pI415vo0nXC42y281rWfBhmM/GZyGq22pichlrKQkXFBZ1Op/v3nuhOYW863cwAAAAAAElFTkSuQmCC","orcid":"","institution":"Department of Water Resources and Environmental Engineering, Tamkang University","correspondingAuthor":true,"prefix":"","firstName":"Sheng-Wei","middleName":"","lastName":"Wang","suffix":""},{"id":327474381,"identity":"93eaf99c-1da3-483c-aa34-ca24a74425a7","order_by":1,"name":"Yu-Hsuan Kao","email":"","orcid":"","institution":"Science \u0026 Technology Policy Research and Information Center, National Applied Research Laboratories","correspondingAuthor":false,"prefix":"","firstName":"Yu-Hsuan","middleName":"","lastName":"Kao","suffix":""},{"id":327474382,"identity":"34435705-7b71-42a8-8b6c-3e0d5d8c66b5","order_by":2,"name":"Yen-Yu Chen","email":"","orcid":"","institution":"Department of Water Resources and Environmental Engineering, Tamkang University","correspondingAuthor":false,"prefix":"","firstName":"Yen-Yu","middleName":"","lastName":"Chen","suffix":""},{"id":327474383,"identity":"4dad9f61-e803-46cb-a27c-69cdcba29570","order_by":3,"name":"Shu-Han Hsu","email":"","orcid":"","institution":"Department of Economics, Tamkang University","correspondingAuthor":false,"prefix":"","firstName":"Shu-Han","middleName":"","lastName":"Hsu","suffix":""},{"id":327474384,"identity":"c00a60f0-995a-493b-9054-1ac7292af060","order_by":4,"name":"Masaomi Kimura","email":"","orcid":"https://orcid.org/0000-0002-0456-065X","institution":"Kindai University","correspondingAuthor":false,"prefix":"","firstName":"Masaomi","middleName":"","lastName":"Kimura","suffix":""},{"id":327474385,"identity":"1486467d-d623-4228-84da-3b583686c1a3","order_by":5,"name":"Li-Chiu Chang","email":"","orcid":"","institution":"Tamkang University","correspondingAuthor":false,"prefix":"","firstName":"Li-Chiu","middleName":"","lastName":"Chang","suffix":""},{"id":327474386,"identity":"c9847984-b48e-49f9-9cda-94c651a9e593","order_by":6,"name":"Tzi-Wen Pan","email":"","orcid":"","institution":"Winbond Electronics Corporation","correspondingAuthor":false,"prefix":"","firstName":"Tzi-Wen","middleName":"","lastName":"Pan","suffix":""}],"badges":[],"createdAt":"2024-06-21 02:35:21","currentVersionCode":1,"declarations":"","doi":"10.21203/rs.3.rs-4614420/v1","doiUrl":"https://doi.org/10.21203/rs.3.rs-4614420/v1","draftVersion":[],"editorialEvents":[],"editorialNote":"","failedWorkflow":false,"files":[{"id":62057769,"identity":"b10f870a-fd0e-4fa4-893a-2ad5624fe1f0","added_by":"auto","created_at":"2024-08-08 20:28:15","extension":"jpg","order_by":1,"title":"Figure 1","display":"","copyAsset":false,"role":"figure","size":1095661,"visible":true,"origin":"","legend":"\u003cp\u003eSee image above for figure legend.\u003c/p\u003e","description":"","filename":"Figures1.jpg","url":"https://assets-eu.researchsquare.com/files/rs-4614420/v1/fe22f662304028f2848154f6.jpg"},{"id":62057190,"identity":"a5ba302e-d280-4d81-81df-a7c4db95f945","added_by":"auto","created_at":"2024-08-08 20:20:15","extension":"jpg","order_by":2,"title":"Figure 2","display":"","copyAsset":false,"role":"figure","size":401006,"visible":true,"origin":"","legend":"\u003cp\u003eSee image above for figure legend.\u003c/p\u003e","description":"","filename":"Figures2.jpg","url":"https://assets-eu.researchsquare.com/files/rs-4614420/v1/583d27fe343fda4fbe8c5576.jpg"},{"id":62057768,"identity":"ac38bb3e-7488-406e-ab91-97da6a30329a","added_by":"auto","created_at":"2024-08-08 20:28:15","extension":"jpg","order_by":3,"title":"Figure 3","display":"","copyAsset":false,"role":"figure","size":441069,"visible":true,"origin":"","legend":"\u003cp\u003eSee image above for figure legend.\u003c/p\u003e","description":"","filename":"Figures3.jpg","url":"https://assets-eu.researchsquare.com/files/rs-4614420/v1/a421e7afd53f0bc5083f8367.jpg"},{"id":62057192,"identity":"7f422a38-80ac-4829-9a37-942ea7afae50","added_by":"auto","created_at":"2024-08-08 20:20:15","extension":"jpg","order_by":4,"title":"Figure 4","display":"","copyAsset":false,"role":"figure","size":586366,"visible":true,"origin":"","legend":"\u003cp\u003eSee image above for figure legend.\u003c/p\u003e","description":"","filename":"Figures4.jpg","url":"https://assets-eu.researchsquare.com/files/rs-4614420/v1/6cc9789e2af0b3ff9ee0c13d.jpg"},{"id":62057193,"identity":"1b9534d6-7737-42bf-bce4-d5dee2bf07f4","added_by":"auto","created_at":"2024-08-08 20:20:15","extension":"jpg","order_by":5,"title":"Figure 5","display":"","copyAsset":false,"role":"figure","size":334486,"visible":true,"origin":"","legend":"\u003cp\u003eSee image above for figure legend.\u003c/p\u003e","description":"","filename":"Figures5.jpg","url":"https://assets-eu.researchsquare.com/files/rs-4614420/v1/54d647a20019863312f68240.jpg"},{"id":62057195,"identity":"04e1976d-fba8-48c1-93ad-6f85f2f306e3","added_by":"auto","created_at":"2024-08-08 20:20:15","extension":"jpg","order_by":6,"title":"Figure 6","display":"","copyAsset":false,"role":"figure","size":180632,"visible":true,"origin":"","legend":"\u003cp\u003eSee image above for figure legend.\u003c/p\u003e","description":"","filename":"Figures6.jpg","url":"https://assets-eu.researchsquare.com/files/rs-4614420/v1/38fc5cf0822cd47e7201a705.jpg"},{"id":62057770,"identity":"2ef3de13-bb6a-4dd4-97d9-7b296a8cbb27","added_by":"auto","created_at":"2024-08-08 20:28:15","extension":"jpg","order_by":7,"title":"Figure 7","display":"","copyAsset":false,"role":"figure","size":585780,"visible":true,"origin":"","legend":"\u003cp\u003eSee image above for figure legend.\u003c/p\u003e","description":"","filename":"Figures7.jpg","url":"https://assets-eu.researchsquare.com/files/rs-4614420/v1/cb5cb40f3cfaae3619186ab5.jpg"},{"id":62058297,"identity":"e66668a0-d17d-4c19-9d16-1ea2e9cecff5","added_by":"auto","created_at":"2024-08-08 20:44:19","extension":"pdf","order_by":0,"title":"","display":"","copyAsset":false,"role":"manuscript-pdf","size":4404154,"visible":true,"origin":"","legend":"","description":"","filename":"manuscript.pdf","url":"https://assets-eu.researchsquare.com/files/rs-4614420/v1/ef7472c9-496d-482c-8e57-33d970591b87.pdf"}],"financialInterests":"\nThe Authors declare no Competing Financial or Non-Financial Interests.","formattedTitle":"Optimizing groundwater management to prevent drawdown and sustain agricultural production using machine learning model","fulltext":[{"header":"1. Introduction","content":"\u003cp\u003eGroundwater is the largest and one of the most important sources of freshwater, and it supports a major part of the domestic and irrigation needs of many nations\u003csup\u003e1\u003c/sup\u003e. However, the increase in groundwater extraction and continued climate change have played significant roles in the groundwater level decline\u003csup\u003e2\u003c/sup\u003e. Extreme climatic conditions such as droughts and anthropogenic activities, such as rapid population growth, industrial development, the expansion of agricultural activities, and other domestic uses, have escalated the demand for groundwater, highly influencing groundwater levels\u003csup\u003e3\u003c/sup\u003e. A decrease in the groundwater level can trigger serious environmental consequences, such as groundwater quality deterioration, ecosystem degradation, reduced agricultural production, land subsidence, and seawater intrusion\u003csup\u003e4,5\u003c/sup\u003e. Moreover, agricultural irrigation is critical for crop production and food security worldwide. For regions with intensive agricultural development, the increasing demand for water resources, coupled with the effects of climate change, has led to water scarcity issues and competition among different sectors. Therefore, the sustainable use of groundwater is essential for water resource conservation and food security.\u003c/p\u003e \u003cp\u003eAccurately predicting groundwater levels is a significant challenge in managing aquifer systems, especially in regions where surface water is scarce\u003csup\u003e6\u003c/sup\u003e. There are two main categories of models for groundwater prediction: physically descriptive models and data-driven empirical models\u003csup\u003e7\u003c/sup\u003e. Physical models typically require extensive datasets covering parameters such as the water content, hydraulic conductivity, precipitation, volume of groundwater extraction, and soil properties, as well as information about human activities, such as dam construction\u003csup\u003e8,9\u003c/sup\u003e. These models also require precise information on the properties of aquifers to account for subsurface variability\u003csup\u003e10\u003c/sup\u003e. However, implementing physical models is challenging due to the immense need for accurate data, which are often limited due to cost and time constraints\u003csup\u003e11,12\u003c/sup\u003e. Although physical models are historically important, they have limitations. They require large amounts of data and can take a long time to construct, particularly for complex hydrogeological systems. Furthermore, the nonlinear behavior of subsurface systems and their responses to climatic variables can complicate modeling, given the large datasets required to achieve high accuracy.\u003c/p\u003e \u003cp\u003eAs alternatives, data-driven empirical models have gained traction, as an in-depth representation of some system properties is unnecessary\u003csup\u003e13\u003c/sup\u003e. Machine learning algorithms use advanced mathematics to identify optimal functions based on the available data and support tasks such as prediction, classification, and anomaly detection. Machine learning algorithms excel at identifying intricate patterns in data, making them an excellent choice for groundwater level prediction\u003csup\u003e13\u003c/sup\u003e. In the last two decades, artificial neural networks (ANNs) have become popular algorithms, followed by support vector machines (SVMs) and adaptive network-based fuzzy inference systems (ANFISs)\u003csup\u003e14,15\u003c/sup\u003e. However, the main drawback of these algorithms is that they are computationally intensive, and training is time consuming, especially for large datasets. Despite their good performance in modeling groundwater levels, ANNs can get stuck at local minima and be affected by overfitting during model training. In addition, their inability to compute missing values and address data correlations can lead to complex simulations with long calibration times\u003csup\u003e16\u003c/sup\u003e. SVMs are sensitive to the choice of kernel function and parameters and struggle with noisy data. Moreover, it is challenging to determine suitable numbers of fuzzy sets and rules when applying ANFISs\u003csup\u003e17\u003c/sup\u003e.\u003c/p\u003e \u003cp\u003eDecision tree-based models, notably extreme gradient boosting (XGB), are appealing alternatives to ANNs\u003csup\u003e18\u003c/sup\u003e. These models are particularly advantageous for small datasets and offer various benefits. Unlike ANNs, decision trees provide more interpretable results. They allow for flexible model development, accommodating data with varying complexities and levels of accuracy. Decision trees can effectively model nonlinear relationships without requiring prior statistical assumptions, data transformations, or outlier elimination. These algorithms are valuable for both classification and regression tasks in supervised learning. Decision trees recursively partition the training data across input variables and fit simple functions to each partition. However, decision tree models are sensitive to data size and quality, potentially leading to overfitting. To address this issue, ensemble decision trees combine multiple weak learners to form a robust model. Boosting and bagging are two key techniques in ensemble modeling. Bagging involves training homogeneous weak learners in parallel using bootstrap subsets of the original dataset and combining their results to reduce model variance. Boosting can be used to train weak learners sequentially in an adaptive manner, with a focus on challenging samples that can reduce model bias. These techniques have inspired various machine learning algorithms. For instance, random forests (RFs), which are based on bagging, have become prominent for classification and regression across various fields. Additionally, algorithms such as AdaBoost and the gradient boosting machine (GBM) implement boosting. GBM algorithms, such as the light gradient boosting machine (LightGBM) and extreme gradient boosting (XGB), excel at capturing the complex nonlinear relationships among variables. XGB, in particular, is renowned for its exceptional performance and is highly recommended for predicting natural phenomena. In summary, decision tree-based models, especially XGB, are attractive alternatives to ANNs. XGB models provide interpretable results, are well suited for small datasets, and have demonstrated remarkable performance and versatility in various practical applications\u003csup\u003e19\u0026ndash;21\u003c/sup\u003e.\u003c/p\u003e \u003cp\u003eThe application of XGB for groundwater level prediction remains relatively unexplored, despite recent reports of remarkable performance and accuracy. Table\u0026nbsp;\u003cspan refid=\"Tab1\" class=\"InternalRef\"\u003e1\u003c/span\u003e shows that previous studies employed XGB for various purposes, ranging from small- to large-scale applications. These applications encompass irrigation pumping and planning, investigating the demands of growing populations, assessing hydrogeological interactions, and exploring drought mitigation strategies. The spatial scope, including the study area and the number of monitored groundwater wells, largely depends on the specific research objectives. The temporal scales of datasets are primarily determined based on data availability and the objectives of groundwater level prediction. One critical concern in groundwater level prediction using machine learning is the collection of sufficient input features. Table\u0026nbsp;\u003cspan refid=\"Tab1\" class=\"InternalRef\"\u003e1\u003c/span\u003e highlights that the most employed model inputs include observed groundwater level, precipitation, evapotranspiration, and temperature records, as previously noted by\u003csup\u003e14\u003c/sup\u003e. Groundwater levels in aquifer systems are predominantly monitored via observation wells, providing critical insights into how hydrological influences affect recharge, storage, and discharge. Previous studies have consistently underscored the significance of the relationships among groundwater levels, rainfall, and groundwater utilization by growing populations\u003csup\u003e22\u0026ndash;24\u003c/sup\u003e. Groundwater discharge is frequently characterized by the pumping rate\u003csup\u003e25\u0026ndash;27\u003c/sup\u003e. However, assessments of dynamic groundwater pumping in the field are often challenging due to substantial infrastructure costs, particularly in areas with intensive irrigation. As a practical alternative, many machine learning models can be used to estimate total groundwater pumping over a season or year, as a proxy for groundwater discharge. Notably, in regions where electric motors power most irrigation wells, electricity consumption has become a reliable indicator of groundwater pumping rates\u003csup\u003e28,29\u003c/sup\u003e.\u003c/p\u003e \u003cp\u003e \u003cdiv class=\"gridtable\"\u003e\u003ctable float=\"Yes\" id=\"Tab1\" border=\"1\"\u003e \u003ccaption language=\"En\"\u003e \u003cdiv class=\"CaptionNumber\"\u003eTable 1\u003c/div\u003e \u003cdiv class=\"CaptionContent\"\u003e \u003cp\u003ePrevious studies of the application of XGB model on groundwater level prediction\u003c/p\u003e \u003c/div\u003e \u003c/caption\u003e \u003ccolgroup cols=\"5\"\u003e \u003cdiv align=\"left\" class=\"colspec\" colname=\"c1\" colnum=\"1\"\u003e\u003c/div\u003e \u003cdiv align=\"left\" class=\"colspec\" colname=\"c2\" colnum=\"2\"\u003e\u003c/div\u003e \u003cdiv align=\"left\" class=\"colspec\" colname=\"c3\" colnum=\"3\"\u003e\u003c/div\u003e \u003cdiv align=\"left\" class=\"colspec\" colname=\"c4\" colnum=\"4\"\u003e\u003c/div\u003e \u003cdiv align=\"left\" class=\"colspec\" colname=\"c5\" colnum=\"5\"\u003e\u003c/div\u003e \u003cthead\u003e \u003ctr\u003e \u003cth align=\"left\" colname=\"c1\"\u003e \u003cp\u003ePurpose of previous study\u003c/p\u003e \u003c/th\u003e \u003cth align=\"left\" colname=\"c2\"\u003e \u003cp\u003eTemporal scale\u003c/p\u003e \u003c/th\u003e \u003cth align=\"left\" colname=\"c3\"\u003e \u003cp\u003eSpatial scale of study area\u003c/p\u003e \u003c/th\u003e \u003cth align=\"left\" colname=\"c4\"\u003e \u003cp\u003eInput parameters\u003c/p\u003e \u003c/th\u003e \u003cth align=\"left\" colname=\"c5\"\u003e \u003cp\u003ePerformance of model testing\u003c/p\u003e \u003c/th\u003e \u003c/tr\u003e \u003c/thead\u003e \u003ctbody\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003eTo assess geological-geomechanical properties on groundwater level changes (Kenda et al., 2018)\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003eDaily\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e518 stations\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003eGroundwater information\u003c/p\u003e \u003cp\u003eWeather data\u003c/p\u003e \u003cp\u003ePump sensor data\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c5\"\u003e \u003cp\u003eR\u003csup\u003e2\u003c/sup\u003e\u0026thinsp;=\u0026thinsp;0.644\u003c/p\u003e \u003cp\u003eRMSE\u0026thinsp;=\u0026thinsp;0.0211 cm\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003eTo improve Real-time irrigational planning (Br\u0026eacute;dy et al., 2020)\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003eHourly\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e~\u0026thinsp;0.18 km\u003csup\u003e2\u003c/sup\u003e with 3 monitoring wells\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003eGroundwater level Precipitation\u003c/p\u003e \u003cp\u003eEvapotranspiration\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c5\"\u003e \u003cp\u003eR\u003csup\u003e2\u003c/sup\u003e\u0026thinsp;=\u0026thinsp;0.73\u0026ndash;0.83\u003c/p\u003e \u003cp\u003eRMSE\u0026thinsp;=\u0026thinsp;2.66\u0026ndash;3.59 cm (for P1 well)\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003eTo keep water sustainability and drought mitigation (Hussein et al., 2020)\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003eMonthly\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003eGlobal\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e7 features sets from satellite images\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c5\"\u003e \u003cp\u003eR\u003csup\u003e2\u003c/sup\u003e\u0026thinsp;=\u0026thinsp;0.6165\u003c/p\u003e \u003cp\u003eRMSE\u0026thinsp;=\u0026thinsp;5.544\u0026ndash;6.145 m\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003eTo predict groundwater level in highly\u003c/p\u003e \u003cp\u003epopulated towns (Osman et al., 2021)\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003eDaily\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e1429.1 km\u003csup\u003e2\u003c/sup\u003e with 5 monitoring wells\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003eGroundwater level\u003c/p\u003e \u003cp\u003ePrecipitation\u003c/p\u003e \u003cp\u003eTemperature\u003c/p\u003e \u003cp\u003eEvaporation\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c5\"\u003e \u003cp\u003eR\u003csup\u003e2\u003c/sup\u003e\u0026thinsp;=\u0026thinsp;0.11\u0026ndash;0.92\u003c/p\u003e \u003cp\u003eRMSE\u0026thinsp;=\u0026thinsp;0.137\u0026ndash;0.448m\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003eTo predict groundwater level dynamics across a tropical peatland (Hikouei et al. (2023)\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003eMonthly\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e453 km\u003csup\u003e2\u003c/sup\u003e with 292 dipwells\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003eGroundwater level\u003c/p\u003e \u003cp\u003ePrecipitation\u003c/p\u003e \u003cp\u003eEvapotranspiration\u003c/p\u003e \u003cp\u003eSurface heights\u003c/p\u003e \u003cp\u003eDistance to the canal\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c5\"\u003e \u003cp\u003eR\u003csup\u003e2\u003c/sup\u003e\u0026thinsp;=\u0026thinsp;0.995\u003c/p\u003e \u003cp\u003eRMSE\u0026thinsp;=\u0026thinsp;0.101 m\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003eTo assess the geo-environmental for sustainable groundwater restoration (Mahammad et al., 2023)\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003eSeasonal\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e3200 km\u003csup\u003e2\u003c/sup\u003e with 30 monitoring wells\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003ePrecipitation\u003c/p\u003e \u003cp\u003ePopulation growth\u003c/p\u003e \u003cp\u003eUse of groundwater\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c5\"\u003e \u003cp\u003eR= -0.72\u0026ndash;0.9\u003c/p\u003e \u003cp\u003eRMSE\u0026thinsp;=\u0026thinsp;4.73\u0026ndash;0.52m\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003c/tbody\u003e \u003c/colgroup\u003e \u003c/table\u003e\u003c/div\u003e \u003c/p\u003e \u003cp\u003eFrom a macroscopic perspective, the primary motivation behind groundwater level prediction is the anticipation of drought events increasing in frequency in the context of continued climate change. The escalating stress of surface water scarcity has led to the overexploitation of groundwater, resulting in heightened pumping costs, diminished base flow, saltwater intrusion, and land subsidence\u003csup\u003e30\u003c/sup\u003e. However, curbing intensive irrigation pumping could lead to notable losses, spanning agricultural economics and food security. Consequently, addressing the mitigation of irrigation practices and assessing the socioeconomic implications of groundwater management are imperative tasks\u003csup\u003e31\u0026ndash;33\u003c/sup\u003e. Hence, the objective of this study is to establish a groundwater level prediction model using data related to groundwater dynamics, electricity consumption by pumping wells, and precipitation as inputs for the XGBoost (XGB) algorithm. The developed model can be applied to assess the impact of reducing groundwater usage for irrigation on crop yields and fallowing subsidies.\u003c/p\u003e"},{"header":"2. Materials and methods","content":"\u003cdiv id=\"Sec3\" class=\"Section2\"\u003e \u003ch2\u003e2.1 Study area\u003c/h2\u003e \u003cp\u003eYun-Lin County, which is situated in the southern region of the Choushui River alluvial fan in southwestern Taiwan, spans an extensive area of approximately 1,291 km\u0026sup2; and serves as a crucial hub for rice production (Fig.\u0026nbsp;\u003cspan refid=\"Fig1\" class=\"InternalRef\"\u003e1\u003c/span\u003e(a)). The formation of this alluvial fan was influenced by the Choushui River, which flows from the Central Mountains before diverging to create a triangular alluvial fan characterized by fine-grained sediment enriched in organic carbon. Hydrogeologically, the Choushui River alluvial fan is primarily categorized into apex-fan and apron-fan areas. Due to inadequate surface water resources and rapid direct runoff within the apron fan area, a considerable volume of groundwater has been extracted to serve as a reliable source of irrigation water for agricultural cultivation. Intensive pumping activities have led to a significant decline in groundwater levels and subsequent land subsidence. The Global Navigation Satellite System (GNSS) has been used by the Water Resources Agency in Taiwan to identify areas with land subsidence rates exceeding 3 and 5 cm/year, raising concerns about the safety of public transportation infrastructure.\u003c/p\u003e \u003cp\u003e \u003c/p\u003e \u003cp\u003eIn this study, a groundwater monitoring well located at the center of a land subsidence area and adjacent to the Taiwan High-Speed Rail network is selected as the target for groundwater level prediction. This groundwater monitoring well, situated in an apex-fan area, was completed in gravel and sand, constituting an unconfined aquifer. In the apron fan areas, geological formations consist of interlayered sequences, including marine and nonmarine sequences. The nonmarine sequences, comprising coarse sediment ranging from medium sand to highly permeable gravel, constitute the most significant aquifer units. According to geological investigations by the Water Resources Agency in Taiwan, the depths of the main aquifers at these monitoring wells range from 7\u0026ndash;12 m, 65\u0026ndash;102 m, and 121\u0026ndash;146 m, respectively (Fig.\u0026nbsp;\u003cspan refid=\"Fig1\" class=\"InternalRef\"\u003e1\u003c/span\u003e(b)).\u003c/p\u003e \u003cp\u003eRainfall infiltration serves as the primary recharge source for the shallowest aquifer. Based on measurements by the Central Weather Administration in Taiwan, the average annual rainfall at the meteorological station in this study from 2007 to 2023 totaled 1323 mm, with a noticeable difference between the wet (May\u0026ndash;October) and dry (November\u0026ndash;April) seasons, with values of 1155.3 mm/year and 168.1 mm/year, respectively. Notably, approximately 87.3% of the annual rainfall occurs during the wet season, highlighting the reliance on groundwater resources for irrigation during the dry season. Figure\u0026nbsp;\u003cspan refid=\"Fig1\" class=\"InternalRef\"\u003e1\u003c/span\u003e(c) illustrates the distribution of pumping wells around the monitoring wells. Within a 2.5-km radius surrounding the groundwater monitoring wells in the study area, a total of 2,894 pumping wells were identified. These wells cover an agricultural land area of 1,520 hectares, with approximately 1,030 hectares dedicated to rice cultivation.\u003c/p\u003e \u003c/div\u003e \u003cdiv id=\"Sec4\" class=\"Section2\"\u003e \u003ch2\u003e2.2 Data preparation and model features\u003c/h2\u003e \u003cp\u003eAn extensive dataset spanning over 20 years of groundwater level monitoring data and rainfall measurements was established to provide a robust foundation for assessing temporal variations in groundwater resources. Notably, the numerous pumping wells have a notable effect on the aquifer system. The power consumption of each individual pumping well within a 2.5 km radius of the monitoring wells was utilized as a model feature in replace of the pumping volume. The groundwater level, rainfall, and power consumption data for pumping wells spanning from July 2007 to June 2023 were sourced from the Water Resources Agency, the Central Weather Administration, and Taiwan Power Company, respectively. Since power consumption data are available monthly, hourly groundwater level data and rainfall records were respectively averaged and summed to establish monthly datasets.\u003c/p\u003e \u003cp\u003eIn this study, pumping wells were categorized based on their registered water usage rights into agricultural, industrial, domestic, public, and other classes. Notably, within the agricultural water usage class, five types of irrigation practices, five types of livestock farming, and an aquaculture practice are identified (Table\u0026nbsp;\u003cspan refid=\"Tab2\" class=\"InternalRef\"\u003e2\u003c/span\u003e). The depth, motor power, and diameter of the pumping wells were obtained to explore the pumping well characteristics. Based on the classes of pumping wells illustrated in Fig.\u0026nbsp;\u003cspan refid=\"Fig2\" class=\"InternalRef\"\u003e2\u003c/span\u003e(a), 1,061 pumping wells are dedicated to single-crop rice cultivation, while 684 pumping wells are used for double-crop farming, together accounting for 60% of all pumping wells. Another significant purpose of groundwater abstraction is dryland farming, with 909 pumping wells allocated for this purpose, constituting 31.4% of the total. Hence, these three purposes represent the primary types of groundwater discharge from the aquifer. Although the remaining classes of pumping wells represent only 8.6% of the total, their power consumption must still be considered due to the potential impact of flow rate on groundwater levels, which cannot be overlooked. Furthermore, the characteristics of most pumping wells exhibit consistency, as evidenced by several factors. Approximately 79.5% of the wells reach a depth of at least 50 meters below the ground, while 85.1% of the wells feature pumping motors with a horsepower rating between 2 and 5 HP. Additionally, the diameter of the well tube for 87% of the wells falls within the range of 2 to 5 inches (Fig.\u0026nbsp;\u003cspan refid=\"Fig2\" class=\"InternalRef\"\u003e2\u003c/span\u003e(b)-(d)). Despite the use of conversion factor for estimating the pumping volume at each well, which refers to the volume of groundwater abstracted per unit power consumed, uncertainties arise due to variations in hydrogeological conditions and well characteristics\u003csup\u003e34\u003c/sup\u003e. Considering that the power consumption of a single well is directly proportional to the pumping volume, utilizing consumed power as the input for machine learning models is preferable to using the estimated groundwater volume, even in numerical transport models.\u003c/p\u003e \u003cp\u003e \u003cdiv class=\"gridtable\"\u003e\u003ctable float=\"Yes\" id=\"Tab2\" border=\"1\"\u003e \u003ccaption language=\"En\"\u003e \u003cdiv class=\"CaptionNumber\"\u003eTable 2\u003c/div\u003e \u003cdiv class=\"CaptionContent\"\u003e \u003cp\u003eGroundwater usage category and the average power consumption of pumping wells in each category\u003c/p\u003e \u003c/div\u003e \u003c/caption\u003e \u003ccolgroup cols=\"5\"\u003e \u003cdiv align=\"left\" class=\"colspec\" colname=\"c1\" colnum=\"1\"\u003e\u003c/div\u003e \u003cdiv align=\"left\" class=\"colspec\" colname=\"c2\" colnum=\"2\"\u003e\u003c/div\u003e \u003cdiv align=\"left\" class=\"colspec\" colname=\"c3\" colnum=\"3\"\u003e\u003c/div\u003e \u003cdiv align=\"left\" class=\"colspec\" colname=\"c4\" colnum=\"4\"\u003e\u003c/div\u003e \u003cdiv align=\"left\" class=\"colspec\" colname=\"c5\" colnum=\"5\"\u003e\u003c/div\u003e \u003cthead\u003e \u003ctr\u003e \u003cth align=\"left\" colspan=\"2\" morerows=\"1\" nameend=\"c2\" namest=\"c1\" rowspan=\"2\"\u003e \u003cp\u003eGroundwater usage\u003c/p\u003e \u003c/th\u003e \u003cth align=\"left\" colname=\"c3\" morerows=\"1\" rowspan=\"2\"\u003e \u003cp\u003eAbbreviation\u003c/p\u003e \u003c/th\u003e \u003cth align=\"left\" colspan=\"2\" nameend=\"c5\" namest=\"c4\"\u003e \u003cp\u003ePower consumption of pumping well\u003c/p\u003e \u003c/th\u003e \u003c/tr\u003e \u003ctr\u003e \u003cth align=\"left\" colname=\"c4\"\u003e \u003cp\u003eAverage\u0026thinsp;\u0026plusmn;\u0026thinsp;Standard deviation\u003c/p\u003e \u003c/th\u003e \u003cth align=\"left\" colname=\"c5\"\u003e \u003cp\u003eMinimum\u0026ndash;maximum\u003c/p\u003e \u003c/th\u003e \u003c/tr\u003e \u003c/thead\u003e \u003ctbody\u003e \u003ctr\u003e \u003ctd align=\"left\" colspan=\"2\" nameend=\"c2\" namest=\"c1\"\u003e \u003cp\u003eAgricultural water use\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e\u0026nbsp;\u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e\u0026nbsp;\u003c/td\u003e \u003ctd align=\"left\" colname=\"c5\"\u003e\u0026nbsp;\u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e\u0026nbsp;\u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003eIrrigation-Single crop rice\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003eAWU-IP1\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e114,135.3\u0026thinsp;\u0026plusmn;\u0026thinsp;55,483.4\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c5\"\u003e \u003cp\u003e25,750\u0026ndash;278,451\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e\u0026nbsp;\u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003eIrrigation-Double crop rice\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003eAWU-IP2\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e66,322.8\u0026thinsp;\u0026plusmn;\u0026thinsp;29,167.1\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c5\"\u003e \u003cp\u003e19,353\u0026ndash;153,966\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e\u0026nbsp;\u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003eIrrigation-Dryland\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003eAWU-ID\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e68,537.7\u0026thinsp;\u0026plusmn;\u0026thinsp;23,036.2\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c5\"\u003e \u003cp\u003e26,958\u0026ndash;144,872\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e\u0026nbsp;\u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003eIrrigation-Greenhouse\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003eAWU-IG\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e612\u0026thinsp;\u0026plusmn;\u0026thinsp;414.4\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c5\"\u003e \u003cp\u003e95\u0026ndash;2,732\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e\u0026nbsp;\u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003eIrrigation-Other\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003eAWU-IO\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e53,411.7\u0026thinsp;\u0026plusmn;\u0026thinsp;12,792\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c5\"\u003e \u003cp\u003e27,002\u0026ndash;88,647\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e\u0026nbsp;\u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003eLivestock-Cow\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003eAWU-LC\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e239.3\u0026thinsp;\u0026plusmn;\u0026thinsp;122.9\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c5\"\u003e \u003cp\u003e23\u0026ndash;547\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e\u0026nbsp;\u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003eLivestock-Swine\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003eAWU-LS\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e7,714\u0026thinsp;\u0026plusmn;\u0026thinsp;3,227.8\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c5\"\u003e \u003cp\u003e2,385\u0026ndash;16,233\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e\u0026nbsp;\u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003eLivestock-Fowl\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003eAWU-LF\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e2,914\u0026thinsp;\u0026plusmn;\u0026thinsp;2,199.1\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c5\"\u003e \u003cp\u003e602\u0026ndash;10,214\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e\u0026nbsp;\u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003eLivestock-Duck\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003eAWU-LD\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e145.6\u0026thinsp;\u0026plusmn;\u0026thinsp;100.8\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c5\"\u003e \u003cp\u003e5\u0026ndash;581\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e\u0026nbsp;\u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003eLivestock-Other\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003eAWU-LO\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e30.3\u0026thinsp;\u0026plusmn;\u0026thinsp;28.8\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c5\"\u003e \u003cp\u003e0\u0026ndash;170\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e\u0026nbsp;\u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003eAquaculture-Freshwater\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003eAWU-AF\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e4,375.9\u0026thinsp;\u0026plusmn;\u0026thinsp;1,412.1\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c5\"\u003e \u003cp\u003e919\u0026ndash;8,913\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colspan=\"2\" nameend=\"c2\" namest=\"c1\"\u003e \u003cp\u003eIndustrial water use\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003eIWU\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e1,418.8\u0026thinsp;\u0026plusmn;\u0026thinsp;510.3\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c5\"\u003e \u003cp\u003e591\u0026ndash;2,843\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colspan=\"2\" nameend=\"c2\" namest=\"c1\"\u003e \u003cp\u003eDomestic/public water supply\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003eDPWS\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e4,313.3\u0026thinsp;\u0026plusmn;\u0026thinsp;2,067.6\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c5\"\u003e \u003cp\u003e1,245\u0026ndash;7,048\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colspan=\"2\" nameend=\"c2\" namest=\"c1\"\u003e \u003cp\u003eOther uses\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003eOU\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e20,241.3\u0026thinsp;\u0026plusmn;\u0026thinsp;6,525.2\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c5\"\u003e \u003cp\u003e8,362\u0026ndash;49,923\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003c/tbody\u003e \u003c/colgroup\u003e \u003c/table\u003e\u003c/div\u003e \u003c/p\u003e \u003cp\u003e \u003c/p\u003e \u003cp\u003eUpon collection of raw data regarding the electrical power consumed by each pumping well, it was observed that some wells were either constructed after 2007 or abandoned before 2023. As a result, the categorization of pumping wells based on their purpose became imperative. The power consumption values within the same categories were aggregated to preserve the raw data rather than removing the data. In summary, the features of the prediction model included the monthly power consumption for 14 categories of pumping wells, along with the previously mentioned groundwater level and rainfall data.\u003c/p\u003e \u003c/div\u003e \u003cdiv id=\"Sec5\" class=\"Section2\"\u003e \u003ch2\u003e2.3 Development of the extreme gradient boosting model\u003c/h2\u003e \u003cp\u003eExtreme gradient boosting (XGB) is a supervised machine learning method that was introduced by\u003csup\u003e35\u003c/sup\u003e, and it employs a recursive partitioning procedure. In XGB, trees are sequentially and stagewise grown by fitting decision trees to training data subsets, applying a loss function to the residuals of the preceding tree, and combining the loss function and the results of the previous tree to construct the subsequent tree. The utilization of the second partial derivatives of the loss function enables XGB to effectively minimize loss, resulting in high accuracy. The ultimate prediction of XGB is derived from the weighted contribution of all the decision trees used. XGB is highly efficient in supervised learning tasks as an ensemble learning technique in the realm of gradient boosting machines. Its implementation extends to both classification and regression applications, offering notable advantages such as high execution speed and compatibility with out-of-core computations. The prediction accuracy of this model is assessed through metrics such as deviation and model variation\u003csup\u003e36\u003c/sup\u003e. Given that \u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\(\\:D=\\left\\{\\left({x}_{i},{y}_{i}\\right)\\right\\}\\)\u003c/span\u003e\u003c/span\u003e is considered a dataset with n samples and m features, the prediction value is generated using the following equations (Eqs.\u0026nbsp;(\u003cspan refid=\"Equ1\" class=\"InternalRef\"\u003e1\u003c/span\u003e) and (\u003cspan refid=\"Equ2\" class=\"InternalRef\"\u003e2\u003c/span\u003e)):\u003cdiv id=\"Equ1\" class=\"Equation\"\u003e\u003cdiv format=\"TEX\" class=\"mathdisplay\" id=\"FileID_Equ1\" name=\"EquationSource\"\u003e\n$$\\:\\widehat{{y}_{i}}=\\sum\\:_{k=1}^{k}{f}_{k}\\left({x}_{i}\\right),\\:{f}_{k}ϵ\\phi\\:$$\u003c/div\u003e\u003cdiv class=\"EquationNumber\"\u003e1\u003c/div\u003e\u003c/div\u003e\u003cdiv id=\"Equ2\" class=\"Equation\"\u003e\u003cdiv format=\"TEX\" class=\"mathdisplay\" id=\"FileID_Equ2\" name=\"EquationSource\"\u003e\n$$\\:\\phi\\:=\\left\\{f\\left(x\\right)={w}_{s}\\left(x\\right)\\right\\}(s:\\:{R}^{m}\\to\\:T,\\:{w}_{s},\\:ϵ{R}^{T})$$\u003c/div\u003e\u003cdiv class=\"EquationNumber\"\u003e2\u003c/div\u003e\u003c/div\u003e\u003c/p\u003e \u003cp\u003ewhere \u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\(\\:{x}_{i}\\)\u003c/span\u003e\u003c/span\u003e represents one sample, \u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\(\\:{f}_{k}\\left({x}_{i}\\right)\\)\u003c/span\u003e\u003c/span\u003e represents the prediction score, \u003cem\u003eφ\u003c/em\u003e is the set of regression trees, \u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\(\\:f\\left(x\\right)\\)\u003c/span\u003e\u003c/span\u003e is each tree, \u003cem\u003es\u003c/em\u003e is a structural parameter, \u003cem\u003ew\u003c/em\u003e is the leaf weight, \u003cem\u003eT\u003c/em\u003e is the number of leaves per tree, \u003cem\u003ek\u003c/em\u003e is the number of trees used to obtain the ensemble results, and \u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\(\\:\\widehat{{y}_{i}}\\)\u003c/span\u003e\u003c/span\u003e is the predicted output. Further details on XGBoost (XGB) theory can be found in the works of\u003csup\u003e35\u0026ndash;37\u003c/sup\u003e.\u003c/p\u003e \u003cp\u003eThe XGB algorithm and model performance were implemented using the scikit-learn library in the Anaconda python distribution (version 2020.07). The dataset consisted of 192 monthly measurements for each variable, such as the groundwater level, rainfall, and the power consumption of pumping wells. The first 174 monthly measurements were adopted for model training to obtain the best-fit model and optimal hyperparameters. The remaining 18 monthly records were used for model testing. For the training dataset, the 'TimeSeriesSplit' function from the scikit-learn library was used to perform cross-validation of the time series data. The dataset was divided into 10 consecutive subsets, with each subset serving as a validation set once and the rest serving as the training set to validate the stability of model training.\u003c/p\u003e \u003cp\u003eHyperparameter settings significantly influence the performance of machine learning models, and improper selection can lead to poorly performing models. Traditionally, hyperparameters are chosen through trial-and-error, grid search, random search, or heuristic optimization algorithms\u003csup\u003e38,39\u003c/sup\u003e. Bayesian optimization is a state-of-the-art approach for the global and local optimization of hyperparameters and efficiently searches through a hyperparameter space to find the optimal set of values for the XGB model\u003csup\u003e40,41\u003c/sup\u003e. This approach is characterized by broader applicability than other methods, such as the grid search and random search methods, and has been widely used in numerous machine learning algorithms. In this study, Bayesian optimization was implemented for hyperparameter selection via cross-validation for the training data. The Gaussian process prior and expected improvement were adopted as bases of the prior and acquisition functions, respectively, for optimizing the hyperparameters\u003csup\u003e40\u003c/sup\u003e. In this method, the objective function is continuously updated by adding sample points, and cross-validation is used to select the combination of hyperparameters that yields the highest average score for the model. The objective function of Bayesian optimization is shown in Eq.\u0026nbsp;\u003cspan refid=\"Equ3\" class=\"InternalRef\"\u003e3\u003c/span\u003e.\u003cdiv id=\"Equ3\" class=\"Equation\"\u003e\u003cdiv format=\"TEX\" class=\"mathdisplay\" id=\"FileID_Equ3\" name=\"EquationSource\"\u003e\n$$\\:{X}^{\\left(*\\right)}=arg\\text{min}\\:{X}_{x\\in\\:S}f\\left(X\\right)$$\u003c/div\u003e\u003cdiv class=\"EquationNumber\"\u003e3\u003c/div\u003e\u003c/div\u003e\u003c/p\u003e \u003cp\u003ewhere \u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\(\\:{X}^{\\left(*\\right)}\\:\\)\u003c/span\u003e\u003c/span\u003e denotes the optimal hyperparameter combination, \u003cem\u003eS\u003c/em\u003e denotes the candidate set of \u003cem\u003ex\u003c/em\u003e, and \u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\(\\:f\\left(X\\right)\\)\u003c/span\u003e\u003c/span\u003e is the objective function.\u003c/p\u003e \u003cp\u003eTree-based machine learning models such as XGB prioritize features based on their importance\u003csup\u003e42\u003c/sup\u003e. XGB estimates feature importance, aiding in the evaluation of the predictive power of input variables. It also provides contribution scores to assess variable significance. Importance is determined based on relevance (squared) and the number of selections in splitting, with weights assigned based on the contribution to model improvement and averaged over all trees\u003csup\u003e43\u003c/sup\u003e. The XGB scale variable sums to 100 across all trees, with high values for individual trees indicating strong impacts on the results\u003csup\u003e44\u003c/sup\u003e. This method provides a comprehensive assessment of variable contributions. Model performance was evaluated using the following statistical criteria: root mean square error (RMSE), mean absolute error (MAE), and coefficient of determination (R\u003csup\u003e2\u003c/sup\u003e) (Eqs.\u0026nbsp;\u003cspan refid=\"Equ4\" class=\"InternalRef\"\u003e4\u003c/span\u003e\u0026ndash;\u003cspan refid=\"Equ6\" class=\"InternalRef\"\u003e6\u003c/span\u003e)\u003cdiv id=\"Equ4\" class=\"Equation\"\u003e\u003cdiv format=\"TEX\" class=\"mathdisplay\" id=\"FileID_Equ4\" name=\"EquationSource\"\u003e\n$$\\:RMSE=\\sqrt{\\frac{{\\sum\\:}_{i=1}^{N}{({y}_{i}-\\widehat{{y}_{i}})}^{2}}{N}}$$\u003c/div\u003e\u003cdiv class=\"EquationNumber\"\u003e4\u003c/div\u003e\u003c/div\u003e\u003cdiv id=\"Equ5\" class=\"Equation\"\u003e\u003cdiv format=\"TEX\" class=\"mathdisplay\" id=\"FileID_Equ5\" name=\"EquationSource\"\u003e\n$$\\:MAE=\\frac{1}{N}{\\sum\\:}_{i=1}^{N}\\left|{y}_{i}-\\widehat{{y}_{i}}\\right|$$\u003c/div\u003e\u003cdiv class=\"EquationNumber\"\u003e5\u003c/div\u003e\u003c/div\u003e\u003cdiv id=\"Equ6\" class=\"Equation\"\u003e\u003cdiv format=\"TEX\" class=\"mathdisplay\" id=\"FileID_Equ6\" name=\"EquationSource\"\u003e\n$$\\:{R}^{2}=1-\\frac{{\\sum\\:}_{i=1}^{N}{({y}_{i}-\\widehat{{y}_{i}})}^{2}}{{\\sum\\:}_{i=1}^{N}{y}_{i}^{2}-\\frac{\\sum\\:_{i=1}^{N}{\\widehat{{y}_{i}}}^{2}}{N}}$$\u003c/div\u003e\u003cdiv class=\"EquationNumber\"\u003e6\u003c/div\u003e\u003c/div\u003e\u003c/p\u003e \u003c/div\u003e \u003cdiv id=\"Sec6\" class=\"Section2\"\u003e \u003ch2\u003e2.4 Application of the XGB model for adapting to groundwater level decline\u003c/h2\u003e \u003cp\u003eA well-developed prediction model is necessary to fully consider the impacts of pumping on groundwater level variations. The model can be used to develop strategies to reduce groundwater pumping and implement policies such as agricultural fallowing in response to significant declines in groundwater levels. Furthermore, establishing a threshold groundwater level is essential for evaluating the extent to which groundwater pumping needs to be restricted in the future to ensure the safety of groundwater resources. The exceedance probability, an indicator used in the current groundwater level management strategy in Taiwan, has also been widely utilized in previous studies regarding the management of groundwater resources during periods of drought\u003csup\u003e45\u0026ndash;47\u003c/sup\u003e. This indicator can be estimated from historical groundwater level data using the Weibull distribution\u003csup\u003e48\u003c/sup\u003e. Exceedance probabilities of \u0026gt;\u0026thinsp;85%, \u0026gt;\u0026thinsp;25% and \u0026lt;\u0026thinsp;25% correspond to the safe level, the lower limit of exceedance, and the extremely low limit of exceedance, respectively. Based on the predicted groundwater levels under various rainfall conditions, adjustments in the XGB model can be made to reduce power consumption of pumping wells by certain proportions. This approach can be used to determine the optimal quantities of groundwater pumping and fallowing, aimed at maintaining groundwater levels above the lower limit of exceedance. Additionally, the economic profitability of agricultural crop production, particularly rice production, can be calculated to evaluate the cost of conserving groundwater resources in the future in periods with limited rainfall.\u003c/p\u003e \u003c/div\u003e"},{"header":"3. Results and discussion","content":"\u003cdiv id=\"Sec8\" class=\"Section2\"\u003e \u003ch2\u003e3.1 Dynamics of groundwater level, power consumption, and precipitation\u003c/h2\u003e \u003cp\u003eThe analysis of rainfall data revealed that precipitation is predominantly concentrated in the wet season and is primarily influenced by monsoon and typhoon events (Fig.\u0026nbsp;\u003cspan refid=\"Fig3\" class=\"InternalRef\"\u003e3\u003c/span\u003e). The average annual rainfall recorded during the period from 2007 to 2022 was 1549.1\u0026thinsp;\u0026plusmn;\u0026thinsp;397.9 mm. The lowest annual rainfall levels were observed in 2011 and 2020 at 928.5 mm and 1058 mm, respectively. Furthermore, the average rainfall during the dry season was 248.5\u0026thinsp;\u0026plusmn;\u0026thinsp;142.9 mm, which significantly increased to 1296.6\u0026thinsp;\u0026plusmn;\u0026thinsp;369.3 mm during the wet season. The reliance on groundwater as a reliable irrigation water resource is reflected in the variation in groundwater levels. The seasonal cycling of groundwater indicates that the increase in groundwater levels each year follows the significant rainfall in the wet season (Fig.\u0026nbsp;\u003cspan refid=\"Fig3\" class=\"InternalRef\"\u003e3\u003c/span\u003e). The average groundwater level during the wet season (-3.92\u0026thinsp;\u0026plusmn;\u0026thinsp;3.2 m with a range of -15.01 to -1.35 m) was significantly greater than that during the dry season (-4.75\u0026thinsp;\u0026plusmn;\u0026thinsp;3.28 m with a range of -13.29 to 1.53 m) (\u003cem\u003et\u003c/em\u003e test, \u003cem\u003ep\u003c/em\u003e value\u0026thinsp;\u0026lt;\u0026thinsp;0.05). The substantial disparity in rainfall between dry and wet years, as well as between seasons, contributed to the uncertainty surrounding the availability of natural water for agricultural irrigation purposes. Notably, the groundwater levels reached their lowest point during the dry season in 2020, which was attributed to the severe drought resulting from the low rainfall in 2020. These conditions persisted into the wet season of 2021. An increase in water scarcity has led to the construction of more groundwater pumping wells, a trend expected to continue with climate change.\u003c/p\u003e \u003cp\u003e \u003c/p\u003e \u003cp\u003eTable\u0026nbsp;\u003cspan refid=\"Tab2\" class=\"InternalRef\"\u003e2\u003c/span\u003e outlines the abbreviations for each groundwater usage category and provides the average power consumption of pumping wells in each category. Rice and rainfed crops are the predominant crops in the study area, resulting in higher power consumption for agricultural irrigation than for other purposes. Notably, the average power consumption for the \u0026ldquo;other\u0026rdquo; class is significant, as some groundwater users may not specify a particular crop during water rights registration, resulting in classification into this category. The wide ranges of consumed power imply that groundwater abstraction amounts can significantly vary among different months and years. The trend of the monthly variation in power consumption indicates that the period from February to June corresponds to the highest groundwater demand, especially for single-crop, double-crop, and dryland farming (Fig.\u0026nbsp;\u003cspan refid=\"Fig4\" class=\"InternalRef\"\u003e4\u003c/span\u003e). The utilization of groundwater for livestock, aquaculture, industry, and domestic purposes shows no significant cyclic variation. In addition, the water consumption for swine cultivation and domestic use slightly increased after 2014 due to increases in the livestock market price and municipal development, respectively, resulting in stress on the water supply and increased groundwater pumping.\u003c/p\u003e \u003cp\u003e \u003c/p\u003e \u003c/div\u003e \u003cdiv id=\"Sec9\" class=\"Section2\"\u003e \u003ch2\u003e3.2 Performance of the XGB model for groundwater level prediction\u003c/h2\u003e \u003cp\u003eTo develop the groundwater level prediction model, the hyperparameters were determined using Bayesian optimization, a commonly employed approach\u003csup\u003e49\u003c/sup\u003e. Table\u0026nbsp;\u003cspan refid=\"Tab3\" class=\"InternalRef\"\u003e3\u003c/span\u003e provides details of the search intervals of the XGB model. According to the results of 10-folds model training and validation, the RMSE, MAE, and R\u003csup\u003e2\u003c/sup\u003e values are 0.001\u0026ndash;0.978, 0-0.807, and 0.901-1, respectively, for model training and 0.804\u0026ndash;2.597, 0.626\u0026ndash;2.233, and 0.781\u0026ndash;0.852, respectively, for model validation. Figure\u0026nbsp;\u003cspan refid=\"Fig5\" class=\"InternalRef\"\u003e5\u003c/span\u003e presents the validation results of the groundwater level prediction from January 2022 to June 2023. The consistent variations between the monitored and predicted groundwater levels indicate that the developed model effectively captures the trends in groundwater levels using power consumption and rainfall data, which are critical factors to consider. The predicted groundwater levels during wet season well fitted with the monitored groundwater levels. However, during the dry season, the predicted groundwater levels were slightly higher than the monitored levels. Due to a prolonged drought from late 2021 until the monsoon season of 2023 in Taiwan (Fig.\u0026nbsp;\u003cspan refid=\"Fig3\" class=\"InternalRef\"\u003e3\u003c/span\u003e), the limited precipitation encouraged the practice of fallowing policies. Nonetheless, the sharp decrease in groundwater levels from December 2022 may be attributed to unregistered pumping, as the decrease in power consumption from registered pumping wells was significant (Fig.\u0026nbsp;\u003cspan refid=\"Fig4\" class=\"InternalRef\"\u003e4\u003c/span\u003e).\u003c/p\u003e \u003cp\u003e \u003cdiv class=\"gridtable\"\u003e\u003ctable float=\"Yes\" id=\"Tab3\" border=\"1\"\u003e \u003ccaption language=\"En\"\u003e \u003cdiv class=\"CaptionNumber\"\u003eTable 3\u003c/div\u003e \u003cdiv class=\"CaptionContent\"\u003e \u003cp\u003eDefinitions, search intervals, and best-fit of hyperparameters in XGB model\u003c/p\u003e \u003c/div\u003e \u003c/caption\u003e \u003ccolgroup cols=\"4\"\u003e \u003cdiv align=\"left\" class=\"colspec\" colname=\"c1\" colnum=\"1\"\u003e\u003c/div\u003e \u003cdiv align=\"left\" class=\"colspec\" colname=\"c2\" colnum=\"2\"\u003e\u003c/div\u003e \u003cdiv align=\"left\" class=\"colspec\" colname=\"c3\" colnum=\"3\"\u003e\u003c/div\u003e \u003cdiv align=\"left\" class=\"colspec\" colname=\"c4\" colnum=\"4\"\u003e\u003c/div\u003e \u003cthead\u003e \u003ctr\u003e \u003cth align=\"left\" colname=\"c1\"\u003e \u003cp\u003eHyper-parameters\u003c/p\u003e \u003c/th\u003e \u003cth align=\"left\" colname=\"c2\"\u003e \u003cp\u003eDefinition\u003c/p\u003e \u003c/th\u003e \u003cth align=\"left\" colname=\"c3\"\u003e \u003cp\u003eSearch interval\u003c/p\u003e \u003c/th\u003e \u003cth align=\"left\" colname=\"c4\"\u003e \u003cp\u003eBest fitted\u003c/p\u003e \u003c/th\u003e \u003c/tr\u003e \u003c/thead\u003e \u003ctbody\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003e\u003cem\u003elearning_rate\u003c/em\u003e\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003eThe rate at which the model learns pattern in training data\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e0.0001\u0026ndash;0.1\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e0.003\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003e\u003cem\u003en_estimators\u003c/em\u003e\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003eThe maximum number of trees generated\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e1,000\u0026ndash;50,000\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e50000\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003e\u003cem\u003emax_depth\u003c/em\u003e\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003eMaximum depth of tree\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e1\u0026ndash;10\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e10\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003e\u003cem\u003emin_child_weight\u003c/em\u003e\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003eThe sum of the minimum weights of each leaf\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e1\u0026ndash;5\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e1\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003e\u003cem\u003egamma\u003c/em\u003e\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003eMinimum loss reduction needed for further leaf node partition\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e0\u0026ndash;0.5\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e0\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003e\u003cem\u003esubsample\u003c/em\u003e\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003eSubsample ratio of the training instances\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e0.3\u0026ndash;0.9\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e0.3\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003e\u003cem\u003ecolsample_bytree\u003c/em\u003e\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003eColumn sampling rate\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e0.3\u0026ndash;0.9\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e0.5911\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003e\u003cem\u003escale_pos_weight\u003c/em\u003e\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003eBalance positive and negative weights to address class imbalance\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e1\u0026ndash;10\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e3\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003e\u003cem\u003ereg_alpha\u003c/em\u003e\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003eL1 Regularization parameters\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e0.001\u0026ndash;10\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e0.0126\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003e\u003cem\u003ereg_lambda\u003c/em\u003e\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003eL2 Regularization parameters\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e0.001\u0026ndash;10\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e0.0013\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e \u003cp\u003e\u003cem\u003ebase_score\u003c/em\u003e\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003eThe initial prediction score of all instances\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e0.3\u0026ndash;0.7\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e0.3798\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003c/tbody\u003e \u003c/colgroup\u003e \u003c/table\u003e\u003c/div\u003e \u003c/p\u003e \u003cp\u003e \u003c/p\u003e \u003cp\u003eAmong the 10-fold model training and validation processes, the subset with the lowest RMSE and MAE is considered the best-fit model, with the corresponding hyperparameters shown in Table\u0026nbsp;\u003cspan refid=\"Tab3\" class=\"InternalRef\"\u003e3\u003c/span\u003e. For this best-fit model, the RMSE, MAE, and R\u0026sup2; values are 0.002, 0.00, and 0.999, respectively, for model training, and 0.804, 0.626, and 0.818, respectively, for model validation. These impressive results, achieved using only precipitation and power consumption data for groundwater level prediction, support the utilization of the hyperparameter values for further predictions with the XGB model. In terms of predictions of groundwater variations, the XGB model consistently outperformed other machine learning algorithms in both the training and validation stages, primarily due to its superior calibration capability, as indicated by the RMSE and MAE\u003csup\u003e24,50\u003c/sup\u003e. The XGB algorithm integrates a regularization term to control model complexity and is adaptable to various types of base classifiers. After each computational iteration, the weights of the leaf nodes are adjusted by a reduction factor, mitigating the influence of individual classifiers and promoting a more balanced and effective learning process\u003csup\u003e35\u003c/sup\u003e. Moreover, the Bayesian optimization approach employed in this study utilizes Bayes' theorem to determine the minimum and maximum values of the objective function. In each iteration, information from previous calculations is leveraged to optimize subsequent steps, creating an efficient search process\u003csup\u003e51\u003c/sup\u003e. \u003csup\u003e52\u003c/sup\u003ehighlighted a notable advantage of Bayesian optimization, which is the automatic estimation of model parameters in coupled machine learning models.\u003c/p\u003e \u003cp\u003eThe selection of input features plays a crucial role in ensuring the stability and robustness of prediction models\u003csup\u003e53\u003c/sup\u003e. Feature importance analysis provides insights into the contribution of each variable to the target value. In this study, the importance of the input variables for groundwater level prediction was automatically estimated by using the trained models (Fig.\u0026nbsp;\u003cspan refid=\"Fig6\" class=\"InternalRef\"\u003e6\u003c/span\u003e). The results revealed that AWU-IP2 had the most significant impact on the prediction, with the highest relative importance (0.409) in the model, followed by AWU-IP1 (0.078) and AWU-ID (0.072). Groundwater pumping for rice cultivation, the primary agricultural activity in the study area, accounts for the highest electricity consumption. Additionally, due to the implementation of water-saving policies by the Taiwanese government, a considerable portion of farmland is now used to grow rainfed crops.\u003c/p\u003e \u003cp\u003e \u003c/p\u003e \u003cp\u003eMoreover, the average power consumptions of AWU-IP1, AWU-IP2, AWU-ID, and AWU-IO are significantly higher than those of other groundwater usage purposes (Table\u0026nbsp;\u003cspan refid=\"Tab2\" class=\"InternalRef\"\u003e2\u003c/span\u003e). However, the feature importance of these four purposes does not follow the order of power consumption. The groundwater abstraction for paddy rice and dry farming is highly correlated with seasonal variations in precipitation and groundwater levels (Fig.\u0026nbsp;\u003cspan refid=\"Fig4\" class=\"InternalRef\"\u003e4\u003c/span\u003e), making AWU-IP1, AWU-IP2, and AWU-ID the top three in feature importance. In contrast, there is no significant variation in the power consumption of AWU-IO, resulting in its lower feature importance. Therefore, the XGB model can clearly reflect the impact of seasonal pumping behavior on groundwater level changes. Water usage purposes with high power consumption and significant differences between wet and dry seasons will predominantly control the rise and fall of groundwater levels. Conversely, water usage purposes with stable power consumption act like baseline data, having little impact on groundwater level changes.\u003c/p\u003e \u003cp\u003eThe high density of pumping wells underscores the urgency of addressing the over-extraction of groundwater to mitigate adverse impacts on both agricultural practices and infrastructure safety. Theoretically, halting pumping activities has emerged as the most viable strategy for preventing further exacerbation of land subsidence. However, this course of action poses a significant challenge, as it directly impacts the self-sufficiency of rice production in Taiwan. Therefore, there is an urgent need for the development of a groundwater level prediction model to help optimize management. This model must achieve a balance by reducing irrigation pumping, subsequently facilitating the recovery of land subsidence while simultaneously maintaining essential crop production.\u003c/p\u003e \u003c/div\u003e \u003cdiv id=\"Sec10\" class=\"Section2\"\u003e \u003ch2\u003e3.3 Impacts of reducing pumping from environmental and agroeconomic perspectives\u003c/h2\u003e \u003cp\u003eThe primary objective of this study is to utilize a well-trained groundwater level prediction model to assess the impact of reducing groundwater pumping from both environmental and socioeconomic perspectives. The groundwater level fluctuations of the best-fit model from January 2022 to June 2023 revealed that the monthly groundwater levels between August 2022 and March 2023 consistently fell below the lower limit level and even dipped below the extremely low level (Fig.\u0026nbsp;\u003cspan refid=\"Fig7\" class=\"InternalRef\"\u003e7\u003c/span\u003e). Local farmers often rely on groundwater extraction during the second crop period to mitigate the risks associated with unpredictable rainfall patterns during the monsoon season and typhoon events. Additionally, substantial groundwater abstraction occurs at the beginning of each year to flood paddy fields in preparation for the first crop period. To evaluate the effectiveness of reducing groundwater pumping to maintain groundwater levels, we considered scenarios where 25%, 50%, and 75% of paddy fields adhere to the government's fallowing recommendations, resulting in corresponding reductions in power consumption. Figure\u0026nbsp;\u003cspan refid=\"Fig7\" class=\"InternalRef\"\u003e7\u003c/span\u003e presents the groundwater level predictions for these varied reduction percentages. The increases in groundwater levels with a 25% reduction in power consumption range from 0.45 to 0.79 m during the wet season and from 0.45 to 0.99 m during the dry season. As the percentage of power consumption reduction increases, the elevations in groundwater levels do not increase proportionally. A 50% reduction in power consumption results in groundwater level increases ranging from 0.68 to 1.6 m in the wet season and from 1.07 to 1.96 m in the dry season. A 75% reduction leads to increases ranging from 0.68 to 1.98 m in the wet season and from 1.05 to 3.11 m in the dry season. In all three scenarios, the increases in groundwater levels during the dry season are significantly greater than those during the wet season. This implies that appropriate reductions in pumping volumes during drought periods can effectively prevent sharp groundwater level drawdowns. In this study, a 50% reduction in power consumption maintains monthly groundwater levels within safe level. Over the past few decades, the implementation of fallowing policies has been a common strategy for coping with the shortage of irrigation water during drought periods. While fallow practices have aided in groundwater maintenance and prevented rapid drawdown and potential land subsidence, they have also led to significant economic losses in agricultural cultivation. In addition, determining the appropriate area for fallowing poses a significant challenge for local governments due to the need to balance rice production self-sufficiency with fallow subsidies\u003csup\u003e31\u003c/sup\u003e. Water management policies often entail trade-offs between economic and sustainability objectives\u003csup\u003e32,33\u003c/sup\u003e. From an agricultural economic perspective, farmers are likely to opt for the option that offers the best financial return, whether it be rice prices or fallow subsidies, which complicates the promotion of fallowing policies during drought periods\u003csup\u003e54\u003c/sup\u003e.\u003c/p\u003e \u003cp\u003e \u003c/p\u003e \u003cp\u003eWhile the benefits of reducing groundwater pumping to prevent declines in groundwater levels are widely recognized among residents, the willingness to adhere to fallowing policies largely hinges on the incentives provided. In our study area, we aimed to estimate the economic profitability of rice production under fallow conditions. Economic profit serves as a crucial indicator for assessing firms' economic value and aids in decision-making processes\u003csup\u003e55,56\u003c/sup\u003e. It is essential to distinguish between accounting profits and economic profits. Accounting profit represents a firm's net income or revenue minus explicit costs, while economic profit represents opportunity costs, including both explicit and implicit costs\u003csup\u003e55\u003c/sup\u003e. Accounting profit is a firm's net income or revenue minus expenses (total explicit costs). Economic profit is the total revenue minus opportunity costs (total explicit costs and total implicit costs) from all inputs. The formula for calculating the accounting profit is as follows.\u003c/p\u003e \u003cp\u003e \u003cspan class=\"InlineEquation\"\u003e \u003cspan class=\"mathinline\"\u003e\\(\\:{\\pi\\:}_{a}\\)\u003c/span\u003e \u003c/span\u003e= total revenue - total explicit costs (\u003cspan citationid=\"CR7\" class=\"CitationRef\"\u003e7\u003c/span\u003e)\u003c/p\u003e \u003cp\u003ewhere \u003cem\u003eπ\u003c/em\u003e\u003csub\u003e\u003cem\u003ea\u003c/em\u003e\u003c/sub\u003e is the accounting profit. The total revenue is the average grain yield per hectare of rice multiplied by the average price. Total production costs (explicit costs) include direct costs (seedling fees, material fees, pesticides and other medicines, fertilizer fees, wages, and water purchase fees) and indirect costs (farmhouse fees, farm tool fees, land rent, and capital interest).\u003c/p\u003e \u003cp\u003eTo assess the economic profit of rice production, we need to consider both explicit costs (production costs) and implicit costs (opportunity costs), which encompass labor income from nonagricultural activities, nonagricultural land rent, and capital interest. When the opportunity cost of agricultural labor exceeds zero, the economic profit (\u003cem\u003eπ\u003c/em\u003e\u003csub\u003e\u003cem\u003ee\u003c/em\u003e\u003c/sub\u003e) calculation involves subtracting the total explicit and implicit costs from the total revenue (Eq.\u0026nbsp;8).\u003c/p\u003e \u003cp\u003e \u003cspan class=\"InlineEquation\"\u003e \u003cspan class=\"mathinline\"\u003e\\(\\:{\\pi\\:}_{e}\\)\u003c/span\u003e \u003c/span\u003e= Total revenue - (total explicit costs\u0026thinsp;+\u0026thinsp;total implicit costs) (\u003cspan citationid=\"CR8\" class=\"CitationRef\"\u003e8\u003c/span\u003e)\u003c/p\u003e \u003cp\u003eIn cases in which the opportunity cost of agricultural labor equals zero, signifying that farmers cannot find work outside the agricultural sector, the economic profit (\u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\(\\:{\\pi\\:}_{\\widehat{e}}\\)\u003c/span\u003e\u003c/span\u003e) must be adjusted to account for self-employed wages (Eq.\u0026nbsp;\u003cspan refid=\"Equ7\" class=\"InternalRef\"\u003e9\u003c/span\u003e).\u003cdiv id=\"Equ7\" class=\"Equation\"\u003e\u003cdiv format=\"TEX\" class=\"mathdisplay\" id=\"FileID_Equ7\" name=\"EquationSource\"\u003e\n$$\\:{\\pi\\:}_{\\widehat{e}}=\\:{\\pi\\:}_{e}+\\:\\text{s}\\text{e}\\text{l}\\text{f}-\\text{e}\\text{m}\\text{p}\\text{l}\\text{o}\\text{y}\\text{e}\\text{d}\\:\\text{w}\\text{a}\\text{g}\\text{e}\\text{s}$$\u003c/div\u003e\u003cdiv class=\"EquationNumber\"\u003e9\u003c/div\u003e\u003c/div\u003e\u003c/p\u003e \u003cp\u003eAccording to the Ministry of Agriculture's annual report on rice production and cost analysis in 2022, the economic profitability per hectare in our study area was determined, as outlined in Table\u0026nbsp;\u003cspan refid=\"Tab4\" class=\"InternalRef\"\u003e4\u003c/span\u003e. While the fallow subsidies during the second crop period may barely offsets the opportunity cost when agricultural laborers can find work outside the sector, it remains insufficient for the first crop period. Consequently, when the opportunity cost of agricultural labor is zero, fallowing subsidies for the first and second crop periods only reach 30% and 59% of the economic profit, respectively. This is the main reason why it is challenging to promote fallowing policies during drought periods to sustain groundwater levels within safe limits.\u003c/p\u003e \u003cp\u003e \u003cdiv class=\"gridtable\"\u003e\u003ctable float=\"Yes\" id=\"Tab4\" border=\"1\"\u003e \u003ccaption language=\"En\"\u003e \u003cdiv class=\"CaptionNumber\"\u003eTable 4\u003c/div\u003e \u003cdiv class=\"CaptionContent\"\u003e \u003cp\u003eEconomic profitability per hectare of rice cultivation in this study area\u003c/p\u003e \u003c/div\u003e \u003c/caption\u003e \u003ccolgroup cols=\"4\"\u003e \u003cdiv align=\"left\" class=\"colspec\" colname=\"c1\" colnum=\"1\"\u003e\u003c/div\u003e \u003cdiv align=\"left\" class=\"colspec\" colname=\"c2\" colnum=\"2\"\u003e\u003c/div\u003e \u003cdiv align=\"left\" class=\"colspec\" colname=\"c3\" colnum=\"3\"\u003e\u003c/div\u003e \u003cdiv align=\"left\" class=\"colspec\" colname=\"c4\" colnum=\"4\"\u003e\u003c/div\u003e \u003cthead\u003e \u003ctr\u003e \u003cth align=\"left\" colspan=\"2\" nameend=\"c2\" namest=\"c1\"\u003e\u0026nbsp;\u003c/th\u003e \u003cth align=\"left\" colname=\"c3\"\u003e \u003cp\u003e1st crop\u003c/p\u003e \u003c/th\u003e \u003cth align=\"left\" colname=\"c4\"\u003e \u003cp\u003e2nd crop\u003c/p\u003e \u003c/th\u003e \u003c/tr\u003e \u003c/thead\u003e \u003ctbody\u003e \u003ctr\u003e \u003ctd align=\"left\" colspan=\"2\" nameend=\"c2\" namest=\"c1\"\u003e \u003cp\u003eDirect costs (A)\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e\u0026nbsp;\u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e\u0026nbsp;\u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e\u0026nbsp;\u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003eSeedling fees\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e423.8\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e403.1\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e\u0026nbsp;\u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003eMaterial fees\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e1.3\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e3.4\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e\u0026nbsp;\u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003ePesticides and other medicines\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e458.6\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e485.8\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e\u0026nbsp;\u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003eFertilizer fees\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e534.7\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e483.1\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e\u0026nbsp;\u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003eWages\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e2189.4\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e2354.9\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e\u0026nbsp;\u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003eWater purchase fees\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e200.4\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e65.5\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colspan=\"2\" nameend=\"c2\" namest=\"c1\"\u003e \u003cp\u003eIndirect costs (B)\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e\u0026nbsp;\u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e\u0026nbsp;\u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e\u0026nbsp;\u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003eFarmhouse fees\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e22.6\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e13.8\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e\u0026nbsp;\u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003eFarm tool fees\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e2.7\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e1.6\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e\u0026nbsp;\u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003eLand rent\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e814.1\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e613.7\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colname=\"c1\"\u003e\u0026nbsp;\u003c/td\u003e \u003ctd align=\"left\" colname=\"c2\"\u003e \u003cp\u003eCapital interest\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e5.2\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e5.6\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colspan=\"2\" nameend=\"c2\" namest=\"c1\"\u003e \u003cp\u003eTotal production costs (A\u0026thinsp;+\u0026thinsp;B)\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e4652.8\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e4430.5\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colspan=\"2\" nameend=\"c2\" namest=\"c1\"\u003e \u003cp\u003eAverage grain yield of rice (kg/ha)\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e7686.0\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e6564.0\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colspan=\"2\" nameend=\"c2\" namest=\"c1\"\u003e \u003cp\u003eAverage price per kg\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e0.8\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e0.8\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colspan=\"2\" nameend=\"c2\" namest=\"c1\"\u003e \u003cp\u003eTotal revenue (C)\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e5867.0\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e5141.8\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colspan=\"2\" nameend=\"c2\" namest=\"c1\"\u003e \u003cp\u003eAccounting profit (\u003cspan citationid=\"CR1\" class=\"CitationRef\"\u003e1\u003c/span\u003e)\u003c/p\u003e \u003cp\u003e= (C)-(A\u0026thinsp;+\u0026thinsp;B)\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e1214.1\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e711.3\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colspan=\"2\" nameend=\"c2\" namest=\"c1\"\u003e \u003cp\u003eAssumed land rent (\u003cspan citationid=\"CR2\" class=\"CitationRef\"\u003e2\u003c/span\u003e)\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e524.1\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e336.9\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colspan=\"2\" nameend=\"c2\" namest=\"c1\"\u003e \u003cp\u003eAssumed capital interest (\u003cspan citationid=\"CR3\" class=\"CitationRef\"\u003e3\u003c/span\u003e)\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e5.2\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e5.6\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colspan=\"2\" nameend=\"c2\" namest=\"c1\"\u003e \u003cp\u003eSelf-employed Wages (\u003cspan citationid=\"CR4\" class=\"CitationRef\"\u003e4\u003c/span\u003e)\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e394.5\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e347.0\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colspan=\"2\" nameend=\"c2\" namest=\"c1\"\u003e \u003cp\u003eWhen opportunity cost of agricultural labor is \u0026gt;\u0026thinsp;0,\u003c/p\u003e \u003cp\u003eEconomic profit = (\u003cspan citationid=\"CR1\" class=\"CitationRef\"\u003e1\u003c/span\u003e)+(\u003cspan citationid=\"CR2\" class=\"CitationRef\"\u003e2\u003c/span\u003e)+(\u003cspan citationid=\"CR3\" class=\"CitationRef\"\u003e3\u003c/span\u003e)\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e1743.4\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e1053.8\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colspan=\"2\" nameend=\"c2\" namest=\"c1\"\u003e \u003cp\u003eFallowing subsidy\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e1037.1\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e1176.8\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colspan=\"2\" nameend=\"c2\" namest=\"c1\"\u003e \u003cp\u003eWhen opportunity cost of agricultural labor is 0,\u003c/p\u003e \u003cp\u003eEconomic profit = (\u003cspan citationid=\"CR1\" class=\"CitationRef\"\u003e1\u003c/span\u003e)+(\u003cspan citationid=\"CR2\" class=\"CitationRef\"\u003e2\u003c/span\u003e)+(\u003cspan citationid=\"CR3\" class=\"CitationRef\"\u003e3\u003c/span\u003e)+(\u003cspan citationid=\"CR4\" class=\"CitationRef\"\u003e4\u003c/span\u003e)\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e2138.0\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e1400.9\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd align=\"left\" colspan=\"2\" nameend=\"c2\" namest=\"c1\"\u003e \u003cp\u003eFallowing subsidy\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c3\"\u003e \u003cp\u003e642.6\u003c/p\u003e \u003c/td\u003e \u003ctd align=\"left\" colname=\"c4\"\u003e \u003cp\u003e829.7\u003c/p\u003e \u003c/td\u003e \u003c/tr\u003e \u003c/tbody\u003e \u003c/colgroup\u003e \u003c/table\u003e\u003c/div\u003e \u003c/p\u003e \u003cp\u003eTo encourage farmers to participate in fallowing, it is crucial to increase fallow subsidies. This approach not only incentivizes farmers to reduce groundwater usage but also mitigates the economic losses associated with fallowing. Enhanced subsidies could ensure that groundwater levels are maintained within safe limits during droughts, thereby balancing agricultural productivity with sustainable water management practices. Wit the predictive capabilities of this model, it provides policymakers with a flexible and efficient approach to determine the optimal percentage of fallow land. By incorporating data-driven insights, policymakers can tailor their strategies to maximize the benefits of groundwater conservation while minimizing economic repercussions in the agricultural sector.\u003c/p\u003e "},{"header":"Conclusion","content":"\u003cp\u003eThis study has effectively demonstrated the application of an XGB-based model to predict groundwater levels and evaluate the impacts of reduced groundwater pumping from both environmental and socioeconomic perspectives. The model, optimized through Bayesian techniques, has shown high predictive accuracy, evidenced by the strong alignment between observed and predicted groundwater levels. This validates the use of precipitation and power consumption data as significant predictors in the model. The analysis of groundwater level fluctuations from January 2022 to June 2023 revealed that strategic reductions in groundwater pumping can substantially mitigate groundwater depletion. Specifically, a varied percentages reduction in groundwater extraction resulted in different groundwater level increases to safe level in the wet and dry seasons. This suggests that appropriate management of groundwater resources, through reduced pumping, can help maintain groundwater levels within safe limits, thereby reducing the risk of over-extraction during drought periods.\u003c/p\u003e \u003cp\u003eHowever, the economic implications of such conservation strategies present significant challenges. The current fallowing subsidies are insufficient, covering only a fraction of the economic profits from rice cultivation. When considering the opportunity cost of agricultural labor, the subsidies for the first and second crop periods meet only 30% and 59% of the economic profit, respectively. This economic shortfall is a major barrier to the adoption of fallowing practices by farmers during droughts. Therefore, it is crucial to enhance these subsidies to make fallowing a more viable and attractive option for farmers. In conclusion, while predictive modeling offers a robust tool for groundwater management and policy decision-making, there is a clear need for improved economic incentives and integrated management strategies. Future research should aim to refine these models further by incorporating additional variables and conducting long-term studies to evaluate the cumulative effects of groundwater management policies on agricultural output and ecosystem health. Through such efforts, sustainable agricultural practices can be promoted, ensuring the long-term availability and health of groundwater resources.\u003c/p\u003e \u003c/div\u003e"},{"header":"Declarations","content":"\u003cp\u003e \u003ch2\u003eDeclaration of Interests\u003c/h2\u003e \u003cp\u003eThe authors declare no competing interests.\u003c/p\u003e \u003c/p\u003e\u003ch2\u003eAuthor Contributions\u003c/h2\u003e \u003cp\u003eConceptualization, S.W.W, Y.Y.C. and T.W.P.; Methodology, Y.H.K., Y.Y.C., and S.H.H.; Writing \u0026ndash; Original Draft, S.W.W. and Y.H.K.; Writing \u0026ndash; Review \u0026amp; Editing, M.K. and L.C.C.; Funding Acquisition, S.W.W. and L.C.C.; Resources, Y.Y.C. and S.H.H.; Supervision, M.K. and L.C.C.\u003c/p\u003e\u003ch2\u003eAcknowledgments\u003c/h2\u003e \u003cp\u003eThe authors wish to express their appreciation to the National Science and Technology Council, Taiwan (R.O.C.) for their financial support under Grant Numbers NSTC 112-2625-M-032-003.\u003c/p\u003e\u003ch2\u003eData availability statement\u003c/h2\u003e \u003cp\u003eData are available on request from the authors.\u003c/p\u003e"},{"header":"References","content":"\u003col\u003e\u003cli\u003e\u003cspan\u003eReinecke, R. \u003cem\u003eet al.\u003c/em\u003e Importance of Spatial Resolution in Global Groundwater Modeling. Groundwater 58, 363\u0026ndash;376 (2020).\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eLe Brocque, A. F., Kath, J. \u0026amp; Reardon-Smith, K. Chronic groundwater decline: A multi-decadal analysis of groundwater trends under extreme climate cycles. J. Hydrol. 561, 976\u0026ndash;986 (2018).\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003ePandey, K., Kumar, S., Malik, A. \u0026amp; Kuriqi, A. Artificial Neural Network Optimized with a Genetic Algorithm for Seasonal Groundwater Table Depth Prediction in Uttar Pradesh, India. \u003cem\u003eSustainability\u003c/em\u003e 12, 8932 (2020).\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eBierkens, M. F. P. \u0026amp; Wada, Y. Non-renewable groundwater use and groundwater depletion: a review. Environ. Res. Lett. 14, 063002 (2019).\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eLall, U., Josset, L. \u0026amp; Russo, T. A Snapshot of the World\u0026rsquo;s Groundwater Challenges. Annu. Rev. Environ. Resour. 45, 171\u0026ndash;194 (2020).\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eChang, F.-J., Chang, L.-C., Huang, C.-W. \u0026amp; Kao, I.-F. Prediction of monthly regional groundwater levels through hybrid soft-computing techniques. J. Hydrol. 541, 965\u0026ndash;976 (2016).\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eTian, J. \u003cem\u003eet al.\u003c/em\u003e Groundwater Depth Prediction Using Data-Driven Models with the Assistance of Gamma Test. Sustainability 8, 1076 (2016).\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eWei, Z., Wang, D., Sun, H. \u0026amp; Yan, X. Comparison of a physical model and phenomenological model to forecast groundwater levels in a rainfall-induced deep-seated landslide. J. Hydrol. 586, 124894 (2020).\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eZhou, T., Wang, F. \u0026amp; Yang, Z. Comparative Analysis of ANN and SVM Models Combined with Wavelet Preprocess for Groundwater Depth Prediction. Water 9, 781 (2017).\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eTaormina, R., Chau, K. \u0026amp; Sethi, R. Artificial neural network simulation of hourly groundwater levels in a coastal aquifer system of the Venice lagoon. Eng. Appl. Artif. Intell. 25, 1670\u0026ndash;1676 (2012).\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eCoulibaly, P., Anctil, F., Aravena, R. \u0026amp; Bob\u0026eacute;e, B. Artificial neural network modeling of water table depth fluctuations. Water Resour. Res. 37, 885\u0026ndash;896 (2001).\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eNayak, P. C., Rao, Y. R. S. \u0026amp; Sudheer, K. P. Groundwater Level Forecasting in a Shallow Aquifer Using Artificial Neural Network Approach. Water Resour. Manag. 20, 77\u0026ndash;90 (2006).\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eDaliakopoulos, I. N., Coulibaly, P. \u0026amp; Tsanis, I. K. Groundwater level forecasting using artificial neural networks. J. Hydrol. 309, 229\u0026ndash;240 (2005).\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eUc-Castillo, J. L., Mar\u0026iacute;n-Celestino, A. E., Mart\u0026iacute;nez-Cruz, D. A., Tuxpan-Vargas, J. \u0026amp; Ramos-Leal, J. A. A systematic review and meta-analysis of groundwater level forecasting with machine learning techniques: Current status and future directions. Environ. Model. Softw. 168, 105788 (2023).\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eAhmadi, A. \u003cem\u003eet al.\u003c/em\u003e Groundwater Level Modeling with Machine Learning: A Systematic Review and Meta-Analysis. Water 14, 949 (2022).\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eMaier, H. R., Jain, A., Dandy, G. C. \u0026amp; Sudheer, K. P. Methods used for the development of neural networks for the prediction of water resource variables in river systems: Current status and future directions. Environ. Model. Softw. 25, 891\u0026ndash;909 (2010).\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eGong, Y., Zhang, Y., Lan, S. \u0026amp; Wang, H. A Comparative Study of Artificial Neural Networks, Support Vector Machines and Adaptive Neuro Fuzzy Inference System for Forecasting Groundwater Levels near Lake Okeechobee, Florida. Water Resour. Manag. 30, 375\u0026ndash;391 (2016).\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eBr\u0026eacute;dy, J., Gallichand, J., Celicourt, P. \u0026amp; Gumiere, S. J. Water table depth forecasting in cranberry fields using two decision-tree-modeling approaches. Agric. Water Manag. 233, 106090 (2020).\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eHikouei, I. \u003cem\u003eet al.\u003c/em\u003e Machine Learning Approach to Identify the Relationship Between Heavy Metals and Soil Parameters in Salt Marshes. Int. J. Environ. Sci. 27, (2021).\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eJia, Y. \u003cem\u003eet al.\u003c/em\u003e GNSS-R Soil Moisture Retrieval Based on a XGboost Machine Learning Aided Method: Performance and Validation. Remote Sens. 11, 1655 (2019).\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eZamani Joharestani, M., Cao, C., Ni, X., Bashir, B. \u0026amp; Talebiesfandarani, S. PM2.5 Prediction Based on Random Forest, XGBoost, and Deep Learning Using Multisource Remote Sensing Data. Atmosphere 10, 373 (2019).\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eHussein, E. A., Thron, C., Ghaziasgar, M., Bagula, A. \u0026amp; Vaccari, M. Groundwater Prediction Using Machine-Learning Tools. Algorithms 13, 300 (2020).\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eKenda, K. \u003cem\u003eet al.\u003c/em\u003e Groundwater Modeling with Machine Learning Techniques: Ljubljana polje Aquifer. \u003cem\u003eProceedings\u003c/em\u003e 2, 697 (2018).\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eMahammad, S., Islam, A., Shit, P. K., Towfiqul Islam, A. R. M. \u0026amp; Alam, E. Groundwater level dynamics in a subtropical fan delta region and its future prediction using machine learning tools: Sustainable groundwater restoration. J. Hydrol. Reg. Stud. 47, 101385 (2023).\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eMohanty, S., Jha, M., Kumar, A. \u0026amp; Sudheer, K. Artificial Neural Network Modeling for Groundwater Level Forecasting in a River Island of Eastern India. Water Resour. Manag. 24, 1845\u0026ndash;1865 (2010).\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eMohanty, S., Jha, M. K., Raul, S. K., Panda, R. K. \u0026amp; Sudheer, K. P. Using Artificial Neural Network Approach for Simultaneous Forecasting of Weekly Groundwater Levels at Multiple Sites. Water Resour. Manag. 29, 5521\u0026ndash;5532 (2015).\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eLee, S., Lee, K.-K. \u0026amp; Yoon, H. Using artificial neural network models for groundwater level forecasting and assessment of the relative impacts of influencing factors. Hydrogeol. J. 27, 567\u0026ndash;579 (2019).\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eChu, H., Lin, C., Burbey, T. J. \u0026amp; Ali, M. Z. Spatiotemporal Analysis of Extracted Groundwater Volumes Estimated from Electricity Consumption. Groundwater 58, 962\u0026ndash;972 (2020).\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eTatas, Chu, H.-J., Burbey, T. J. \u0026amp; Lin, C.-W. Mapping regional subsidence rate from electricity consumption-based groundwater extraction. J. Hydrol. Reg. Stud. 45, 101289 (2023).\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eKahil, T. \u003cem\u003eet al.\u003c/em\u003e A Continental-Scale Hydroeconomic Model for Integrating Water-Energy-Land Nexus Solutions. Water Resour. Res. 54, 7511\u0026ndash;7533 (2018).\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eRodr\u0026iacute;guez-Flores, J. M., Gupta, R. S., Zeff, H. B., Reed, P. M. \u0026amp; Medell\u0026iacute;n-Azuara, J. Identifying robust adaptive irrigation operating policies to balance deeply uncertain economic food production and groundwater sustainability trade-offs. J. Environ. Manage. 345, 118901 (2023).\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eStone, K. M., Gailey, R. M. \u0026amp; Lund, J. R. Economic tradeoff between domestic well impact and reduced agricultural production with groundwater drought management: Tulare County, California (USA), case study. Hydrogeol. J. 30, 3\u0026ndash;19 (2022).\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eTorhan, S. \u003cem\u003eet al.\u003c/em\u003e Tradeoffs and Synergies Across Global Climate Change Adaptations in the Food-Energy‐Water Nexus. Earths Future 10, e2021EF002201 (2022).\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eAlam, M. F. \u003cem\u003eet al.\u003c/em\u003e Energy consumption as a proxy to estimate groundwater abstraction in irrigation. Groundw. Sustain. Dev. 23, 101035 (2023).\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eChen, T. \u0026amp; Guestrin, C. XGBoost: A Scalable Tree Boosting System. in \u003cem\u003eProceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining\u003c/em\u003e 785\u0026ndash;794 (Association for Computing Machinery, New York, NY, USA, 2016). doi:\u003cspan class=\"ExternalRef\"\u003e\u003cspan class=\"RefSource\"\u003e10.1145/2939672.2939785\u003c/span\u003e\u003cspan address=\"10.1145/2939672.2939785\" targettype=\"DOI\" class=\"RefTarget\"\u003e\u003c/span\u003e\u003c/span\u003e.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eIbrahem Ahmed Osman, A., Najah Ahmed, A., Chow, M. F., Feng Huang, Y. \u0026amp; El-Shafie, A. Extreme gradient boosting (Xgboost) model to predict the groundwater levels in Selangor Malaysia. Ain Shams Eng. J. 12, 1545\u0026ndash;1556 (2021).\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eChen, T. \u0026amp; He, T. xgboost: eXtreme Gradient Boosting.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eFeurer, M. \u0026amp; Hutter, F. Hyperparameter Optimization. in \u003cem\u003eAutomated Machine Learning: Methods, Systems, Challenges\u003c/em\u003e (eds. Hutter, F., Kotthoff, L. \u0026amp; Vanschoren, J.) 3\u0026ndash;33 (Springer International Publishing, Cham, 2019). doi:\u003cspan class=\"ExternalRef\"\u003e\u003cspan class=\"RefSource\"\u003e10.1007/978-3-030-05318-5_1\u003c/span\u003e\u003cspan address=\"10.1007/978-3-030-05318-5_1\" targettype=\"DOI\" class=\"RefTarget\"\u003e\u003c/span\u003e\u003c/span\u003e.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eJeong, J. \u0026amp; Park, E. Comparative applications of data-driven models representing water table fluctuations. J. Hydrol. 572, 261\u0026ndash;273 (2019).\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eSnoek, J., Larochelle, H. \u0026amp; Adams, R. P. Practical Bayesian Optimization of Machine Learning Algorithms. Preprint at \u003cspan class=\"ExternalRef\"\u003e\u003cspan class=\"RefSource\"\u003ehttps://doi.org/10.48550/arXiv.1206.2944\u003c/span\u003e\u003cspan address=\"10.48550/arXiv.1206.2944\" targettype=\"DOI\" class=\"RefTarget\"\u003e\u003c/span\u003e\u003c/span\u003e (2012).\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eFalkner, S., Klein, A. \u0026amp; Hutter, F. BOHB: Robust and Efficient Hyperparameter Optimization at Scale. Preprint at \u003cspan class=\"ExternalRef\"\u003e\u003cspan class=\"RefSource\"\u003ehttps://doi.org/10.48550/arXiv.1807.01774\u003c/span\u003e\u003cspan address=\"10.48550/arXiv.1807.01774\" targettype=\"DOI\" class=\"RefTarget\"\u003e\u003c/span\u003e\u003c/span\u003e (2018).\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eKhan, N. M., Madhav C, N., Negi, A. \u0026amp; Thaseen, I. S. Analysis on Improving the Performance of Machine Learning Models Using Feature Selection Technique. in \u003cem\u003eIntelligent Systems Design and Applications\u003c/em\u003e (eds. Abraham, A., Cherukuri, A. K., Melin, P. \u0026amp; Gandhi, N.) 69\u0026ndash;77 (Springer International Publishing, Cham, 2020). doi:\u003cspan class=\"ExternalRef\"\u003e\u003cspan class=\"RefSource\"\u003e10.1007/978-3-030-16660-1_7\u003c/span\u003e\u003cspan address=\"10.1007/978-3-030-16660-1_7\" targettype=\"DOI\" class=\"RefTarget\"\u003e\u003c/span\u003e\u003c/span\u003e.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eFriedman, J. H. \u0026amp; Meulman, J. J. Multiple additive regression trees with application in epidemiology. Stat. Med. 22, 1365\u0026ndash;1381 (2003).\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eElith, J., Leathwick, J. R. \u0026amp; Hastie, T. A working guide to boosted regression trees. J. Anim. Ecol. 77, 802\u0026ndash;813 (2008).\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003ePeters, E., van Lanen, H. A. J., Torfs, P. J. J. F. \u0026amp; Bier, G. Drought in groundwater\u0026mdash;drought distribution and performance indicators. J. Hydrol. 306, 302\u0026ndash;317 (2005).\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eF\u0026uuml;rst, J., Bichler, A. \u0026amp; Konecny, F. Regional Frequency Analysis of Extreme Groundwater Levels. Groundwater 53, 414\u0026ndash;423 (2015).\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eSadeghfam, S., Ehsanitabar, A., Khatibi, R. \u0026amp; Daneshfaraz, R. Investigating \u0026lsquo;risk\u0026rsquo; of groundwater drought occurrences by using reliability analysis. Ecol. Indic. 94, 170\u0026ndash;184 (2018).\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eStedinger, J. \u0026amp; Foufoula-Georgiou, E. Frequency Analysis of Extreme Events. Handb. Hydrol. 18, (1993).\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eSaha, S. \u003cem\u003eet al.\u003c/em\u003e Integrating the Particle Swarm Optimization (PSO) with machine learning methods for improving the accuracy of the landslide susceptibility model. Earth Sci. Inform. 15, 2637\u0026ndash;2662 (2022).\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eHikouei, I. S. \u003cem\u003eet al.\u003c/em\u003e Using machine learning algorithms to predict groundwater levels in Indonesian tropical peatlands. Sci. Total Environ. 857, 159701 (2023).\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eSubramanian, M., L.V., N. P., B., J., A., M. B. \u0026amp; VE, S. Hyperparameter Optimization for Transfer Learning of VGG16 for Disease Identification in Corn Leaves Using Bayesian Optimization. Big Data 10, 215\u0026ndash;229 (2022).\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eRahman, A. T. M. S. \u003cem\u003eet al.\u003c/em\u003e Modeling the changes in water balance components of the highly irrigated western part of Bangladesh. Hydrol. Earth Syst. Sci. 22, 4213\u0026ndash;4228 (2018).\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eG\u0026uuml;ltekin, B. \u0026amp; Erdoğdu Şakar, B. Variable Importance Analysis in Default Prediction using Machine Learning Techniques: in \u003cem\u003eProceedings of the 7th International Conference on Data Science, Technology and Applications\u003c/em\u003e 56\u0026ndash;62 (SCITEPRESS - Science and Technology Publications, Porto, Portugal, 2018). doi:\u003cspan class=\"ExternalRef\"\u003e\u003cspan class=\"RefSource\"\u003e10.5220/0006872400560062\u003c/span\u003e\u003cspan address=\"10.5220/0006872400560062\" targettype=\"DOI\" class=\"RefTarget\"\u003e\u003c/span\u003e\u003c/span\u003e.\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eVan Schmidt, N. D., Wilson, T. S. \u0026amp; Langridge, R. Linkages between land-use change and groundwater management foster long-term resilience of water supply in California. J. Hydrol. Reg. Stud. 40, 101056 (2022).\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eVahid, N., Reza Dehghanpour, M. \u0026amp; Nasirizadeh, H. Comparison between accounting profit and economic profit and its effect on optimal point of production. Eur. Online J. Nat. Soc. Sci. 2, 493\u0026ndash;499 (2013).\u003c/span\u003e\u003c/li\u003e \u003cli\u003e\u003cspan\u003eSichigea, N. \u0026amp; Vasilescu, L. Economic Value Added And Market Value Added - Modern Indicators For Assessment The Firm\u0026rsquo;S Value. Ann. - Econ. Ser. 6Special, 488\u0026ndash;493 (2015).\u003c/span\u003e\u003c/li\u003e\u003c/ol\u003e"}],"fulltextSource":"","fullText":"","funders":[],"hasAdminPriorityOnWorkflow":false,"hasManuscriptDocX":true,"hasOptedInToPreprint":true,"hasPassedJournalQc":"","hasAnyPriority":false,"hideJournal":true,"highlight":"","institution":"","isAcceptedByJournal":false,"isAuthorSuppliedPdf":false,"isDeskRejected":"","isHiddenFromSearch":false,"isInQc":false,"isInWorkflow":false,"isPdf":false,"isPdfUpToDate":true,"isWithdrawnOrRetracted":false,"journal":{"display":true,"email":"
[email protected]","identity":"researchsquare","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":true,"externalIdentity":"","sideBox":"","snPcode":"","submissionUrl":"/submission","title":"Research Square","twitterHandle":"researchsquare","acdcEnabled":true,"dfaEnabled":false,"editorialSystem":"","reportingPortfolio":"","inReviewEnabled":false,"inReviewRevisionsEnabled":true},"keywords":"Groundwater level prediction, Extreme gradient boosting, Drought, Agricultural economic","lastPublishedDoi":"10.21203/rs.3.rs-4614420/v1","lastPublishedDoiUrl":"https://doi.org/10.21203/rs.3.rs-4614420/v1","license":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/"},"manuscriptAbstract":"\u003cp\u003eThis study presents a comprehensive analysis of groundwater level prediction and management using an extreme gradient boosting (XGB) model, optimized through Bayesian techniques. To address the challenge of unavailable accurate pumping volume data in high-density agricultural well areas, our approach leverages well power consumption as a key feature for the machine learning model. This innovative method enables accurate groundwater level predictions based on precipitation and power consumption data. To mitigate significant groundwater level declines during drought periods, the developed XGB model offers flexible design scenarios with varying degrees of groundwater extraction reduction. This capability allows for rapid predictions of groundwater levels, providing decision-makers with a powerful tool to adapt to hydrological uncertainties caused by future climate change. The results of model testing present that the increases in groundwater levels with a 25% reduction in power consumption range from 0.45 to 0.79 m during the wet season and from 0.45 to 0.99 m during the dry season. Interestingly, as the percentage of power consumption reduction increases, the elevations in groundwater levels do not increase proportionally, indicating that the non-linear characteristics among the interactions of precipitation, pumping behaviors, and groundwater level variations. In all three scenarios, the increases in groundwater levels during the dry season are significantly greater than those during the wet season. This implies that appropriate reductions in pumping volumes during drought periods can effectively prevent sharp groundwater level drawdowns. Furthermore, the XGB model plays a crucial role in formulating groundwater extraction reduction policies and agricultural fallow subsidy programs. When considering the opportunity cost of agricultural labor, the subsidies for the first and second crop periods meet only 30% and 59% of the economic profit, respectively. This economic shortfall is a major barrier to the adoption of fallowing practices by farmers during droughts. Therefore, it is crucial to enhance these subsidies to make fallowing a more viable and attractive option for farmers. In conclusion, while predictive modeling offers a robust tool for groundwater management and policy decision-making, there is a clear need for improved economic incentives and integrated management strategies.\u003c/p\u003e","manuscriptTitle":"Optimizing groundwater management to prevent drawdown and sustain agricultural production using machine learning model","msid":"","msnumber":"","nonDraftVersions":[{"code":1,"date":"2024-08-08 20:20:10","doi":"10.21203/rs.3.rs-4614420/v1","editorialEvents":[{"type":"communityComments","content":0}],"status":"published","journal":{"display":true,"email":"
[email protected]","identity":"researchsquare","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":true,"externalIdentity":"","sideBox":"","snPcode":"","submissionUrl":"/submission","title":"Research Square","twitterHandle":"researchsquare","acdcEnabled":true,"dfaEnabled":false,"editorialSystem":"","reportingPortfolio":"","inReviewEnabled":false,"inReviewRevisionsEnabled":true}}],"origin":"","ownerIdentity":"5fd12787-3aab-4b71-b24c-4c622171a85f","owner":[],"postedDate":"August 8th, 2024","published":true,"recentEditorialEvents":[],"rejectedJournal":[],"revision":"","amendment":"","status":"posted","subjectAreas":[{"id":34655818,"name":"Earth and environmental sciences/Hydrology"},{"id":34655819,"name":"Earth and environmental sciences/Environmental social sciences/Climate-change adaptation"}],"tags":[],"updatedAt":"2024-08-08T20:20:12+00:00","versionOfRecord":[],"versionCreatedAt":"2024-08-08 20:20:10","video":"","vorDoi":"","vorDoiUrl":"","workflowStages":[]},"version":"v1","identity":"rs-4614420","journalConfig":"researchsquare"},"__N_SSP":true},"page":"/article/[identity]/[[...version]]","query":{"redirect":"/article/rs-4614420","identity":"rs-4614420","version":["v1"]},"buildId":"qtupq5eGEP_6zYnWcrvyt","isFallback":false,"isExperimentalCompile":false,"dynamicIds":[84888],"gssp":true,"scriptLoader":[]}
Text is read by the "Ask this paper" AI Q&A widget below.
Extraction quality varies by source — PMC NXML preserves structure
cleanly, OA-HTML may include some navigation residue, and OA-PDF can
have broken hyphenation. The publisher copy
(via DOI)
is the canonical version.