Random forest insect species identification method based on multi-dimensional electromagnetic scattering parameters

Through the random forest method based on multi-dimensional electromagnetic scattering parameters, the inefficiency problem of traditional insect radar in identifying migrating insects is solved, high-precision insect species identification is achieved, and the identification accuracy and stability are improved, especially in different frequency bands. insect recognition performance.

CN118656739APending Publication Date: 2024-09-17BEIJING INST OF TECH +1

Patent Information

Application Number
CN202410796737.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-20
Publication Date
2024-09-17

AI Technical Summary

Technical Problem

Traditional insect radar has inefficiency problems in identifying migrating insects. In particular, its ability to identify migrating insect species is limited, and it is affected by external factors such as weather, making it difficult to achieve long-term effective monitoring.

Method used

The random forest method based on multi-dimensional electromagnetic scattering parameters is used to calculate the polarization pattern features, RCS amplitude features, scattering matrix differential features and polarization invariant features, combined with the Laida method to eliminate outliers and expand Gaussian data, and train random Forest multi-classification model, optimizing model hyperparameters to improve recognition accuracy.

Benefits of technology

It achieves high-precision insect species identification, significantly improves the accuracy and stability of insect radar in identifying migrating insects, and can achieve a recognition rate of more than 90% in different frequency bands.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118656739A
    Figure CN118656739A
Patent Text Reader

Abstract

The invention discloses a random forest insect type identification method based on multi-dimensional electromagnetic scattering parameters, and aims to provide a high-precision insect type identification solution so as to effectively solve the problem of low efficiency of insect radar in migrated insect identification. According to the method, 22-dimensional electromagnetic scattering features are extracted by calculating a polarization scattering matrix (SM) of an insect, and the 22-dimensional electromagnetic scattering features comprise a 11-dimensional polarization directional diagram feature, a 4-dimensional RCS amplitude feature, a 2-dimensional scattering matrix difference feature and a 5-dimensional polarization invariant feature. Under the condition that the insect sample size is small or unbalanced, a Gaussian data enhancement means is adopted to carry out data set expansion; and then training and testing the expanded data set by using a random forest algorithm.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of insect radars, and in particular relates to a high-precision identification method for insect species based on a random forest of multi-dimensional electromagnetic scattering parameters. Background Art

[0002] Most of the important crop pests have the habit of long-distance migration, such as the fall armyworm, cotton bollworm and armyworm. The outbreaks of these migratory insects in different places have caused significant agricultural losses and seriously threatened global food security. Real-time monitoring and early warning of migratory pests and accurate knowledge of their species, biological fluxes and migration trajectories are of great significance for ensuring food security and sustainable agricultural development. Migratory insects are relatively small in size, and most of their migration occurs at high altitudes at night, which is beyond the monitoring range of human vision and optical instruments. Therefore, monitoring of insect migration behavior requires professional equipment. Traditional monitoring and research methods for migratory insects, such as ground insect trapping, mark-release-recovery methods, etc., are not only time-consuming and labor-intensive, but also easily affected by external factors such as weather, and cannot effectively monitor migratory pests for a long time.

[0003] The emergence of insect radars has made it possible to conduct in-depth studies on insect migration behavior. Traditional X-band vertical looking radars (VLRs) have obvious deficiencies in terms of working system, system functions, and indicators, and their target species identification capabilities are limited. With the advent of high-resolution fully polarized coherent radars, the fully polarized configuration enables radars to obtain the polarization scattering matrix (SM) of insects, thereby obtaining more dimensional insect electromagnetic scattering characteristic parameters, which will greatly enhance the biological parameter measurement and species identification capabilities of insect radars. Faced with larger feature data sets, machine learning algorithms can help us explore the differences and correlations between multiple features of different categories of insects without the need for us to artificially match insect categories with their corresponding features. Therefore, the current situation of insufficient insect identification capabilities of radars is expected to be improved. Summary of the invention

[0004] In view of this, the present invention provides a random forest insect species identification method based on multi-dimensional electromagnetic scattering parameters.

[0005] The technical solution of the present invention is as follows:

[0006] A random forest insect species identification method based on multi-dimensional electromagnetic scattering parameters comprises the following steps:

[0007] Step 1: Based on the insect scattering matrix, solve and calculate the multi-dimensional electromagnetic scattering characteristics, such as polarization pattern characteristics, RCS amplitude characteristics, scattering matrix difference characteristics, and polarization invariant characteristics;

[0008] Step 2: Based on the electromagnetic scattering feature data set obtained in step 1, the Laida method is first used to remove outliers, and then the mean and variance of the electromagnetic scattering feature parameters of the remaining samples of each insect are calculated, and then new sample data that conforms to the multivariate Gaussian distribution is generated, and the number of samples of each type of insect is expanded to the same level to form a new experimental data set;

[0009] Step 3: In the process of training the random forest multi-classification model, the data set is first divided into a training set and a test set. Then, the hyperparameters of the random forest model are adjusted by using random parameter optimization and 5-fold cross validation to train an insect recognition model with optimal classification performance.

[0010] Beneficial effects:

[0011] The present invention proposes a random forest insect species identification method based on multi-dimensional electromagnetic scattering parameters, which can be trained to obtain a high-precision insect species identification model and is expected to solve the inefficiency problem of insect radar in identifying migratory insects. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] Figure 1 、a 11 Probability density before and after parameter expansion;

[0013] Figure 2 , Random Forest Algorithm Model Training Flowchart;

[0014] Figure 3 ,Insect identification confusion matrix;

[0015] Figure 4 , algorithm flow chart. DETAILED DESCRIPTION

[0016] The present invention is described in detail below with reference to the accompanying drawings and embodiments.

[0017] Step 1: Multidimensional electromagnetic scattering parameter extraction

[0018] The present invention extracts a total of 22-dimensional electromagnetic scattering features for insect species identification, which can be simply divided into four categories: 11-dimensional polarization pattern features, 4-dimensional RCS amplitude features, 2-dimensional scattering matrix difference features, and 5-dimensional polarization invariant features, as shown in Table 1.

[0019] Table 1 22-dimensional electromagnetic scattering characteristics

[0020]

[0021] These features can all be calculated from the polarization scattering matrix of the insect. The calculation process of these features will be introduced below.

[0022] (1) Polarization pattern characteristics

[0023] The insect scattering matrix after polarization and RCS calibration can be expressed as:

[0024]

[0025] Where s 11 、s 12 、s 21 and 22 Represents HH, HV, VH and VV polarization RCS (unit: m 2 ). β, β' and γ are the relative phases of the remaining polarizations relative to the HH polarization. Since the insect radar is a single station, we have s 12 e jβ =s 21 e jβ′ .

[0026] Assuming that the normalized effective antenna length of the radar transmitting antenna is h(α), α represents the polarization direction of the antenna, the insect polarization pattern measured by the full polarization radar can be calculated by SM:

[0027]

[0028] in,

[0029]

[0030]

[0031] σ(α) can be simplified according to formula (2) as:

[0032] σ(α)=a0+a1cos2(α-θ1)+a2cos4(α-θ2) (5)

[0033] in,

[0034]

[0035] Based on a0, a1 and a2, two parameters α2 and α4 that characterize the shape of the polarization pattern are proposed.

[0036]

[0037] Δφ is the relative eigenphase, defined as the phase difference between two eigenvalues ​​of the SM.

[0038] (2) RCS amplitude characteristics

[0039] σ xx is the maximum value of the insect polarization pattern, σ yy is the same as σ xxThe vertical RCS can be calculated from a0, a1 and a2, and their ratio is defined as σ r .

[0040] σ xx =a0+a1+a2 (10)

[0041] σ yy =a0-a1+a2 (11)

[0042]

[0043] In addition, define σ yy With σ xx The average value is:

[0044] σ mean =(σ xx +σ yy ) / 2 (13)

[0045] (3) Scattering matrix difference characteristics

[0046] Based on formula (1), the two eigenvalues ​​μ1 and μ2 of insect SM can be calculated. Without loss of generality, it can be assumed that μ1|≥|μ2|, then the two eigenvalues ​​can be expressed as:

[0047]

[0048] Among them, |μ1| and |μ2| represent the amplitudes of μ1 and μ2, respectively, and φ1 and φ2 represent their phases, respectively.

[0049] Therefore, the differential amplitude characteristics and differential phase characteristics of the scattering matrix eigenvalues ​​D a , D p The calculation formula is as follows:

[0050] D a =|μ1| / |μ2| (16)

[0051]

[0052] (4) Polarization invariant characteristics

[0053] The Graves power matrix of insects can be expressed as:

[0054]

[0055] Among them, the components of G can be calculated by the following formula:

[0056]

[0057] Therefore, the two eigenvalues ​​λ1 and λ2 of G (λ1 ≥ λ2) can be calculated:

[0058]

[0059] Both eigenvalues ​​are proved to be polarization invariants. In addition, the determinant d, trace t and Frobenius coefficient f of the eigenvalue of the Graves power matrix are also polarization invariants like the eigenvalues. d, t and f can be expressed as:

[0060]

[0061] t=λ1+λ2 (23)

[0062]

[0063] At this point, the 22-dimensional electromagnetic scattering feature extraction is completed.

[0064] Step 2: Gaussian data augmentation

[0065] Since insect measurement experiments are time-consuming and laborious, the insect samples that can be obtained are very limited. However, by observing the probability density curve of the insect electromagnetic scattering characteristic parameters, we can find that the number of samples of some insects is relatively large, and their parameters roughly present a Gaussian distribution. In order to establish a high-precision and robust multi-classification model, a large amount of sample data is required, and the number of samples of different types should be kept moderately balanced. Therefore, the present invention considers constructing a new insect electromagnetic scattering characteristic parameter dataset based on the electromagnetic scattering characteristic parameter dataset of the original sample.

[0066] Before constructing a new data set, we first need to exclude outliers in the original data. To this end, we use the Laida method to exclude outliers. Specifically, if the difference between the measured value of a sample and its mean value exceeds three times the standard deviation, we will exclude it.

[0067]

[0068] in, and S x Represent the sample mean and standard deviation respectively, which can be expressed as:

[0069]

[0070] After excluding the outliers in the original sample data set, the mean, variance, and covariance of the electromagnetic scattering characteristic parameters of the remaining samples of each insect were calculated. Subsequently, new sample data conforming to the multivariate Gaussian distribution was generated, and the number of samples of each type of insect was expanded to 5,000 to form a new experimental data set:

[0071]

[0072] Where μ1, μ2… and σ1, σ2… are the mean and variance of the first and second dimension electromagnetic scattering features respectively. 11 Take 2 as an example, the probability density distribution diagram before and after expansion is as follows: Figure 1 shown.

[0073] Step 3: Random Forest Algorithm Training Classification Model

[0074] In the machine learning training process of the random forest multi-classification model, the dataset is first divided into a training set and a test set to ensure the generalization ability of the model. Subsequently, the hyperparameters of the random forest model can be intelligently adjusted by using random parameter optimization and 5-fold cross validation. Random parameter optimization can dynamically select parameter configurations to improve model performance, while 5-fold cross validation effectively utilizes data and provides reliable performance evaluation.

[0075] During the model training phase, random forests fit multiple decision tree classifiers on each subsample of the data set and use the average value to improve prediction accuracy and control overfitting. When building a random forest model, feature randomization is used to randomly select a portion of features as the candidate feature set. This process can independently and randomly select each feature and put it into the candidate feature set to reduce the correlation between features and thus reduce the risk of overfitting. In each cross-validation iteration, the model is evaluated on the validation set to avoid dependence on a single data partition and improve adaptability to different data distributions. After training, the model is evaluated using the test set to examine its performance on unseen data. Through the evaluation indicators of multi-classification problems, we can fully understand the performance of the model in each category, thereby guiding the optimization and improvement of the model. The entire process combines the best practices of modern machine learning, allowing the random forest model to be more robust and accurate in predicting multi-classification problems. The model training flowchart of the random forest algorithm is shown below. Figure 2 shown.

[0076] Example:

[0077] In order to verify the effectiveness of the random forest insect species identification method based on multi-dimensional electromagnetic scattering parameters of the present invention, a library construction experiment was carried out on four major migratory pests using a high-resolution full-polarization radar. The specific species and body size parameters are shown in Table 2.

[0078] Table 2 Pest species and body size parameters

[0079] Serial number type quantity Body weight / mg Body length / mm 1 cotton bollworm cotton bollworm 77~167 16~19 2 Cutworm Cutworm 245 21 3 Armyworm Armyworm 153~241 18~21 4 Spodoptera 2spottedii Spodoptera 2spottedii 15~45 10~13

[0080] Next, the radar calculates the polarization scattering matrix of the insects to extract 22-dimensional electromagnetic scattering features, including 11-dimensional polarization pattern features, 4-dimensional RCS amplitude features, 2-dimensional scattering matrix differential features and 5-dimensional polarization invariant features, and uses Gaussian data enhancement to expand the data set; then, the random forest algorithm is used to train and test the expanded data set, and the random forest algorithm is tuned using random parameter optimization to train an insect recognition model with optimal classification performance.

[0081] Taking the X1 frequency band (9.5GHz) as an example, the expanded data set is divided into a training set and a test set in a ratio of 7:3. The training set uses the random forest algorithm to train the classification model, and random parameter optimization is used to obtain the optimal hyperparameter combination of the random forest to obtain the best classification performance. Finally, the model classification accuracy is evaluated on the test set. The evaluation results are as follows: Figure 3 As shown in (a), in order to verify the generalization ability of the model, the unexpanded data set is also tested. The results are as follows Figure 3 (b) The experimental results verify the effectiveness of this method in insect species identification, and the insect identification performance in different frequency bands has been significantly improved, especially the identification rate of insects in the X and Ku bands has reached more than 90%. The specific performance indicators are shown in Table 3.

[0082] Table 3 Insect recognition rate at five frequency points

[0083] Frequency Expanded test set recognition rate Recognition rate of original data set X1(9.5GHz) 98.02% 97.25% X2(11.5GHz) 98.62% 96.92% Ku1(15.5GHz) 94.95% 91.83% Ku2(17.5GHz) 98.81% 94.48% Ka(35GHz) 88.04% 83.47%

[0084] The contents not described in detail in this specification belong to the prior art known to professional and technical personnel in this field.

[0085] The above description shows and describes several preferred embodiments of the present invention, but as mentioned above, it should be understood that the present invention is not limited to the form disclosed herein, and should not be regarded as excluding other embodiments, but can be used in various other combinations, modifications and environments, and can be modified within the scope of the invention concept described herein through the above teachings or the technology or knowledge of the relevant field. Changes and variations made by those skilled in the art do not depart from the spirit and scope of the present invention, and should be within the scope of protection of the claims attached to the present invention.

Claims

1. A random forest insect species identification method based on multidimensional electromagnetic scattering parameters, Features The steps of the method include: Step 1: Based on the insect scattering matrix, solve and calculate the multi-dimensional electromagnetic scattering characteristics, such as polarization pattern characteristics, RCS amplitude characteristics, scattering matrix difference characteristics, and polarization invariant characteristics; Step 2: Based on the electromagnetic scattering feature data set obtained in step 1, the Laida method is first used to remove outliers, and then the mean and variance of the electromagnetic scattering feature parameters of the remaining samples of each insect are calculated, and then new sample data that conforms to the multivariate Gaussian distribution is generated, and the number of samples of each type of insect is expanded to the same level to form a new experimental data set; Step 3: In the process of training the random forest multi-classification model, the data set is first divided into a training set and a test set; then the hyperparameters of the random forest model are adjusted by using random parameter optimization and 5-fold cross validation to train an insect recognition model with optimal classification performance.

2. A random forest insect species identification method based on multidimensional electromagnetic scattering parameters, Features This method extracts a total of 22-dimensional electromagnetic scattering features for insect species identification, which can be simply divided into four categories: 11-dimensional polarization pattern features, 4-dimensional RCS amplitude features, 2-dimensional scattering matrix difference features, and 5-dimensional polarization invariant features.

3. A random forest insect species identification method based on multi-dimensional electromagnetic scattering parameters as described in claims 1 and 2, It is characterized in that In the step 1, the polarization pattern feature solving process is as follows: The insect scattering matrix after polarization and RCS calibration can be expressed as: Where s 11 、s 12 、s 21 and 22 Represents HH, HV, VH and VV polarization RCS (unit: m 2 ) square root; β, β' and γ are the relative phases of the remaining polarizations relative to the HH polarization; Since the insect radar is a single station, there is s 12 e jβ =s 21 e jβ′ ; Assuming that the normalized effective antenna length of the radar transmitting antenna is h(α), α represents the polarization direction of the antenna, the insect polarization pattern measured by the full polarization radar can be calculated by SM: in, σ(α) can be simplified according to formula (2) as: σ(a)=a 0 +a 1 cos2(α-θ) 1 )+a 2 cos4(α-θ) 2 ) (5) in, Based on a 0 、a 1 and a 2 , two parameters α characterizing the shape of the polarization pattern 2 and α 4 was proposed; Δφ is the relative eigenphase, defined as the phase difference between two eigenvalues ​​of the SM.

4. A random forest insect species identification method based on multidimensional electromagnetic scattering parameters as described in claims 1 and 2, It is characterized in that In step 1, the RCS amplitude characteristic solution process is: σ xx is the maximum value of the insect polarization pattern, σ yy is the same as σ xx The vertical RCS can be determined by a 0 、a 1 and a 2 The ratio of the two is defined as σ r ; s xx =a 0 +a 1 +a 2 (10) s yy =a 0 -a 1 +a 2 (11) In addition, define σ yy With σ xx The average value is: s mean =(s xx +s yy ) / 2 (13).

5. A random forest insect species identification method based on multi-dimensional electromagnetic scattering parameters as described in claims 1 and 2, It is characterized in that In step 1, the scattering matrix differential feature solving process is: Based on formula (1), the two eigenvalues ​​μ of insect SM can be calculated: 1 and μ 2 ; Without loss of generality, we can assume μ 1 |≥|μ 2 |, then the two eigenvalues ​​can be expressed as: Among them, |μ 1 | and |μ 2 | respectively represent μ 1 and μ 2 The amplitude, φ 1 and φ 2 Respectively represent their phases; Therefore, the differential amplitude characteristics and differential phase characteristics of the scattering matrix eigenvalues ​​D a , D p The calculation formula is as follows: D a =|μ 1 | / |m 2 | (16) 6. A random forest insect species identification method based on multi-dimensional electromagnetic scattering parameters as claimed in claims 1 and 2, It is characterized in that In step 1, the polarization invariant characteristic solution process is: The Graves power matrix of insects can be expressed as: Among them, the components of G can be calculated by the following formula: Therefore, the two eigenvalues ​​λ of G 1 and λ 2 (λ 1 ≥λ 2 ) can be calculated: Both eigenvalues ​​are proved to be polarization invariants. In addition, the determinant d, trace t and Frobenius coefficient f of the eigenvalue of the Graves power matrix are also polarization invariants like the eigenvalue; d, t and f can be expressed as: t=λ 1 +λ 2 (23) 7. A random forest insect species identification method based on multi-dimensional electromagnetic scattering parameters as claimed in claims 1 and 2, It is characterized in that In the step 2, the Laida method is first used to eliminate outliers, that is, if the difference between the measured value of a sample and its average value exceeds three times the standard deviation, it will be eliminated; in, and S x Represent the sample mean and standard deviation respectively, which can be expressed as: Then, the mean and variance of the electromagnetic scattering characteristic parameters of the remaining samples of each insect are calculated, and then new sample data that conforms to the multivariate Gaussian distribution is generated:

8. A random forest insect species identification method based on multi-dimensional electromagnetic scattering parameters as claimed in claims 1 and 2, It is characterized in that In step 3, the insect classification model is trained using a random forest algorithm based on random parameter optimization: In the process of training the random forest multi-classification model, the data set is first divided into a training set and a test set. Then, the hyperparameters of the random forest model are adjusted by using random parameter optimization and 5-fold cross validation, such as the minimum number of samples required to split internal nodes (min_samples_split), the minimum number of samples required for leaf nodes (min_samples_leaf), the maximum depth of the tree (max_depth), and the number of trees (n_estimators). Random parameter optimization can automatically and quickly find the optimal hyperparameter combination in the parameter space, while 5-fold cross validation helps evaluate the performance of the model on different subsets and improve the generalization ability of the model. Then, the adjusted model is trained using the training set. After the training is completed, the test set is used for prediction. This training process utilizes random parameter optimization and cross-validation methods to make the model more robust and accurate.

Citation Information

Patent Citations

  • Design method of insect taxonomy scheme based on insect biological parameters

    CN109063735A

  • Insect body width inversion method based on full-polarization radar power matrix eigenvalues

    CN111007499A

  • Insect biological parameter inversion method based on feature selection

    CN115659118A

  • Parallel and vertical insect distinguishing method based on multi-frequency differential characteristic values

    CN116299426A

  • Insect radar body type parameter inversion method based on minimum polarization RCS

    CN116736253A

Cited By

  • Insect type identification method based on multi-dimensional radar electromagnetic scattering characteristic sequence

    CN119538015A

  • Method for monitoring migratory flying pests across scattering region

    CN121454480A

  • A method of monitoring pests migrating across a scattering zone

    CN121454480B