Abstract
Accurately assessing the spatiotemporal evolution of regional ecological quality is critical for advancing China’s ecological civilization and achieving its carbon peaking and carbon neutrality targets. As a typical resource-based region, Shanxi Province faces significant ecological fragility and spatial heterogeneity resulting from the interplay of an arid/semi-arid climate and intensive coal mining activities. This study utilized the Remote Sensing Ecological Index (RSEI) from 2000 to 2025 as a core indicator. The Theil–Sen slope estimator and Mann–Kendall test were employed to identify trends, while the Hurst exponent was used to assess the persistence of changes. Furthermore, the XGBoost-SHAP framework was applied to disentangle the driving factors. The results indicate that: (1) From 2000 to 2025, the ecological quality of Shanxi exhibited a fluctuating upward trend, with the mean RSEI increasing by approximately 8.7%. (2) Trend analysis indicated that the proportions of areas exhibiting upward and downward trends in RSEI were 42.3% and 35.64%, respectively, while 22.05% of the region remained stable. Significant improvement areas were mainly concentrated in the Lüliang and Taihang Mountains. (3) Future trend predictions reveal that stable areas comprise the majority of the province (55.89%). However, the areas of persistent improvement and persistent degradation account for 9.54% and 10.88%, respectively, indicating a characteristic of “polarization” in ecological environmental quality. (4) Regarding driving mechanisms, anthropogenic factors exerted a stronger influence than natural factors. Precipitation was the primary positive natural driver, whereas coal mining intensity and population density were key negative stressors. Crucially, coal mining intensity exhibited a non-linear interaction with precipitation, significantly weakening the ecosystem’s positive response to rainfall. This study provides a scientific basis for targeted ecological restoration in resource-based regions.
Funding
This research was funded by the National Natural Science Foundation of China (Grant No. 51179016) and the Natural Science Foundation of Henan Province (Grant No. 242300420228 and 242300420614).
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Competing interests
The authors declare no competing interests.
Additional information
Publisher’s note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Supplementary Information
Below is the link to the electronic supplementary material.
Supplementary Material 1 (download DOCX )
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License, which permits any non-commercial use, sharing, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if you modified the licensed material. You do not have permission under this licence to share adapted material derived from this article or parts of it. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by-nc-nd/4.0/.
Reprints and permissions
About this article
Cite this article
Yuan, Y., Zhang, Z., Hu, S. et al. Spatiotemporal evolution and driving mechanisms of ecological quality in shanxi province based on XGBoost-SHAP.
Sci Rep (2026). https://doi.org/10.1038/s41598-026-57753-2
Received:
Accepted:
Published:
DOI: https://doi.org/10.1038/s41598-026-57753-2
Keywords
- Remote Sensing Ecological Index (RSEI)
- Spatiotemporal Pattern
- XGBoost-SHAP
- Driving Force Analysis
- Resource-based Region
- Shanxi Province
Source: Ecology - nature.com
