Machine learning reveals how biochar can curb phosphorus pollution from farmland
Biochar Editorial Office, Shenyang Agricultural University
image: Machine learning-assisted model for predicting biochar efficiency in colloidal phosphorus immobilisation in agricultural soils
Credit: Kamel M. Eltohamy, Mohamed Gaber Alashram, Ahmed Islam ElManawy, Daniel Menezes-Blackburn, Sangar Khan, Junwei Jin & Xinqiang Liang
A new study has shown that biochar, a carbon-rich material produced from biomass, can significantly reduce phosphorus losses from agricultural soils, offering a promising solution to one of the leading causes of water pollution worldwide. By combining environmental science with machine learning, researchers have developed a powerful predictive tool to optimize how biochar is used in real-world farming systems.
Phosphorus is essential for crop growth, but when it escapes from soils into rivers and lakes, it fuels harmful algal blooms and degrades water quality. A particularly mobile form, known as colloidal phosphorus, can travel easily through soil and water, making it difficult to control. Despite growing interest in using biochar to immobilize this form of phosphorus, predicting its effectiveness under different conditions has remained a major challenge.
“Our goal was to move beyond trial and error and provide a reliable way to predict how biochar performs in different soils,” said the study’s corresponding author. “By using machine learning, we can now identify the key factors that control phosphorus immobilization and guide more effective applications.”
The research team evaluated six machine learning models using a dataset that included biochar properties, soil characteristics, and experimental conditions. Among them, the random forest model delivered the highest accuracy, explaining up to 97 percent of the variation in phosphorus immobilization efficiency. This strong performance demonstrates the potential of data-driven approaches to tackle complex environmental problems.
The analysis revealed that biochar properties play a dominant role in controlling phosphorus retention. In particular, the oxygen content of biochar emerged as the most influential factor, followed by its phosphorus content, application rate, and surface area. Together, biochar-related characteristics accounted for about 75 percent of the model’s predictive power, far outweighing the influence of soil properties.
These findings highlight the importance of designing biochar with tailored chemical and physical features. Biochar rich in oxygen-containing functional groups can bind phosphorus more effectively, while higher surface area provides more sites for adsorption. When applied at appropriate rates, these materials can significantly reduce the movement of phosphorus through soils.
Beyond adsorption, the study also sheds light on the underlying mechanisms. Biochar can enhance soil aggregation, promote the formation of stable mineral complexes, and interact with iron, aluminum, and calcium to lock phosphorus into less mobile forms. These combined effects reduce the risk of phosphorus runoff and improve nutrient retention in agricultural systems.
To make the model accessible to researchers and practitioners, the team developed a user-friendly graphical interface that allows users to input soil and biochar parameters and obtain rapid predictions. This tool can help farmers, land managers, and environmental scientists design more efficient strategies for reducing nutrient losses without extensive laboratory testing.
The environmental implications are substantial. By limiting phosphorus runoff, biochar applications can help prevent eutrophication, protect freshwater ecosystems, and reduce reliance on chemical fertilizers. At the same time, biochar contributes to carbon sequestration, supporting climate mitigation efforts.
“This work provides both scientific insight and practical tools,” the authors noted. “It shows that with the right design and application, biochar can play a key role in sustainable agriculture and water protection.”
As more data become available, future research will further refine the model and expand its applicability across diverse soil types and environmental conditions. The integration of machine learning and soil science is expected to accelerate the development of precision strategies for managing nutrients and safeguarding ecosystems.
===
Journal Reference: Eltohamy, K.M., Alashram, M.G., ElManawy, A.I. et al. Machine learning-assisted model for predicting biochar efficiency in colloidal phosphorus immobilisation in agricultural soils. Biochar 7, 57 (2025).
https://doi.org/10.1007/s42773-025-00442-6
===
About Biochar
Biochar (e-ISSN: 2524-7867) is the first journal dedicated exclusively to biochar research, spanning agronomy, environmental science, and materials science. It publishes original studies on biochar production, processing, and applications—such as bioenergy, environmental remediation, soil enhancement, climate mitigation, water treatment, and sustainability analysis. The journal serves as an innovative and professional platform for global researchers to share advances in this rapidly expanding field.
Disclaimer: AAAS and EurekAlert! are not responsible for the accuracy of news releases posted to EurekAlert! by contributing institutions or for the use of any information through the EurekAlert system.