A cascaded adversarial attack method for visual perception of unmanned aerial vehicle in rainy day
By employing a cascaded adversarial attack method, the rain map is divided into rain and non-rain zones. Adversarial perturbations are generated for the rain removal network and downstream task networks, respectively. This solves the problem that existing technologies cannot simultaneously and effectively attack the visual perception system of UAVs in rainy weather, and enables adversarial examples to have a significant impact on downstream tasks without violating the principle of stealth.
Patent Information
- Application Number
- CN202410988931.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-23
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2044-07-23
AI Technical Summary
Existing technologies have failed to effectively attack both the rain removal network and the downstream task network in the visual perception system of rainy drones simultaneously, resulting in poor performance of adversarial attack methods in such integrated systems. Furthermore, existing methods are prone to violating the principle of stealth when attacking two networks simultaneously.
A cascaded adversarial attack method is adopted to divide the rain image into rain and non-rain regions. Adversarial perturbations are generated for the rain removal network and the downstream task network, respectively. The two sets of perturbations are concentrated on the input image by a binary mask to generate the final adversarial sample.
It achieves the ability to simultaneously and effectively attack both the rain removal network and the downstream task network without violating the principle of stealth, significantly reducing the performance of the integrated system and ensuring that the adversarial sample has a serious impact on the downstream task.
Smart Images

Figure CN119006309B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of adversarial attack technology, and more specifically, relates to a cascaded adversarial attack method for visual perception of drones in rainy weather. Background Technology
[0002] Drones often perform visual perception operations in rainy conditions. Due to the destructive impact of rain on downstream task networks, de-raining networks are typically used to preprocess rain images before utilizing visual perception models to achieve the desired task objectives. This integrated system, consisting of a de-raining network and a downstream task network, is widely deployed in drone systems.
[0003] However, this setup, i.e., ensemble systems, has never been explored by adversarial attack methods. Current adversarial attack methods are limited to attacking only one type of network, because two networks from different task levels (low-level and high-level) differ significantly in network structure, learning objectives, data annotation, and training strategies. Therefore, common methods for attacking multiple models in the adversarial attack field (such as general perturbations and ensemble attacks) are ineffective in this situation.
[0004] When attacking a single model in the aforementioned ensemble system in isolation, attacking the deraining network alone results in an adversarial perturbation optimization process lacking crucial information such as parameters and labels of the downstream task network, making it difficult to generate perturbations that have a fatal impact on the downstream task. On the other hand, adversarial perturbations are considered noise, and the deraining network can mitigate their impact through its own resilience. Attacking only the downstream task network without considering the deraining network alters the optimized adversarial perturbation distribution, thus affecting attack performance. If we attack both models simultaneously, the challenge lies in combining these two sets of perturbations on the input rain map, since the input to this ensemble system is only a single rain map. An intuitive approach is to directly add these two sets of perturbations to the input rain map, but this interferes with their respective optimized perturbation distributions, thus compromising the performance of each attack. More importantly, this exceeds the limit on the amount of perturbation change, making the perturbation visually apparent, violating the principle of stealth in adversarial attacks—that is, the perturbation should not be perceptible to the human eye.
[0005] Due to the aforementioned challenges, existing methods have not yet explored attacks on such integrated systems, focusing only on attacks against specific downstream task networks and deraining networks. Mature and powerful attack algorithms already exist for downstream task networks such as classification, segmentation, and detection. Regarding the relationship between deraining networks and adversarial attacks, the work of Yu et al. has demonstrated the vulnerability of deraining networks to adversarial attacks. Furthermore, they investigated various types of adversarial attacks targeting the deraining problem and analyzed the impact of these attack methods on human and machine vision tasks. However, these works are concentrated on a single type and a single network, neglecting the coexistence of the deraining network and downstream task networks in real-world systems. This results in poor performance of their methods in real-world integrated systems. Therefore, the integrated system setup for UAVs in real-world scenarios ensures their normal operation in rainy conditions and, to some extent, avoids malicious attacks from third parties.
[0006] As mentioned above, existing attack methods have the following drawbacks: (1) The two networks from different domains and different task levels (high-level and low-level) have huge differences in architecture, learning objectives, data annotation, and training strategies, making common methods for attacking multiple models, such as general perturbations and ensemble attacks, ineffective. (2) When attacking only a single model, the generated adversarial examples usually exhibit very poor attack performance because the differences between models designed for different tasks in the ensemble system are not considered. (3) If two models are attacked simultaneously, forcing the addition of two sets of perturbations to the input image at the same time will change their respective distributions, thereby destroying the effectiveness of each attack and exceeding the maximum threshold for perturbation change set during the optimization process, violating the principle of stealth. Summary of the Invention
[0007] The purpose of this invention is to overcome the shortcomings of the prior art and provide a cascaded adversarial attack method for visual perception of drones in rainy weather, so as to generate adversarial samples that can attack both the rain removal network and the downstream task network at the same time.
[0008] To achieve the above-mentioned objectives, the present invention provides a cascaded adversarial attack method for visual perception of drones in rainy weather, characterized by comprising the following steps:
[0009] (1) Initialization
[0010] Initial rain attack adversarial perturbation is sampled from a uniform distribution U(-∈, ∈). Where ∈ represents the perturbation limit;
[0011] (2) If the counterattack is a cascaded counterattack – from rain to mission, then:
[0012] 2.1) First, perform iterations t from 1 to T. RRA Rainfall attack counter-perturbation iteration:
[0013]
[0014]
[0015] in, The rain-retention attack counters the perturbation after t iterations. For the rain attack against the perturbation before iteration t, Proj(·) represents the rain attack against the perturbation before iteration t. The projection lies within the norm bounds (-∈, ∈), and X is projected onto the norm bounds. rain + Projected into the effective space (0,1);
[0016]
[0017] It is the damage caused by the rain attack disturbance. Regarding the countermeasures against rain-related attacks. The gradient is denoted by sgn, which represents the sign of the extracted gradient. α controls the step size of each iteration. Mask is a binary rain mask, where a value of 1 represents a rainy area and a value of 0 represents a rainless area.
[0018] Among them, the damage caused by rain-induced attack disturbances for:
[0019] The rain attack generated by the rain attack counters the disturbance. Add to Rain Map X rain In the middle, through the rain removal network f rain Get the output rain map
[0020]
[0021] Then, measure the rain map X. rain arrive The distance between them is used as the disturbance loss.
[0022]
[0023] Where 0 is a zero matrix, which corresponds to the rain diagram. Having the same size, ||·||2 represents finding the 2-norm of a matrix;
[0024] Tth RRA The result of the iteration is the rain-based attack against the perturbation. This is denoted as the rain-retaining attack counter-disturbance δ. RRA ;
[0025] 2.2) Then calculate the mission attack counter-disturbance δ TA :
[0026]
[0027] δ TA =clip(δ TA ,-∈,∈);
[0028] in, It is the cross-entropy loss L TA (f task (X clean +δ RRA ),y) about the non-rainy image X clean The gradient of f task (X clean +δ RRA (X is the rain map) rain non-rain image x clean Add rain-based attack to counter disturbance δ RRA Then, through the semantic segmentation network f task The result of the semantic segmentation task, y, is used as the label for the semantic segmentation task, L TA (.,.) represents calculating the cross-entropy loss between the two, and clip is the clipping function;
[0029] (3) If the adversarial attack is a cascaded adversarial attack—from mission to rain—then:
[0030] 3.1) First, calculate the mission attack counter-disturbance δ. TA :
[0031]
[0032] δ TA =clip(δ TA -∈,∈);
[0033] 3.2) Then the number of iterations t increases from 1 to T. RRA Perform iterative attacks to counter the rain-trapping perturbation:
[0034]
[0035]
[0036] Among them, the damage caused by rain-induced attack disturbances for:
[0037] Mission attack counter-disturbance δ TA Rainfall attack countermeasures against disturbances generated by rainfall attacks Add to Rain Map X rain In the middle, through the rain removal network f rain Get the output rain map
[0038]
[0039] Then, measure the rain map X. rain arrive The distance between them is used as the disturbance loss.
[0040]
[0041] Where 0 is a zero matrix, which corresponds to the rain diagram. Having the same size, ||·||2 represents finding the 2-norm of a matrix;
[0042] Tth RRA The result of the iteration is the rain-based attack against the perturbation. This is denoted as the rain-retaining attack counter-disturbance δ. RRA ;
[0043] (4) Output adversarial sample images
[0044]
[0045]
[0046] The objective of this invention is achieved as follows.
[0047] This invention innovatively proposes a cascaded adversarial attack method for visual perception of drones in rainy weather. It utilizes a binary mask to divide a rain map into rain and non-rain regions. One region is used to attack the de-raining network, aiming to preserve the rain in the output image; the other region is used to attack the downstream task network, aiming to induce misclassification of image content. By concentrating these two distinct and non-overlapping perturbations onto a single input rain map, the final adversarial example is generated. Even after preprocessing by the de-raining network, the downstream task is severely affected, thus generating an adversarial example that can simultaneously attack both the de-raining network and the downstream task network. Attached Figure Description
[0048] Figure 1 This is a flowchart of a specific implementation method of the present invention for cascaded adversarial attack on visual perception of drones in rainy weather;
[0049] Figure 2 This is a schematic diagram illustrating the principle of a specific implementation of the cascaded adversarial attack method for visual perception of drones in rainy weather in this invention. Detailed Implementation
[0050] The specific embodiments of the present invention will now be described with reference to the accompanying drawings to enable those skilled in the art to better understand the invention. It should be particularly noted that in the following description, detailed descriptions of known functions and designs that might obscure the main content of the invention will be omitted here.
[0051] Rain images captured by a UAV using a visual sensor are first fed into a preprocessing model to obtain a de-rained image, which is then fed into a downstream task network to obtain the final output. Due to the widespread application of semantic segmentation in computer vision and UAVs, this invention selects semantic segmentation as a representative of many downstream tasks, and similarly applies to other downstream tasks. This invention attacks the integrated system of a de-raining network and a semantic segmentation network in a UAV. The attack strategy involves adding a small amount of visually imperceptible adversarial perturbation to the input rain image to degrade the outputs of both the de-raining and semantic segmentation networks, ultimately aiming to hinder the correct execution of the semantic segmentation network.
[0052] Specifically, this invention innovatively proposes a cascaded adversarial attack, which utilizes a binary mask to divide an image into rain and non-rain regions. One region is used to attack the de-raining network, aiming to preserve the rain in the output image; the other region is used to attack the semantic segmentation network, aiming to induce misclassification of image content. By concentrating these two distinct and non-overlapping perturbations onto a single input rain image, the final adversarial example is generated, which severely impacts downstream tasks even after preprocessing by the de-raining network. The invention is described in detail below.
[0053] 1. Rain attack
[0054] Use X rain The input rain diagram represents the integrated system, and δ represents an adversarial perturbation imperceptible to the human eye, which is restricted to l. p Norm bounds ∈ , therefore adversarial examples It can be represented as:
[0055]
[0056] ||δ|| p ≤∈ (1)
[0057] In real-world scenarios, rainwater significantly interferes with downstream tasks, greatly hindering their correct execution. Based on this observation, this invention attacks rain removal networks to disrupt their rain removal capabilities. Specifically, this invention proposes a method called "Remain Rain Attack" (RRA), which aims to make rainwater in the input rain map difficult to detect and remove, thus retaining a large amount of rainwater to disrupt the normal execution of semantic segmentation tasks. This invention represents the adversarial perturbation generated by the Remain Rain Attack as δ. RRAAnd add this disturbance to the rain map X rain In the middle, through the rain removal network f rain Get output This operation can be represented as:
[0058]
[0059] Then, define the objective function L. RRA To measure X rain arrive Distance between:
[0060]
[0061] Here, 0 is a zero matrix whose sum is... They have the same size. This invention uses L2 Eulerian distance to measure the distance between the input and output, which represents the degree of rain retention. Here, Mask is a binary rain mask, where a value of 1 represents a rainy area and a value of 0 represents a rainless area. In rain retention attacks, only rainy areas are considered, while rainless areas are ignored. Therefore, in L... RRA Adding a mask can improve L RRA The goal of this invention is to minimize the computational efficiency and accuracy of L. RRA To ensure that rainwater is retained to the greatest extent possible, the optimization of the objective function can be formally expressed as follows:
[0062]
[0063] st||δ RRA || p ≤∈ (4)
[0064] This invention uses PGD (Projected Gradient Descent) to solve the above optimization problem. To obtain the optimal δ... RRA Perform the following operations:
[0065]
[0066] here Regarding the disturbance loss gradient.
[0067] sgn represents the sign of the extracted gradient, α controls the step size for each iteration, and Proj(·) represents the sign of the gradient. The projection lies within the norm bounds (-∈, ∈), and X is projected onto the norm bounds. rain +δ RRA Projected into the effective space (0,1). Initially... It is obtained by sampling from a uniform distribution U(-∈, ∈). After T RRAThe final adversarial perturbation is obtained after the second iteration. And serve as the final rain-retaining attack to counteract the disturbance δ RRA .
[0068] 2. Cascaded Counterattacks
[0069] Although the adversarial perturbations generated by the rain retention attack can retain rainwater and affect the execution of downstream tasks, as mentioned in the previous section, the downstream task networks do not participate in the rain retention attack adversarial perturbation δ. RRA The generation of rain-induced attacks can only partially affect the integrated system and cannot pose a fatal threat to the entire UAV mission. In fact, we observed that powerful adversarial attack algorithms tend to generate adversarial perturbations in the main object regions of the image. This is because the target object is usually the most important factor affecting the model's decision, and adversarial perturbations in the main object regions can more effectively disrupt the model's predictions. Inspired by this, this invention uses a mask to constrain the perturbations generated by rain-induced attacks, i.e., δ. RRA This perturbation, which covers the entire map, is multiplied by a mask to leave only the perturbation in the rainy area. Specifically, in In each iteration, the present invention obtains the following formula based on formula (5).
[0070]
[0071] Rainwater occupies only a small portion of the rain image and is evenly distributed throughout. However, most of the main objects in the image are located in non-rainy areas. Therefore, we exploit the remaining non-rainy areas in the input rain image to attack the downstream task network.
[0072] Existing attack algorithms have demonstrated strong performance in attacking downstream task networks. This invention uses the well-known simple and efficient FGSM as an example, referring to the entire attack process on the semantic segmentation network as a task attack (TA). The input to the task attack is denoted as X. clean It is Rain Map X rain The image is a non-rainy image. We assume y is the label for the semantic segmentation task, and the entire attack process can be represented as:
[0073]
[0074] Here L TA f represents the cross-entropy loss. task Let L represent a semantic segmentation network, and our goal is to maximize L. TA This aims to maximally disrupt the accurate predictions of downstream task networks. Task attacks counteract the disturbance δ. TA Obtained through the following formula:
[0075]
[0076] ||δ TA || p ≤∈ (8)
[0077] By segmenting the rain map, we obtain two non-overlapping perturbations: δ RRA and δ TA By δ RRA and δ TA By adding these perturbations to the input rain map, we seamlessly integrate the adversarial perturbations generated by two significantly different models into a single image. This is called a Cascaded Adversarial Attack (CAA), which allows us to simultaneously attack two vastly different models without exceeding the constraints ∈ . Therefore, the final adversarial examples... It can be represented as:
[0078]
[0079] Due to the significant differences in structure and parameters between the two models, and the different optimization objectives of rain-trapping attacks and mission attacks, the resulting adversarial perturbation δ RRA and δ TA The differences are also significant. The core reason is that they optimize the perturbation using different formulas on different networks, without any interaction. Therefore, in order to narrow down δ... RRA and δ TA To optimize the perturbation distribution distance and integrate it more smoothly onto the input rain map, we designed two variants of the cascaded adversarial attack, called Cascaded Adversarial Attack from Rain to Task (CAA-RT) and Cascaded Adversarial Attack from Task to Rain (CAA-TR). These variants improve attack performance by introducing a carefully designed perturbation interaction mechanism that minimizes the differences between the two generated adversarial perturbations. Specifically, CAA-RT first performs a rain retention attack, transferring the perturbation δ... RRA Add to the input X for the mission attack clean Then, perform the mission attack to obtain δ. TA Finally, adversarial examples are obtained using equation (9). Conversely, in CAA-TR, the mission attack is applied first, and the generated perturbation δ is then applied. TA Add to X rain Then, a rain-trapping attack was performed to obtain δ. RRASimilar to CAA-RT, the final adversarial example is obtained from equation (9). δ in CAA-TR RRA and δ in CAA-RT TA The formula for generating the formula is as follows:
[0080]
[0081]
[0082] Figure 1 , 2 These are a flowchart and a schematic diagram of a specific implementation method of the cascaded adversarial attack method for visual perception of drones in rainy weather according to the present invention.
[0083] In this embodiment, as Figure 1 , 2 As shown, the cascaded adversarial attack method for visual perception of drones in rainy weather according to the present invention includes the following steps:
[0084] Step S1: Initialization
[0085] Initial rain attack adversarial perturbation is sampled from a uniform distribution U(-∈, ∈). Where ∈ represents the perturbation boundary.
[0086] Step S2: If the adversarial attack is a cascaded adversarial attack - from rain to mission (CAA-RT), then:
[0087] Step S2.1: Perform iterative rain-attribute attack counter-perturbation to obtain the rain-attribute attack counter-perturbation δ. RRA :
[0088] First, the number of iterations t ranges from 1 to T. RRA Rainfall attack counter-perturbation iteration:
[0089]
[0090]
[0091] in, The rain-retention attack counters the perturbation after t iterations. For the rain attack against the perturbation before iteration t, Proj(·) represents the rain attack against the perturbation before iteration t. The projection lies within the norm bounds (-∈, ∈), and X is projected onto the norm bounds. rain + Projected into the effective space (0,1);
[0092]
[0093] It is the damage caused by the rain attack disturbance. Regarding the countermeasures against rain-related attacks. The gradient is denoted by sgn, which represents the sign of the extracted gradient. α controls the step size of each iteration. Mask is a binary rain mask, where a value of 1 represents a rainy area and a value of 0 represents a rainless area.
[0094] Among them, the damage caused by rain-induced attack disturbances for:
[0095] The rain attack generated by the rain attack counters the disturbance. Add to Rain Map X rain In the middle, through the rain removal network f rain Get the output rain map
[0096]
[0097] Then, measure the rain map X. rain arrive The distance between them is used as the disturbance loss.
[0098]
[0099] Where 0 is a zero matrix, which corresponds to the rain diagram. Having the same size, ||·||2 represents finding the 2-norm of a matrix;
[0100] Tth RRA The result of the iteration is the rain-based attack against the perturbation. This is denoted as the rain-retaining attack counter-disturbance δ. RRA .
[0101] Step S2.2: Then calculate the mission attack counter-perturbation δ. TA :
[0102]
[0103] δ TA =clip(δ TA ,-∈,∈);
[0104] in, It is the cross-entropy loss L TA (f task (X clean +δ RRA ),y) about the non-rainy image X clean The gradient of f task (X clean +δ RRA (X is the rain map) eain Non-rain image X clean Add rain-based attack to counter disturbance δ RRA Then, through the semantic segmentation network ftask The result of the semantic segmentation task, y, is used as the label for the semantic segmentation task, L TA (.,.) represents calculating the cross-entropy loss between the two, and clip is the clipping function.
[0105] Step S3: If the adversarial attack is a cascaded adversarial attack - from mission to rain (CAA-TR), then:
[0106] Step S3.1: First, calculate the mission attack counter-perturbation δ. TA :
[0107]
[0108] δ TA =clip(δ TA -∈,∈);
[0109] Step S3.2: Then the number of iterations t increases from 1 to T. RRA By iterating through the rain-attribution attack counter-perturbation, the rain-attribution attack counter-perturbation δ is obtained. RRA :
[0110]
[0111]
[0112] Among them, the damage caused by rain-induced attack disturbances for:
[0113] Mission attack counter-disturbance δ TA Rainfall attack countermeasures against disturbances generated by rainfall attacks Add to Rain Map X rain In the middle, through the rain removal network f rain Get the output rain map
[0114]
[0115] Then, measure the rain map X. rain arrive The distance between them is used as the disturbance loss.
[0116]
[0117] Where 0 is a zero matrix, which corresponds to the rain diagram. Having the same size, ||·||2 represents finding the 2-norm of a matrix;
[0118] Tth RRA The result of the iteration is the rain-based attack against the perturbation. This is denoted as the rain-retaining attack counter-disturbance δ. RRA Step S4: Output adversarial example images
[0119]
[0120]
[0121] Experimental verification
[0122] To ensure the universality and practicality of this invention, and to suit the characteristics of UAVs, this experimental verification uses an integrated system composed of MPRNet (rain removal), which is widely used in real-world applications, and PIDNet (semantic segmentation), which is renowned for its real-time semantic segmentation capabilities. The invention is tested on the Cityscapes and RainCityscapes datasets. Since this invention is the first to propose a method for simultaneously attacking two vastly different models, no other method can compare with it. Therefore, in this experimental verification, it can only be compared with attack methods that attack only a single network. Yu, Y., Yang, W., Tan, YP, & Kot, AC (2022). Towards robust rain removal against adversarial attacks: A comprehensive benchmark analysis and beyond. In Proceedings of the IEEE / CVFConference on Computer Vision and Pattern Recognition (pp. 6013-6022), several methods for attacking rain removal networks are proposed, claiming to affect downstream task networks. For attacks on segmentation networks, our implemented Task Attack (TA) is a naturally powerful attack algorithm. The comparison results are shown in Table 1:
[0123]
[0124] Table 1
[0125] Table 1 shows the results of various attack strategies. The best results are indicated in bold.
[0126] In this experimental validation, the mean inter-linkage (mIoU) was used as the evaluation metric to assess the performance of semantic segmentation. A smaller mIoU value indicates better attack performance and a greater ability to interfere with the segmentation task. We utilized widely used quality metrics Peak Signal-to-Noise Ratio (PSNR) and Structural Similarity (SSIM) to measure the concealment of the perturbation (by comparing the adversarial example with a clean rain map, calculating the PSNR and SSIM values). To ensure imperceptibility to the human eye, we set ||δ|| ∞ ≤∈, and set ∈ to 4 / 255, α=∈ / 4. For generating the binary mask, we generate it by subtracting the de-rained image from the input rain image. By setting a certain pixel threshold, the binary mask can be easily generated.
[0127] As shown in Table 1, attacking a single network is insufficient to pose a serious threat to the entire integrated system. Our method exhibits the best attack performance, indicating that attacking both networks simultaneously is necessary to significantly reduce the performance of the final mission. Furthermore, the PSNR and SSIM values demonstrate that the image changes are virtually imperceptible to human vision, adhering to the stealth principle of adversarial attacks and ensuring that the replacement of the UAV's input image goes undetected.
[0128] Although the illustrative specific embodiments of the present invention have been described above to enable those skilled in the art to understand the invention, it should be understood that the invention is not limited to the scope of the specific embodiments. For those skilled in the art, various changes are obvious as long as they are within the spirit and scope of the invention as defined and determined by the appended claims, and all inventions utilizing the concept of the present invention are protected.
Claims
1. A cascaded adversarial attack method targeting the visual perception of drones in rainy weather, characterized in that, Includes the following steps: (1) Initialization Initial rain attack adversarial perturbation is sampled from a uniform distribution U(-∈, ∈). Where ∈ represents the perturbation limit; (2) If the counterattack is a cascaded counterattack – from rain to mission, then: 2.1) First, perform iterations t from 1 to T. RRA Rainfall attack counter-perturbation iteration: in, The rain-retention attack counters the perturbation after t iterations. For the rain attack against the perturbation before iteration t, Proj(·) represents the rain attack against the perturbation before iteration t. The projection lies within the norm bounds (-∈, ∈), and the projection is placed within the norm bounds. Projected into the effective space (0,1); It is the damage caused by the rain attack disturbance. Regarding the countermeasures against rain-related attacks. The gradient is denoted by sgn, which represents the sign of the extracted gradient. α controls the step size of each iteration. Mask is a binary rain mask, where a value of 1 represents a rainy area and a value of 0 represents a rainless area. Among them, the damage caused by rain-induced attack disturbances for: The rain attack generated by the rain attack counters the disturbance. Add to Rain Map X rain In the middle, through the rain removal network f rain Get the output rain map Then, measure the rain map X. rain arrive The distance between them is used as the disturbance loss. Where 0 is a zero matrix, which corresponds to the rain diagram. Having the same size, ||·||2 represents finding the 2-norm of a matrix; Tth RRA The result of the iteration is the rain-based attack against the perturbation. This is denoted as the rain-retaining attack counter-disturbance δ. RRA ; 2.2) Then calculate the mission attack counter-disturbance δ TA : d TA =clip(δ TA ,-∈,∈); in, It is the cross-entropy loss L TA (f task (X clean +δ RRA ),y) about the non-rainy image X clean The gradient of f task (X clean +δ RRA (X is the rain map) rain Non-rain image X clean Add rain-based attack to counter disturbance δ RRA Then, through the semantic segmentation network f task The result of the semantic segmentation task, y, is used as the label for the semantic segmentation task, L TA (.,.) represents calculating the cross-entropy loss between the two, and clip is the clipping function; (3) If the adversarial attack is a cascaded adversarial attack—from mission to rain—then: 3.1) First, calculate the mission attack counter-disturbance δ. TA : d TA =clip(δ TA -∈,∈); 3.2) Then the number of iterations t increases from 1 to T. RRA Perform iterative attacks to counter the rain-trapping perturbation: Among them, the damage caused by rain-induced attack disturbances for: Mission attack counter-disturbance δ TA Rainfall attack countermeasures against disturbances generated by rainfall attacks Add to Rain Map X rain In the middle, through the rain removal network f rain Get the output rain map Then, measure the rain map X. rain arrive The distance between them is used as the disturbance loss. Where 0 is a zero matrix, which corresponds to the rain diagram. Having the same size, ||·||2 represents finding the 2-norm of a matrix; Tth RRA The result of the iteration is the rain-based attack against the perturbation. This is denoted as the rain-retaining attack counter-disturbance δ. RRA ; (4) Output adversarial sample images
Citation Information
Patent Citations
Neural network attack method based on thermodynamic diagram
CN114969728A
Systems and methods for joint adversarial training by incorporating both spatial and pixel attacks
US20200265271A1
