Crop growth prediction method and system based on artificial intelligence and crop growth model

By constructing a farmland three-dimensional perception network and knowledge graph, combined with multi-modal autoencoding and generative adversarial networks, the crop growth prediction model is optimized, solving the problems of complex farmland ecological process modeling and insufficient model interpretability in the existing technology, and achieving It provides efficient and explainable crop growth prediction and improves the intelligence level of agricultural production.

CN118709789BActive Publication Date: 2024-10-29KEXIN (TIANJIN) ECOLOGICAL AGRI TECH CO LTD

Patent Information

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

AI Technical Summary

Technical Problem

Existing crop growth prediction methods have limited capabilities in modeling complex farmland ecological processes, ignore the interaction between different elements, fail to effectively utilize agronomic expert knowledge, and the model is not interpretable, and the prediction results lack agronomic significance.

Method used

Construct a farmland three-dimensional sensing network, collect multi-source heterogeneous data and preprocess and fuse it through adaptive filtering and multi-modal autoencoding networks to generate comprehensive feature representations; build a crop growth domain ontology and knowledge graph based on evolutionary computing optimization methods, and combine Generative adversarial networks and knowledge distillation networks are used to build crop growth prediction models, optimize the model structure and generate causal exploration path diagrams.

Benefits of technology

Comprehensively perceive the crop growth environment, integrate multi-source heterogeneous data, mine growth process knowledge, simulate the growth process, optimize the growth prediction model, provide explainable and visual decision support, significantly improve the intelligent level of agricultural production, and promote the sustainability of agriculture. Continuous development.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118709789B_ABST
    Figure CN118709789B_ABST
Patent Text Reader

Abstract

The present invention provides a crop growth prediction method and system based on artificial intelligence and a crop growth model, which relates to the field of artificial intelligence technology, including: constructing a three-dimensional farmland perception network and collecting multi-source heterogeneous data, performing preprocessing, semantic alignment, fusion, generating initial feature representation, performing dimensionality reduction embedding, and obtaining a comprehensive feature representation; constructing key concepts, relationships, and attributes of a crop growth domain ontology, acquiring crop growth process knowledge and constructing a crop growth knowledge graph, embedding the crop growth process knowledge into the crop growth knowledge graph, constructing a crop growth simulator, and for each crop, identifying key environmental factors and updating the crop growth knowledge graph; constructing a crop growth prediction model, extracting latent variable representation, performing structural optimization, adding the comprehensive feature representation to the crop growth prediction model, obtaining a yield prediction probability distribution, and generating a causal exploration path diagram.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of artificial intelligence technology, and in particular to a crop growth prediction method and system based on artificial intelligence and a crop growth model. Background Art

[0002] Crop growth prediction is an important part of modern agricultural production management. It is of great significance to the scientific planning of agricultural activities, optimal resource allocation and yield evaluation. Traditional crop growth prediction mainly relies on mechanism models, which estimate yield components by describing the physiological and biochemical mechanisms such as photosynthesis and transpiration during crop growth and development, and then predict crop yield. However, mechanism models often have many assumptions and parameters are difficult to obtain accurately, resulting in insufficient model generalization performance.

[0003] In recent years, with the development of agricultural Internet of Things and artificial intelligence technology, new ideas and methods have been provided for crop growth prediction. Farmland sensor data under the Internet of Things environment has become increasingly abundant, laying a data foundation for establishing data-driven crop growth prediction models. In addition, artificial intelligence technology, especially deep learning, has shown superiority in spatiotemporal modeling and feature representation learning, bringing new opportunities for modeling complex farmland ecological processes.

[0004] However, the existing methods still have some shortcomings. First, the modeling ability of complex farmland ecological processes is limited, ignoring the interaction between different factors. Second, the integration of domain knowledge is insufficient, and the knowledge of agricultural experts cannot be effectively used to guide data-driven modeling. Third, the interpretability of the model is not strong, and the prediction results lack an explanation of agricultural significance.

[0005] Therefore, a solution is urgently needed to solve the deficiencies in the prior art. Summary of the invention

[0006] The embodiments of the present invention provide a crop growth prediction method and system based on artificial intelligence and a crop growth model, which can at least solve some of the problems existing in the prior art.

[0007] A first aspect of an embodiment of the present invention provides a crop growth prediction method based on artificial intelligence and a crop growth model, comprising:

[0008] Construct a three-dimensional farmland perception network and collect multi-source heterogeneous data including meteorological data, soil data and crop growth, pre-process the multi-source heterogeneous data through an adaptive filtering algorithm, perform semantic alignment through a multimodal autoencoder network, fuse the multi-source heterogeneous data in combination with a capsule network algorithm and a dynamic routing mechanism, generate an initial feature representation, perform dimension reduction embedding on the initial feature representation through a spectral sequence decomposition technique, and obtain a comprehensive feature representation;

[0009] Based on the comprehensive feature representation, the key concepts, relationships and attributes of the crop growth domain ontology are constructed according to the evolutionary computation optimization method, the crop growth process knowledge is acquired through active learning and human-machine hybrid intelligence methods and a crop growth knowledge graph is constructed, the crop growth process knowledge is embedded into the crop growth knowledge graph through an embedded label propagation algorithm, a crop growth simulator is constructed based on a generative adversarial network, for each crop, the contribution of environmental factors to growth is determined based on the Shapley value, key environmental factors are identified and the crop growth knowledge graph is dynamically updated;

[0010] A knowledge distillation network is constructed, the crop growth knowledge graph is integrated and a crop growth prediction model is constructed. Based on the mutual information maximization criterion and contrast representation learning, the latent variable representation in the multi-source heterogeneous data is extracted. Random pruning and reinforcement learning are performed based on the lucky ticket hypothesis. The structure of the crop growth prediction model is optimized, and the comprehensive feature representation is added to the crop growth prediction model to obtain the yield prediction probability distribution and generate a causal exploration path diagram corresponding to the current probability distribution.

[0011] In an optional embodiment,

[0012] Construct a three-dimensional farmland perception network and collect multi-source heterogeneous data including meteorological data, soil data and crop growth. Preprocess the multi-source heterogeneous data through an adaptive filtering algorithm, perform semantic alignment through a multimodal autoencoder network, fuse the multi-source heterogeneous data in combination with a capsule network algorithm and a dynamic routing mechanism, generate an initial feature representation, and embed the initial feature representation through dimensionality reduction using spectral sequence decomposition technology to obtain a comprehensive feature representation including:

[0013] A stereoscopic perception network is set up in the target farmland, wherein the stereoscopic perception network includes ground perception nodes, low-altitude remote sensing platforms and satellite remote sensing platforms, and multi-source heterogeneous data of the current target farmland is obtained through the stereoscopic perception network, wherein the multi-source heterogeneous data includes meteorological data, soil data and crop growth data in the current farmland, and the multi-source heterogeneous data is resampled in time and space dimensions through an interpolation algorithm, and a filtering threshold is determined according to the statistical characteristics of the multi-source heterogeneous data in combination with an adaptive filtering algorithm, and outliers are identified according to the filtering threshold to obtain standard heterogeneous data;

[0014] Based on the standard heterogeneous data, a corresponding stacked autoencoder is set for each data modality in combination with a multimodal autoencoder network, wherein the stacked autoencoder includes an input layer, a hidden layer, and an output layer, and the hierarchical semantic features in the current data modality are obtained through unsupervised reconstruction learning, and the hierarchical semantic features of each data modality are consistently represented in the public space through a data alignment loss function in combination with a pre-set common feature layer, so as to obtain aligned data;

[0015] Based on the aligned data, a primary capsule layer and an advanced capsule layer are respectively set, wherein the multidimensional time series features of each physical quantity in the aligned data are used as data, a primary capsule is obtained through a variational autoencoder, the primary capsule is input into the advanced capsule layer, and the primary capsule is weightedly aggregated through a dynamic routing mechanism to form an initial feature representation representing farmland elements;

[0016] A farmland element feature matrix is ​​generated based on the initial feature representation, and is reconstructed into a trajectory matrix according to a time window through a spectral sequence decomposition algorithm. The trajectory matrix is ​​decomposed based on singular values ​​to obtain an orthogonal eigenvector matrix and corresponding singular values. The dimensionality reduction is determined based on a pre-set reconstruction error threshold corresponding to each physical quantity to obtain a low-dimensional embedded representation of the current physical quantity. The low-dimensional embedded representation is spliced ​​to obtain the comprehensive feature representation.

[0017] In an optional embodiment,

[0018] The primary capsule is input into the advanced capsule layer, and the primary capsule is weighted aggregated through the dynamic routing mechanism as shown in the following formula:

[0019] ;

[0020] in, v j For the j high-level capsules, representing the initial feature representation, squash () represents the activation function in the capsule network, α ij represents the attention weight, b ij Indicates i The primary capsule and j The logarithmic prior of the coupling coefficients of the advanced capsules, s ij Indicates i The primary capsule and j The spatial similarity of the high-level capsules, u i Indicates i Primary capsules, b ik Indicates i The primary capsule and k The logarithmic prior of the coupling coefficients of the advanced capsules, s ik Indicates i The primary capsule and k The spatial similarity of the high-level capsules, I represents the total number of primary capsules, KIndicates the total number of advanced capsules.

[0021] In an optional embodiment,

[0022] Based on the comprehensive feature representation, the key concepts, relationships and attributes of the crop growth domain ontology are constructed according to the evolutionary computation optimization method, the crop growth process knowledge is acquired through active learning and human-machine hybrid intelligence methods and a crop growth knowledge graph is constructed, the crop growth process knowledge is embedded into the crop growth knowledge graph through an embedded label propagation algorithm, a crop growth simulator is constructed based on a generative adversarial network, for each crop, the contribution of environmental factors to growth is determined based on the Shapley value, key environmental factors are identified and the crop growth knowledge graph is dynamically updated, including:

[0023] Collect scientific literature in the field of crop growth, extract text features and perform preprocessing operations on the text features, extract low-dimensional dense representations through a pre-trained word vector model, cluster the text features in combination with a clustering algorithm and generate candidate concepts, set and solve multiple objective functions in combination with an evolutionary computing optimization method to obtain a core concept set containing all key concepts, and extract the relationships and attributes between the key concepts based on the core concept set through rule matching;

[0024] According to the text features, combined with the key concepts, the relationships between the key concepts and the attributes, entities are identified and linked to ontology concepts, candidate triples are generated, an initial crop growth knowledge graph is constructed based on the candidate triples, contributions of the candidate triples are evaluated through query strategies, and high-quality query samples are screened based on the contributions, the high-quality query samples are automatically labeled and embedded model incremental training is performed, and the initial crop growth knowledge graph is updated;

[0025] The initial crop growth knowledge graph is represented as a heterogeneous graph, attribute features of nodes are extracted from structured data and unstructured data, neighbor combination information of nodes is calculated in combination with the adjacency matrix of the heterogeneous graph, an embedded label propagation optimization model is constructed, node classification loss is optimized in combination with a gradient descent algorithm, the embedding representation is updated and the hyperparameters of the embedded label propagation optimization model are optimized, and crop growth process knowledge is embedded into the initial crop growth knowledge graph through the embedded label propagation optimization model;

[0026] A crop growth simulator is constructed based on a generative adversarial network. Random noise is used as input and a growth state sequence is generated in combination with knowledge embedding representation. For each crop, environmental factor nodes are extracted from the initial crop growth knowledge graph. The Shapley value corresponding to each environmental factor node is calculated in combination with Monte Carlo sampling. The environmental factor node with the maximum Shapley value is selected as the key environmental factor. The initial crop growth knowledge graph is repeatedly updated to obtain the crop growth knowledge graph.

[0027] In an optional embodiment,

[0028] Environmental factor nodes are extracted from the initial crop growth knowledge graph, and the Shapley value corresponding to each environmental factor node is calculated by combining Monte Carlo sampling as shown in the following formula:

[0029] ;

[0030] in, φg ( v ) represents a node g The Shapley value of g represents the specific node being evaluated, v represents the value function, S is a subset of nodes, Represents a combination of environmental factors and does not contain nodes g , N Represents the set of all environmental factor nodes, | S | represents a collection S The size of v ( S ∪{ g}) represents a node subset S Add Node g The value after v ( S ) represents a node subset S The value of | S |! represents the number of permutations of a node subset, | N |! indicates the number of permutations of all nodes, (| N |-| S |-1)! indicates the number of permutations of the remaining nodes in the total set after adding node g.

[0031] In an optional embodiment,

[0032] Constructing a knowledge distillation network, integrating the crop growth knowledge graph and constructing a crop growth prediction model, extracting latent variable representations in the multi-source heterogeneous data based on the mutual information maximization criterion and contrast representation learning, performing random pruning and reinforcement learning based on the lucky ticket hypothesis, optimizing the structure of the crop growth prediction model, adding the comprehensive feature representation to the crop growth prediction model, obtaining the yield prediction probability distribution and generating a causal exploration path diagram corresponding to the current probability distribution, including:

[0033] An end-to-end deep neural network is used as a student model, a neural network integrated with the crop growth knowledge graph is used as a teacher model, a hidden variable layer is added to the student model and the teacher model, the crop growth prediction model is constructed, and a consistent embedding representation of environmental factors and hidden variables in a semantic space is obtained through mutual information maximization and contrast representation learning, and the crop growth prediction model is optimized in combination with a knowledge distillation objective function;

[0034] For the crop growth prediction model, a pruning mask variable is defined based on the lucky ticket hypothesis, a mask vector is generated by sampling the Bernoulli distribution, the prediction loss of each sampled subnetwork is calculated and the performance of each pruning structure is evaluated based on the prediction loss, the parameters of the crop growth prediction model are used as the state, the retention operation or the pruning operation is used as the action, and the subnetwork performance improvement is used as the reward to construct a Markov decision process, the policy network is optimized in combination with the policy gradient algorithm, the optimal substructure is obtained, and the crop growth prediction model is optimized based on the optimal substructure;

[0035] The comprehensive feature representation is added to the crop growth prediction model after structural optimization, the original features of the environmental factors are spliced ​​with the consistent embedded representation through forward propagation, and mapped in combination with the dependent variable layer to obtain the yield prediction probability distribution, and based on the yield prediction probability distribution, a decision path diagram is constructed through a causal reasoning algorithm to determine the causal dependency and obtain the causal exploration path diagram.

[0036] In an optional embodiment,

[0037] Combined with the policy gradient algorithm to optimize the policy network, the optimal substructure is shown in the following formula:

[0038] ;

[0039] in, ▽ θ J ( i ) represents the objective function J ( i ) relative to the parameter i The rate of change, E τ~π(θ) Indicates strategy π ( i ) to obtain the trajectory t expectations, t Represents the state-action trajectory, which represents the state and action sequence sampled from the environment, π ( i ) indicates that it has parameters i strategy, t represents the time step, Trepresents the total time step, log π ( a t | H t ; i ) indicates that in the state H t Next select action a t The logarithmic probability of A π () represents the advantage function, ▽ θ log π ( a t | H t ; i ) means in the state H t Next select action a t The gradient of the log probability of A π ( H t, a t ) means that in a given state H t Next select action a t advantage value.

[0040] A second aspect of an embodiment of the present invention provides a crop growth prediction system based on artificial intelligence and a crop growth model, comprising:

[0041] The first unit is used to build a three-dimensional farmland perception network and collect multi-source heterogeneous data including meteorological data, soil data and crop growth, pre-process the multi-source heterogeneous data through an adaptive filtering algorithm, perform semantic alignment through a multimodal autoencoder network, fuse the multi-source heterogeneous data in combination with a capsule network algorithm and a dynamic routing mechanism, generate an initial feature representation, and perform dimension reduction embedding on the initial feature representation through a spectral sequence decomposition technology to obtain a comprehensive feature representation;

[0042] The second unit is used to construct the key concepts, relationships and attributes of the crop growth domain ontology based on the comprehensive feature representation and the evolutionary computing optimization method, obtain the crop growth process knowledge and construct the crop growth knowledge graph through active learning and human-machine hybrid intelligence methods, embed the crop growth process knowledge into the crop growth knowledge graph through the embedded label propagation algorithm, build a crop growth simulator based on the generative adversarial network, determine the contribution of environmental factors to the growth of each crop based on the Shapley value, identify key environmental factors and dynamically update the crop growth knowledge graph;

[0043] The third unit is used to construct a knowledge distillation network, integrate the crop growth knowledge graph and construct a crop growth prediction model, extract the latent variable representation in the multi-source heterogeneous data based on the mutual information maximization criterion and contrast representation learning, perform random pruning and reinforcement learning based on the lucky ticket hypothesis, optimize the structure of the crop growth prediction model, add the comprehensive feature representation to the crop growth prediction model, obtain the yield prediction probability distribution and generate a causal exploration path diagram corresponding to the current probability distribution.

[0044] According to a third aspect of the embodiments of the present invention,

[0045] An electronic device is provided, comprising:

[0046] processor;

[0047] a memory for storing processor-executable instructions;

[0048] The processor is configured to call the instructions stored in the memory to execute the aforementioned method.

[0049] A fourth aspect of the embodiments of the present invention is:

[0050] A computer-readable storage medium is provided, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the aforementioned method is implemented.

[0051] In the present invention, the application of spectral sequence decomposition technology further realizes feature dimensionality reduction and embedding, and obtains low-dimensional and efficient comprehensive feature representation, which lays a data foundation for subsequent knowledge graph construction and growth prediction. The crop growth domain ontology is automatically constructed through evolutionary computing optimization methods, and key concepts, relationships and attributes are identified, which realizes the combination of automatic acquisition of crop growth process knowledge and manual intervention, and improves the efficiency and accuracy of knowledge acquisition. The application of Shapley value realizes the quantitative evaluation of the contribution of environmental factors to growth, identifies key environmental factors, and optimizes the structure of the growth prediction model based on random pruning and reinforcement learning based on the lucky ticket hypothesis, which significantly reduces the model complexity and improves the computational efficiency. In summary, the present invention can fully perceive the crop growth environment, integrate multi-source heterogeneous data, mine growth process knowledge, simulate the growth process, optimize the growth prediction model, and provide explainable and visualized decision support, which provides new technical means and solutions for precision agricultural management, and is expected to significantly improve the level of intelligence in agricultural production and promote the sustainable development of agriculture. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] Figure 1 It is a flow chart of a crop growth prediction method based on artificial intelligence and a crop growth model according to an embodiment of the present invention;

[0053] Figure 2 It is a structural schematic diagram of a crop growth prediction system based on artificial intelligence and a crop growth model according to an embodiment of the present invention. DETAILED DESCRIPTION

[0054] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution 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, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0055] The technical solution of the present invention is described in detail with specific embodiments below. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.

[0056] Figure 1 FIG. 1 is a flow chart of a crop growth prediction method based on artificial intelligence and a crop growth model according to an embodiment of the present invention. Figure 1 As shown, the method includes:

[0057] S1. Construct a three-dimensional farmland perception network and collect multi-source heterogeneous data including meteorological data, soil data and crop growth, pre-process the multi-source heterogeneous data through an adaptive filtering algorithm, perform semantic alignment through a multimodal autoencoder network, fuse the multi-source heterogeneous data in combination with a capsule network algorithm and a dynamic routing mechanism, generate an initial feature representation, perform dimension reduction embedding on the initial feature representation through a spectral sequence decomposition technique, and obtain a comprehensive feature representation;

[0058] The adaptive filtering algorithm is used to extract useful signals from noise, and its filter parameters can be adaptively adjusted according to the statistical characteristics of the input data. The multimodal autoencoder network is used to process data of multiple modalities (such as images, texts, and sounds). The encoder maps the data of different modalities to a common latent space, and then the decoder reconstructs the original data. The capsule network is an enhanced convolutional neural network architecture that improves feature representation capabilities by capturing entities and their attributes and positional relationships. The dynamic routing mechanism is used in the capsule network to perform feature aggregation between primary capsules and advanced capsules. The spectral sequence decomposition is used to decompose high-dimensional data matrices into low-dimensional subspace representations for data dimensionality reduction and feature extraction.

[0059] In an optional embodiment,

[0060] Construct a three-dimensional farmland perception network and collect multi-source heterogeneous data including meteorological data, soil data and crop growth. Preprocess the multi-source heterogeneous data through an adaptive filtering algorithm, perform semantic alignment through a multimodal autoencoder network, fuse the multi-source heterogeneous data in combination with a capsule network algorithm and a dynamic routing mechanism, generate an initial feature representation, and embed the initial feature representation through dimensionality reduction using spectral sequence decomposition technology to obtain a comprehensive feature representation including:

[0061] A stereoscopic perception network is set up in the target farmland, wherein the stereoscopic perception network includes ground perception nodes, low-altitude remote sensing platforms and satellite remote sensing platforms, and multi-source heterogeneous data of the current target farmland is obtained through the stereoscopic perception network, wherein the multi-source heterogeneous data includes meteorological data, soil data and crop growth data in the current farmland, and the multi-source heterogeneous data is resampled in time and space dimensions through an interpolation algorithm, and a filtering threshold is determined according to the statistical characteristics of the multi-source heterogeneous data in combination with an adaptive filtering algorithm, and outliers are identified according to the filtering threshold to obtain standard heterogeneous data;

[0062] Based on the standard heterogeneous data, a corresponding stacked autoencoder is set for each data modality in combination with a multimodal autoencoder network, wherein the stacked autoencoder includes an input layer, a hidden layer, and an output layer, and the hierarchical semantic features in the current data modality are obtained through unsupervised reconstruction learning, and the hierarchical semantic features of each data modality are consistently represented in the public space through a data alignment loss function in combination with a pre-set common feature layer, so as to obtain aligned data;

[0063] Based on the aligned data, a primary capsule layer and an advanced capsule layer are respectively set, wherein the multidimensional time series features of each physical quantity in the aligned data are used as data, a primary capsule is obtained through a variational autoencoder, the primary capsule is input into the advanced capsule layer, and the primary capsule is weightedly aggregated through a dynamic routing mechanism to form an initial feature representation representing farmland elements;

[0064] A farmland element feature matrix is ​​generated based on the initial feature representation, and is reconstructed into a trajectory matrix according to a time window through a spectral sequence decomposition algorithm. The trajectory matrix is ​​decomposed based on singular values ​​to obtain an orthogonal eigenvector matrix and corresponding singular values. The dimensionality reduction is determined based on a pre-set reconstruction error threshold corresponding to each physical quantity to obtain a low-dimensional embedded representation of the current physical quantity. The low-dimensional embedded representation is spliced ​​to obtain the comprehensive feature representation.

[0065] The low-altitude remote sensing platform refers to a technical platform that uses sensors carried by low-altitude aircraft such as drones and balloons to obtain surface information. The filtering threshold is used to determine which parts of the data are considered signals and which parts are noise. The stacked autoencoder is a deep learning model that extracts deep features of data by stacking multiple autoencoder layers. The unsupervised reconstruction learning refers to learning its features by reconstructing input data in the absence of labeled data. The trajectory matrix is ​​a matrix used to record the state of an object (such as position, speed, etc.) over time. The singular value is a non-negative value obtained in matrix decomposition, which indicates the degree of expansion or compression of the matrix.

[0066] Reasonably arrange ground sensing nodes in the farmland, such as soil temperature and humidity sensors, meteorological stations, etc., to collect farmland environmental parameters in real time, use drones, low-altitude airships, etc. to build low-altitude remote sensing platforms, obtain high-temporal and spatial resolution remote sensing images of farmland through airborne multispectral cameras, hyperspectral cameras, etc., receive high-resolution satellite remote sensing data covering the target area, capture macro information of farmland, and obtain multi-source heterogeneous data through a three-dimensional sensing network, including: meteorological data: temperature, humidity, light, wind speed, etc., soil data: soil temperature and humidity, nutrient content, pH value, etc., crop growth data: crop leaf area index, chlorophyll content, biomass, etc., use interpolation algorithms (such as Kriging interpolation) to resample missing data in time and space dimensions to achieve data integrity, and combine adaptive filtering algorithms (such as Kalman filtering) to automatically determine the filtering threshold according to the statistical characteristics (mean, variance, etc.) of multi-source heterogeneous data, identify and remove outliers that exceed the threshold, and obtain standard heterogeneous data;

[0067] For each data modality (meteorological, soil, crop), a corresponding stacked autoencoder network is designed. The autoencoder extracts the hierarchical semantic features within the single modal data through unsupervised reconstruction learning, sets a common feature layer at the top of the network, and optimizes the consistent representation of different modalities in the public space through the data alignment loss function to achieve semantic alignment and obtain aligned data.

[0068] Taking the multi-dimensional time series features of each physical quantity in the aligned data as input, the variational autoencoder is used to learn its probability distribution, output primary capsules, input the primary capsules into the advanced capsule layer, and use the dynamic routing mechanism to adaptively adjust the weights of the primary capsules to achieve weighted aggregation, form a compact representation of farmland elements, and obtain the initial feature representation of farmland elements. The feature matrix of farmland elements is generated according to the initial feature representation. The spectral sequence decomposition algorithm is used to reconstruct a series of trajectory matrices according to the preset time window size. The singular value decomposition is performed on each trajectory matrix to obtain the orthogonal eigenvector matrix and singular values. According to the preset reconstruction error threshold of each physical quantity, the dimension after dimensionality reduction is adaptively determined, and the low-dimensional embedded representation of the physical quantity is output. The low-dimensional embedded representation of all physical quantities is spliced ​​to obtain a comprehensive feature representation.

[0069] In this embodiment, by constructing a three-dimensional perception network integrating ground and air, farmland data are collected at multiple levels and angles, the data source is expanded, the spatiotemporal resolution and semantic richness of the perception data are improved, and high-quality data support is provided for subsequent modeling. The semantic alignment between modalities is achieved through the common feature layer, and multi-source heterogeneous farmland data are effectively integrated to comprehensively characterize the inherent laws of farmland ecological processes. The capsule network is used to adaptively aggregate multi-dimensional time series features, fully considering the correlation between farmland physical quantities, and learning a more abstract and semantic representation of farmland elements, reducing feature redundancy and improving the generalization performance of subsequent prediction models. Based on the spectral sequence decomposition technology, The comprehensive characteristics of farmland elements are extracted from the inter-dimensional space, which reveals the multi-scale dynamic change laws of the farmland system and captures the long-range dependence and nonlinear interaction patterns between elements, so that the prediction model can adapt to the complex and changeable farmland environment. By constructing a farmland knowledge graph, domain priors are introduced to guide data-driven model learning. At the same time, causal reasoning methods are used to explore the causal dependency relationship between farmland elements and crop growth, forming prediction results that conform to agronomic laws, so that the model has a certain agronomic interpretation ability. In summary, this embodiment adopts a combination of data-driven and model-driven methods to fully mine the intrinsic semantic information of farmland data, laying a good feature foundation for subsequent crop growth modeling.

[0070] In an optional embodiment,

[0071] The primary capsule is input into the advanced capsule layer, and the primary capsule is weighted aggregated through the dynamic routing mechanism as shown in the following formula:

[0072] ;

[0073] in, v j For the j high-level capsules, representing the initial feature representation, squash () represents the activation function in the capsule network, α ij represents the attention weight, b ij Indicates i The primary capsule and j The logarithmic prior of the coupling coefficients of the advanced capsules, s ij Indicates i The primary capsule and j The spatial similarity of high-level capsules, u i Indicates i Primary capsules, b ikIndicates i The primary capsule and k The logarithmic prior of the coupling coefficients of the advanced capsules, s ik Indicates i The primary capsule and k The spatial similarity of high-level capsules, I represents the total number of primary capsules, K Indicates the total number of advanced capsules.

[0074] In this embodiment, the coupling coefficient characterizes the correlation prior between the primary capsule and the advanced capsule, reflects the potential dependency between the farmland physical quantities, enables the model to automatically infer the correlation pattern between the elements, and forms a feature combination that conforms to the laws of agronomy. The spatial similarity measures the proximity of the primary capsule and the advanced capsule in the feature space, reflects the similarity of the spatial distribution of the farmland physical quantities, can give priority to aggregation, capture the spatial correlation of the farmland elements, and uses the squash activation function to perform a nonlinear transformation on the aggregation results, so that the feature representation falls within a bounded space, ensuring numerical stability. In summary, this embodiment can accurately characterize the inherent laws of the farmland system, provide more robust and discriminative feature support for subsequent crop growth modeling, effectively improve the prediction accuracy, and make the model output more in line with the laws of agronomy.

[0075] S2. Based on the comprehensive feature representation, the key concepts, relationships and attributes of the crop growth domain ontology are constructed according to the evolutionary computation optimization method, the crop growth process knowledge is acquired through active learning and human-machine hybrid intelligence methods and a crop growth knowledge graph is constructed, the crop growth process knowledge is embedded into the crop growth knowledge graph through an embedded label propagation algorithm, a crop growth simulator is constructed based on a generative adversarial network, for each crop, the contribution of environmental factors to growth is determined based on the Shapley value, key environmental factors are identified and the crop growth knowledge graph is dynamically updated;

[0076] The evolutionary computation is a type of optimization algorithm based on biological evolution theory, such as genetic algorithms, evolutionary strategies, etc. The human-machine hybrid intelligence combines the experience of human experts and the capabilities of computer algorithms to jointly solve complex problems in an interactive way. The embedded label propagation algorithm combines the label propagation algorithm and the node embedding technology, and is used for semi-supervised node classification and label propagation tasks in graph data. The generative adversarial network is a deep learning architecture composed of a generator and a discriminator, which generates realistic data samples through adversarial learning. The Shapley value is a concept in game theory, which is used to measure the contribution of each participant to the overall benefit. The crop growth knowledge graph is a structured data representation used to store and express a variety of information related to crop growth, including environmental factors, crop growth models, management practices, etc.

[0077] In an optional embodiment,

[0078] Based on the comprehensive feature representation, the key concepts, relationships and attributes of the crop growth domain ontology are constructed according to the evolutionary computation optimization method, the crop growth process knowledge is acquired through active learning and human-machine hybrid intelligence methods and a crop growth knowledge graph is constructed, the crop growth process knowledge is embedded into the crop growth knowledge graph through an embedded label propagation algorithm, a crop growth simulator is constructed based on a generative adversarial network, for each crop, the contribution of environmental factors to growth is determined based on the Shapley value, key environmental factors are identified and the crop growth knowledge graph is dynamically updated, including:

[0079] Collect scientific literature in the field of crop growth, extract text features and perform preprocessing operations on the text features, extract low-dimensional dense representations through a pre-trained word vector model, cluster the text features in combination with a clustering algorithm and generate candidate concepts, set and solve multiple objective functions in combination with an evolutionary computing optimization method to obtain a core concept set containing all key concepts, and extract the relationships and attributes between the key concepts based on the core concept set through rule matching;

[0080] According to the text features, combined with the key concepts, the relationships between the key concepts and the attributes, entities are identified and linked to ontology concepts, candidate triples are generated, an initial crop growth knowledge graph is constructed based on the candidate triples, contributions of the candidate triples are evaluated through query strategies, and high-quality query samples are screened based on the contributions, the high-quality query samples are automatically labeled and embedded model incremental training is performed, and the initial crop growth knowledge graph is updated;

[0081] The initial crop growth knowledge graph is represented as a heterogeneous graph, attribute features of nodes are extracted from structured data and unstructured data, neighbor combination information of nodes is calculated in combination with the adjacency matrix of the heterogeneous graph, an embedded label propagation optimization model is constructed, node classification loss is optimized in combination with a gradient descent algorithm, the embedding representation is updated and the hyperparameters of the embedded label propagation optimization model are optimized, and crop growth process knowledge is embedded into the initial crop growth knowledge graph through the embedded label propagation optimization model;

[0082] A crop growth simulator is constructed based on a generative adversarial network. Random noise is used as input and a growth state sequence is generated in combination with knowledge embedding representation. For each crop, environmental factor nodes are extracted from the initial crop growth knowledge graph. The Shapley value corresponding to each environmental factor node is calculated in combination with Monte Carlo sampling. The environmental factor node with the maximum Shapley value is selected as the key environmental factor. The initial crop growth knowledge graph is repeatedly updated to obtain the crop growth knowledge graph.

[0083] The low-dimensional dense representation refers to mapping high-dimensional sparse data or feature representations into a low-dimensional and dense vector space. The candidate concepts refer to entities, attributes or relationships that may have semantic meanings extracted from text or data. The core concept set refers to a set of key concepts that are important or significant in a knowledge graph or concept network. The candidate triples refer to the triple form of candidate relationships extracted from text or data during knowledge extraction or relationship extraction. The query strategy refers to the method or rule used in information retrieval or knowledge base query. The query sample refers to an actual query example or data set used to test or evaluate the query strategy and algorithm performance. The heterogeneous graph refers to a graph structure that contains heterogeneous A graphical representation of nodes and edges of the same type, the adjacency matrix is ​​a matrix representation that describes the connection relationship between nodes in the graph, the neighbor combination information refers to the characteristics or attribute information of each node through its neighbor nodes in the graph structure, the embedded label propagation optimization model combines graph embedding technology and label propagation algorithm, and is used for node classification and label propagation in semi-supervised learning tasks, the plant growth simulator is a computing tool or system that simulates the plant growth process, the environmental factor node refers to various environmental conditions or factors that affect crop growth and development in crop growth or agricultural systems, and the Monte Carlo sampling is a random sampling method used to estimate the statistical characteristics of complex systems or the parameters of mathematical models.

[0084] Collect scientific literature in the field of crop growth, extract text features and perform preprocessing, such as word segmentation, stop word removal, part-of-speech tagging, etc. Use pre-trained word vector models to convert text features into low-dimensional dense representations to capture the semantic relationship between words. Use clustering algorithms (such as K-means) to cluster text features, generate candidate concepts, design multiple objective functions, such as concept coverage, concept uniqueness, etc. Use evolutionary computing methods (such as genetic algorithms) to perform multi-objective optimization and solve, and obtain a core concept set containing key concepts. Based on the core concepts, extract the relationship and attributes between concepts from the text through predefined rule templates (such as "A is a type of B", "A contains B", etc.), identify entities based on text features and link them to existing ontology concepts, generate candidate triples (subject, predicate, object), and build an initial crop growth knowledge graph based on the candidate triples;

[0085] Design query strategies, evaluate the contribution of candidate triples to the query task, select triples with high contribution as high-quality query samples, automatically annotate high-quality query samples to form a training data set, use embedding models (such as TransE) to represent knowledge graphs, update model parameters through incremental training, use the updated embedding model to optimize the initial knowledge graph, correct erroneous relationships, add new entities and relationships, and obtain the optimized knowledge graph. Represent the optimized knowledge graph as a heterogeneous graph with node types including crops, environmental factors, growth stages, etc., from structured data (such as sensor data) and unstructured data. Extract node attribute features from quantified data (such as scientific literature), calculate the adjacency matrix of heterogeneous graphs, characterize the connection relationship between nodes, and build the node neighbor combination information based on the node attribute features. Design an embedded label propagation optimization model, transform the node classification problem into an optimization problem of node embedding representation, use the gradient descent algorithm to optimize the node classification loss function, update the node embedding representation, optimize the hyperparameters of the embedded label propagation model through grid search and other methods, improve the accuracy of node classification, and use the optimized embedded label propagation model to embed the knowledge of crop growth process into the knowledge graph to enrich the semantic information of the knowledge graph.

[0086] A crop growth simulator is constructed using a generative adversarial network, which includes a generator and a discriminator. Random noise is used as input and combined with the knowledge graph embedding representation. The generator generates a realistic crop growth state sequence, and the discriminator is used to identify the authenticity of the generated growth state sequence and guide the generator optimization to improve the generation quality. For each crop, environmental factor nodes such as temperature, humidity, and light are extracted from the knowledge graph. The Monte Carlo sampling method is used to simulate the crop growth process by repeatedly randomly combining environmental factors. The impact of each environmental factor on growth is statistically analyzed, and the Shapley value of each environmental factor node is calculated to measure its importance to crop growth. The environmental factor node with the largest Shapley value is selected as the key environmental factor, and the key environmental factor information is added to the knowledge graph. The above optimization process is repeated to finally obtain a complete crop growth knowledge graph.

[0087] In this embodiment, text mining technology is used to automatically extract concepts, entities, relationships and other knowledge elements related to crop growth, and organize and manage them in the form of knowledge graphs, so that the originally scattered and heterogeneous crop growth knowledge is represented in a unified and standardized manner, which is convenient for knowledge retrieval, sharing and application. Through query strategies and automatic annotation, high-quality triple samples are selected to optimize the knowledge graph, continuously expand and update knowledge, and improve the accuracy and completeness of knowledge. The heterogeneous graph embedding method is used to embed the multidimensional spatiotemporal features of the crop growth process into the knowledge graph, breaking through the limitations of the static representation of the traditional knowledge graph, so that it can describe the crop growth process. The dynamic change law of crop growth is provided to provide a more comprehensive and accurate description of the growth state. Based on the embedding of knowledge graph, a realistic sequence of crop growth states is generated, and the mapping and reasoning from knowledge to growth process are realized. Through Monte Carlo sampling and Shapley value analysis, key environmental factors are extracted, and the causal relationship between environmental conditions and crop growth is revealed, so that the knowledge graph has certain growth simulation and prediction capabilities. In summary, this embodiment realizes the systematic representation and intelligent application of domain knowledge, provides a new path for the accumulation, inheritance and innovation of agricultural knowledge, makes up for the shortcomings of traditional data-driven models, and provides important theoretical and technical support for the development of smart agriculture.

[0088] In an optional embodiment,

[0089] Environmental factor nodes are extracted from the initial crop growth knowledge graph, and the Shapley value corresponding to each environmental factor node is calculated by combining Monte Carlo sampling as shown in the following formula:

[0090] ;

[0091] in, φg ( v ) represents a node g The Shapley value of g represents the specific node being evaluated, v represents the value function, S is a node subset, representing a combination of environmental factors and excluding nodes g , N Represents the set of all environmental factor nodes, | S | represents a collection S The size of v ( S ∪{ g}) represents a node subset S Add Node g The value after v ( S ) represents a node subset S The value of | S |! represents the number of permutations of a node subset, | N|! indicates the number of permutations of all nodes, (| N |-| S |-1)! indicates the number of permutations of the remaining nodes in the total set after adding node g.

[0092] In this embodiment, by calculating the Shapley value, the importance numerical index of each environmental factor node can be obtained, the quantitative evaluation and ranking of environmental factors are realized, the basis for screening key environmental factors is provided, it is helpful to identify the key factors that have the greatest impact on crop growth, optimize agricultural management decisions, and adopt the Monte Carlo sampling method to obtain approximate Shapley values ​​at an acceptable computational cost by randomly sampling environmental factor combinations, so that the algorithm has good scalability and can handle large-scale environmental factor nodes. The Shapley values ​​of environmental factor nodes are embedded in the knowledge graph, which enriches the attribute information of the nodes, so that the knowledge graph not only contains the semantic associations of environmental factors, but also presents their quantitative impact on crop growth. In summary, this embodiment can effectively identify key growth influencing factors, quantify the interactions between factors, and provide important support for the construction of crop growth knowledge graphs and growth simulations.

[0093] S3. Construct a knowledge distillation network, integrate the crop growth knowledge graph and construct a crop growth prediction model, extract the latent variable representation in the multi-source heterogeneous data based on the mutual information maximization criterion and contrast representation learning, perform random pruning and reinforcement learning based on the lucky ticket hypothesis, optimize the structure of the crop growth prediction model, add the comprehensive feature representation to the crop growth prediction model, obtain the yield prediction probability distribution and generate a causal exploration path diagram corresponding to the current probability distribution.

[0094] The mutual information maximization criterion is a commonly used feature selection method, which aims to select a feature subset with the greatest correlation with the target variable. The contrastive representation learning is an unsupervised learning paradigm. By constructing positive and negative sample pairs, a low-dimensional dense representation of the learning data is made so that the representations of similar samples are close and the representations of different samples are far apart. The lucky ticket hypothesis is an important hypothesis in causal inference, also known as the "no confounding factor" hypothesis, which assumes that all confounding factors are observed and included in the data set, that is, given the observed covariates, there are no other confounding paths between the treatment variables and the outcome variables. The causal exploration path graph is a graphical model for representing the causal relationship between variables, consisting of nodes and directed edges. The nodes represent variables, and the directed edges represent the causal relationship between variables. The direction of the edge represents the direction of the causal effect. The hidden variable refers to a variable that cannot be directly observed but has an important influence on the generation process of the observed data.

[0095] In an optional embodiment,

[0096] Constructing a knowledge distillation network, integrating the crop growth knowledge graph and constructing a crop growth prediction model, extracting latent variable representations in the multi-source heterogeneous data based on the mutual information maximization criterion and contrast representation learning, performing random pruning and reinforcement learning based on the lucky ticket hypothesis, optimizing the structure of the crop growth prediction model, adding the comprehensive feature representation to the crop growth prediction model, obtaining the yield prediction probability distribution and generating a causal exploration path diagram corresponding to the current probability distribution, including:

[0097] An end-to-end deep neural network is used as a student model, a neural network integrated with the crop growth knowledge graph is used as a teacher model, a hidden variable layer is added to the student model and the teacher model, the crop growth prediction model is constructed, and a consistent embedding representation of environmental factors and hidden variables in a semantic space is obtained through mutual information maximization and contrast representation learning, and the crop growth prediction model is optimized in combination with a knowledge distillation objective function;

[0098] For the crop growth prediction model, a pruning mask variable is defined based on the lucky ticket hypothesis, a mask vector is generated by sampling the Bernoulli distribution, the prediction loss of each sampled subnetwork is calculated and the performance of each pruning structure is evaluated based on the prediction loss, the parameters of the crop growth prediction model are used as the state, the retention operation or the pruning operation is used as the action, and the subnetwork performance improvement is used as the reward to construct a Markov decision process, the policy network is optimized in combination with the policy gradient algorithm, the optimal substructure is obtained, and the crop growth prediction model is optimized based on the optimal substructure;

[0099] The comprehensive feature representation is added to the crop growth prediction model after structural optimization, the original features of the environmental factors are spliced ​​with the consistent embedded representation through forward propagation, and mapped in combination with the dependent variable layer to obtain the yield prediction probability distribution, and based on the yield prediction probability distribution, a decision path diagram is constructed through a causal reasoning algorithm to determine the causal dependency and obtain the causal exploration path diagram.

[0100] The knowledge distillation is a technology of model compression and knowledge transfer, which aims to transfer the knowledge of a complex model (teacher model) to a simple model (student model). The pruning mask variable is a set of binary variables used to indicate whether each connection or node is retained. The Markov decision process is a mathematical framework for modeling sequential decision problems, consisting of states, actions, transition probabilities and reward functions. The optimal substructure means that the optimal solution to a problem can be composed of the optimal solutions of its subproblems. The consistent embedding representation means learning a unified low-dimensional embedding space under different modalities or views so that data of different modalities have a consistent representation in this space.

[0101] Select an end-to-end deep neural network as the student model, such as a convolutional neural network or a long short-term memory network, build a neural network that integrates the crop growth knowledge graph as the teacher model, embed the knowledge graph into the hidden layer of the neural network, add a hidden variable layer to the student model and the teacher model to capture the potential factors and mechanisms in the crop growth process, obtain consistent embedding representations of environmental factors and hidden variables in the semantic space through the mutual information maximization criterion and contrast representation learning, define a knowledge distillation objective function, such as cross entropy loss or KL divergence, measure the difference in the predicted distribution of the student model and the teacher model, and optimize the crop growth prediction model end-to-end in combination with the knowledge distillation objective function so that the student model learns the knowledge of the teacher model;

[0102] For the crop growth prediction model, a set of pruning mask variables are defined. Each variable corresponds to a connection or node to indicate whether it is retained. Different mask vectors are generated by sampling the Bernoulli distribution. Each mask vector represents a pruned sub-network structure. For each sampled sub-network, the forward propagation calculates its prediction loss on the validation set as an indicator for evaluating the performance of the pruned structure. The parameters of the crop growth prediction model are used as the state, the retention operation or pruning operation is used as the action, and the sub-network performance improvement is used as the reward. A Markov decision process is constructed. Combined with a policy gradient algorithm such as REINFORCE or Actor-Critic, the policy network in the Markov decision process is optimized, and the optimal pruning strategy is learned. According to the learned optimal strategy, the crop growth prediction model is pruned to obtain the optimal sub-structure and simplify the model complexity.

[0103] The consistent embedding representation of environmental factors and latent variables learned is added to the crop growth prediction model after structural optimization. In the forward propagation process of the model, the original features of the environmental factors are spliced ​​with the consistent embedding representation to form a comprehensive feature representation, which is input into the dependent variable layer (such as the yield prediction layer). The yield prediction probability distribution is obtained through nonlinear mapping. Based on the yield prediction probability distribution, a causal reasoning algorithm, such as a Bayesian network or a causal forest, is used to construct a decision path diagram. The decision path diagram is used to analyze the causal dependency relationship between environmental factors, latent variables and yield, and a causal exploration path diagram is obtained. The causal exploration path diagram is used to identify key growth influencing factors and guide agricultural production management decisions.

[0104] In this embodiment, by embedding the crop growth knowledge graph into the teacher model and adopting the knowledge distillation technology, the fusion and transfer of knowledge between the student model and the teacher model are realized, which can significantly improve the prediction performance of the student model, so that it can learn expert knowledge and domain laws in the absence of large-scale labeled data. The introduction of the hidden variable layer in the crop growth prediction model can capture the unknown physiological mechanisms, genetic factors and other potential influencing factors in the crop growth process, so that the prediction model can adapt to the complexity and uncertainty of the growth process, improve the accuracy and robustness of the prediction results, and obtain consistent embedding representations of environmental factors and hidden variables in the semantic space through the mutual information maximization criterion and contrast representation learning, which can reveal the intrinsic correlation and interaction between different growth elements, and provide a theoretical basis for subsequent feature fusion and causal reasoning. Based on the lucky ticket hypothesis and the Markov decision process, the adaptive structure pruning optimization of the crop growth prediction model is realized, which can automatically identify and retain the key structures that have the greatest impact on the prediction performance, significantly reduce the model complexity, improve the calculation efficiency, and ensure the prediction accuracy. In summary, this embodiment provides a novel and effective technical route for precision agricultural management, which is expected to promote the improvement of agricultural production efficiency and resource utilization, and promote the intelligent and sustainable development of agriculture.

[0105] In an optional embodiment,

[0106] Combined with the policy gradient algorithm to optimize the policy network, the optimal substructure is shown in the following formula:

[0107] ;

[0108] in, ▽ θ J ( i ) represents the objective function J ( i ) relative to the parameter i The rate of change, E τ~π(θ) Indicates strategy π ( i ) to obtain the trajectory t expectations, t Represents the state-action trajectory, which represents the state and action sequence sampled from the environment, π ( i ) indicates that it has parameters i strategy, t represents the time step, T represents the total time step, log π ( a t | H t ; i ) indicates that in the state H t Next select action a t The logarithmic probability of A π () represents the advantage function, ▽ θ log π ( a t | H t ; i ) means in the state H t Next select action a t The gradient of the log probability of A π ( H t, a t ) means that in a given state H t Next select action a t advantage value.

[0109] In this embodiment, the parameters of the policy network are directly optimized by gradient ascent, so that it can learn the optimal pruning strategy, can adaptively explore and utilize different pruning operations, continuously adjust the strategy according to the feedback reward signal, and finally converge to the optimal strategy. By calculating the gradient of the objective function with respect to the policy parameters, the continuous optimization of the policy network is realized, and the parameter space can be searched more efficiently and smoothly to find the optimal solution. The introduction of the advantage function enables the policy gradient algorithm to pay more attention to actions that are better than the average strategy, accelerate the improvement and convergence of the strategy. In summary, this embodiment can significantly reduce the complexity of the model and improve the computational efficiency while ensuring the performance of the model, provide strong support for subsequent model deployment and real-time prediction, and improve the practicality and scalability of the crop growth prediction system.

[0110] Figure 2 FIG. 1 is a schematic diagram of the structure of a crop growth prediction system based on artificial intelligence and a crop growth model according to an embodiment of the present invention. Figure 2 As shown, the system comprises:

[0111] The first unit is used to build a three-dimensional farmland perception network and collect multi-source heterogeneous data including meteorological data, soil data and crop growth, pre-process the multi-source heterogeneous data through an adaptive filtering algorithm, perform semantic alignment through a multimodal autoencoder network, fuse the multi-source heterogeneous data in combination with a capsule network algorithm and a dynamic routing mechanism, generate an initial feature representation, and perform dimension reduction embedding on the initial feature representation through a spectral sequence decomposition technology to obtain a comprehensive feature representation;

[0112] The second unit is used to construct the key concepts, relationships and attributes of the crop growth domain ontology based on the comprehensive feature representation and the evolutionary computing optimization method, obtain the crop growth process knowledge and construct the crop growth knowledge graph through active learning and human-machine hybrid intelligence methods, embed the crop growth process knowledge into the crop growth knowledge graph through the embedded label propagation algorithm, build a crop growth simulator based on the generative adversarial network, determine the contribution of environmental factors to the growth of each crop based on the Shapley value, identify key environmental factors and dynamically update the crop growth knowledge graph;

[0113] The third unit is used to construct a knowledge distillation network, integrate the crop growth knowledge graph and construct a crop growth prediction model, extract the latent variable representation in the multi-source heterogeneous data based on the mutual information maximization criterion and contrast representation learning, perform random pruning and reinforcement learning based on the lucky ticket hypothesis, optimize the structure of the crop growth prediction model, add the comprehensive feature representation to the crop growth prediction model, obtain the yield prediction probability distribution and generate a causal exploration path diagram corresponding to the current probability distribution.

[0114] According to a third aspect of the embodiments of the present invention,

[0115] An electronic device is provided, comprising:

[0116] processor;

[0117] a memory for storing processor-executable instructions;

[0118] The processor is configured to call the instructions stored in the memory to execute the aforementioned method.

[0119] A fourth aspect of the embodiments of the present invention is:

[0120] A computer-readable storage medium is provided, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the aforementioned method is implemented.

[0121] The present invention may be a method, an apparatus, a system and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for executing various aspects of the present invention.

[0122] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A crop growth prediction method based on artificial intelligence and crop growth model, characterized in that: include: Construct a three-dimensional farmland perception network and collect multi-source heterogeneous data including meteorological data, soil data and crop growth, pre-process the multi-source heterogeneous data through an adaptive filtering algorithm, perform semantic alignment through a multimodal autoencoder network, fuse the multi-source heterogeneous data in combination with a capsule network algorithm and a dynamic routing mechanism, generate an initial feature representation, perform dimension reduction embedding on the initial feature representation through a spectral sequence decomposition technique, and obtain a comprehensive feature representation; Based on the comprehensive feature representation, the key concepts, relationships and attributes of the crop growth domain ontology are constructed according to the evolutionary computation optimization method, the crop growth process knowledge is acquired through active learning and human-machine hybrid intelligence methods and a crop growth knowledge graph is constructed, the crop growth process knowledge is embedded into the crop growth knowledge graph through an embedded label propagation algorithm, a crop growth simulator is constructed based on a generative adversarial network, for each crop, the contribution of environmental factors to growth is determined based on the Shapley value, key environmental factors are identified and the crop growth knowledge graph is dynamically updated; A knowledge distillation network is constructed, the crop growth knowledge graph is integrated and a crop growth prediction model is constructed. Based on the mutual information maximization criterion and contrast representation learning, the latent variable representation in the multi-source heterogeneous data is extracted. Random pruning and reinforcement learning are performed based on the lucky ticket hypothesis. The structure of the crop growth prediction model is optimized, and the comprehensive feature representation is added to the crop growth prediction model to obtain the yield prediction probability distribution and generate a causal exploration path diagram corresponding to the current probability distribution.

2. The method according to claim 1, characterized in that: Construct a three-dimensional farmland perception network and collect multi-source heterogeneous data including meteorological data, soil data and crop growth. Preprocess the multi-source heterogeneous data through an adaptive filtering algorithm, perform semantic alignment through a multimodal autoencoder network, fuse the multi-source heterogeneous data in combination with a capsule network algorithm and a dynamic routing mechanism, generate an initial feature representation, and embed the initial feature representation through dimensionality reduction using spectral sequence decomposition technology to obtain a comprehensive feature representation including: A stereoscopic perception network is set up in the target farmland, wherein the stereoscopic perception network includes ground perception nodes, low-altitude remote sensing platforms and satellite remote sensing platforms, and multi-source heterogeneous data of the current target farmland is obtained through the stereoscopic perception network, wherein the multi-source heterogeneous data includes meteorological data, soil data and crop growth data in the current farmland, and the multi-source heterogeneous data is resampled in time and space dimensions through an interpolation algorithm, and a filtering threshold is determined according to the statistical characteristics of the multi-source heterogeneous data in combination with an adaptive filtering algorithm, and outliers are identified according to the filtering threshold to obtain standard heterogeneous data; Based on the standard heterogeneous data, a corresponding stacked autoencoder is set for each data modality in combination with a multimodal autoencoder network, wherein the stacked autoencoder includes an input layer, a hidden layer, and an output layer, and the hierarchical semantic features in the current data modality are obtained through unsupervised reconstruction learning, and the hierarchical semantic features of each data modality are consistently represented in the public space through a data alignment loss function in combination with a pre-set common feature layer, so as to obtain aligned data; Based on the aligned data, a primary capsule layer and an advanced capsule layer are respectively set, wherein the multidimensional time series features of each physical quantity in the aligned data are used as data, a primary capsule is obtained through a variational autoencoder, the primary capsule is input into the advanced capsule layer, and the primary capsule is weightedly aggregated through a dynamic routing mechanism to form an initial feature representation representing farmland elements; A farmland element feature matrix is ​​generated based on the initial feature representation, and is reconstructed into a trajectory matrix according to a time window through a spectral sequence decomposition algorithm. The trajectory matrix is ​​decomposed based on singular values ​​to obtain an orthogonal eigenvector matrix and corresponding singular values. The dimensionality reduction is determined based on a pre-set reconstruction error threshold corresponding to each physical quantity to obtain a low-dimensional embedded representation of the current physical quantity. The low-dimensional embedded representation is spliced ​​to obtain the comprehensive feature representation.

3. The method according to claim 2, characterized in that The primary capsule is input into the advanced capsule layer, and the primary capsule is weighted aggregated through the dynamic routing mechanism as shown in the following formula: ; in, v j For the j high-level capsules, representing the initial feature representation, squash () represents the activation function in the capsule network, α ij represents the attention weight, b ij Indicates i The primary capsule and j The logarithmic prior of the coupling coefficients of the advanced capsules, s ij Indicates i The primary capsule and j The spatial similarity of the high-level capsules, u i Indicates i Primary capsules, b ik Indicates i The primary capsule and k The logarithmic prior of the coupling coefficients of the advanced capsules, s ik Indicates i The primary capsule and k The spatial similarity of the high-level capsules, I represents the total number of primary capsules, K Indicates the total number of advanced capsules.

4. The method according to claim 1, characterized in that: Based on the comprehensive feature representation, the key concepts, relationships and attributes of the crop growth domain ontology are constructed according to the evolutionary computation optimization method, the crop growth process knowledge is acquired through active learning and human-machine hybrid intelligence methods and a crop growth knowledge graph is constructed, the crop growth process knowledge is embedded into the crop growth knowledge graph through an embedded label propagation algorithm, a crop growth simulator is constructed based on a generative adversarial network, for each crop, the contribution of environmental factors to growth is determined based on the Shapley value, key environmental factors are identified and the crop growth knowledge graph is dynamically updated, including: Collect scientific literature in the field of crop growth, extract text features and perform preprocessing operations on the text features, extract low-dimensional dense representations through a pre-trained word vector model, cluster the text features in combination with a clustering algorithm and generate candidate concepts, set and solve multiple objective functions in combination with an evolutionary computing optimization method to obtain a core concept set containing all key concepts, and extract the relationships and attributes between the key concepts based on the core concept set through rule matching; According to the text features, combined with the key concepts, the relationships between the key concepts and the attributes, entities are identified and linked to ontology concepts, candidate triples are generated, an initial crop growth knowledge graph is constructed based on the candidate triples, contributions of the candidate triples are evaluated through query strategies, and high-quality query samples are screened based on the contributions, the high-quality query samples are automatically labeled and embedded model incremental training is performed, and the initial crop growth knowledge graph is updated; The initial crop growth knowledge graph is represented as a heterogeneous graph, attribute features of nodes are extracted from structured data and unstructured data, neighbor combination information of nodes is calculated in combination with the adjacency matrix of the heterogeneous graph, an embedded label propagation optimization model is constructed, node classification loss is optimized in combination with a gradient descent algorithm, the embedding representation is updated and the hyperparameters of the embedded label propagation optimization model are optimized, and crop growth process knowledge is embedded into the initial crop growth knowledge graph through the embedded label propagation optimization model; A crop growth simulator is constructed based on a generative adversarial network. Random noise is used as input and a growth state sequence is generated in combination with knowledge embedding representation. For each crop, environmental factor nodes are extracted from the initial crop growth knowledge graph. The Shapley value corresponding to each environmental factor node is calculated in combination with Monte Carlo sampling. The environmental factor node with the maximum Shapley value is selected as the key environmental factor. The initial crop growth knowledge graph is repeatedly updated to obtain the crop growth knowledge graph.

5. The method according to claim 4, characterized in that Environmental factor nodes are extracted from the initial crop growth knowledge graph, and the Shapley value corresponding to each environmental factor node is calculated by combining Monte Carlo sampling as shown in the following formula: ; in, φg ( v ) represents a node g The Shapley value of g represents the specific node being evaluated, v represents the value function, S is a subset of nodes, Represents a combination of environmental factors and does not contain nodes g , N Represents the set of all environmental factor nodes, | S | represents a collection S The size of v ( S ∪{ g }) represents a node subset S Add Node g The value after v ( S ) represents a node subset S The value of | S |! represents the number of permutations of a node subset, | N |! indicates the number of permutations of all nodes, (| N |-| S |-1)! indicates the number of permutations of the remaining nodes in the total set after adding node g.

6. The method according to claim 1, characterized in that Constructing a knowledge distillation network, integrating the crop growth knowledge graph and constructing a crop growth prediction model, extracting latent variable representations in the multi-source heterogeneous data based on the mutual information maximization criterion and contrast representation learning, performing random pruning and reinforcement learning based on the lucky ticket hypothesis, optimizing the structure of the crop growth prediction model, adding the comprehensive feature representation to the crop growth prediction model, obtaining the yield prediction probability distribution and generating a causal exploration path diagram corresponding to the current probability distribution, including: An end-to-end deep neural network is used as a student model, a neural network integrated with the crop growth knowledge graph is used as a teacher model, a hidden variable layer is added to the student model and the teacher model, the crop growth prediction model is constructed, and a consistent embedding representation of environmental factors and hidden variables in a semantic space is obtained through mutual information maximization and contrast representation learning, and the crop growth prediction model is optimized in combination with a knowledge distillation objective function; For the crop growth prediction model, a pruning mask variable is defined based on the lucky ticket hypothesis, a mask vector is generated by sampling the Bernoulli distribution, the prediction loss of each sampled subnetwork is calculated and the performance of each pruning structure is evaluated based on the prediction loss, the parameters of the crop growth prediction model are used as the state, the retention operation or the pruning operation is used as the action, and the subnetwork performance improvement is used as the reward to construct a Markov decision process, the policy network is optimized in combination with the policy gradient algorithm, the optimal substructure is obtained, and the crop growth prediction model is optimized based on the optimal substructure; The comprehensive feature representation is added to the crop growth prediction model after structural optimization, the original features of the environmental factors are spliced ​​with the consistent embedded representation through forward propagation, and mapped in combination with the dependent variable layer to obtain the yield prediction probability distribution, and based on the yield prediction probability distribution, a decision path diagram is constructed through a causal reasoning algorithm to determine the causal dependency and obtain the causal exploration path diagram.

7. The method according to claim 6, characterized in that Combined with the policy gradient algorithm to optimize the policy network, the optimal substructure is shown in the following formula: ; in, ▽ θ J ( θ ) represents the objective function J ( θ ) relative to the parameter θ The rate of change, E τ~π(θ) Indicates strategy π ( θ ) to obtain the trajectory τ expectations, τ Represents the state-action trajectory, which represents the state and action sequence sampled from the environment, π ( θ ) indicates that it has parameters θ strategy, t represents the time step, T represents the total time step, log π ( a t | H t ; θ ) indicates that in the state H t Next select action a t The logarithmic probability of A π () represents the advantage function, ▽ θ log π ( a t | H t ; θ ) means in the state H t Next select action a t The gradient of the log probability of A π ( H t, a t ) means that in a given state H t Next select action a t advantage value.

8. A crop growth prediction system based on artificial intelligence and crop growth model, used to implement the method according to any one of claims 1 to 7, characterized in that: include: The first unit is used to build a three-dimensional farmland perception network and collect multi-source heterogeneous data including meteorological data, soil data and crop growth, pre-process the multi-source heterogeneous data through an adaptive filtering algorithm, perform semantic alignment through a multimodal autoencoder network, fuse the multi-source heterogeneous data in combination with a capsule network algorithm and a dynamic routing mechanism, generate an initial feature representation, and perform dimension reduction embedding on the initial feature representation through a spectral sequence decomposition technology to obtain a comprehensive feature representation; The second unit is used to construct the key concepts, relationships and attributes of the crop growth domain ontology based on the comprehensive feature representation and the evolutionary computing optimization method, obtain the crop growth process knowledge and construct the crop growth knowledge graph through active learning and human-machine hybrid intelligence methods, embed the crop growth process knowledge into the crop growth knowledge graph through the embedded label propagation algorithm, build a crop growth simulator based on the generative adversarial network, determine the contribution of environmental factors to the growth of each crop based on the Shapley value, identify key environmental factors and dynamically update the crop growth knowledge graph; The third unit is used to construct a knowledge distillation network, integrate the crop growth knowledge graph and construct a crop growth prediction model, extract the latent variable representation in the multi-source heterogeneous data based on the mutual information maximization criterion and contrast representation learning, perform random pruning and reinforcement learning based on the lucky ticket hypothesis, optimize the structure of the crop growth prediction model, add the comprehensive feature representation to the crop growth prediction model, obtain the yield prediction probability distribution and generate a causal exploration path diagram corresponding to the current probability distribution.

9. An electronic device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to call the instructions stored in the memory to execute the method described in any one of claims 1 to 7.

10. A computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the computer program instructions are executed by a processor, the method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Crop disaster loss and yield prediction system and method based on knowledge graph

    CN115115126A

  • Wheat yield prediction method based on multi-source remote sensing data of unmanned aerial vehicle

    CN115271217A

Cited By

  • Multi-source sensing fusion agricultural monitoring method and system

    CN120634767A

  • A multi-source perception fusion agricultural monitoring method and system

    CN120634767B