Machine Learning Models for Soil Parameter Prediction Based on Satellite, Weather, Clay and Yield Data
Calvin Kammerlander, Viola Kolb, Marinus Luegmair, Lou Scheermann, Maximilian Schmailzl, Marco Seufert, Jiayun Zhang, Denis Dalić, Torsten Schön orcid: 0000-0001-9022-8428 · 2025
Read Machine Learning Models for Soil Parameter Prediction Based on Satellite, Weather, Clay and Yield Data by Calvin Kammerlander, Viola Kolb, Marinus Luegmair, Lou Scheermann, Maximilian Schmailzl, Marco Seufert, Jiayun Zhang, Denis Dalić, Torsten Schön orcid: 0000-0001-9022-8428 (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2503-22276.txt.
Introduction
Calvin Kammerlander and co-authors train machine learning models to predict soil nutrients from satellite images and other farm data, with no lab test of the soil. Sharp nutrient calls let farmers feed crops with care and keep yields up in a lasting way.
A base model built on a European soil set and satellite views is enriched with weather, harvest, and clay data and learned image features. Tree based and neural methods were tuned for the task. The report lays out the data steps and pipelines, and the errors met tight targets. The project aims at regions where lab tests are scarce, such as parts of Africa.
Catalog record
| CREATOR | Calvin Kammerlander, Viola Kolb, Marinus Luegmair, Lou Scheermann, Maximilian Schmailzl, Marco Seufert, Jiayun Zhang, Denis Dalić, Torsten Schön orcid: 0000-0001-9022-8428 |
|---|---|
| YEAR | 2025 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 86 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2503-22276
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
Machine Learning Models for Soil Parameter Prediction Based on Satellite, Weather, Clay and Yield Data Calvin Kammerlander, Viola Kolb, Marinus Luegmair, Lou Scheermann, Maximilian Schmailzl, Marco Seufert, Jiayun Zhang, Denis Dalić, Torsten Schön orcid: 0000-0001-9022-8428 Abstract Efficient nutrient management and precise fertilization are essential for advancing modern agriculture, particularly in regions striving to optimize crop yields sustainably. The AgroLens project endeavors to address this challenge by developing Machine Learning (ML)-based methodologies to predict soil nutrient levels without reliance on laboratory tests. By leveraging state of the art techniques, the project lays a foundation for actionable insights to improve agricultural productivity in resource-constrained areas, such as Africa. The approach begins with the development of a robust European model using the LUCAS Soil dataset and Sentinel-2 satellite imagery to estimate key soil properties, including phosphorus, potassium, nitrogen, and pH levels. This model is then enhanced by integrating supplementary features, such as weather data, harvest rates, and Clay AI-generated embeddings. This report details the methodological framework, data preprocessing strategies, and ML pipelines employed in this project. Advanced algorithms, including Random Forests, Extreme Gradient Boosting (XGBoost), and Fully Connected Neural Networks (FCNN), were implemented and fine-tuned for precise nutrient prediction. Results showcase robust model performance, with root mean square error values meeting stringent accuracy thresholds. By establishing a reproducible and scalable pipeline for soil nutrient prediction, this research paves the way for transformative agricultural applications, including precision fertilization and improved resource allocation in under-resourced regions like Africa. I Introduction Efficient and sustainable agricultural practices are pivotal in addressing global challenges such as food security, resource scarcity, and environmental degradation. With the increasing demand for higher agricultural productivity, precise fertilization and effective nutrient management have become critical components in modern farming systems [ 1 ] . ML has emerged as a transformative technology in agriculture, providing robust decision-support tools to optimize resource utilization. ML-driven solutions enable the analysis of complex datasets, uncovering insights that traditional methods often overlook. As highlighted by [ 2 ] , nutrient management plays a central role in ensuring optimal crop development, requiring precise knowledge of key soil nutrients such as nitrogen, phosphorus, and potassium, and others. I-A Motivation Traditional soil testing methods are expensive and inaccessible to many farmers, particularly in under-resourced regions like Africa. By harnessing readily available satellite imagery and advanced ML algorithms, the AgroLens project seeks to democratize soil nutrient estimation, making precision agriculture more accessible and impactful. I-B Objectives The overarching goal of the AgroLens project is to develop a scalable and accurate methodology for predicting soil nutrients using non-invasive data sources. This involves: • Constructing ML models capable of estimating the key soil property scores for pH level, Phosphorus, Nitrogen, and Potassium. • Enhancing model performance through the integration of diverse data sources, including local weather data and harvest rates. I-C Reasons for the Use of Machine Learning ML techniques are well suited to agricultural applications due to their ability to handle large, heterogeneous datasets and uncover complex, non-linear relationships between variables. For instance, ML models can integrate satellite-derived spectral indices, climate variables, and other geospatial data to produce reliable predictions of soil nutrient levels. This capability makes ML a powerful tool for addressing the variability and unpredictability inherent in agricultural systems. I-D Overview of the Approach The AgroLens project employs a structured two-phase methodology: 1. Model Development : Leveraging European datasets (e.g., LUCAS Soil and Sentinel-2 imagery) to create a baseline model for soil nutrient estimation. 2. Feature Enrichment : Incorporating supplementary data sources such as weather data, harvest rates, and Clay embeddings to improve model accuracy. By following this approach, AgroLens aims to establish a reproducible and scalable framework for soil nutrient prediction, laying the groundwork for future work in precision agriculture. II Methodology In this study, ML is used to predict soil properties using different types of data. The input data includes satellite images, weather data, harvest rates and Clay embeddings, while nutrient scores form the target data. The training pipeline includes data pre-processing, feature selection and model evaluation using Root Mean Square Error (RMSE). II-A Machine Learning for Soil Prediction ML is widely applied across numerous domains, including agriculture, where it has shown particular promise for soil prediction—especially in African contexts [ 3 , 4 ] . Various ML techniques, such as Random Forest, XGBoost, FCNN, Convolutional Neural Networks, and Support Vector Machines, have been explored for nutrient management in soils. Typical input data include soil properties, climatic variables, and satellite imagery, enabling accurate estimations of nutrient levels [ 2 ] . II-B Data Types This section provides an overview of the data types used in the project, beginning with the input datasets and concluding with the target variables. II-B 1 Input Data Satellite Data Satellite imagery serves as a primary source of spatial information in AgroLens, capturing reflectance values across multiple spectral bands. By analyzing these reflectance patterns, one can infer soil conditions, vegetation health, and other environmental variables. The Sentinel-2 mission was launched in 2015 and includes satellites that revisit a given location every five days. It offers 13 spectral bands with resolutions ranging from 10 to 60 m, covering portions of the visible, near-infrared, and shortwave infrared spectrum. This project uses Sentinel-2 Level 2A images, which undergo atmospheric correction to reduce distortions and provide more accurate surface reflectance values. Using Level 2A data reduces the number of available bands to 12 [ 5 ] . Sentinel-2 is chosen for its high revisit frequency and data quality, improving the chances of obtaining cloud-free images aligned with the soil-sample collection dates. Landsat 7 and Landsat 8 were launched in 1999 and 2013, respectively, each following a 16-day repeat cycle. This longer interval limits the frequency of observations compared to Sentinel-2, making time-sensitive analyses more challenging. Landsat 7 provides eight spectral bands with spatial resolutions between 15 and 60 m, whereas Landsat 8 adds three more bands (for a total of 11). However, the two thermal infrared bands of Landsat 8 are excluded here to match the Sentinel-2 band set, leaving nine bands with 15–30 meter resolutions. Both Landsat 7 and Landsat 8 also offer Level 2 atmospheric-corrected products. [ 6 , 7 ] Neighboring Pixels In addition to the central pixel patch, neighboring pixels around each sampled location are considered to capture more spatial context. The premise is that pixel-to-pixel variations in reflectance might reveal subtle gradients related to soil properties, vegetation cover, or microtopography. BigEarthNet v2.0 BigEarthNet v2.0 is a benchmark dataset derived from Sentinel-1 and Sentinel-2 satellite imagery [ 8 ] , published in conjunction with the work of Clasen et al. [ 9 ] . It is designed for Earth observation, focusing on land-cover classification and environmental monitoring. The dataset contains annotated image pairs from several European countries, encompassing diverse land-use and land-cover classes (e.g., agricultural fields, forests, urban areas, water bodies) [ 9 ] . Additionally, the BigEarthNet initiative provides pre-trained models [ 10 ] , which can be used to classify land-use and land-cover types in regions beyond those originally included in BigEarthNet v2.0. However, this paper concentrates on predicting soil nutrients rather than classifying land use. Because the training data exclusively represent agricultural areas, land-use classification was deemed unnecessary. Nonetheless, incorporating such classification could