Adaptive Irrigation and Fertilizer Scheduling Using Proximal Policy Optimization for Sustainable Yield and Soil Health Management

Rikendra
Department of Computer Science, Amity University Noida, Uttar Pradesh, India

Monika Sharma
Department of Computer Science, Amity University Noida, Uttar Pradesh, India

Sansar Singh Chauhan
Department of Computer Science, GL Bajaj Institute of Technology and Management, Greater Noida, Uttar Pradesh, India

Abstract

Despite the importance of agriculture to ensure food security, several problems persist for the farmers in the form of decreasing soil fertility, inefficiency in water and fertilizers and an increase in crop production. Conventionally, the process of agriculture has been quite defined in terms of an irrigation and fertilization strategy that is not very adaptable to changing soil and environmental conditions. In order to address these issues, a smart framework using Artificial Intelligence (AI) technology has been developed in this study using the process of Deep Reinforcement Learning (DRL) to maximize the crop yield while simultaneously maintaining the soil health on five major crops namely maize, potato, rice, sugarcane, and wheat. The work presented in this paper is based on a Crop Recommendation Dataset from Kaggle that consists of necessary parameters used in agriculture like Nitrogen, Phosphorous, Potassium, pH, Temperature, Humidity, Rainfall, and the type of crop. After data preprocessing, a virtual farming environment is created with the help of Python and Gymnasium. The agent is trained using a learning algorithm known as Proximal Policy Optimization (PPO) for finding the optimal farming strategies. This involves continuous interactions between the environment and the agent so that the effects of various management actions on the soil and crops can be learned. The rewards are formulated in a manner so that crop productivity is enhanced while avoiding the excessive consumption of resources and soil nutrients. This framework is compared against the conventional machine learning algorithms such as Random Forest and XGBoost. It is anticipated that this will lead to an intelligent decision support system that suggests the best practices of irrigation and fertilization to achieve higher crop productivity and efficiency in resource utilization.

Keywords: Deep Reinforcement Learning ,Smart Agriculture ,Precision Farming ,PPO, Crop Yield Optimization ,Soil Health, Sustainable Agriculture ,Machine Learning ,, Irrigation Management ,Fertilizer Optimization