The formulation of irrigation and nitrogen application strategies under multi-dimensional soil fertility targets based on preference neural network (2024)

Introduction

The development of agriculture in China largely depends on the input of chemical fertilizers1. However, excessive irrigation and nitrogen applications not only lead to low fertilizer utilization efficiency but also result in soil acidification2, soil nitrogen leaching losses3, decreased organic matter content levels4, and secondary salinization5, which ultimately result in low soil fertility. It has been observed that methods involving the deep burial of straw were able to alleviate nitrogen loss6 and soil salinization7, and also could increase the soil carbon storage levels8. However, a reasonable water and nitrogen application scheme must be taken to promote straw decomposition and improve soil fertility, reduce non-point source pollution effects, and realize salinization control. There have been few studies performed regarding the formulation of irrigation and nitrogen application strategies based on multi-indicator fertility goals under the condition of straw burial.

Over the past two decades, the majority of the accepted irrigation or nitrogen application strategies have only been able to formulate through comparisons of limited field treatments9,10,11,12. To reduce the costs of field experiments and improve the accuracy of irrigation and nitrogen application strategies, physical models such as HYDRUS13,14 and SWAP15,16 came into being. These types of models can simulate the effects of different irrigation schemes on soil solute under specific boundary conditions. The model’s prediction accuracy can be improved by increasing the input density of irrigation and nitrogen application17. However, most irrigation or nitrogen application optimization strategies proposed through physical models were based on the forward research concept of “treatment-index-treatment.” In other words, first, determine the influence trend of measure variables such as irrigation amount on farmland variables such as soil salinity, then deduce the optimal measure according to the trend. However, the accuracy of the strategies formulated under the aforementioned concept depends mainly on the range and density of the measure variables in the adopted field layouts or input models. In addition, the effectiveness of the irrigation or nitrogen application combinations that had not been included in the model input ranges could not be fully validated. On the other hand, the research approach based on “treatment-index-treatment” cannot build a direct mapping relationship between the input indicators and final results, and must conduct an additional screening layer. As a result, the model can only optimize the strategy for a single goal, and cannot consider multi-dimensional goals comprehensively. Therefore, in order to address those issues, an innovative research idea which could directly put forward irrigation and nitrogen fertilizer application optimization strategies according to determined targets was urgently required.

In recent years, artificial intelligence (AI) models have been successfully used in the prediction processes of farmland indexes, such as yields18,19, irrigation, nitrogen applications20. Some studies have successfully predicted citrus fruit numbers and coffee yields using SVR models trained by crop images21,22. In addition, wheat yields have been successfully predicted using high-resolution data collected by satellite sensors. The accurate predictions of soil total nitrogen, organic carbon, and water content have been achieved using SVR models trained by near-infrared spectral data23. Furthermore, the yields24 of crop ET025 and oilseed rape have been accurately predicted using multi-layer perceptron (MLP) methods. In addition to successful predictions on time scales, Dong et al.26 used wavelet BP-neural networks to predict maize crop yields under various fertilization treatment conditions and established the mapping relationships between fertilization treatments and crop yields. Gu et al.27 used BP neural networks to predict crop yields under different amounts of irrigation. Therefore, it can be seen that the combinations of artificial intelligence and field experimental processes have provided new ideas for the formulation of irrigation and nitrogen application strategies. However, it should be noted that the models mentioned above had been mainly used for predicting such indicators as crop yields and had rarely shown the ability to be relevant in the formulation of accurate irrigation and nitrogen application strategies. In addition, the simple structure of the BP neural network leads to the lack of generalization ability, which cannot effectively solve the over-fitting problem caused by the limited amount of experimental data.

Objectives

The contribution of this study is to developed a preference neural network (PNN). The reverse training mechanism of PNN enables the model to directly formulate optimal irrigation and nitrogen application strategies based on multi-dimensional goals composed of soil organic matter, total nitrogen, total salt, and pH value. In the HeTao irrigated area of northwest China, we carried out a two-factor cross experiment in 2018 and 2019 on the amount of irrigation and nitrogen application. We trained the PNN model using the obtained data, and the irrigation-nitrogen interaction surface of a single fertility index was drawn according to the predicted results. The strategies of irrigation and nitrogen application that could simultaneously meet the four fertility targets of soil organic matter, total nitrogen, total salt and pH were obtained. Based on this strategy, we rearranged the experiment in 2020, and the feasibility of the irrigation-nitrogen application scheme was verified by evaluating the fitting degree of simulated and measured values under the same strategy. In addition, the performance of PNN was compared with Support Vector Regression (including linear, Poly, and RBF kernel functions), Linear Regression (LR), Logistic Regression (LOR), and traditional Back Propagation Neural Networks (BPNN) , and traditional BP neural network to verify the model performance. The training and performance evaluation processes is shown in Fig.1.

Flow chart of the proposed methodology to forecast evaporation using machine learning models.

Full size image

Materials and methods

Study area

Figure2 shows the location of the study area on a map of China generated by ArcGIS software. This study’s field experiments were carried out in the Shuanghe Town agricultural comprehensive water-saving demonstration area (40°42′ N; 107°24′ E), which is located in the middle reaches of the Hetao Irrigation Area of Inner Mongolia. The duration of the experimental process ranged from April in 2018 to October in 2020. The experimental area was characterized by a mid-temperate semi-arid continental climate. The average annual precipitation was determined to be 138mm and the average evaporation was approximately 2332mm. The majority of the rainfall was concentrated during summer and autumn seasons, and the accumulation of salt in the surface soil was considered to be serious in the spring and winter months. The average rainfall during maize growth period was 75.3mm. The 0 to 40cm soil layers in the experimental area were categorized as silty loam soil, with an average bulk density ranging from 1.42 to 1.53gcm−3. A maize straw layer with a thickness of 5cm was buried at a depth of 40cm, and then the land was leveled. Also, in addition to autumn watering and spring irrigation procedures, water from the Yellow River was used three times for irrigation during the entire growth period of the maize crops. The adopted irrigation method belonged to border irrigation. Urea (46% N) were used as the fertilizer types.

The location of the study area.

Full size image

Field trials design and data collection

We carried out experiment 1 from 2018 to 2019, and the data obtained were used for model training and to determine the hyper-parameters. The experimental design is shown in Table 1. The PNN model trained from the data obtained in experiment 1 predicted the optimal range of irrigation amount and nitrogen application rate (N rate) for each growth period of maize. In these ranges, the soil organic matter and total nitrogen could be kept above 20g/kg and 1.6g/kg, respectively, the soil salt content was less than 2g/kg, and the pH value was between 6.5 and 7.5. In order to verify the accuracy and feasibility of the range of irrigation and nitrogen application simulated by PNN, the field experiment 2 was set in 2020 based on the range simulated by PNN and to evaluate the fitting degree between measured and simulated values of soil indicators under the same amount of irrigation and nitrogen application. The experimental design is shown in Table 2.

Full size table
Full size table

The experimental design were repeated for three times. The plot area of each treatment measuring 8 × 9 = 72 m2. The surrounding area was separated using 1.2m buried polyethylene plastic film, and 30cm was left at the top to prevent fertilizer and water from flowing into each other. The field management process was consistent with that used by the local farmers. The film width of maize was 1.1m, with each film covering two rows. The plant spacing was approximately 45cm, and the row spacing was 35cm. In addition, the planting density of the maize was 60,000 plants/hm2.

During the entire growth period of the maize crops, soil samples were collected from the 0 to 20cm, 20 to 40cm, 40 to 60cm, 60 to 80cm, and 80 to 100cm soil layers using a soil drill and a three-point method was adopted. The soil samples were stored at 4°C for the determination of total nitrogen, organic matter, total salt content, and pH values. The total nitrogen, organic matter, total salt content, and pH were determined using a KDN-AA double tube azotometer, MWD-2 microwave universal digestion device, TU1810PC ultraviolet–visible spectrophotometer, and a TU18950 double beam ultraviolet–visible spectrophotometer, respectively.

Soil parameters measured include organic matter (SOM), total nitrogen (TN), Salt and pH. The data set includes pre-irrigation and post-irrigation reports from 2018 to 2020. Statistical parameters regarding the soil data are shown in Table3.

Full size table

The dataset obtained in Experiment 1 in 2018 to 2019 was 2490 rows in size, the 80/20 principle was used to data into training, and testing sets were required for ML modeling; 80% of data were employed for model training, while the remaining 20% were used for testing. Specifically, the data corresponding to the treatments with the nitrogen application rate (N rate) of 75kg/hm2 (N3) in all the treatments (W1N3, W2N3, W3N3) were used as the test set, and the data of the other treatments were used as the training set. The training set was used to initiate ML parameter training. Subsequently, The test set was employed to assess the model. The dataset size in 2020 was 1080 rows, which was used to verify ML modeling.

Figure3 shows the changes of soil indexes over time for each treatment in the field test (take the 0–40cm soil in the main distribution area of maize roots as an example). There are differences under the influence of different irrigation amounts. When irrigation is 90mm, soil SOM is 13.25% and 7.00% higher than 60mm and 120mm, and soil TN is 4.59% and 6.50% higher than 60mm and 120mm, respectively. The soil Salt was 23.30% lower than 60mm, and the pH was 4.16% and 4.36% lower than that of 60mm and 120mm, respectively. It can be seen that irrigation of 90mm is more favorable for increasing soil SOM and TN contents and reducing soil salinity and alkalinity. Soil SOM and TN contents were the highest at n 75kg/hm2, which were 4.38% and 8.34% higher than those at N = 93.3kg/hm2, respectively. Soil Salt was the lowest at N = 60kg/hm2, which was 3.02% lower than those at N = 75kg/hm2, with a small gap with other levels. In conclusion, nitrogen application of 75kg/hm2 was beneficial to increase soil organic matter and nitrogen content, and nitrogen application of 60kg/hm2 was beneficial to controlling soil salt content.

Changes in soil organic matter, total nitrogen, salinity, and pH under different treatments over time (a case study of 2019).

Full size image

Machine learning (ML) models used for irrigation and nitrogen application strategies

Five ML frames were used to estimate the irrigation and N rate. These models are preference Neural Network (PNN), Support Vector Regression (SVR), Linear Regression (LR), Logistic Regression (LOR), and traditional BP Neural Networks (BPNN). Among them, the prediction effects of linear, Poly, and rbf kernel functions are respectively tried in SVR framework. The torch framework was used to train and test machine learning models in Python.

Development of preference neural network

Model framework

The preference neural network (PNN) which was proposed for the first time in this study was a typical deep learning model. PNN can be regarded as an approximate natural function in order to describe the complete dependence of the soil fertility indexes, including the effects of soil total nitrogen, organic matter, total salt content, and pH values on irrigation and nitrogen applications. More specifically, PNN has the ability to optimize the function by constructing the mapping y = f (x, θ) and learning parameter θ.

First, the input end of PNN model was defined as matrix Xn×d (in which n is the sample size, n = 2490; and d is the dimension of each input vector, d = 6), where {xi} i=1, …, nX represents the vectorized set of total nitrogen, organic matter, salt content, and pH used for measuring the soil fertility, as well as the nitrogen application and irrigation durations (expressed by days after sowing). At the same time, the output end of the model was defined as the matrix Yn×2, which represented the levels of the irrigation and nitrogen fertilizer applications. The goal of the proposed PNN model was to learn the fixed mapping Y′ = f (X; θ) Y through the given input matrix X, where θ is the well optimized learnable parameters which can be obtained via PNN training. Meanwhile, the predicted value Y′ will infinitely approach the measured value Y. The structure and the algorithm of this study’s PNN model is shown in Fig.4 and Table. 4.

Schematic diagram for the PNN structural connections. In the figure, it can be seen that when each input vector passed through each layer of the PNN, it is first multiplied by the Hadamard product of the weight matrix and preference value matrix for the purpose of obtaining a weight matrix with preference properties. After the matrix was activated by the Relu Function, Batch Normalization Module Methods and the Dropout Module were used for random suspension and normalization processing, and the input of the next layer was obtained.

Full size image
Full size table

Layer-by-layer affine transformation

A good definition of the affine transformation of the information flow between layers is considered to be the key to neural network model training. Generally speaking, the learnable parameter θ of each layer of a model includes the weight parameter w and the preference parameter b. The hidden representation hl of the l-th layer in PNN is defined as follows:

$${h}_{l}({h}_{l-1};{W}_{l},{b}_{l})={h}_{l-1}^{\mathrm{T}}{W}_{l}+{b}_{l}$$

(1)

where Wl and bl represent the learnable weight and bias variables of the l layer, respectively, and hl-1 is the hidden representation of the upper layer. Therefore, when l = 1, then h0 = X.

In the present study, using the hierarchical update rules, a given input data stream was allowed to pass through each hidden layer with intermediate operations, and then finally reached the output end.

Preference structure

The correlation between different production behavior factors (e.g., irrigation levels) and different natural factors (e.g., soil organic matter) differs in agricultural production. However, the traditional fully connected neural network has the characteristic that nodes of one layer are fully connected with all nodes of subsequent layers, resulting in the neurons between production behavior factors and natural factors with very weak correlation still all being connected. Conversely, connections between neurons corresponding to factors with solid correlations are not strengthened.

Therefore, in this study the preference value module was specially developed. By first calculating the correlation and significance between different production behavior factors (irrigation amount, N rate) and different soil fertility factors (organic matter, total nitrogen, total salt and pH), the preference value between the above two types of variables was calculated, and the preference matrix was constructed. Then the Hadamard product of the weight matrix and preference matrix was used to realize the artificial intervention and guidance to the neural network’s learning process.

In order to reduce the adverse impact of non-normality of data on correlation analysis as much as possible, this study rank-based inverse normal (RIN) transformations (i.e., conversion to rank score) methods were used to normally process the data28. The RIN transformation function used here is as follows:

$$f(x)={\Phi }^{-1}\left(\frac{{x}_{r}-\frac{1}{2}}{n}\right)$$

(2)

where Φ–1 is the inverse normal cumulative distribution function, and n is the sample size.

The normal cumulative distribution function is represented as follows: for discrete variables, the sum of probabilities of all values less than or equal to a, and its formula is as shown below:

$${F}_{X}(a)=P(X\le a)$$

(3)

The RIN normalized conversion values meet the requirements of normal distribution, Pearson correlation analysis and t-test can be directly performed, and the formula used was as follows:

$$r(X,Y)=\frac{\mathrm{Cov}(X,Y)}{\sqrt{\left(\mathrm{Var}\left[X\right]\mathrm{Var}\left[\mathrm{Y}\right]\right)}}$$

(4)

where r (X, Y) is the Pearson Correlation Coefficient, Var [X] is the variance of X, and Var [Y] is the variance of Y, Cov (X, Y) is the covariance of X and Y, which represents the overall error of the two variables. The t-test is performed on the normalized data after rank-based inverse normal (RIN) transformation method, and the formula is as follows:

$$t=\sqrt{\frac{n-2}{1-{r}^{2}}}$$

(5)

where n is the number of samples, and r represents the Pearson Correlation Coefficient. Preference value is the concentrated embodiment of correlation and significance between variables, and the calculation formula is as follows:

$${PV}_{ij}=\frac{r({X}_{i},{Y}_{j})}{{P}_{ij}+e}$$

(6)

where PVij represents the preference values between the variables Xi and Yj, Xi represents the ith production behavior factor (e.g., irrigation amount), and Yj represents the jth soil fertility factor (e.g., soil organic matter content), \({P}_{ij}\) is obtained by looking up the table based on the t, and e is a constant, taking 0.001 in order to prevent the denominator of the formula from being 0.

In order to make the preference values of the various indicators in the same order of magnitude more stable, the preference values were normalized:

$${PV}_{normal}=\pm \frac{\left|{PV}_{i}-{PV}_{avg}\right|}{\sqrt{\frac{\sum_{i=1}^{N}{({PV}_{i}-{PV}_{avg})}^{2}}{N-1}}}$$

(7)

where N represents the number of variables related to the experimental treatments, PVi -PVavg takes the absolute value, while the positive or negative values of the PVnormal were determined by the positive or negative values of the correlation r.

The PNN integrated the preference matrixes into the neural network structures by identifying the Hadamard products of the learnable weights between the preference matrixes and the input and output data. By referring to Eq.(1) in the hierarchical affine transformation, the preference constraint of PNN could be expressed as follows:

$${h}_{l}({h}_{l-1};{W}_{l},{b}_{l})={h}_{l-1}^{T}{W}_{l}\odot P+{b}_{l}$$

(8)

where P is the preference matrix calculated by Eq.(8), and represents the Hadamard product of the corresponding elements of the matrix. The structure of preference neural network and preference value are shown in Figs. 5 and 6.

Schematic diagram of the preference connection structures of the preference neural networks. The depth of the network detailed in the figure only illustrates the preference connection structure (for a better demonstration), and does not indicate the depth of the PNN used in the experiment.

Full size image

PVnormal between production behavior factors and natural factors. Since soil depth, days, irrigation amount and N rate were all artificially set variables, and there was no objective correlation in the data set. Therefore, the preference values among these variables were default e = 0.001.

Full size image

Hyper-parameters of PNN

We conducted experiments on the datasets with varying the hyper-parameters (such as the number of PNN layers and hidden layers, the number of nodes in each layer, learning rate, dropout rate and batch size) to understand that how the Hyper-parameters impact on the performance of PNN.

We select the activation function and learning rate by referring to the neural network structure commonly used in similar fields (1 hidden layer and 64 hidden nodes)29,30. It is found that ReLU has better performance than other activation functions (sigmoid, tanh). The performance is best when the learning rate is around 0.005. It is generally believed that neural networks with more hidden layers are able, with the same number of resources, to address more complex problems31, but excessively increasing network depth will easily lead to overfitting32. Since there is no direct method to select the optimal number of hidden layers and nodes33, this study first calculated the structure of one hidden layer and 64 nodes in each layer, and found that the combined effect was poor (R2 of irrigation and nitrogen application were 0.3971 and 0.4124, respectively). Therefore, the trial-and-error method is adopted. The number of hidden layers starts from 1 and is incremented by 1 to test the maximum number of 10 hidden layers. The number of nodes in each layer were tested with a maximum number of 100 hidden neurons, starting with 5 and increasing by 5.

We found that when the number of hidden layers of PNN exceeds 6, and the number of nodes in each layer exceeds 65, the performance will drop significantly. The reason behind this phenomenon could be the current dataset size is insufficient for larger scale of the PNN model. In the consideration of that the size of new dataset we can obtain very year is similar to the current dataset size, we believe that current hyper-paramter settings of PNN is in a reasonable condition.

After that, the number of layers was fixed as 6, and the number of nodes in each layer were tested 10 times with 60 as the starting point and 1 as the increment, we found that when the number of nodes was 64, the improvement of the fit degree was no longer noticeable. On this basis, we changed different activation functions and learning rate again, and found that PNN still has the best performance when the activation function is ReLU and the learning rate is 0.005. Then, different batch sizes and dropout rates were tried. The two parameters had weaker effects on the performance than the other parameters, and the performance was optimal at 256 and 0.1, respectively.

The hyper-parameters include:

  1. 1.

    number of PNN layers;

  2. 2.

    number of hidden layers;

  3. 3.

    types of activation function;

  4. 4.

    percentage of dropout;

  5. 5.

    learning rate;

  6. 6.

    loss function;

  7. 7.

    optimizer;

  8. 8.

    batch size;

  9. 9.

    number of epochs;

  10. 10.

    number of workers.

The ideal PNN structure for the study comprises these layers:

  1. 1.

    number of PNN layers is 8;

  2. 2.

    number of hidden layers is 6;

  3. 3.

    Fully connected layers with 64 nodes and ReLU activation function

  4. 4.

    dropout with 0.1.

  5. 5.

    the learning rate is 0.005;

  6. 6.

    loss function is Huber Loss Methods (HLM);

  7. 7.

    optimizer: ADAM;

  8. 8.

    epochs is 500;

  9. 9.

    the batch size is 256;

  10. 10.

    number of workers is 6.

Hyper-parameters of other models

LR algorithms and LOR do not have hyper-parameters that need to be adjusted. A part of the hyper-parameters of the SVR model was determined by referring to Guan Xiaoyan's research34, and a part of the hyper-parameters of the BPNN model was determined by referring to Gu Jian's research27. RMLP takes the same hyperparameters as PNN. The hyperparameters of SVR and BPNN models are shown in Table 5.

Full size table

Model performance evaluation

The proposed PNN model was trained and validated using the field measured data from 2020 and the performance achievements of PNN were evaluated by the root mean square errors, mean square errors, and mean absolute errors as follows:

$$RMSE=\sqrt{\frac{{\sum }_{i=1}^{n}{({y}_{ipre}-{y}_{imea})}^{2}}{n}}$$

(9)

$${R}^{2}=1-\frac{{\sum }_{i=1}^{n}{({y}_{ipre}-{y}_{imea})}^{2}}{{\sum }_{i=1}^{n}{({y}_{ipre}-{y}_{iavg})}^{2}}$$

(10)

$$MAE=\frac{{\sum }_{i=1}^{n}\left|{y}_{ipre}-{y}_{iavg}\right|}{n}$$

(11)

Model multidimensional fertility targets

The soil fertility grade classification of soil organic matter, soil total nitrogen content and salt content in this study was based on the soil fertility grade classification results by the Agriculture and Animal Husbandry Bureau of Bayannur City, along with the local standard Technical Specifications for the Assessment and Rating Criteria of Cultivated Land Quality (DB 15/T 1086, 2016), as the shown in Tables 6 and 7.

Full size table
Full size table

In the evaluation system of soil fertility referencing the Technical Specifications for Assessment and Rating Criteria of Cultivated Land Quality (DB 15/T 1086, 2016), the pH was divided into four grades according to the membership degrees of the land productivity evaluations, as detailed in Table 8.

Full size table

Based on the classification standard of soil fertility obtained by the Bureau of Agriculture and Animal Husbandry of Bayannur City, when the farmland soil is at the high fertility level, the soil organic matter and total nitrogen content should be more than 20g/kg and 1.6g/kg, respectively. Soil salt content was less than 2g/kg. Meanwhile, the pH value is kept between 6.5 and 7.5.

Results and discussion

Construction of coupling simulation surface of irrigation and nitrogen application and feasibility verification of optimal irrigation-nitrogen application strategy

To reflect the corresponding changes in the water and fertilizer strategies caused by the variations in the single fertility indexes, During the simulation, fertilization and irrigation dates were set at 17, 59, and 87days after sowing, respectively, which were consistent with the actual measures taken by local farmers, and the soil depths were taken as the mean value of the 0 to 40cm maize root layers. More importantly, in the 4 variables (organic matter, total nitrogen, total salt, and pH), 3 of them were defined as fixed values, which were 20g/kg, 1.6g/kg, 2g/kg, and 7.5 respectively. The range of changing value refers to the maximum and minimum values of the measured values in the 3-year experiment. The data set of the input model of this variable was obtained by very small steps, and a complete data set was formed with the fixed variables and input into the model.

In Fig.7 and Table 9, taking 1/500 of the value range of each indicator as the step length, PNN was used to predict and verify the irrigation and nitrogen strategy under the change of a single indicator at each growth stage of maize, and Kriging interpolation was carried out. Meanwhile, the simulated values of 0 to 40cm soil organic matter, total nitrogen, total salt, and pH were compared with those of PNN under the same water and nitrogen strategy in experiment 2 carried out in 2020 to verify the effectiveness of the PNN model.

Surface of soil fertility index after irrigation and nitrogen application at seeding, jointing, filling stage of maize. The green surface is the water-nitrogen interaction surface with a single index change, which is obtained by PNN training based on the measured data from 2018 to 2019. The red dots are the measured values of corresponding indexes under the reset irrigation and nitrogen application levels in 2020.

Full size image
Full size table

As shown in Fig.7a–c, it can be seen that with the increase of the target value of soil organic matter, the simulated amount of nitrogen application and irrigation showed an increasing trend. However, those trends had ceased when the soil organic matter reached 28g/kg. As shown in Fig.7d–f, soil total nitrogen content showed an overall increasing trend with the increase of N rate and presented a bimodal distribution with the increase of irrigation amount. When the N rate was 70kg/hm2 and the irrigation amount was 95mm, soil nitrogen reached the peak at the seeding stage, and total nitrogen content decreased with increasing irrigation and N rate. At the jointing stage, soil nitrogen reached the peak when the amount of irrigation and fertilizer was the maximum in the simulation range. At the filling stage, the total soil nitrogen began to decrease when the amount of nitrogen was more than 80kg/hm2. As shown in Fig.7g–i, soil salinity increased with the increase of irrigation and nitrogen application and reached the peak value when irrigation and nitrogen application reached 100 to 110mm and 70 to 90kg/hm2, respectively. Further increase in irrigation and nitrogen application would decrease the soil salinity level. As shown in Fig.7j–l, soil pH showed a double peak trend with the increase of irrigation amount, reaching the first small peak at about 80mm and then decreasing to the peak at about 120mm. With the increase in N rate, soil pH showed single peak distribution at the seedling stage, jointing stage, and filling stage, and reached the peak at 77, 73 and 57kg/hm2, respectively, and then decreased.

As shown in Table 9, under the same irrigation strategy, the fitting degree of corresponding soil TN, Salt, and pH in PNN simulation results was the highest with the measured values at the filling stage (R2 is 0.9074, 0.9643, and 0.9147, respectively). The fitting degree of corresponding SOM was the highest at the jointing stage (R2 = 0.7969). Among the four indicators, PNN has the highest fitting degree to pH, and R2 is above 0.9. Salt is the second, TN is the third, and its fitting degree to SOM is the lowest, R2 is between 0.7 and 0.8.

Estimation of irrigation amount and nitrogen application rate in key growth period using preference neural network model

In experiment 2, soil organic matter, total nitrogen, salt, and pH of each layer within 0 to 100cm of each treatment were taken as the target values. Input linear Support Vector Regression(Linear SVR), Poly Support Vector Regression(Poly SVR), RBF Support Vector Regression (rbf SVR), linear regression (LR), logistic regression (LOR), traditional BP Neural Networks (BPNN) were used to output the irrigation amount and N rate at 17d, 59d and 87d respectively. The simulation results were compared with the actual irrigation amount and N rate of each treatment in experiment 2 to verify the prediction accuracy of each machine learning model on irrigation amount and N rate. In order to investigate the effect of preference structures on improving the generalization performance of PNN, the reverse multilayer perceptron (RMLP), which has the same structure as PNN except without preference module, is also trained and output the same as other models.

The values pertaining to R2, MAE, RMSE are listed in Table 10. The model with the best performance is the Preference Neural Networks (The R2 of irrigation and nitrogen application were predicted to be 0.91, 0.94), followed by BPNN (R2 were 0.65 and 0.67). The R2 values predicted by the proposed PNN at the irrigation and nitrogen application were 40.03% to more than 99% and 40.33% to more than 99% higher than those obtained using the linear SVR, poly SVR, rbf SVR, LR, LOR, and traditional BP neural networks, respectively. Compared with RMLP without preference mechanism and with the same structure, R2 of PNN increased by 25.81% and 27.99%, respectively, when predicting irrigation amount and N rate. Compared with the conventional BPNN, the R2 of RMLP was increased by 10.14% and 8.69% when predicting irrigation amount and N rate, respectively. These results indicate that the preference structure can improve the generalization performance of the neural network for predicting irrigation volume and nitrogen application, and the performance of the neural network with 6 hidden layers and 64 nodes is better than that of the neural network with 1 hidden layer and 13 nodes. At the same time, compared with other machine learning models, the SVR model with poly and rbf as the kernel function obtained less accurate prediction of irrigation amount(R2 were 0.14 and 0.23) and more inaccurate prediction of N rate obtained by poly SVR (R2 was 0.27). Aside from the linear SVR model, the accuracy of the other SVR models was slightly lower than those of two regression models (LR and LOR) and two neural network models (PNN and traditional BP neural networks). This result may be explained by the fact that the prediction accuracy of SVR model is excessively sensitive to the influence of kernel function and hyper-parameter35,36.

Full size table

Formulation of irrigation and nitrogen application schemes based on multi-dimensional fertility targets

As shown in Table 11, Based on the surface of irrigation-nitrogen interaction constructed above, the intersection of irrigation amount and N rate was selected as the optimization strategy interval when all indexes were in the state of high fertility. When the irrigation amount was 93 to 102, 92 to 98, and 92 to 98mm, and the N rate was 65 to 71, 64 to 73, and 72 to 81kg/hm2 on the 17th, 59th and 87th days after sowing, respectively, the soil organic matter and total nitrogen could be kept above 20g/kg and 1.6g/kg, respectively, the soil salt content was less than 2g/kg, and the pH value was between 6.5 and 7.5.

Full size table

Evaluation and prospect of the PNN model

The superiority of PNN mainly depends on its unique “preference mechanism.” In general, data obtained from field trials based on human processing have high sampling and assay costs, so the data set obtained is often limited37. However, studies requiring control of specific variables must conduct field trials, thus the model must be in the limited data set for training in this field of study. Through the preferred connection between neurons, PNN can actively learn and adhere to the prior rules in the data so that PNN can achieve higher convergence and lower error rate than other models in the case of limited data than other machine learning models. In addition, existing artificial intelligence models or physical models are mostly used to predict monitoring indicators such as soil moisture and groundwater depth38,39, rather than artificial strategies like irrigation amount, but it should be an inevitable trend of intelligent agriculture that the model results directly guide production practice. Due to its reverse training structure, PNN can directly determine optimal irrigation and nitrogen application strategies based on multidimensional targets, which significantly improves the accuracy and versatility of the model. Benefiting from the above characteristics, the PNN model makes it possible to apply the deep learning model as a core decision-making tool in “precision agriculture”, and provides a solution for solving multidimensional decision-making problems in limited data sets.

Conclusion

This study aims to predict the reasonable irrigation amount and N rate according to the multidimensional soil fertility objective. Therefore, a neural network model with 6-hidden layers and preference mechanism, namely the Preference Neural Network (PNN) model, has been developed. Four core indexes of soil fertility evaluation (organic matter, total nitrogen, total salt, pH), irrigation time and target soil depth were used as the input of PNN, and the amount of irrigation and nitrogen application were used as the output. The model was trained and tested using the data from 2018 to 2019, 80% of which was the training set, and 20% was the test set. The data from the validation test carried out in 2020 was used for verification. The results showed that the R2 values of PNN in predicting irrigation amount and N rate were 0.3356 to 0.7708 and 0.361 to 0.6721 higher than those of the models without neural network structure (support vector regression, linear regression and Logistic regression), respectively, and were 0.2609 and 0.2704 higher than the traditional neural network (BPNN) with one hidden layer, respectively. In addition, the R2 values of the predicted irrigation amount and N rate by PNN with the preference mechanism were 25.81% and 27.99% higher than those without the preference mechanism, respectively. It was proved that on the 17th, 59th and 87th day after seeding, the soil fertility could reach the standard of high grade with irrigation of 93 to 102, 92 to 98, 92 to 98mm and nitrogen application of 65 to 71, 64 to 73 and 72 to 81kg/hm2, respectively.

Data availability

Some data through which the mean, median, max, min and standard deviation were derived are available from the corresponding author upon reasonable request. Also surface figure through which models and forecasts were derived which support the findings of this study are available from the corresponding author.

References

  1. Wang, Q. B., Halbrendt, C. & Johnson, S. R. Grain production and environmental management in China’s fertilizer economy. J. Environ. Manag. 47, 283–296 (1996).

    Article Google Scholar

  2. Miao, Y. X., Stewart, B. A. & Zhang, F. S. Long-term experiments for sustainable nutrient management in China. A review. Agron. Sustain. Dev. 31, 397–414 (2011).

    Article Google Scholar

  3. Lu, J. et al. Mitigation options to reduce nitrogen losses to water from crop and livestock production in China. Curr. Opin. Environ. Sustain. 40, 95–107 (2019).

    Article Google Scholar

  4. Sun, H. et al. The long-term impact of irrigation on selected soil properties and grain production. J. Soil Water Conserv. 73, 310–320 (2018).

    Article ADS Google Scholar

  5. Machado, R. M. A. & Serralheiro, R. P. Soil salinity: Effect on vegetable crop growth. Management practices to prevent and mitigate soil salinization. Horticulturae. 3, 13 (2017).

    Article Google Scholar

  6. Yang, H. S. et al. Effects of ditch-buried straw return on water percolation, nitrogen leaching and crop yields in a rice-wheat rotation system. J. Sci. Food Agric. 96, 1141–1149 (2016).

    Article CAS PubMed Google Scholar

  7. Zhao, Y. G., Li, Y. Y., Wang, J., Pang, H. C. & Li, Y. Buried straw layer plus plastic mulching reduces soil salinity and increases sunflower yield in saline soils. Soil Tillage Res. 155, 363–370 (2016).

    Article Google Scholar

  8. Lu, F. How can straw incorporation management impact on soil carbon storage? A meta-analysis. Mitig. Adapt. Strateg. Glob. Chang. 20, 1545–1568 (2015).

    Article Google Scholar

  9. Yin, F., Fu, B. J. & Mao, R. Z. Effects of nitrogen fertilizer application rates on nitrate nitrogen distribution in saline soil in the Hai River Basin, China. J. Soils Sediments. 7, 136–142 (2007).

    Article CAS Google Scholar

  10. Wang, Y. et al. Reducing basal nitrogen rate to improve maize seedling growth, water and nitrogen use efficiencies under drought stress by optimizing root morphology and distribution. Agric. Water Manag. 212, 328–337 (2019).

    Article Google Scholar

  11. Ning, D. F. et al. Deficit irrigation combined with reduced N-fertilizer rate can mitigate the high nitrous oxide emissions from Chinese drip-fertigated maize field. Glob. Ecol. Conserv. 20, 12 (2019).

    Google Scholar

  12. Zhang, M. M. et al. Yield and water use responses of winter wheat to irrigation and nitrogen application in the North China Plain. J. Integr. Agric. 17, 1194–1206 (2018).

    Article Google Scholar

  13. Karandish, F. & Simunek, J. A comparison of the HYDRUS (2D/3D) and SALTMED models to investigate the influence of various water-saving irrigation strategies on the maize water footprint. Agric. Water Manag. 213, 809–820 (2019).

    Article Google Scholar

  14. Hu, A. Y. et al. The effects of irrigation and fertilization on the migration and transformation processes of main chemical components in the soil profile. Environ. Geochem. Health. 41, 2631–2648 (2019).

    Article CAS PubMed Google Scholar

  15. Wu, Y. et al. Simulation of hydrology and nutrient transport in the Hetao Irrigation District, Inner Mongolia, China. Water 9, 15 (2017).

    Article Google Scholar

  16. Sonneveld, M. P. W. & Bouma, J. Effects of combinations of land use history and nitrogen application on nitrate concentration in the groundwater. NJAS-Wagen. J. Life Sci. 51, 135–146 (2003).

    CAS Google Scholar

  17. Sairam, R. K. & Tyagi, A. Physiology and molecular biology of salinity stress tolerance in plants. Curr. Sci. 86, 407–421 (2004).

    CAS Google Scholar

  18. Su, Y. X., Xu, H. & Yan, L. J. Support vector machine-based open crop model (SBOCM): Case of rice production in China. Saudi. J. Biol. Sci. 24, 537–547 (2017).

    Article PubMed PubMed Central Google Scholar

  19. Senthilnath, J. et al. Detection of tomatoes using spectral-spatial methods in remotely sensed RGB images captured by UAV. Biosyst. Eng. 146, 16–32 (2016).

    Article Google Scholar

  20. Shekofteh, H. et al. Nitrate leaching from a potato field using adaptive network-based fuzzy inference system. J. Hydroinf. 15, 503–515 (2013).

    Article Google Scholar

  21. Ramos, P. J., Prieto, F. A., Montoya, E. C. & Oliveros, C. E. Automatic fruit count on coffee branches using computer vision. Comput. Electron. Agric. 137, 9–22 (2017).

    Article Google Scholar

  22. Sengupta, S. & Lee, W. S. Identification and determination of the number of immature green citrus fruit in a canopy under different ambient light conditions. Biosyst. Eng. 117, 51–61 (2014).

    Article Google Scholar

  23. Morellos, A. et al. Machine learning based prediction of soil total nitrogen, organic carbon and moisture content by using VIS-NIR spectroscopy. Biosyst. Eng. 152, 104–116 (2016).

    Article Google Scholar

  24. Niedbala, G. & Kozlowski, R. J. Application of artificial neural networks for multi-criteria yield prediction of winter wheat. J. Agric. Sci. Technol. 21, 51–61 (2019).

    Google Scholar

  25. Sanikhani, H., Kisi, O., Maroufpoor, E. & Yaseen, Z. M. Temperature-based modeling of reference evapotranspiration using several artificial intelligence models: Application of different modeling scenarios. Theor. Appl. Climatol. 135, 449–462 (2019).

    Article ADS Google Scholar

  26. Dong, Y. H. et al. Precision fertilization method of field crops based on the Wavelet-BP neural network in China. J. Clean Prod. 246, 13 (2020).

    Article Google Scholar

  27. Gu, J., Yin, G. H., Huang, P. F., Guo, J. L. & Chen, L. J. An improved back propagation neural network prediction model for subsurface drip irrigation system. Comput. Electr. Eng. 60, 58–65 (2017).

    Article Google Scholar

  28. Bishara, A. J. & Hittner, J. B. Testing the significance of a correlation with nonnormal data: Comparison of Pearson, Spearman, transformation, and resampling approaches. Psychol. Methods 17, 399–417 (2012).

    Article PubMed Google Scholar

  29. Ubah, J. I. et al. Forecasting water quality parameters using artificial neural network for irrigation purposes. Sci. Rep. 11, 13 (2021).

    Article Google Scholar

  30. Abed, M., Imteaz, M. A., Ahmed, A. N. & Huang, Y. F. Application of long short-term memory neural network technique for predicting monthly pan evaporation. Sci. Rep. 11, 19 (2021).

    Article Google Scholar

  31. Bianchini, M. & Scarselli, F. On the complexity of neural network classifiers: A comparison between shallow and deep architectures. IEEE Trans. Neural Netw. Learn. Syst. 25, 1553–1565 (2014).

    Article PubMed Google Scholar

  32. Song, W. W., Li, S. T., Fang, L. Y. & Lu, T. Hyperspectral image classification with deep feature fusion network. IEEE Trans. Geosci. Remote Sens. 56, 3173–3184 (2018).

    Article ADS Google Scholar

  33. Barzegar, R., Moghaddam, A. A., Adamowski, J. & Ozga-Zielinski, B. Multi-step water quality forecasting using a boosting ensemble multi-wavelet extreme learning machine model. Stoch. Environ. Res. Risk Assess. 32, 799–813 (2018).

    Article Google Scholar

  34. Guan, X. Y., Wang, S. L., Gao, Z. Y. & Lv, Y. Dynamic prediction of soil salinization in an irrigation district based on the support vector machine. Math. Comput. Model. 58, 719–724 (2013).

    Article Google Scholar

  35. Yu, L. A., Xu, H. J. & Tang, L. LSSVR ensemble learning with uncertain parameters for crude oil price forecasting. Appl. Soft. Comput. 56, 692–701 (2017).

    Article Google Scholar

  36. Zhang, J. W., Song, W. L., Jiang, B. & Li, M. B. Measurement of lumber moisture content based on PCA and GS-SVM. J. For. Res. 29, 557–564 (2018).

    Article Google Scholar

  37. El Bilali, A., Taleb, A. & Brouziyne, Y. Groundwater quality forecasting using machine learning algorithms for irrigation purposes. Agric. Water Manag. 245, 13 (2021).

    Article Google Scholar

  38. Ao, C. et al. Time-delayed machine learning models for estimating groundwater depth in the Hetao Irrigation District, China. Agric. Water Manag. 255, 18 (2021).

    Article Google Scholar

  39. Wang, X. X., Wang, Q. J., Fan, J. & Fu, Q. P. Evaluation of the Aqua Crop model for simulating the impact of water deficits and different irrigation regimes on the biomass and yield of winter wheat grown on China’s Loess Plateau. Agric. Water Manag. 129, 95–104 (2013).

    Article Google Scholar

Download references

Acknowledgements

This work was supported by: (1) Chinese National Natural Science Foundation "Study of water fertilizer drug coupling control under the condition of straw buried deep accused of salt water in the irrigation area of salinization" [Authorization Number: 51669019]; (2) Chinese National Natural Science Foundation "The regulation research of water and fertilizer circulation mechanism in salinization of irrigation with the changing environment" [Authorization Number: 51539005].

Author information

Authors and Affiliations

  1. Water Conservancy and Civil Engineering College, Inner Mongolia Agricultural University, Hohhot, Inner Mongolia, 010018, People’s Republic of China

    Shuai Lou,Yue Liu&Shu-Qing Yang

  2. Lifin Tech., Co., Ltd., Beijing, 200433, People’s Republic of China

    Rui-Qi Hu

  3. Tourism College, Inner Mongolia Normal University, Hohhot, Inner Mongolia, 010028, People’s Republic of China

    Wan-feng Zhang

Authors

  1. Shuai Lou

    View author publications

    You can also search for this author in PubMedGoogle Scholar

  2. Rui-Qi Hu

    View author publications

    You can also search for this author in PubMedGoogle Scholar

  3. Yue Liu

    View author publications

    You can also search for this author in PubMedGoogle Scholar

  4. Wan-feng Zhang

    View author publications

    You can also search for this author in PubMedGoogle Scholar

  5. Shu-Qing Yang

    View author publications

    You can also search for this author in PubMedGoogle Scholar

Contributions

S.L.: methodology, formal analysis, visualization and writing—review and editing, R-Q.H.: methodology, data curation and writing—review and editing, S-Q.Y., Y.L., W.-F.Z.: writing—review and editing and supervision.

Corresponding author

Correspondence to Shu-Qing Yang.

Ethics declarations

Competing interests

The authors declare no competing interests.

Additional information

Publisher's note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.

Reprints and permissions

About this article

The formulation of irrigation and nitrogen application strategies under multi-dimensional soil fertility targets based on preference neural network (8)

Cite this article

Lou, S., Hu, RQ., Liu, Y. et al. The formulation of irrigation and nitrogen application strategies under multi-dimensional soil fertility targets based on preference neural network. Sci Rep 12, 20918 (2022). https://doi.org/10.1038/s41598-022-25133-1

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1038/s41598-022-25133-1

The formulation of irrigation and nitrogen application strategies under multi-dimensional soil fertility targets based on preference neural network (2024)

FAQs

How does nitrogen help in soil fertility? ›

As the soil fertility page explains, nitrogen is really important for plant growth (structure), plant food processing (metabolism), and the creation of chlorophyll. Without enough nitrogen in the plant, the plant cannot grow taller, or produce enough food (usually yellow).

What are the methods of nitrogen application? ›

Right place. Nitrogen fertilizers are applied by various methods, including injection, broadcasting, banding, and with irrigation water.

How to apply nitrogen fertilizer to plants? ›

In situations where infertile soil is nutrient-deficient as determined by a soil test or plant tissue analysis, mix the required amount of slow-release nitrogen fertilizer into the backfill or apply it just outside of the rootball.

What is nitrogen fixation and how does it affect the fertility of soil? ›

Rhizobium bacteria have a symbiotic relationship with legumes to convert atmospheric nitrogen (N 2) to a plant-available form. This process is called nitrogen fixation. Sufficient numbers of effective rhizobium bacteria must be present to ensure that plants are well nodulated and able to meet the N needs of the crop.

Does nitrogen make soil more fertile? ›

Nitrogen is the key nutrient for crop growth. It is needed in the greatest quantities and a crop response from nitrogen is almost guaranteed. As nitrate is very soluble in water and moves with water, it can be subject to losses in the soil.

How to improve soil fertility? ›

Soil fertility can be further improved by incorporating cover crops that add organic matter to the soil, which leads to improved soil structure and promotes a healthy, fertile soil; by using green manure or growing legumes to fix nitrogen from the air through the process of biological nitrogen fixation; by micro-dose ...

Which factors improve soil fertility? ›

Adding Manures and Fertilizers

Fertilizers such as nitrogen, potassium and phosphorus are added to the soil to make it fertile. These are also added to the potted plants in gardens to enhance plant growth. NPK and urea are the most common fertilizers required by the soil. Urea adds nitrogen to the soil.

What are the factors affecting soil fertility? ›

Fertility of soil can be affected by physical, chemical or biological factors ultimately having an impact on plant growth. Nutrients like nitrogen, phosphorous, sulfur as well as carbon etc.

Can you mix nitrogen with water? ›

Nitrogen gas does not react with water. It does dissolve in water. Nitrogen (N2) solubility at 20oC and pressure = 1 bar is approximately 20 mg/L. Nitrogen solubility may differ between compounds.

What are 3 ways to add nitrogen to the soil? ›

Many common household items make excellent organic nitrogen sources.
  1. Coffee Grounds. Coffee grounds are rich in nitrogen. ...
  2. Compost. Compost contains nitrogen and other nutrients plants need. ...
  3. Manure. Manure adds nitrogen as it breaks down. ...
  4. Grass Clippings. ...
  5. Wood Ash. ...
  6. Alfalfa Meal. ...
  7. Blood Meal. ...
  8. Feather Meal.
Oct 9, 2023

What are the symptoms of nitrogen deficiency? ›

Slow growth and uniform yellowing of older leaves are usually the first symptoms of nitrogen (N) deficiency. Nitrogen-deficient plants produce smaller than normal fruit, leaves, and shoots and these can develop later than normal. Broadleaf foliage in fall may be more reddish than normal and drop prematurely.

Does nitrogen fertilizer need to be watered? ›

Watering helps the fertilizer to activate and to break down and begin feeding nutrients to the lawn. The key nutrients that a lawn needs are Nitrogen (N), Phosphorous (P), and Potassium (K), all of which are found in fertilizer, and each of which has a different function.

What is the best fertilizer for root growth? ›

There are three main plant nutrients: nitrogen, phosphorus, and potassium. As stated, the best nutrients for root growth are potassium and phosphorus. Potassium plays a role in the transportation of nutrients and water in a plant. As such it also aids the development of plant root systems.

What fertilizer is full of nitrogen? ›

Natural fertilizers that are high in nitrogen include: sodium nitrate, feather meal, blood meal, hoof & horn meal, hair, fish meal, crab meal, animal tankage, bat guano, soybean meal, cottonseed meal, fish emulsion, manure, & compost. Some of these fertilizers also contain phosphorus and potassium.

What are the benefits of adding nitrogen to soil? ›

Nitrogen is so vital because it is a major component of chlorophyll, the compound by which plants use sunlight energy to produce sugars from water and carbon dioxide (i.e., photosynthesis). It's also important because nitrogen is a: Major component of amino acids, the building blocks of proteins.

How does nitrogen affect soil quality? ›

Generally, N has a positive effect on soil quality of agricultural soils, because it enhances soil fertility and conditions for crop growth. However, it generally has a negative effect on soil quality of natural soils, because it results in changes in plant diversity.

What are the benefits of nitrogen? ›

Nitrogen is an essential nutrient for the production of amino acids, proteins, nucleic acids, etc., and stone fruit trees require an adequate annual supply for proper growth and productivity. Nitrogen is primarily absorbed through fine roots as either ammonium or nitrate.

What effect does excess nitrogen have on soil fertility? ›

Excess nitrogen can damage delicate plant species, unbalancing the ecosystem. Most plants cannot tolerate synthetic fertilisers or high levels of nitrogen. Nitrogen pollution causes nitrogen-tolerant species to thrive and outcompete more sensitive wild plants and fungi.

Top Articles
Latest Posts
Article information

Author: Lakeisha Bayer VM

Last Updated:

Views: 5825

Rating: 4.9 / 5 (49 voted)

Reviews: 88% of readers found this page helpful

Author information

Name: Lakeisha Bayer VM

Birthday: 1997-10-17

Address: Suite 835 34136 Adrian Mountains, Floydton, UT 81036

Phone: +3571527672278

Job: Manufacturing Agent

Hobby: Skimboarding, Photography, Roller skating, Knife making, Paintball, Embroidery, Gunsmithing

Introduction: My name is Lakeisha Bayer VM, I am a brainy, kind, enchanting, healthy, lovely, clean, witty person who loves writing and wants to share my knowledge and understanding with you.