An intelligent agricultural supply chain supervision method

By introducing robust entropy and lens imaging reverse learning methods into agricultural supply chain supervision methods, the problems of noisy data processing and parameter optimization are solved, the stability and search capabilities of the model are improved, and an efficient and accurate agricultural supply chain is achieved. supervision.

CN118608106BActive Publication Date: 2024-10-22QINGDAO JIUTIAN SMART IOT TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411085063.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-08
Publication Date
2024-10-22
Estimated Expiration
2044-08-08

AI Technical Summary

Technical Problem

Existing agricultural supply chain supervision methods have problems such as poor stability, over-fitting risk, weak global search capabilities, and insufficient learning ability when processing noisy data and optimizing model parameters, resulting in the inability of the model to quickly achieve accurate optimization.

Method used

Introduce robust entropy and lens imaging reverse learning methods based on two Laplacian functions, define robust loss functions and optimized loss functions, optimize individual positions through lens imaging reverse learning and circular chaos diagram initialization, and design adaptive non-linear Linearly decreasing weight factors and moving strategies transform the loss function into a convex optimization problem to enhance the model's generalization and search capabilities.

Benefits of technology

It improves the generalization ability and stability of the model, enhances the global search ability, improves the supervision ability and prediction accuracy of agricultural supply chain supervision, and ensures the efficient and accurate optimization of the model.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118608106B_ABST
    Figure CN118608106B_ABST
Patent Text Reader

Abstract

The present invention discloses an intelligent agricultural supply chain supervision method, which includes data collection, data preprocessing, establishing an agricultural supply chain supervision model, model parameter optimization and agricultural supply chain supervision. The present invention belongs to the field of data processing technology, and specifically refers to an intelligent agricultural supply chain supervision method. This scheme introduces a convex combination based on two Laplace functions to define a robust entropy, and then defines a robust loss function; the loss function guided by mixed entropy is converted into a convex optimization problem, and a parameter update mechanism is formulated to handle constrained optimization problems, thereby increasing the reliability of model optimization; the lens imaging reverse learning method and the optimized circular chaos map are used to initialize and optimize individual positions; by designing an adaptive nonlinear decreasing weight factor, the search capability is dynamically adjusted and the search range is controlled; the parameters of the agricultural supply chain supervision model are efficiently and accurately optimized to improve the supervision capability and prediction accuracy of the supply chain.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data processing, and in particular to an intelligent agricultural supply chain supervision method. Background Art

[0002] The core purpose of agricultural supply chain supervision methods is to ensure that the entire process from production to sales of agricultural products can be carried out smoothly and efficiently, to help manage and optimize the agricultural supply chain, and to ensure food safety, quality and supply stability. However, general agricultural supply chain supervision methods have the problem that the model has poor ability to process noise data and is insensitive to samples that deviate from the central trend, resulting in poor model stability and serious risk of model overfitting; general agricultural supply chain supervision methods have the problem that the population initialization diversity and distribution uniformity are insufficient when optimizing model parameters, resulting in weak global search capabilities, slow search convergence speed and weak learning, which makes it impossible to quickly achieve accurate optimization. Summary of the invention

[0003] In view of the above situation, in order to overcome the defects of the prior art, the present invention provides an intelligent agricultural supply chain supervision method. In view of the problems that the general agricultural supply chain supervision method has poor model processing noise data capability, is insensitive to samples that deviate from the central trend, resulting in poor model stability and serious model overfitting risk, this scheme introduces a convex combination based on two Laplace functions to define a robust entropy, and then defines a robust loss function, which can flexibly handle deviations, so that the model pays more attention to reducing the overall error and enhances the generalization ability of the model; by defining the upper and lower bounds of the robust entropy, a theoretical guarantee for the stability and convergence of the model is provided, and the introduction of Gaussian noise and the definition of boundary conditions help to analyze the stability performance of the model under different noise levels; the loss function guided by mixed entropy is converted into a convex optimization problem, and a parameter update mechanism is formulated to handle constrained optimization problems, thereby increasing the reliability of model optimization; in view of the general The agricultural supply chain supervision method has the problem of insufficient population initialization diversity and distribution uniformity when optimizing model parameters, resulting in weak global search ability, slow search convergence speed and weak learning ability, which makes it impossible to quickly achieve accurate optimization. This scheme uses the lens imaging reverse learning method and the optimized circular chaos map to initialize and optimize the individual position, so that the individual initial position is closer to the potential global optimal solution; by designing an adaptive nonlinear decreasing weight factor, the search ability is dynamically adjusted and the search range is controlled. In the early stage, more emphasis is placed on exploration, and in the later stage, more emphasis is placed on development, and the search is conducted in the local space in a more detailed manner; for individuals whose fitness values ​​are lower than the average fitness value of the population, mobile strategy one is applied to improve the fitness of inferior individuals, and mobile strategy two is applied to individuals whose fitness values ​​are not lower than the average fitness value, giving full play to the exploration ability of high-quality individuals; efficiently and accurately optimize the parameters of the agricultural supply chain supervision model to improve the supervision ability and prediction accuracy of the supply chain.

[0004] The technical solution adopted by the present invention is as follows: The present invention provides an intelligent agricultural supply chain supervision method, which includes the following steps:

[0005] Step S1: data collection;

[0006] Step S2: data preprocessing;

[0007] Step S3: Establishing an agricultural supply chain supervision model;

[0008] Step S4: model parameter optimization;

[0009] Step S5: Agricultural supply chain monitoring.

[0010] Furthermore, in step S1, the data collection is to collect historical agricultural supply chain supervision data; the historical agricultural supply chain supervision data includes agricultural product production data, logistics and transportation data, environmental data, supply chain management data and satisfaction feedback level; the satisfaction feedback level is used as a data label.

[0011] Furthermore, in step S2, the data preprocessing is to clean the collected historical agricultural supply chain supervision data, convert the data and divide the data set; the data cleaning is to process missing values, duplicate values ​​and outliers in the historical agricultural supply chain supervision data; the data conversion is to convert the cleaned data into a vector form and standardize it based on the maximum and minimum normalization method; the data set division is to randomly divide the historical agricultural supply chain supervision data after data conversion into a training set and a test set.

[0012] Further, in step S3, the agricultural supply chain supervision model is established by constructing a neural network and optimizing the training set and test set obtained by preprocessing the historical agricultural supply chain supervision data, wherein the training set is used to train the agricultural supply chain supervision model and the test set is used to evaluate the performance of the agricultural supply chain supervision model; specifically, the following steps are included:

[0013] Step S31: define robust entropy; based on the convex combination of two Laplace functions as the kernel, induce a robust entropy, expressed as:

[0014] ;

[0015] Where U(·) is the robust entropy; E[·] is the expectation; n is the number of samples, i is the sample index; P is the probability distribution of the actually observed agricultural supply chain data; Q is the probability distribution of the agricultural supply chain data predicted by the model; is the deviation between the actual observed data and the model predicted data; is the balance weight parameter; and is the shape parameter;

[0016] Step S32: define a robust loss function; based on the robust entropy, a robust loss function is derived, which is expressed as:

[0017] ;

[0018] In the formula, is the robust loss function;

[0019] Step S33: define the upper bound; set ; is Gaussian noise, satisfying ; The upper bound of the robust entropy is expressed as:

[0020] ;

[0021] Step S34: define a lower bound; the lower bound of the robust entropy is expressed as:

[0022] ;

[0023] Step S35: Optimizing the loss function; specifically including:

[0024] Step S351: Minimize the loss function. The robust loss function is introduced into the agricultural supply chain supervision model and minimized, which is expressed as:

[0025] ;

[0026] ;

[0027] Where M is the feature matrix used for supply chain data transformation; b is the bias term of the model; is the slack variable; is the square of the Frobenius norm; C is the regularization parameter; is the slack variable of sample (i,j); is the label of sample (i, j);

[0028] Step S352: By mixing the entropy-guided loss convex conjugate function, the problem is transformed into:

[0029] ;

[0030] ;

[0031] ;

[0032] Where g(·) is a convex conjugate function and v is a built-in parameter; and is an auxiliary variable used to transform the problem into a convex optimization problem;

[0033] Step S36: Update, specifically including:

[0034] Step S361: Fixing and , optimize M,b, ; expressed as:

[0035] ;

[0036] ;

[0037] ;

[0038] In the formula, is the auxiliary Lagrange multiplier; G is the gradient term; is the input feature matrix;

[0039] Step S362: Fix M, b, ,optimization and ; expressed as:

[0040] ;

[0041] ;

[0042] Step S37: model determination; based on the BP neural network architecture, with the assistance of steps S31 to S36 for optimization, when the model converges on the training set, the agricultural supply chain supervision model training is completed; an accuracy threshold is set in advance, when the prediction accuracy of the trained agricultural supply chain supervision model for the test set is higher than the accuracy threshold, the agricultural supply chain supervision model is established; otherwise, the agricultural supply chain supervision model parameters are adjusted and retrained.

[0043] Furthermore, in step S4, the model parameter optimization is to adjust the parameters of the agricultural supply chain supervision model; specifically, the following steps are included:

[0044] Step S41: initialization; construct parameter optimization space based on shape parameters, balance weight parameters, regularization parameters, neural network architecture parameters and slack variables; introduce lens imaging reverse learning, and initialize and optimize individual positions based on optimized circular chaos diagrams; use the prediction accuracy of the agricultural supply chain supervision model trained based on individual positions for the test set as the individual fitness value; the formula used to initialize and optimize individual positions is as follows:

[0045] ;

[0046] ;

[0047] In the formula, and are the preparatory positions of the Jth dimension of the I+1th optimized individual and the Ith optimized individual respectively; mod(·,·) is the modulo operation; It is the initialization position of the optimized individual J-th dimension; and are the upper and lower bound positions of the Jth dimension of the population, respectively; q is a hyperparameter used to fine-tune the individual position;

[0048] Step S42: Design a weight factor; introduce an adaptive nonlinear decreasing weight factor, which is expressed as follows:

[0049] ;

[0050] In the formula, is the weight factor at the tth iteration; tmax is the maximum number of iterations;

[0051] Step S43: Design a mobile strategy 1; for individuals whose fitness value is lower than the average fitness value of the population, use mobile strategy 1 to update their positions; mobile strategy 1 is expressed as follows:

[0052] ;

[0053] In the formula, and are the positions of the I-th individual at the t+1-th iteration and the t-th iteration of the J-th dimension respectively; is the average position of the population in the Jth dimension; r is a random number between 0 and 1; is the position of the Jth dimension of the optimal individual in the population; is the attenuation factor;

[0054] Step S44: Design a second movement strategy; for individuals whose fitness value is not lower than the average fitness value of the population, use the second movement strategy to update the position; the second movement strategy is expressed as follows:

[0055] ;

[0056] In the formula, Q I is the individual fitness value; is the position of the worst individual in the population in the Jth dimension; is a random number between 0 and 1, independent of r; M is the adjustment factor; is the individual's historical optimal position in the Jth dimension;

[0057] Step S45: search judgment; a fitness threshold is set in advance. If there is an individual fitness value higher than the fitness threshold, an agricultural supply chain supervision model is established based on the individual position; if the maximum number of iterations is reached, the optimized individual position in the population is reinitialized; otherwise, the fitness value is updated to continue the mobile search.

[0058] Furthermore, in step S5, the agricultural supply chain supervision is based on the established agricultural supply chain supervision model, and real-time agricultural product production data, logistics and transportation data, environmental data and supply chain management data are collected; after pre-processing, the data is input into the agricultural supply chain supervision model, and a level threshold is set in advance. When the satisfaction feedback level output by the model is lower than the level threshold, the supply chain is judged to be abnormal, and early warning processing is performed.

[0059] The beneficial effects achieved by the present invention using the above scheme are as follows:

[0060] (1) In view of the problems that general agricultural supply chain supervision methods have poor model processing ability for noisy data and are insensitive to samples that deviate from the central trend, resulting in poor model stability and serious risk of model overfitting, this scheme introduces a convex combination of two Laplace functions to define the robust entropy, and then defines the robust loss function, which can flexibly handle the deviation, so that the model pays more attention to the reduction of overall error and enhances the generalization ability of the model; by defining the upper and lower bounds of the robust entropy, a theoretical guarantee for the stability and convergence of the model is provided. The introduction of Gaussian noise and the definition of boundary conditions help to analyze the stability performance of the model under different noise levels; the loss function guided by the mixed entropy is transformed into a convex optimization problem, and a parameter update mechanism is formulated to deal with the constrained optimization problem, thereby increasing the reliability of model optimization.

[0061] (2) In view of the problem that the general agricultural supply chain supervision method has insufficient population initialization diversity and distribution uniformity when optimizing model parameters, resulting in weak global search ability, slow search convergence speed and weak learning ability, which makes it impossible to quickly achieve accurate optimization, this scheme uses the lens imaging reverse learning method and the optimized circular chaos map to initialize and optimize the individual position, so that the individual initial position is closer to the potential global optimal solution; by designing an adaptive nonlinear decreasing weight factor, the search ability is dynamically adjusted and the search range is controlled. In the early stage, more emphasis is placed on exploration, and in the later stage, more emphasis is placed on development, and the search is conducted in the local space in a more detailed manner; for individuals whose fitness values ​​are lower than the average fitness value of the population, the first movement strategy is applied to improve the fitness of inferior individuals, and for individuals whose fitness values ​​are not lower than the average fitness value, the second movement strategy is applied to give full play to the exploration ability of high-quality individuals; the parameters of the agricultural supply chain supervision model are optimized efficiently and accurately, and the supervision ability and prediction accuracy of the supply chain are improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0062] Figure 1A schematic diagram of a flow chart of an intelligent agricultural supply chain supervision method provided by the present invention;

[0063] Figure 2 is a schematic flow chart of step S3;

[0064] Figure 3 It is a schematic diagram of the process of step S4.

[0065] The accompanying drawings are used to provide further understanding of the present invention and constitute a part of the specification. They are used to explain the present invention together with the embodiments of the present invention and do not constitute a limitation of the present invention. DETAILED DESCRIPTION

[0066] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments; based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0067] In the description of the present invention, it should be understood that terms such as “upper”, “lower”, “front”, “back”, “left”, “right”, “top”, “bottom”, “inside” and “outside” indicating directions or positional relationships are based on the directions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific direction, be constructed and operated in a specific direction, and therefore should not be understood as limiting the present invention.

[0068] Example 1, see Figure 1 The present invention provides an intelligent agricultural supply chain supervision method, which comprises the following steps:

[0069] Step S1: Data collection, collecting historical agricultural supply chain supervision data;

[0070] Step S2: Data preprocessing, data cleaning, data conversion and data set division of the collected historical agricultural supply chain supervision data;

[0071] Step S3: Establish an agricultural supply chain supervision model, introduce a convex combination based on two Laplace functions to define the robust entropy, and then define the robust loss function; by defining the upper and lower bounds of the robust entropy, introducing Gaussian noise and defining boundary conditions, the loss function guided by the mixed entropy is transformed into a convex optimization problem, and a parameter update mechanism is formulated; thereby realizing the establishment of the agricultural supply chain supervision model;

[0072] Step S4: Model parameter optimization, using the lens imaging reverse learning method and the optimized circular chaos map to initialize and optimize individual positions; by designing an adaptive nonlinear decreasing weight factor, applying movement strategy 1 to individuals whose fitness values ​​are lower than the average fitness value of the population to improve the fitness of inferior individuals, and applying movement strategy 2 to individuals whose fitness values ​​are not lower than the average fitness value; finally, the parameter optimization of the agricultural supply chain supervision model is achieved;

[0073] Step S5: Agricultural supply chain monitoring.

[0074] Example 2, see Figure 1 This embodiment is based on the above embodiment. In step S1, the historical agricultural supply chain supervision data includes agricultural product production data, logistics and transportation data, environmental data, supply chain management data and satisfaction feedback level; the satisfaction feedback level is used as a data label.

[0075] Example 3, see Figure 1 This embodiment is based on the above embodiment. In step S2, data cleaning is to process missing values, duplicate values ​​and outliers in historical agricultural supply chain supervision data; data conversion is to convert the cleaned data into vector form and standardize it based on the maximum and minimum normalization method; data set division is to randomly divide the historical agricultural supply chain supervision data after data conversion into training set and test set.

[0076] Example 4, see Figure 1 and Figure 2 This embodiment is based on the above embodiment. In step S3, the agricultural supply chain supervision model is established by constructing a neural network and optimizing the training set and test set obtained by preprocessing the historical agricultural supply chain supervision data. The training set is used to train the agricultural supply chain supervision model, and the test set is used to evaluate the performance of the agricultural supply chain supervision model. Specifically, the following steps are included:

[0077] Step S31: define robust entropy; based on the convex combination of two Laplace functions as the kernel, induce a robust entropy, expressed as:

[0078] ;

[0079] Where U(·) is the robust entropy; E[·] is the expectation; n is the number of samples, i is the sample index; P is the probability distribution of the actually observed agricultural supply chain data; Q is the probability distribution of the agricultural supply chain data predicted by the model; is the deviation between the actual observed data and the model predicted data; is the balance weight parameter; and is the shape parameter;

[0080] Step S32: define a robust loss function; based on the robust entropy, a robust loss function is derived, which is expressed as:

[0081] ;

[0082] In the formula, is the robust loss function;

[0083] Step S33: define the upper bound; set ; is Gaussian noise, satisfying ; The upper bound of the robust entropy is expressed as:

[0084] ;

[0085] Step S34: define a lower bound; the lower bound of the robust entropy is expressed as:

[0086] ;

[0087] Step S35: Optimizing the loss function; specifically including:

[0088] Step S351: Minimize the loss function. The robust loss function is introduced into the agricultural supply chain supervision model and minimized, which is expressed as:

[0089] ;

[0090] ;

[0091] Where M is the feature matrix used for supply chain data transformation; b is the bias term of the model; is the slack variable; is the square of the Frobenius norm; C is the regularization parameter; is the slack variable of sample (i,j); is the label of sample (i, j);

[0092] Step S352: By mixing the entropy guided loss convex conjugate function, the problem is transformed into:

[0093] ;

[0094] ;

[0095] ;

[0096] Where g(·) is a convex conjugate function and v is a built-in parameter; and is an auxiliary variable used to transform the problem into a convex optimization problem;

[0097] Step S36: Update, specifically including:

[0098] Step S361: Fixing and , optimize M,b, ; expressed as:

[0099] ;

[0100] ;

[0101] ;

[0102] In the formula, is the auxiliary Lagrange multiplier; G is the gradient term; is the input feature matrix;

[0103] Step S362: Fix M, b, ,optimization and ; expressed as:

[0104] ;

[0105] ;

[0106] Step S37: model determination; based on the BP neural network architecture, with the assistance of steps S31 to S36 for optimization, when the model converges on the training set, the agricultural supply chain supervision model training is completed; an accuracy threshold is set in advance, when the prediction accuracy of the trained agricultural supply chain supervision model for the test set is higher than the accuracy threshold, the agricultural supply chain supervision model is established; otherwise, the agricultural supply chain supervision model parameters are adjusted and retrained.

[0107] By performing the above operations, in view of the problems that general agricultural supply chain supervision methods have poor model processing noise data capabilities and are insensitive to samples that deviate from the central trend, resulting in poor model stability and serious risk of model overfitting, this scheme introduces a convex combination based on two Laplace functions to define robust entropy, and then defines a robust loss function, which can flexibly handle deviations, so that the model pays more attention to reducing overall errors and enhances the generalization ability of the model; by defining the upper and lower bounds of the robust entropy, a theoretical guarantee for the stability and convergence of the model is provided, and the introduction of Gaussian noise and the definition of boundary conditions help to analyze the stability performance of the model under different noise levels; the loss function guided by mixed entropy is transformed into a convex optimization problem, and a parameter update mechanism is formulated to deal with constrained optimization problems, thereby increasing the reliability of model optimization.

[0108] Example 5, see Figure 1 and Figure 3This embodiment is based on the above embodiment. In step S4, the model parameter optimization is to adjust the parameters of the agricultural supply chain supervision model; specifically, the following steps are included:

[0109] Step S41: initialization; construct parameter optimization space based on shape parameters, balance weight parameters, regularization parameters, neural network architecture parameters and slack variables; introduce lens imaging reverse learning, and initialize and optimize individual positions based on optimized circular chaos diagrams; use the prediction accuracy of the agricultural supply chain supervision model trained based on individual positions for the test set as the individual fitness value; the formula used to initialize and optimize individual positions is as follows:

[0110] ;

[0111] ;

[0112] In the formula, and are the preparatory positions of the Jth dimension of the I+1th optimized individual and the Ith optimized individual respectively; mod(·,·) is the modulo operation; It is the initialization position of the optimized individual J-th dimension; and are the upper and lower bound positions of the Jth dimension of the population, respectively; q is a hyperparameter used to fine-tune the individual position;

[0113] Step S42: Design a weight factor; introduce an adaptive nonlinear decreasing weight factor, which is expressed as follows:

[0114] ;

[0115] In the formula, is the weight factor at the tth iteration; tmax is the maximum number of iterations;

[0116] Step S43: Design a mobile strategy 1; for individuals whose fitness value is lower than the average fitness value of the population, use mobile strategy 1 to update their positions; mobile strategy 1 is expressed as follows:

[0117] ;

[0118] In the formula, and are the positions of the I-th individual at the t+1-th iteration and the t-th iteration of the J-th dimension respectively; is the average position of the population in the Jth dimension; r is a random number between 0 and 1; is the position of the Jth dimension of the optimal individual in the population; is the attenuation factor;

[0119] Step S44: Design a second movement strategy; for individuals whose fitness value is not lower than the average fitness value of the population, use the second movement strategy to update the position; the second movement strategy is expressed as follows:

[0120] ;

[0121] In the formula, Q I is the individual fitness value; is the position of the worst individual in the population in the Jth dimension; is a random number between 0 and 1, independent of r; M is the adjustment factor; is the individual's historical optimal position in the Jth dimension;

[0122] Step S45: search judgment; a fitness threshold is set in advance. If there is an individual fitness value higher than the fitness threshold, an agricultural supply chain supervision model is established based on the individual position; if the maximum number of iterations is reached, the optimized individual position in the population is reinitialized; otherwise, the fitness value is updated to continue the mobile search.

[0123] By performing the above operations, in view of the problem that the general agricultural supply chain supervision method has insufficient population initialization diversity and distribution uniformity when optimizing model parameters, resulting in weak global search ability, slow search convergence speed and weak learning ability, which makes it impossible to quickly achieve accurate optimization, this scheme uses the lens imaging reverse learning method and the optimized circular chaos map to initialize and optimize the individual position, so that the individual initial position is closer to the potential global optimal solution; by designing an adaptive nonlinear decreasing weight factor, the search ability is dynamically adjusted, and the search range is controlled, with more emphasis on exploration in the early stage and development in the later stage, and a more detailed search in the local space; for individuals with fitness values ​​lower than the average fitness value of the population, mobile strategy one is applied to improve the fitness of inferior individuals, and mobile strategy two is applied to individuals with fitness values ​​not lower than the average fitness value, giving full play to the exploration ability of high-quality individuals; efficiently and accurately optimize the parameters of the agricultural supply chain supervision model to improve the supervision ability and prediction accuracy of the supply chain.

[0124] Example 6, see Figure 1 This embodiment is based on the above embodiment. In step S5, agricultural supply chain supervision is based on the established agricultural supply chain supervision model, and real-time collection of agricultural product production data, logistics and transportation data, environmental data and supply chain management data; after pre-processing, it is input into the agricultural supply chain supervision model, and a level threshold is set in advance. When the satisfaction feedback level output by the model is lower than the level threshold, the supply chain is judged to be abnormal, and early warning processing is performed.

[0125] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.

[0126] While the embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that many changes, modifications, substitutions and variations can be made to the embodiments without departing from the principles and spirit of the invention.

[0127] The present invention and its embodiments are described above, and such description is not restrictive. The drawings show only one embodiment of the present invention, and the actual structure is not limited thereto. In short, if ordinary technicians in the field are inspired by it, without departing from the purpose of the invention, they can design a structure and embodiment similar to the technical solution without creativity, which should belong to the protection scope of the present invention.

Claims

1. An intelligent agricultural supply chain supervision method, characterized by: The method comprises the following steps: Step S1: data collection; Step S2: data preprocessing; Step S3: Establish an agricultural supply chain supervision model, introduce a convex combination of two Laplace functions to define robust entropy, and then define a robust loss function; by defining the upper and lower bounds of the robust entropy, introducing Gaussian noise, and defining boundary conditions, the loss function guided by mixed entropy is transformed into a convex optimization problem, and a parameter update mechanism is formulated; thereby, the agricultural supply chain supervision model is established; Step S4: Model parameter optimization, using the lens imaging reverse learning method and the optimized circular chaos map to initialize and optimize individual positions; by designing an adaptive nonlinear decreasing weight factor, applying movement strategy 1 to individuals with fitness values ​​lower than the population average fitness value to improve the fitness of inferior individuals, and applying movement strategy 2 to individuals with fitness values ​​not lower than the average fitness value; ultimately achieving parameter optimization of the agricultural supply chain supervision model; Step S5: Agricultural supply chain supervision; Step S3 includes step S31: defining robust entropy; inducing a robust entropy based on a convex combination of two Laplace functions as a kernel, expressed as: ; Where U(·) is the robust entropy; E[·] is the expectation; n is the number of samples, i is the sample index; P is the probability distribution of the actually observed agricultural supply chain data; Q is the probability distribution of the agricultural supply chain data predicted by the model; is the deviation between the actual observed data and the model predicted data; is the balance weight parameter; and is the shape parameter; In step S3, the agricultural supply chain supervision model is established by constructing a neural network and optimizing the training set and test set obtained by preprocessing historical agricultural supply chain supervision data. The training set is used to train the agricultural supply chain supervision model, and the test set is used to evaluate the performance of the agricultural supply chain supervision model. The steps specifically include: Step S31: defining robust entropy; Step S32: Define a robust loss function; based on the robust entropy, derive a robust loss function, which is expressed as: ; Where, is the robust loss function; Step S33: define the upper bound; set ; is Gaussian noise, satisfying ; The upper bound of robust entropy is expressed as: ; Step S34: define a lower bound; the lower bound of the robust entropy is expressed as: ; Step S35: Optimizing the loss function; specifically including: Step S351: Minimize the loss function. The robust loss function is introduced into the agricultural supply chain supervision model and minimized, which is expressed as: ; ; Where M is the feature matrix used for the transformation of supply chain data; b is the bias term of the model; is a slack variable; is the square of the Frobenius norm; C is the regularization parameter; is the slack variable of sample (i,j); is the label of sample (i, j); Step S352: By mixing the entropy-guided loss convex conjugate function, the problem is transformed into: ; ; ; Where g(·) is a convex conjugate function and v is a built-in parameter; and are auxiliary variables used to transform the problem into a convex optimization problem; Step S36: Update, specifically including: Step S361: Fix and , optimize M,b, ; expressed as: ; ; ; Where, is the auxiliary Lagrange multiplier; G is the gradient term; is the input feature matrix; Step S362: Fix M, b, ,optimization and ; expressed as: ; ; Step S37: Model determination; based on the BP neural network architecture, with the assistance of steps S31 to S36 for optimization, when the model converges on the training set, the agricultural supply chain supervision model training is completed; a pre-set accuracy threshold is set, and when the prediction accuracy of the trained agricultural supply chain supervision model on the test set is higher than the accuracy threshold, the agricultural supply chain supervision model is established; otherwise, the agricultural supply chain supervision model parameters are adjusted and retrained; In step S4, the model parameter optimization is to adjust the parameters of the agricultural supply chain supervision model; specifically, the following steps are included: Step S41: Initialization; constructing a parameter optimization space based on shape parameters, balance weight parameters, regularization parameters, neural network architecture parameters, and slack variables; introducing lens imaging reverse learning, and initializing and optimizing individual positions based on the optimized circular chaos map; using the prediction accuracy of the agricultural supply chain supervision model trained based on individual positions on the test set as the individual fitness value; the formula used to initialize and optimize individual positions is as follows: ; ; Where, and are the preparatory positions of the Jth dimension of the I+1th optimized individual and the Ith optimized individual respectively; mod(·,·) is the modulo operation; It is the initialization position of the optimized individual J-th dimension; and are the upper and lower bound positions of the J-th dimension of the population, respectively; q is a hyperparameter used to fine-tune individual positions; Step S42: Design a weight factor; introduce an adaptive nonlinear decreasing weight factor, which is expressed as follows: ; Where, is the weight factor at the tth iteration; tmax is the maximum number of iterations; Step S43: Design a movement strategy 1; for individuals whose fitness value is lower than the population average fitness value, adopt the movement strategy 1 to update the position; the movement strategy 1 is expressed as follows: ; Where, and are the positions of the I-th individual at the t+1-th iteration and the t-th iteration of the J-th dimension respectively; is the average position of the population in the Jth dimension; r is a random number between 0 and 1; is the position of the Jth dimension of the optimal individual in the population; is the attenuation factor; Step S44: Design a second movement strategy; for individuals whose fitness value is not lower than the average fitness value of the population, adopt the second movement strategy to update their position; the second movement strategy is expressed as follows: ; Where Q I is the individual fitness value; is the position of the worst individual in the population on the Jth dimension; is a random number between 0 and 1, independent of r; M is the adjustment factor; is the individual's historical optimal position in the Jth dimension; Step S45: Search judgment; a fitness threshold is set in advance. If there is an individual whose fitness value is higher than the fitness threshold, an agricultural supply chain supervision model is established based on the individual position; if the maximum number of iterations is reached, the optimized individual position in the population is reinitialized; otherwise, the fitness value is updated and the mobile search continues.

2. The intelligent agricultural supply chain supervision method according to claim 1, characterized in that: In step S1, the data collection is to collect historical agricultural supply chain supervision data; the historical agricultural supply chain supervision data includes agricultural product production data, logistics and transportation data, environmental data, supply chain management data and satisfaction feedback level; the satisfaction feedback level is used as a data label.

3. The intelligent agricultural supply chain supervision method according to claim 1, characterized in that: In step S5, the agricultural supply chain supervision is based on the established agricultural supply chain supervision model, and collects agricultural product production data, logistics and transportation data, environmental data and supply chain management data in real time; After preprocessing, it is input into the agricultural supply chain supervision model, and a level threshold is set in advance. When the satisfaction feedback level output by the model is lower than the level threshold, the supply chain is judged to be abnormal and early warning processing is carried out.

4. The intelligent agricultural supply chain supervision method according to claim 1, characterized in that: In step S2, the data preprocessing is to perform data cleaning, data conversion and data set division on the collected historical agricultural supply chain supervision data; the data cleaning is to process missing values, duplicate values ​​and outliers on the historical agricultural supply chain supervision data; The data conversion is to convert the cleaned data into a vector form and perform normalization based on the maximum and minimum normalization method; The data set division is to randomly divide the historical agricultural supply chain supervision data after data conversion into a training set and a test set.