ORIGINAL RESEARCH article
Front. Environ. Sci.
Sec. Soil Processes
Modelling the spatial distribution of total nitrogen and phosphorus stock in dryland terrestrial ecosystems of China using machine learning algorithms
Provisionally accepted- Shanxi Academy of Social Sciences, Taiyuan, China
Select one of your emails
You have multiple emails registered with Frontiers:
Notify me on publication
Please enter your email address:
If you already have an account, please login
You don't have a Frontiers account ? You can register here
Nitrogen (N) and phosphorus (P) are essential limiting nutrients in dryland ecosystems, yet their storage and spatial patterns at regional scales remain poorly understood. This study aims to quantify the stocks and spatial distribution of soil and vegetation N and P across China's drylands and to identify the dominant environmental drivers. Based on N and P density data from 4,200 soil and vegetation samples, along with environmental variables, we applied and evaluated four machine learning models. The random forest (RF) model demonstrated the best predictive performance and was selected for spatial prediction, achieving the highest R² values (0.89, 0.92, 0.95, and 0.94) and the lowest MAE (3.21, 0.56, 5.37, and 2.23) and RMSE (5.09, 0.79, 7.05, and 2.98) for STN, STP, VTN, and VTP, respectively. The estimated stocks in the 0-30 cm soil layer across the entire dryland were 1,111.4 Tg for soil total N (STN), 504.9 Tg for soil total P (STP), 17.6 Tg for vegetation total N (VTN), and 1.7 Tg for vegetation total P (VTP), all showing strong spatial heterogeneity. Spatial, climatic, soil, and vegetation variables together explained 42.2%, 37.6%, 33.9%, and 28.2% of the variance in STN, STP, VTN, and VTP, respectively. Soil properties—especially soil water content and sand content—were the primary factors regulating STN and STP variation, while climate, particularly mean annual precipitation, dominated the variation in VTN and VTP. This study provides critical baseline data for nutrient management and ecological restoration in dryland ecosystems.
Keywords: Limiting nutrients, spatial distribution, drivers, machine learning, modelling
Received: 26 Jun 2025; Accepted: 27 Oct 2025.
Copyright: © 2025 Liu. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
* Correspondence: Bin Liu, lb20240515@163.com
Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.