Harnessing Explainable AI for Sustainable Agriculture: SHAP-Based Feature Selection in Multi-Model Evaluation of Irrigation Water Quality Indices

Irrigation water quality is crucial for sustainable agriculture and environmental health, influencing crop productivity and ecosystem balance globally. This study evaluates the performance of multiple deep learning models in classifying the Irrigation Water Quality Index (IWQI), addressing the challenge of accurate water quality prediction by examining the impact of increasing input complexity, particularly through chemical ions and derived quality indices. The models tested include convolutional neural networks (CNN), CNN-Long Short-Term Memory networks (CNN-LSTM), CNN-bidirectional Long Short-Term Memory networks (CNN-BiLSTM), and CNN-bidirectional Gated Recurrent Unit networks (CNN-BiGRUs). Feature selection via SHapley Additive exPlanations (SHAP) provided insights into individual feature contributions to the model predictions. The objectives were to compare the performance of 16 models and identify the most effective approach for accurate IWQI classification. This study utilized data from 166 wells in Algeria’s Naama region, with 70% of the data for training and 30% for testing. Results indicate that the CNN-BiLSTM model outperformed others, achieving an accuracy of 0.94 and an area under the curve (AUC) of 0.994. While CNN models effectively capture spatial features, they struggle with temporal dependencies—a limitation addressed by LSTM and BiGRU layers, which were further enhanced through bidirectional processing in the CNN-BiLSTM model. Feature importance analysis revealed that the quality index (qi) qi-Na was the most significant predictor in both Model 15 (0.68) and Model 16 (0.67). The quality index qi-EC showed a slight decrease in importance, from 0.19 to 0.18 between the models, while qi-SAR and qi-Cl maintained similar importance levels. Notably, Model 16 included qi-HCO3 with a minor importance score of 0.02. Overall, these findings underscore the critical role of sodium levels in water quality predictions and suggest areas for enhancing model performance. Despite the computational demands of the CNN-BiLSTM model, the results contribute to the development of robust models for effective water quality management, thereby promoting agricultural sustainability.

Authors

Institutions

Publication Details

Journal
Water
Published
2024-12-29
DOI
https://doi.org/10.3390/w17010059
Citations
22
Primary Topic
Hydrological Forecasting Using AI
Type
article
Field-Weighted Citation Impact
4.53

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Harnessing Explainable AI for Sustainable Agriculture: SHAP-Based Feature Selection in Multi-Model Evaluation of Irrigation Water Quality Indices

Mofreh A. Hashim, Bilel Zeroualı, Sherif S. M. Ghoneim, A. Derdour et al.
22 citations
Water
Hydrological Forecasting Using AI
4.53
article

Harnessing Explainable AI for Sustainable Agriculture: SHAP-Based Feature Selection in Multi-Model Evaluation of Irrigation Water Quality Indices

Mofreh A. Hashim, Bilel Zeroualı, Sherif S. M. Ghoneim, A. Derdour, Nadjem Bailek, Celso Augusto Guimarães Santos, Enas E. Hussein
article en
22 citations

Abstract

Irrigation water quality is crucial for sustainable agriculture and environmental health, influencing crop productivity and ecosystem balance globally. This study evaluates the performance of multiple deep learning models in classifying the Irrigation Water Quality Index (IWQI), addressing the challenge of accurate water quality prediction by examining the impact of increasing input complexity, particularly through chemical ions and derived quality indices. The models tested include convolutional neural networks (CNN), CNN-Long Short-Term Memory networks (CNN-LSTM), CNN-bidirectional Long Short-Term Memory networks (CNN-BiLSTM), and CNN-bidirectional Gated Recurrent Unit networks (CNN-BiGRUs). Feature selection via SHapley Additive exPlanations (SHAP) provided insights into individual feature contributions to the model predictions. The objectives were to compare the performance of 16 models and identify the most effective approach for accurate IWQI classification. This study utilized data from 166 wells in Algeria’s Naama region, with 70% of the data for training and 30% for testing. Results indicate that the CNN-BiLSTM model outperformed others, achieving an accuracy of 0.94 and an area under the curve (AUC) of 0.994. While CNN models effectively capture spatial features, they struggle with temporal dependencies—a limitation addressed by LSTM and BiGRU layers, which were further enhanced through bidirectional processing in the CNN-BiLSTM model. Feature importance analysis revealed that the quality index (qi) qi-Na was the most significant predictor in both Model 15 (0.68) and Model 16 (0.67). The quality index qi-EC showed a slight decrease in importance, from 0.19 to 0.18 between the models, while qi-SAR and qi-Cl maintained similar importance levels. Notably, Model 16 included qi-HCO3 with a minor importance score of 0.02. Overall, these findings underscore the critical role of sodium levels in water quality predictions and suggest areas for enhancing model performance. Despite the computational demands of the CNN-BiLSTM model, the results contribute to the development of robust models for effective water quality management, thereby promoting agricultural sustainability.

WaterVol. 17(1)
Universidade Federal da Paraíba (BR), Taif University (SA), Ahmed Draia University (DZ), National Water Research Center (EG), Hassiba Benbouali University of Chlef (DZ), Middle East University (JO)
Taif University
Zero hunger
Openalex Percentile: Top 4%
Hydrological Forecasting Using AI
4.53
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.