journal article·2025-07-20Open access

A Methodological Study on Improving the Accuracy of Soil Organic Matter Mapping in Mountainous Areas Based on Geo-Positional Transformer-CNN: A Case Study of Longshan County, Hunan Province, China

Luming Shen, Yangfan Xie, Yangjun Deng, Yujie Feng, Qing Zhou, Hongxia Xie

Applied Sciences· Volume 15· Issue 14

Abstract

The accurate prediction of soil organic matter (SOM) content is essential for promoting sustainable soil management and addressing global climate change. Due to multiple factors such as topography and climate, especially in mountainous areas, SOM spatial prediction faces significant challenges. The main novelty of this study lies in proposing a geographic positional encoding mechanism that embeds geographic location information into the feature representation of a Transformer model. The encoder structure is further modified to enhance spatial awareness, resulting in the development of the Geo-Positional Transformer (GPTransformer). Furthermore, this model is integrated with a 1D-CNN to form a dual-branch neural network called the Geo-Positional Transformer-CNN (GPTransCNN). This study collected 1490 topsoil samples (0–20 cm) from cultivated land in Longshan County to develop a predictive model for mapping the spatial distribution of SOM across the entire cultivated area. Different models were comprehensively evaluated through ten-fold cross-validation, ablation experiments, and uncertainty analysis. The results show that GPTransCNN has the best performance, with an R2 improvement of approximately 43% over the Transformer, 19% over the GPTransformer, and 15% over the 1D-CNN. This study demonstrates that by incorporating geographic positional information, GPTransCNN effectively combines the global modeling capabilities of the GPTransformer with the local feature extraction strengths of the 1D-CNN, which can improve the accuracy of SOM mapping in mountainous areas. This approach provides data support for sustainable soil management and decision-making in response to global climate change.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Soil Geostatistics and Mapping · Geochemistry and Geologic Mapping · Remote Sensing in Agriculture

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

College of Information and Intelligence, Hunan Agricultural University, Changsha 410128, China

College of Resources, Hunan Agricultural University, Changsha 410128, China

Funding

Natural Science Foundation of Hunan Province · National Natural Science Foundation of China · Key Research and Development Program of Hunan Province · Postgraduate Scientific Research Innovation Project of Hunan Agriculture University

References (62)

Show source-provided references
1. Soil organic matter underlies crop nutritional quality and productivity in smallholder agriculture10.1016/j.agee.2018.07.025 ↗
2. Economic optimization of sustainable soil management: A Dutch case study10.1007/s13593-024-00980-6 ↗
3. Systems knowledge for sustainable soil and land management10.1016/j.scitotenv.2022.153389 ↗
4. Persistence of soil organic matter as an ecosystem property10.1038/nature10386 ↗
5. Modelling soil organic carbon dynamics under extreme climate and land use and land cover changes in Western Oromia Regional state, Ethiopia10.1016/j.jenvman.2023.119598 ↗
6. Jerray, A., Rumpel, C., Le Roux, X., Massad, R.S., and Chabbi, A. (2024). N2O emissions from cropland and grassland management systems are determined by soil organic matter quality and soil physical parameters rather than carbon stock and denitrifier abundances. Soil Biol. Biochem., 190.10.1016/j.soilbio.2023.109274 ↗
7. Triantakonstantis, D., and Karakostas, A. (2025). Soil Organic Carbon Monitoring and Modelling via Machine Learning Methods Using Soil and Remote Sensing Data. Agriculture, 15.10.3390/agriculture15090910 ↗
8. Soil survey as a knowledge system10.1016/j.geoderma.2003.07.006 ↗
9. Fine-resolution baseline maps of soil nutrients in farmland of Jiangxi Province using digital soil mapping and interpretable machine learning10.1016/j.catena.2024.108635 ↗
10. Soil Property, Carbon Stock and Peat Extent Mapping at 10 m Resolution in Scotland Using Digital Soil Mapping Techniques10.1111/ejss.70123 ↗
11. On digital soil mapping10.1016/S0016-7061(03)00223-4 ↗
12. Stumpf, F., Behrens, T., Schmidt, K., and Keller, A. (2024). Exploiting Soil and Remote Sensing Data Archives for 3D Mapping of Multiple Soil Properties at the Swiss National Scale. Remote. Sens., 16.10.3390/rs16152712 ↗
13. Taghizadeh-Mehrjardi, R., Schmidt, K., Amirian-Chakan, A., Rentschler, T., Zeraatpisheh, M., Sarmadian, F., Valavi, R., Davatgar, N., Behrens, T., and Scholten, T. (2020). Improving the spatial prediction of soil organic carbon content in two contrasting climatic regions by stacking machine learning models and rescanning covariate space. Remote. Sens., 12.10.3390/rs12071095 ↗
14. Exploring influence factors in mapping soil organic carbon on low-relief agricultural lands using time series of remote sensing data10.1016/j.still.2021.104982 ↗
15. Mapping field-scale soil organic carbon with unmanned aircraft system-acquired time series multispectral images10.1016/j.still.2019.104477 ↗
16. Spatial prediction of soil organic matter content using multiyear synthetic images and partitioning algorithms10.1016/j.catena.2022.106023 ↗
17. Assessing models for prediction of some soil chemical properties from portable X-ray fluorescence (pXRF) spectrometry data in Brazilian Coastal Plains10.1016/j.geoderma.2019.113957 ↗
18. Spectral fusion modeling for soil organic carbon by a parallel input-convolutional neural network10.1016/j.geoderma.2023.116584 ↗
19. Data mining of urban soil spectral library for estimating organic carbon10.1016/j.geoderma.2022.116102 ↗
20. Deng, Y., Xiao, L., and Shi, Y. (2025). Enhanced Hyperspectral Forest Soil Organic Matter Prediction Using a Black-Winged Kite Algorithm-Optimized Convolutional Neural Network and Support Vector Machine. Appl. Sci., 15.10.3390/app15020503 ↗
21. Feng, B., Yang, H., Ren, Y., Zheng, S., Feng, G., and Huang, Y. (2025). Study on Change of Landscape Pattern Characteristics of Comprehensive Land Improvement Based on Optimal Spatial Scale. Land, 14.10.3390/land14010135 ↗
22. Spatial and temporal evolution of soil organic matter and its response to dynamic factors in the Southern part of Black Soil Region of Northeast China10.1016/j.still.2025.106475 ↗
23. A landscape-scale view of soil organic matter dynamics
24. SSL-SoilNet: A Hybrid Transformer-Based Framework with Self-Supervised Learning for Large-Scale Soil Organic Carbon Prediction10.1109/TGRS.2024.3446042 ↗
25. Self-supervised learning of Vision Transformers for digital soil mapping using visual data10.1016/j.geoderma.2024.117056 ↗
26. Comparison of transformer, LSTM and coupled algorithms for soil moisture prediction in shallow-groundwater-level areas with interpretability analysis10.1016/j.agwat.2024.109120 ↗
27. Soil organic carbon mapping utilizing convolutional neural networks and Earth observation data, a case study in Bavaria state Germany10.1016/j.geoderma.2024.116867 ↗
28. Dong, Z., Yao, L., Bao, Y., Zhang, J., Yao, F., Bai, L., and Zheng, P. (2024). Prediction of soil organic carbon content in complex vegetation areas based on CNN-LSTM model. Land, 13.10.3390/land13070915 ↗
29. Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A.N., Kaiser, Ł., and Polosukhin, I. (2017). Attention is all you need. arXiv.
30. Sekulić, A., Kilibarda, M., Heuvelink, G., Nikolić, M., and Bajat, B. (2020). Random forest spatial interpolation. Remote. Sens., 12.10.3390/rs12101687 ↗
31. Comparison of methods for determining organic carbon content of urban soils in Central Ohio10.1016/j.geodrs.2023.e00680 ↗
32. Patterns and environmental controls of soil organic carbon and total nitrogen in alpine ecosystems of northwestern China10.1016/j.catena.2015.08.017 ↗
33. Terrain gradient variations in ecosystem services of different vegetation types in mountainous regions: Vegetation resource conservation and sustainable development10.1016/j.foreco.2020.118856 ↗
34. The role of topography in shaping the spatial patterns of soil organic carbon10.1016/j.catena.2019.01.029 ↗
35. Seleiman, M.F., Al-Suhaibani, N., Ali, N., Akmal, M., Alotaibi, M., Refay, Y., Dindaroglu, T., Abdul-Wajid, H.H., and Battaglia, M.L. (2021). Drought stress impacts on plants and different approaches to alleviate its adverse effects. Plants, 10.10.3390/plants10020259 ↗
36. Plant rhizodeposition: A key factor for soil organic matter formation in stable fractions10.1126/sciadv.abd3176 ↗
37. Soil microbiome interventions for carbon sequestration and climate mitigation10.1128/msystems.01129-24 ↗
38. Warming and increased precipitation indirectly affect the composition and turnover of labile-fraction soil organic matter by directly affecting vegetation and microorganisms10.1016/j.scitotenv.2020.136787 ↗
39. Drivers of mountain soil organic carbon stock dynamics: A review10.1007/s11368-022-03313-w ↗
40. System for automated geoscientific analyses (SAGA) v. 2.1. 410.5194/gmd-8-1991-2015 ↗
41. WorldClim 2: New 1-km spatial resolution climate surfaces for global land areas10.1002/joc.5086 ↗
42. Bivariate empirical mode decomposition of the spatial variation in the soil organic matter content: A case study from NW China10.1016/j.catena.2021.105572 ↗
43. Enhancing Winter Wheat Yield Estimation With a CNN-Transformer Hybrid Framework Utilizing Multiple Remotely Sensed Parameters10.1109/TGRS.2025.3544434 ↗
44. Revisiting deep learning models for tabular data
45. A deep learning method to predict soil organic carbon content at a regional scale using satellite-based phenology variables
46. Simultaneous prediction of soil properties from VNIR-SWIR spectra using a localized multi-channel 1-D convolutional neural network10.1016/j.geoderma.2020.114208 ↗
47. Akiba, T., Sano, S., Yanase, T., Ohta, T., and Koyama, M. (2019, January 4–8). Optuna: A next-generation hyperparameter optimization framework. Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, Anchorage, AK, USA.10.1145/3292500.3330701 ↗
48. Kingma, D.P., and Ba, J. (2015, January 7–9). Adam: A Method for Stochastic Optimization. Proceedings of the 3rd International Conference on Learning Representations, San Diego, CA, USA.
49. Prechelt, L. (2002). Early stopping-but when?. Neural Networks: Tricks of the Trade, Springer.
50. Assessment of spatial hybrid methods for predicting soil organic matter using DEM derivatives and soil parameters10.1016/j.catena.2018.11.010 ↗
51. Zhang, M., Liu, H., Zhang, M., Yang, H., Jin, Y., Han, Y., Tang, H., Zhang, X., and Zhang, X. (2021). Mapping soil organic matter and analyzing the prediction accuracy of typical cropland soil types on the Northern Songnen Plain. Remote. Sens., 13.10.3390/rs13245162 ↗
52. Factors controlling peat soil thickness and carbon storage in temperate peatlands based on UAV high-resolution remote sensing10.1016/j.geoderma.2024.117009 ↗
53. Prediction and spatial–temporal changes of soil organic matter in the Huanghuaihai Plain by combining legacy and recent data10.1016/j.geoderma.2024.117031 ↗
54. Biedenkapp, A., Lindauer, M., Eggensperger, K., Hutter, F., Fawcett, C., and Hoos, H. (2017, January 4–9). Efficient parameter importance analysis via ablation with surrogates. Proceedings of the AAAI Conference on Artificial Intelligence, San Francisco, CA, USA.10.1609/aaai.v31i1.10657 ↗
55. Gal, Y., and Ghahramani, Z. (2016, January 19–24). Dropout as a bayesian approximation: Representing model uncertainty in deep learning. Proceedings of the International Conference on Machine Learning, PMLR, New York City, NY, USA.
56. Land-surface parameters for spatial predictive mapping and modeling10.1016/j.earscirev.2022.103944 ↗
57. Modelling and mapping soil organic carbon stocks in Brazil10.1016/j.geoderma.2019.01.007 ↗
58. Zhang, L., Cai, Y., Huang, H., Li, A., Yang, L., and Zhou, C. (2022). A CNN-LSTM model for soil organic carbon content prediction with long time series of MODIS-based phenological variables. Remote. Sens., 14.10.3390/rs14184441 ↗
59. Spatial distribution and stability mechanisms of soil organic carbon in a tropical montane rainforest10.1016/j.ecolind.2021.107965 ↗
60. The contributions of microclimatic information in advancing ecosystem science10.1016/j.agrformet.2024.110105 ↗
61. Lv, X., Jia, G., Yu, X., and Niu, L. (2022). Vegetation and topographic factors affecting SOM, SOC, and N contents in a mountainous watershed in north China. Forests, 13.10.3390/f13050742 ↗
62. Variability and determinants of soil organic matter under different land uses and soil types in eastern China10.1016/j.still.2019.104544 ↗