Local eigenvalue-based traffic sign updatable external confrontation and defense method

Through the external defense method of local eigenvalues, abstract processing, Gaussian filters and autoencoders are used to identify adversarial attacks on traffic signs, which solves the problem of insufficient defense performance against adversarial attacks in the field of intelligent networked vehicles and achieves efficient traffic. Sign recognition and defense effects, suitable for intelligent driving and driverless systems.

CN118552932AInactive Publication Date: 2024-08-27ZHONGBING INTELLIGENT INNOVATION RES INST CO LTD

Patent Information

Application Number
CN202410467261.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-18
Publication Date
2024-08-27
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the field of intelligent networked vehicles, the defense performance against adversarial attacks is insufficient, especially the protection against micro-perturbation attacks is weak. Existing methods have high computational overhead or degraded model performance, and there is very little research on the defense of traffic signs.

Method used

The traffic sign based on local eigenvalues ​​is used to update the external adversarial defense method. Through abstraction processing, Gaussian filter noise reduction, autoencoder feature extraction and local eigenvalue difference comparison, malicious attack images are identified and filtered out, reducing the risk of malicious attacks. Combat the influence of samples and improve the accuracy and reliability of traffic sign recognition.

Benefits of technology

It effectively improves the defense performance of smart vehicles against attacks, reduces noise levels, and improves the clarity and recognition accuracy of traffic sign images. The external module is easy to update, has strong adaptability and low cost, making up for the shortcomings of existing technology.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118552932A
    Figure CN118552932A
Patent Text Reader

Abstract

The invention belongs to the technical field of intelligent vehicle safety, and particularly relates to a local eigenvalue-based traffic sign updatable external confrontation and defense method, which comprises the steps of performing abstraction processing on traffic sign image data; image noise is filtered through a Gaussian filter, and the image quality and definition are improved; performing feature extraction on the image; identifying the traffic sign image modified by the hostile attack; inputting the traffic sign image data into the traffic sign recognition model, and performing a control group experiment; and directly inputting the traffic sign image of the control group into the traffic sign recognition model for discrimination. According to the method, the defects that an existing image preprocessing method is weak in protection against small disturbance type adversarial attacks, and an enhanced model adversarial robustness method is large in calculation overhead of a retraining module and can only aim at specific attacks, and the performance of the model is possibly reduced due to overtraining are overcome.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of intelligent vehicle safety, and in particular relates to an updateable external confrontation defense method for traffic signs based on local eigenvalues. Background Art

[0002] The rapid development of science and technology has continuously improved the intelligence of vehicles. Autonomous driving technology has gradually entered people's lives and is one of the driving methods of the future. However, the attack surface of connected intelligent vehicles has greatly increased, and security threats have increased. Counterattack is one of the severe challenges. By adding small perturbations to traffic sign images, hackers may cause the model classifier to incorrectly identify traffic signs, leading to serious consequences, such as misjudging a left turn sign as a right turn sign. The existence of such safety hazards poses a major challenge to the safety of vehicle intelligence, threatening not only the life and property safety of drivers, but also the safety of society as a whole.

[0003] There are currently three types of defense methods for adversarial attacks, namely image preprocessing, improving model robustness, and malicious detection defense. First, although image preprocessing can reduce the impact of adversarial perturbations on model classification through operations such as denoising, randomization, reconstruction, scaling, transformation, and enhancement, it does not require modification of the model and can be directly applied to the trained model with low computational overhead. However, image preprocessing cannot completely eliminate the impact of adversarial perturbations. Hackers can bypass the preprocessing method and re-attack the model by continuously optimizing adversarial samples. Secondly, improve model robustness and enhance the model's ability to resist adversarial samples by modifying the model architecture, training method, regularization, feature denoising, etc. This method requires retraining the model and has a large computational overhead. Moreover, this method is not a one-time solution. Hackers can continuously improve adversarial attack techniques and continue to attack models that have been trained for robustness. In addition, improving model robustness may also lead to a decline in model performance and affect the classification accuracy of ordinary samples. Finally, malicious detection defense prevents adversarial attacks by using an external sub-network to detect whether the input image is a malicious image. This type of external detection module increases the computational overhead, but does not require changing the model itself. Compared with the model training overhead, the external module is easy to replace and update.

[0004] To sum up, the problems with current technology are:

[0005] The field of intelligent connected vehicles, especially intelligent driving and unmanned driving, is threatened by adversarial attacks. The current defense and protection against them mostly adopts image preprocessing and enhancing the model's adversarial robustness. The former has extremely weak protection against adversarial attacks, especially small perturbation-type adversarial attacks; the latter has a large computational overhead for retraining the module, and can only target specific attacks and may cause model performance degradation due to overtraining. External detection can better deal with the shortcomings of the above two methods, without modifying the training recognition model itself, and it is easy to update and replace without affecting the use of the original model. However, there is very little research on external detection of traffic sign adversarial defense. Summary of the invention

[0006] 1. Technical issues to be resolved

[0007] The technical problem to be solved by the present invention is: how to improve the defense performance of intelligent connected vehicles, especially intelligent driving and unmanned driving, when they are attacked by adversarial attacks.

[0008] (II) Technical solution

[0009] In order to solve the above technical problems, the present invention provides a traffic sign updateable external countermeasure defense method based on local eigenvalues, the method comprising:

[0010] Step 1: Abstract the traffic sign image data and input it into the deep neural network;

[0011] Step 2: Use a Gaussian filter to filter out image noise, reduce the image noise level, improve image quality and clarity, and make the edges and details of traffic signs more clearly visible;

[0012] Step 3: Use the autoencoder to extract features from the image. The features extracted by the autoencoder better describe the local structure and texture information in the image and help calculate the local eigenvalues ​​of the image.

[0013] Step 4: By comparing the differences between the local eigenvalues ​​of different images, the traffic sign images modified by malicious attacks are identified to ensure the accuracy and reliability of traffic sign recognition;

[0014] Step 5: After screening out adversarial samples, the traffic sign image data is input into the traffic sign recognition model. At the same time, in order to measure the defense effect of the external model, a control group experiment is conducted; the traffic sign images of the control group are directly input into the traffic sign recognition model for judgment.

[0015] Among them, in the step 1, the traffic sign image data is abstracted, specifically, the details and features in the image are converted into a more advanced tensor representation through three processing methods: image cropping, tensor conversion, and pixel normalization, so that the deep neural network can better understand the semantic information of the image.

[0016] Among them, in the step 1, the abstract processing of the traffic sign image data refers to performing three conversion operations on the image, namely, image cropping, tensor conversion, and pixel normalization, which respectively follow the following mathematical formulas:

[0017] I'(x',y')=I(x+x',y+y') (1)

[0018] Wherein, the original image is I, the cropped image is I', the pixel coordinates of the starting point of the cropping frame are (x, y), and (x', y') represent the pixel coordinates in the cropped image;

[0019]

[0020] C(x,y,i)=I(x,y,i) (3)

[0021] Where, the original image is I, the grayscale image is G, the image after color channel conversion is C, (R, G, B) represents the red, green, and blue channel values ​​in the original image; (x, y) represents the pixel coordinates, and i represents the corresponding color channel index;

[0022]

[0023] Among them, the original image is I, the normalized image is N, min(I) and max(I) represent the minimum and maximum pixel values ​​in the original image respectively.

[0024] Among them, in step 2, the image noise is filtered out by a Gaussian filter to reduce the noise level in the image, improve the image quality and clarity, make the edges and details of the traffic sign more clearly visible, and at the same time destroy the influence of the noise added by the possible adversarial attack to form a clear image.

[0025] Wherein, in step 2, when using the Gaussian filter, the Gaussian kernel is calculated respectively, and the Gaussian kernel is convolved with the input image, and finally the boundary is filled, that is, the outside of the matrix is ​​filled with 0, and the operation adopts function formula (5), formula (6):

[0026]

[0027] Among them, x and y represent the coordinate position of the Gaussian kernel, and σ represents the standard deviation of the Gaussian kernel;

[0028]

[0029] Among them, I(x,y) represents the pixel value of the input image, I'(x,y) represents the pixel value of the image after convolution, and G(i,j,σ) represents the value of the Gaussian kernel at position (i,j).

[0030] Among them, in the step 3, the autoencoder is used to extract features of the image and calculate local eigenvalues. The features extracted by the autoencoder better describe the local structure and texture information in the image and improve the effect of calculating the local eigenvalues ​​of the image.

[0031] In step 3, the autoencoder converts the image into a low-dimensional feature representation, which can better capture the local eigenvalues ​​of the image; the local eigenvalues ​​are used to describe the local structure and complexity around the data point, and are calculated by the nearest neighbor distance method, as shown in formula (7) and formula (8):

[0032] D(x)=|C(x)-C(x+ε)| (7)

[0033]

[0034] Among them, C(x) is the confidence of the original model output, C(x+ε) represents the confidence of the model output after artificially increasing the disturbance, D(x) is used to measure the difference between the confidence of the original model output and the confidence of the model output after artificially increasing the disturbance, r i (x) represents the distance between sample x and its i-th neighbor, r k (x) represents the distance between sample x and its farthest neighbor, k represents the number of neighbors selected, and ω represents the weight coefficient;

[0035] The purpose of adding ω·D(x) is to increase the local eigenvalue of the adversarial sample, making the clean sample more robust. The calculated value of the newly added part tends to be close to 0, while the adversarial sample will get a positive value, the specific value of which depends on the weight coefficient w. This operation further increases the gap between the local eigenvalue of the clean sample and the local eigenvalue of the adversarial sample, improving the ability to detect adversarial samples.

[0036] Among them, in the step 4, the local eigenvalue differences of the images are compared to screen out adversarial samples: by comparing the differences between the local eigenvalues ​​of different images, the traffic sign images that have been modified by malicious attacks are identified and eliminated from entering the traffic sign recognition model.

[0037] Among them, in the step 5, the screened traffic sign image is input into the traffic sign recognition model, and a control group experiment is carried out to evaluate the external defense effect for subsequent optimization.

[0038] Among them, in step 5, the control group experiment conducts comparative evaluation from three aspects: malicious traffic sign image recognition accuracy, average confidence of malicious traffic sign misclassification categories, and average confidence of malicious traffic sign true labels, so as to further optimize the external detection module according to the evaluation results.

[0039] (III) Beneficial effects

[0040] Compared with the prior art, the present invention proposes an external detection and defense method for the threat of adversarial attacks in intelligent vehicle image recognition, which makes up for the shortcomings of the existing "image preprocessing" method that has weak protection against tiny perturbation-type adversarial attacks, and the "enhanced model adversarial robustness" method that has a large computational overhead for retraining the module, can only target specific attacks, and may cause model performance to deteriorate due to over-training.

[0041] This external detection and defense solution adds a Gaussian filter to effectively reduce the noise level in the image, making the edges and details of the traffic sign more clearly visible. On the one hand, it improves the quality of the traffic sign image, making it more suitable for subsequent analysis and processing, and on the other hand, it destroys the impact of noise added by possible adversarial attacks. The use of autoencoders for feature extraction can better describe local structure and texture information and improve the recognition accuracy of traffic signs. The method of comparing the differences in local eigenvalues ​​of traffic signs can detect traffic sign images modified by malicious attacks, effectively screen out traffic sign adversarial samples, and improve the accuracy and reliability of traffic sign recognition. The external module itself is easy to replace, with strong adaptability and low cost. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] Figure 1-Figure 4 It is a schematic diagram of the principle of the technical solution of the present invention. DETAILED DESCRIPTION

[0043] In order to make the purpose, content and advantages of the present invention more clear, the specific implementation methods of the present invention are further described in detail below in conjunction with the drawings and examples.

[0044] In order to solve the above technical problems, the present invention provides a traffic sign updateable external countermeasure defense method based on local eigenvalues, the method comprising:

[0045] Step 1: Abstract the traffic sign image data and input it into the deep neural network;

[0046] Step 2: Use a Gaussian filter to filter out image noise, reduce the image noise level, improve image quality and clarity, and make the edges and details of traffic signs more clearly visible;

[0047] Step 3: Use the autoencoder to extract features from the image. The features extracted by the autoencoder better describe the local structure and texture information in the image and help calculate the local eigenvalues ​​of the image.

[0048] Step 4: By comparing the differences between the local eigenvalues ​​of different images, the traffic sign images modified by malicious attacks are identified to ensure the accuracy and reliability of traffic sign recognition;

[0049] Step 5: After screening out adversarial samples, the traffic sign image data is input into the traffic sign recognition model. At the same time, in order to measure the defense effect of the external model, a control group experiment is conducted; the traffic sign images of the control group are directly input into the traffic sign recognition model for judgment.

[0050] Among them, in the step 1, the traffic sign image data is abstracted, specifically, the details and features in the image are converted into a more advanced tensor representation through three processing methods: image cropping, tensor conversion, and pixel normalization, so that the deep neural network can better understand the semantic information of the image.

[0051] Among them, in the step 1, the abstract processing of the traffic sign image data refers to performing three conversion operations on the image, namely, image cropping, tensor conversion, and pixel normalization, which respectively follow the following mathematical formulas:

[0052] I'(x',y')=I(x+x',y+y') (1)

[0053] Wherein, the original image is I, the cropped image is I', the pixel coordinates of the starting point of the cropping frame are (x, y), and (x', y') represent the pixel coordinates in the cropped image;

[0054]

[0055] C(x,y,i)=I(x,y,i) (3)

[0056] Where, the original image is I, the grayscale image is G, the image after color channel conversion is C, (R, G, B) represents the red, green, and blue channel values ​​in the original image; (x, y) represents the pixel coordinates, and i represents the corresponding color channel index;

[0057]

[0058] Among them, the original image is I, the normalized image is N, min(I) and max(I) represent the minimum and maximum pixel values ​​in the original image respectively.

[0059] Among them, in step 2, the image noise is filtered out by a Gaussian filter to reduce the noise level in the image, improve the image quality and clarity, make the edges and details of the traffic sign more clearly visible, and at the same time destroy the influence of the noise added by the possible adversarial attack to form a clear image.

[0060] In step 2, the Gaussian filter is a linear filter that performs smoothing on the image based on the Gaussian function, which helps to reduce subtle noise and granular noise in the image and improve the overall quality of the image. When using the Gaussian filter, the Gaussian kernel is calculated separately, and the kernel is convolved with the input image, and finally the boundary is filled, that is, the outside of the matrix is ​​filled with 0, and the operation adopts function formula (5), formula (6):

[0061]

[0062] Among them, x and y represent the coordinate position of the Gaussian kernel, and σ represents the standard deviation of the Gaussian kernel;

[0063]

[0064] Among them, I(x,y) represents the pixel value of the input image, I'(x,y) represents the pixel value of the image after convolution, and G(i,j,σ) represents the value of the Gaussian kernel at position (i,j).

[0065] Among them, in the step 3, the autoencoder is used to extract features of the image and calculate local eigenvalues. The features extracted by the autoencoder better describe the local structure and texture information in the image and improve the effect of calculating the local eigenvalues ​​of the image.

[0066] In step 3, the autoencoder converts the image into a low-dimensional feature representation, which can better capture the local eigenvalues ​​of the image; the local eigenvalues ​​are used to describe the local structure and complexity around the data point, and are calculated by the nearest neighbor distance method, as shown in formula (7) and formula (8):

[0067] D(x)=|C(x)-C(x+ε)| (7)

[0068]

[0069] Among them, C(x) is the confidence of the original model output, C(x+ε) represents the confidence of the model output after artificially increasing the disturbance, D(x) is used to measure the difference between the confidence of the original model output and the confidence of the model output after artificially increasing the disturbance, r i (x) represents the distance between sample x and its i-th neighbor, r k (x) represents the distance between sample x and its farthest neighbor, k represents the number of neighbors selected, and ω represents the weight coefficient;

[0070] The purpose of adding ω·D(x) is to increase the local eigenvalue of the adversarial sample, making the clean sample more robust. The calculated value of the newly added part tends to be close to 0, while the adversarial sample will get a positive value, the specific value of which depends on the weight coefficient w. This operation further increases the gap between the local eigenvalue of the clean sample and the local eigenvalue of the adversarial sample, improving the ability to detect adversarial samples.

[0071] Among them, in the step 4, the local eigenvalue differences of the images are compared to screen out adversarial samples: by comparing the differences between the local eigenvalues ​​of different images, the traffic sign images that have been modified by malicious attacks are identified and eliminated from entering the traffic sign recognition model.

[0072] In step 4, the adversarial sample usually introduces disturbance or modification in the local area, causing changes in the local structure and complexity of the area, which in turn causes differences in the local eigenvalues ​​from the clean image; experimental results show that when the threshold is set to 4, the adversarial sample can be effectively detected.

[0073] Among them, in the step 5, the screened traffic sign image is input into the traffic sign recognition model, and a control group experiment is carried out to evaluate the external defense effect for subsequent optimization.

[0074] Among them, in step 5, the control group experiment will conduct comparative evaluation from three aspects: the accuracy of malicious traffic sign image recognition, the average confidence of malicious traffic sign misclassification categories, and the average confidence of malicious traffic sign true labels, so as to further optimize the external detection module according to the evaluation results.

[0075] Example 1

[0076] The traffic sign updateable external confrontation defense method based on local eigenvalues ​​provided in this embodiment includes the following steps, as shown in the attached Figure 1 , Figure 2 :

[0077] S101: Abstract input of traffic sign image data; abstract the traffic sign image data into data that can be understood by a computer. The three operations of the transformation are image cropping, tensor transformation, and pixel normalization.

[0078] Image cropping: Considering the regularity of the traffic sign dataset, most traffic signs are located in the middle of the image. To achieve better recognition results, the following processing steps are taken for the images in the dataset: first, the image is cropped in the middle at a ratio of 80%; then, zero pixels are filled at the edge; finally, the image is cropped into a 3*64*64 matrix.

[0079] Tensor conversion: Convert the cropped matrix into a tensor form to facilitate input into the deep neural network for calculation and training.

[0080] Pixel normalization: Scale the tensor pixel values ​​to between 0 and 1. Here, standard normalization is performed with a mean of 0 and a standard deviation of 1.

[0081] S102: Gaussian filter to filter image noise, such as Figure 4 , 1) define the filter size and standard deviation, 2) calculate the Gaussian kernel, 3) perform filter calculation on the pixel points, 4) edge processing, 5) output the results.

[0082] Define the filter size and standard deviation: First, determine the size of the Gaussian filter. Here, the filter size is set to 3*3, the mean is set to 0, and the standard deviation is 1. According to formulas 1 and 2, calculate the Gaussian kernels of different traffic signs respectively, use the Gaussian kernel to obtain the new image impulse, and finally fill the border (fill the outside of the matrix with 0).

[0083] S103: Use the encoder to extract image features and calculate local eigenvalues: After the first two steps, we get a clear image. Now we need to extract the features of the image in order to calculate the local eigenvalues. The following is an example:

[0084] The autoencoder extracts features. For example, the dataset selected in this article is a 43-classified traffic sign dataset. After this step, the image is finally converted into a 43*1 tensor.

[0085] Select the nearest neighbor k value. This paper intends to use the nearest neighbor distance method to calculate the local eigenvalue. Here, the nearest neighbor data point is calculated to be 50, that is, k=50.

[0086] According to the selected k value, the local eigenvalues ​​of each input image data are calculated in batches, and the results are counted in an array.

[0087] S104: Compare the differences in local eigenvalues ​​of images and filter out adversarial samples: By comparing the differences between local eigenvalues ​​of different images, traffic sign images that have been modified by malicious attacks are identified and are removed from entering the traffic sign recognition module.

[0088] According to the experimental results, under the current data set conditions, it is observed that the local intrinsic dimension value of clean traffic sign images is usually less than 4, while the local intrinsic dimension value of maliciously modified traffic sign images is greater than 4. Therefore, the judgment threshold is set to 4, and the difference in local intrinsic dimension values ​​is used to determine whether the image has been maliciously modified.

[0089] S105: The filtered traffic sign images are input into the traffic sign recognition model and the defense effect is evaluated: a control group experiment is conducted to compare and evaluate the recognition accuracy of malicious traffic sign images, the average confidence of malicious traffic sign misclassification categories, and the average confidence of malicious traffic sign true labels. The experimental results show that the recognition accuracy of the traffic sign recognition model defended by the external module is more than 95%, which is much higher than the 82% of the undefended module. The defense effect is very obvious, as shown below:

[0090]

[0091] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the technical principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A traffic sign updateable external adversarial defense method based on local eigenvalues, It is characterized in that The method comprises: Step 1: Abstract the traffic sign image data and input it into the deep neural network; Step 2: Use a Gaussian filter to filter out image noise, reduce the image noise level, improve image quality and clarity, and make the edges and details of traffic signs more clearly visible; Step 3: Use the autoencoder to extract features from the image. The features extracted by the autoencoder better describe the local structure and texture information in the image and help calculate the local eigenvalues ​​of the image. Step 4: By comparing the differences between the local eigenvalues ​​of different images, the traffic sign images modified by malicious attacks are identified to ensure the accuracy and reliability of traffic sign recognition; Step 5: After screening out adversarial samples, the traffic sign image data is input into the traffic sign recognition model. At the same time, in order to measure the defense effect of the external model, a control group experiment is conducted; the traffic sign images of the control group are directly input into the traffic sign recognition model for judgment.

2. The traffic sign updateable external countermeasure defense method based on local eigenvalues ​​as claimed in claim 1, It is characterized in that In step 1, the traffic sign image data is abstracted, specifically, the details and features in the image are converted into a more advanced tensor representation through three processing methods: image cropping, tensor conversion, and pixel normalization, so that the deep neural network can better understand the semantic information of the image.

3. The traffic sign updateable external countermeasure defense method based on local eigenvalues ​​as claimed in claim 2, It is characterized in that In step 1, the abstract processing of the traffic sign image data refers to performing three conversion operations of image cropping, tensor conversion, and pixel normalization on the image, respectively following the following mathematical formulas: I'(x',y')=I(x+x',y+y') (1) Wherein, the original image is I, the cropped image is I', the pixel coordinates of the starting point of the cropping frame are (x, y), and (x', y') represent the pixel coordinates in the cropped image; C(x,y,i)=I(x,y,i) (3) Where, the original image is I, the grayscale image is G, the image after color channel conversion is C, (R, G, B) represents the red, green, and blue channel values ​​in the original image; (x, y) represents the pixel coordinates, and i represents the corresponding color channel index; Among them, the original image is I, the normalized image is N, min(I) and max(I) represent the minimum and maximum pixel values ​​in the original image respectively.

4. The traffic sign updateable external countermeasure defense method based on local eigenvalues ​​as claimed in claim 3, It is characterized in that In step 2, the image noise is filtered out by a Gaussian filter to reduce the noise level in the image, improve the image quality and clarity, make the edges and details of the traffic sign more clearly visible, and at the same time destroy the influence of the noise added by the possible adversarial attack to form a clear image.

5. The traffic sign updateable external countermeasure defense method based on local eigenvalues ​​as claimed in claim 4, It is characterized in that In step 2, when using a Gaussian filter, the Gaussian kernel is calculated respectively, and a convolution operation is performed on it and the input image, and finally the boundary is filled, that is, the outside of the matrix is ​​filled with 0, and the operation adopts function formula (5) and formula (6): Among them, x and y represent the coordinate position of the Gaussian kernel, and σ represents the standard deviation of the Gaussian kernel; Among them, I(x,y) represents the pixel value of the input image, I'(x,y) represents the pixel value of the image after convolution, and G(i,j,σ) represents the value of the Gaussian kernel at position (i,j).

6. The traffic sign updateable external countermeasure defense method based on local eigenvalues ​​as claimed in claim 5, It is characterized in that In step 3, the autoencoder is used to extract features from the image and calculate local eigenvalues. The features extracted by the autoencoder better describe the local structure and texture information in the image and improve the effect of calculating the local eigenvalues ​​of the image.

7. The traffic sign updateable external countermeasure defense method based on local eigenvalues ​​as claimed in claim 6, It is characterized in that In step 3, the autoencoder converts the image into a low-dimensional feature representation, which can better capture the local eigenvalues ​​of the image; the local eigenvalues ​​are used to describe the local structure and complexity around the data point, and are calculated by the nearest neighbor distance method, as shown in formula (7) and formula (8): D(x)=|C(x)-C(x+ε)| (7) Among them, C(x) is the confidence of the original model output, C(x+ε) represents the confidence of the model output after artificially increasing the disturbance, D(x) is used to measure the difference between the confidence of the original model output and the confidence of the model output after artificially increasing the disturbance, r i (x) represents the distance between sample x and its i-th neighbor, r k (x) represents the distance between sample x and its farthest neighbor, k represents the number of neighbors selected, and ω represents the weight coefficient; The purpose of adding ω·D(x) is to increase the local eigenvalue of the adversarial sample, making the clean sample more robust. The calculated value of the newly added part tends to be close to 0, while the adversarial sample will get a positive value, the specific value of which depends on the weight coefficient w. This operation further increases the gap between the local eigenvalue of the clean sample and the local eigenvalue of the adversarial sample, improving the ability to detect adversarial samples.

8. The traffic sign updateable external countermeasure defense method based on local eigenvalues ​​as claimed in claim 7, It is characterized in that In step 4, the local eigenvalue differences of the images are compared to screen out adversarial samples: by comparing the differences between the local eigenvalues ​​of different images, traffic sign images that have been modified by malicious attacks are identified and removed from entering the traffic sign recognition model.

9. The traffic sign updateable external countermeasure defense method based on local eigenvalues ​​as claimed in claim 8, It is characterized in that In step 5, the screened traffic sign image is input into the traffic sign recognition model, and a control group experiment is performed to evaluate the effect of the external defense for subsequent optimization.

10. The traffic sign updateable external countermeasure defense method based on local eigenvalues ​​as claimed in claim 9, It is characterized in that In step 5, the control group experiment conducts comparative evaluation from three aspects: malicious traffic sign image recognition accuracy, average confidence of malicious traffic sign misclassification categories, and average confidence of malicious traffic sign true labels, so as to further optimize the external detection module according to the evaluation results.

Citation Information

Patent Citations

  • Traffic image recognition method and device, computer equipment and medium

    CN109886210A

  • Difference detection method for image type adversarial samples

    CN112085170A

  • Planar cascade steady flow prediction method based on generative adversarial network

    CN114329826A

  • Image class confrontation sample identification method based on three-order cascade detector and detector

    CN115830376A

  • Image online processing method and device, electronic equipment and computer readable medium

    CN116128818A

Cited By

  • Traffic sign real-time monitoring system and method based on artificial intelligence

    CN120032325A