MAWC-Net: A Multi-Scale Attention Wavelet Convolutional Neural Network for Soil pH Prediction
Source abstract
Abstract
Soil is a critical natural resource that requires continuous monitoring to support sustainable agriculture. Among soil properties, pH is an essential indicator because it strongly affects nutrient availability and biological activity. Visible–Near-Infrared (Vis–NIR) spectroscopy offers a rapid and cost-effective solution for soil pH prediction, but traditional machine learning models often struggle to effectively extract features from high-dimensional spectral data. To address this challenge, we propose a Multi-Scale Attention Wavelet Convolutional Neural Network (MAWC-Net), which integrates multi-scale convolutions, attention mechanisms, and a Haar Wavelet Decomposition Module (HWDM) to enhance spectral feature representation. Experiments on the LUCAS2009 topsoil dataset demonstrate that MAWC-Net achieves superior prediction accuracy compared with conventional machine learning and deep learning baselines. These findings highlight the potential of wavelet-enhanced deep neural networks to advance soil property modeling and support precision agriculture.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Soil Geostatistics and Mapping · Spectroscopy and Chemometric Analyses · Remote Sensing in Agriculture
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
College of Computer Science and Engineering, Guilin University of Technology, Guilin 541004, China
Guangxi Key Laboratory of Embedded Technology and Intelligent System, Guilin 541004, China
Guangxi Forestry Research Institute, Nanning 530002, China
Funding
Key R & D projects of Guangxi Science and Technology Program · The central government guides local science and technology development fund projects · National natural science foundation of China · Independent research project
References (33)
Show source-provided references
1. Quantitative analysis of the compliance of EU Sewage Sludge Directive by using the heavy metal concentrations from LUCAS topsoil database10.1007/s11356-024-31835-y ↗
2. Acidification of European croplands by nitrogen fertilization: Consequences for carbonate losses, and soil health10.1016/j.scitotenv.2024.171631 ↗
3. Continental-scale mapping of soil pH with SAR-optical fusion based on long-term earth observation data in google earth engine10.1016/j.ecolind.2024.112246 ↗
4. Application of near-infrared spectroscopy to predict chemical properties in clay rich soil: A review10.1016/j.eja.2024.127228 ↗
5. In-field soil spectroscopy in Vis–NIR range for fast and reliable soil analysis: A review10.1111/ejss.13481 ↗
6. Prediction and monitoring of soil pH using field reflectance spectroscopy and time-series Sentinel-2 remote sensing imagery10.1016/j.geomat.2025.100053 ↗
7. Vis-NIR ve pXRF Spektrometrelerinin Toprak Biliminde Kullanımı10.19159/tutad.823890 ↗
8. Non-linear memory-based learning for predicting soil properties using a regional vis-NIR spectral library10.1016/j.geoderma.2023.116752 ↗
9. A CNN model for predicting soil properties using VIS–NIR spectral data10.1007/s12665-023-11073-0 ↗
10. Convolutional Neural networks based on parallel multi-scale pooling branch: A transfer diagnosis method for mechanical vibrational signal with less computational cost10.1016/j.measurement.2022.110905 ↗
11. Achieving joint calibration of soil Vis-NIR spectra across instruments, soil types and properties by an attention-based spectra encoding-spectra/property decoding architecture10.1016/j.geoderma.2021.115449 ↗
12. An innovative approach for integrating two-dimensional conversion of Vis-NIR spectra with the Swin Transformer model to leverage deep learning for predicting soil properties10.1016/j.geoderma.2023.116555 ↗
13. Feng, G., Li, Z., Zhang, J., and Wang, M. (2024). Multi-Scale Spatial Attention-Based Multi-Channel 2D Convolutional Network for Soil Property Prediction. Sensors, 24.10.3390/s24144728 ↗
14. Enhancing soil organic carbon prediction of LUCAS soil database using deep learning and deep feature selection10.1016/j.compag.2024.109494 ↗
15. Liu, Y., Shen, L., Zhu, X., Xie, Y., and He, S. (2024). Spectral data-driven prediction of soil properties using LSTM-CNN-attention model. Appl. Sci., 14.10.3390/app142411687 ↗
16. Enhancing soil nitrogen measurement via visible-near infrared spectroscopy: Integrating soil particle size distribution with long short-term memory models10.1016/j.saa.2024.125317 ↗
17. Zhu, J., Wang, W., and Tian, P. (2025). Spectroscopic measurement of near-infrared soil pH parameters based on GhostNet-CBAM. PLoS ONE, 20.10.1371/journal.pone.0325426 ↗
18. ResHAN-GAM: A novel model for the inversion and prediction of soil organic matter content10.1016/j.ecoinf.2025.103192 ↗
19. Deng, Y., Cao, Y., Chen, S., and Cheng, X. (2025). Residual Attention Network with Atrous Spatial Pyramid Pooling for Soil Element Estimation in LUCAS Hyperspectral Data. Appl. Sci., 15.10.3390/app15137457 ↗
20. Simultaneous estimation of multiple soil properties from vis-NIR spectra using a multi-gate mixture-of-experts with data augmentation10.1016/j.geoderma.2024.117127 ↗
21. SpatialFormer: A Model to Estimate Soil Organic Carbon Content Using Spectral and Spatial Information10.1007/s42729-025-02333-y ↗
22. DSCformer: Lightweight model for predicting soil nitrogen content using VNIR-SWIR spectroscopy10.1016/j.compag.2024.109761 ↗
23. A LUCAS-based mid-infrared soil spectral library: Its usefulness for soil survey and precision agriculture10.1002/jpln.202100031 ↗
24. Clingensmith, C.M., and Grunwald, S. (2022). Predicting soil properties and interpreting Vis-NIR models from across continental United States. Sensors, 22.10.3390/s22093187 ↗
25. Paheding, S., Reyes, A.A., Kasaragod, A., and Oommen, T. (2022, January 19–20). GAF-NAU: Gramian Angular Field encoded Neighborhood Attention U-Net for Pixel-Wise Hyperspectral Image Classification. Proceedings of the 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops (CVPRW), New Orleans, LA, USA.10.1109/CVPRW56347.2022.00056 ↗
26. Nai, H., Zhang, C., and Hu, X. (2025). Enhancing the Distinguishability of Minor Fluctuations in Time Series Classification Using Graph Representation: The MFSI-TSC Framework. Sensors, 25.10.3390/s25154672 ↗
27. Thomas, F., Petzold, R., Landmark, S., Mollenhauer, H., Becker, C., and Werban, U. (2022). Estimating Forest Soil Properties for Humus Assessment—Is Vis-NIR the Way to Go?. Remote Sens., 14.10.3390/rs14061368 ↗
28. Javadi, S.H., and Mouazen, A.M. (2021). Data fusion of XRF and Vis-nir using outer product analysis, granger–Ramanathan, and least squares for prediction of key soil attributes. Remote Sens., 13.10.3390/rs13112023 ↗
29. Representative random sampling: An empirical evaluation of a novel bin stratification method for model performance estimation10.1007/s11222-022-10138-7 ↗
30. Practical considerations and applied examples of cross-validation for model development and evaluation in health care: Tutorial10.2196/49023 ↗
31. Szeghalmy, S., and Fazekas, A. (2023). A comparative study of the use of stratified cross-validation and distribution-balanced stratified cross-validation in imbalanced learning. Sensors, 23.10.3390/s23042333 ↗
32. Evaluating cross-building transferability of attention-based automated fault detection and diagnosis for air handling units: Auditorium and hospital case study10.1016/j.buildenv.2025.113889 ↗
33. A hybrid SMOTE and Trans-CWGAN for data imbalance in real operational AHU AFDD: A case study of an auditorium building10.1016/j.enbuild.2025.116447 ↗