Adversarial sample generation method and system for multiple signal domain classifiers

By transforming the original signal domain data of the electromagnetic signal and iterative perturbation of the PGD white-box attack method, adversarial samples that can migrate between multiple signal domain classifiers are generated, which solves the problem of inability to migrate adversarial samples in the existing technology. , improving the attack effect.

CN118535913AActive Publication Date: 2024-08-2336TH RES INST OF CETC
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410503565.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-25
Publication Date
2024-08-23
Estimated Expiration
2044-04-25

AI Technical Summary

Technical Problem

In the existing technology, adversarial samples cannot be migrated between different signal domains, resulting in reduced adversarial attack effects and the inability to effectively attack multiple signal domain classifiers at the same time.

Method used

The adversarial sample generation method of multiple signal domain classifiers is used to obtain the original signal domain data of the electromagnetic signal, transform it to obtain the initial combined signal domain data, and use the projected gradient descent (PGD) white box attack method to perform the initial combined signal domain data The data is iteratively perturbed to generate adversarial examples that can be transferred between multiple signal domain classifiers.

Benefits of technology

The generated adversarial samples can effectively attack between multiple signal domain classifiers, which improves the attack effect of the adversarial samples. The weight of each signal domain classifier is determined through an adaptive mechanism, further improving the attack effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118535913A
    Figure CN118535913A
Patent Text Reader

Abstract

The invention relates to an adversarial sample generation method and system for multiple signal domain classifiers, belongs to the technical field of safety protection of deep learning, and solves the problem that adversarial samples cannot migrate among different signal domains for adversarial in the prior art. The adversarial sample generation method comprises the following steps: acquiring initial combined signal domain data; the invention discloses a white-box attack method based on projection gradient descent (PGD). The method comprises the following steps: obtaining a final iteration sample corresponding to initial combination signal domain data according to the initial combination signal domain data and a plurality of signal domain classifiers; the plurality of signal domain classifiers comprise a plurality of single signal domain classifiers and one combined signal domain classifier, and each single signal domain classifier is a model formed by training a first preset convolutional neural network by adopting corresponding signal domain data; the combined signal domain classifier is a model formed by training a second preset convolutional neural network by adopting corresponding combined signal domain data. An adversarial sample capable of attacking a plurality of signal domain classifiers is generated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of security protection technology for deep learning, and in particular to a method for generating adversarial samples of multiple signal domain classifiers. Background Art

[0002] With the advancement of science and technology, the recognition of electromagnetic signal modulation type is becoming more and more important in applications. It is widely used in radio communications, radar, radio reconnaissance and military intelligence. The purpose of this technology is to identify the modulation type used by the received electromagnetic signal in order to demodulate and analyze the received electromagnetic signal.

[0003] The rapid development of deep learning technology has provided new solutions for the identification of electromagnetic signal modulation types, but it has also raised security issues related to intelligent models, which makes it very important to study the causes of the vulnerability of intelligent models. Adversarial attack technology aims to generate adversarial samples for specific models, which deceive intelligent models through tiny and imperceptible perturbations, resulting in incorrect prediction results. Adversarial attack technology can not only be used to evaluate the robustness of intelligent models, but also to improve the robustness of intelligent models. Therefore, studying adversarial attack technology is of vital significance to the security of intelligent models.

[0004] Existing adversarial attack methods for electromagnetic signal samples are all aimed at the time domain data of the samples, ignoring the multimodal characteristics of electromagnetic signal samples that can perform data conversion between multiple signal domains such as time domain and frequency domain. The time domain adversarial samples obtained after the time domain data of the electromagnetic signal are attacked by existing attack methods will have their attack effects greatly reduced after time-frequency conversion, that is, the adversarial attack is not transferable between signal domains.

[0005] Therefore, there is an urgent need for a technical solution that can simultaneously generate intelligent models for adversarial attacks on multiple signal domains. Summary of the invention

[0006] In view of the above analysis, an embodiment of the present invention aims to provide a method and system for generating adversarial samples for multiple signal domain classifiers, so as to solve the problem in the prior art that adversarial samples cannot be transferred between different signal domains for adversarial purposes.

[0007] On the one hand, an embodiment of the present invention provides a method for generating adversarial samples of multiple signal domain classifiers, the method for generating adversarial samples comprising:

[0008] Obtain any one of the original signal domain data in the original signal domain data set of the electromagnetic signal, transform the original signal domain data according to the type of the combined signal domain data, and obtain initial combined signal domain data; the original signal domain data set is the test set data of multiple single signal domain classifiers;

[0009] A white-box attack method based on projected gradient descent (PGD) obtains a final iterative sample corresponding to the initial combined signal domain data according to the initial combined signal domain data and multiple signal domain classifiers; the multiple signal domain classifiers include multiple single signal domain classifiers and one combined signal domain classifier, each single signal domain classifier is a model trained by a first preset convolutional neural network using corresponding signal domain data; the combined signal domain classifier is a model trained by a second preset convolutional neural network using corresponding combined signal domain data;

[0010] The final iterative sample corresponding to the initial combined signal domain data is used as the adversarial sample of the original signal domain data.

[0011] Based on the further improvement of the above method, the white-box attack method based on projected gradient descent PGD obtains the final iterative sample corresponding to the initial combined signal domain data according to the initial combined signal domain data and multiple signal domain classifiers, including performing the following steps in each iteration process:

[0012] Inputting corresponding signal domain data in the current combined signal domain data into corresponding single signal domain classifiers respectively, and inputting the current combined signal domain data into the combined signal domain classifier to obtain loss values ​​of multiple signal domain classifiers;

[0013] According to the loss values ​​of multiple signal domain classifiers, the current combined signal domain data is perturbed to obtain the combined signal domain data of the next iteration;

[0014] Determine whether the current number of iterations meets the preset number; if yes, use the combined signal domain data of the next iteration as the final iteration sample corresponding to the initial combined signal domain data; if no, start the next iteration process.

[0015] Based on the further improvement of the above method, the perturbation of the current combined signal domain data according to the loss values ​​of the multiple signal domain classifiers includes:

[0016] Calculate the total loss value of all signal domain classifiers according to the loss values ​​of multiple signal domain classifiers;

[0017] The white-box attack method based on projected gradient descent (PGD) uses the total loss value of all signal domain classifiers to perturb each signal domain data in the combined signal domain data after the last iteration.

[0018] Based on the further improvement of the above method, the loss value of each signal domain classifier is determined by the following formula:

[0019]

[0020] Among them, Lossn represents the loss value of the nth signal domain classifier; I represents the total number of categories, i represents the i-th category, y( n, i) represents the label value of the i-th category in the n-th signal domain classifier, (p (n,i) ) represents the probability value of the i-th category in the n-th signal domain classifier.

[0021] Based on the further improvement of the above method, the total loss value of all signal domain classifiers is calculated according to the loss values ​​of multiple signal domain classifiers, including:

[0022] Multiply the loss values ​​corresponding to the multiple signal domain classifiers by the multiple pre-set weight combinations in sequence, calculate the total loss value corresponding to each weight combination, and obtain the total loss values ​​corresponding to the multiple weight combinations;

[0023] The total loss values ​​corresponding to multiple weight combinations are sorted, and the minimum total loss value is selected as the total loss value of all signal domain classifiers.

[0024] Based on the further improvement of the above method, the total loss value corresponding to each weight combination is calculated by the following formula:

[0025] Loss=W1Loss1+W2Loss2+...+W n Loss n +...+W N Loss N ;

[0026] Among them, W1, W2, ...W n …W N They represent the loss weights corresponding to the first signal domain classifier, the second signal domain classifier, … the nth signal domain classifier, … the Nth signal domain classifier in the weight combination, Loss represents the total loss value corresponding to the weight combination, N ≥ 3; Loss1, Loss2, …, Loss n ,…,Loss N They respectively represent the loss values ​​corresponding to the first signal domain classifier, the second signal domain classifier, … the nth signal domain classifier… the Nth signal domain classifier.

[0027] Based on the further improvement of the above method, the method of using the total loss value of all signal domain classifiers to perturb each signal domain data in the combined signal domain data after the last iteration includes:

[0028] Each signal domain data in the combined signal domain data after the last iteration is disturbed respectively, and the disturbed data is determined according to the following formula each time:

[0029]

[0030] in, represents a signal domain data in the combined signal domain data after the last iteration, express The perturbed data; α represents the learning rate, represents the gradient of the total loss value to the signal domain data, Π(.) represents the projection operation, x represents the signal domain data in the initial combined signal domain data, and ε represents the perturbation range of the signal domain data.

[0031] Based on a further improvement of the above method, the combined signal domain data is at least two types of signal domain data;

[0032] The original signal domain data is any of the following signal domain data:

[0033] Time domain data;

[0034] Frequency domain data;

[0035] Amplitude domain data;

[0036] Complex domain data;

[0037] Spatial domain data.

[0038] Based on the further improvement of the above method, the first preset convolutional neural network and the second preset convolutional neural network are residual networks ResNet or densely connected convolutional networks DenseNet.

[0039] On the other hand, an embodiment of the present invention provides an adversarial sample generation system for multiple signal domain classifiers, the adversarial sample generation system comprising:

[0040] The initial data acquisition module is used to acquire any original signal domain data in the original signal domain data set of the electromagnetic signal, and transform the original signal domain data according to the type of the combined signal domain data to obtain initial combined signal domain data; the original signal domain data set is the test set data of multiple single signal domain classifiers;

[0041] An iterative sample determination module is used for a white box attack method based on projected gradient descent (PGD), and obtains a final iterative sample corresponding to the initial combined signal domain data according to the initial combined signal domain data and multiple signal domain classifiers; the multiple signal domain classifiers include multiple single signal domain classifiers and one combined signal domain classifier, each single signal domain classifier is a model formed by training a first preset convolutional neural network using corresponding signal domain data; the combined signal domain classifier is a model formed by training a second preset convolutional neural network using corresponding combined signal domain data;

[0042] The adversarial sample generation module is used to use the final iterative sample corresponding to the initial combined signal domain data as the adversarial sample of the original signal domain data.

[0043] Compared with the prior art, the present invention can achieve at least one of the following beneficial effects:

[0044] 1. The initial combined signal domain data is obtained by transforming any original signal domain data. The initial combined signal domain data is perturbed by combining PGD and multiple white-box signal domain classifiers to generate adversarial samples of multiple signal domain classifiers. The adversarial samples can attack multiple signal domain classifiers.

[0045] 2. The total loss value is determined by the loss values ​​of multiple signal domain classifiers, and each signal domain in the initial combined signal domain is iteratively perturbed according to the total loss value. In each iteration, the adaptive mechanism is used to determine the weight of each signal domain classifier to obtain the minimum total loss value, thereby further improving the attack effect of the perturbed adversarial sample on all signal domain classifiers.

[0046] In the present invention, the above-mentioned technical solutions can also be combined with each other to achieve more preferred combination solutions. Other features and advantages of the present invention will be described in the subsequent description, and some advantages can become obvious from the description, or can be understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained through the contents particularly pointed out in the description and the drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] The drawings are only for the purpose of illustrating particular embodiments and are not to be considered limiting of the present invention. Like reference symbols denote like components throughout the drawings.

[0048] Figure 1 A schematic diagram of a flow chart of a method for generating adversarial samples for multiple signal domain classifiers provided in an embodiment of the present invention;

[0049] Figure 2 A schematic flow chart of a method for generating adversarial samples of a time domain classifier, a frequency domain classifier, and a time-frequency domain combined classifier provided in an embodiment of the present invention;

[0050] Figure 3 A schematic diagram of the structure of an adversarial sample generation system for multiple signal domain classifiers provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0051] The preferred embodiments of the present invention are described in detail below in conjunction with the accompanying drawings, wherein the accompanying drawings constitute a part of this application and are used together with the embodiments of the present invention to illustrate the principles of the present invention, but are not used to limit the scope of the present invention.

[0052] A specific embodiment of the present invention discloses a method for generating adversarial samples of multiple signal domain classifiers, such as Figure 1 As shown, the adversarial sample generation method includes:

[0053] Step S1: obtaining any one of the original signal domain data in the original signal domain data set of the electromagnetic signal, transforming the original signal domain data according to the type of the combined signal domain data, and obtaining initial combined signal domain data; the original signal domain data set is the test set data of multiple single signal domain classifiers;

[0054] Step S2: Based on the white-box attack method of projected gradient descent PGD, the final iterative sample corresponding to the initial combined signal domain data is obtained according to the initial combined signal domain data and multiple signal domain classifiers; the multiple signal domain classifiers include multiple single signal domain classifiers and 1 combined signal domain classifier, each single signal domain classifier is a model trained by a first preset convolutional neural network using corresponding signal domain data; the combined signal domain classifier is a model trained by a second preset convolutional neural network using corresponding combined signal domain data;

[0055] Step S3: Use the final iterative sample corresponding to the initial combined signal domain data as the adversarial sample of the original signal domain data.

[0056] Specifically, Figure 1 As shown, in step S1, the original signal domain data set of the electromagnetic signal includes a plurality of original signal domain data, each of which comes from the test set data of each single signal domain classifier.

[0057] Preferably, the original signal domain data is any one of the following signal domain data:

[0058] Time domain data;

[0059] Frequency domain data;

[0060] Amplitude domain data;

[0061] Complex domain data;

[0062] Spatial domain data.

[0063] It is worth noting that the single signal domain classifier is a time domain classifier, a frequency domain classifier, an amplitude domain classifier, a complex domain classifier or a space domain classifier, and each single signal domain classifier can predict the modulation category based on the corresponding signal domain data of the electromagnetic signal. For example, the time domain classifier can predict the modulation category of the electromagnetic signal based on the time domain data of the electromagnetic signal; the frequency domain classifier can predict the modulation category of the electromagnetic signal based on the frequency domain data of the electromagnetic signal. For a single signal domain classifier, a training set and a test set are included when performing model training. In order to generate adversarial samples of multiple signal domain classifiers, the original signal domain data set in the present invention may include one or more test sets of single signal domain classifiers.

[0064] The original signal domain data in the present invention may be time domain data, frequency domain data, amplitude domain data, complex domain data or space domain data.

[0065] Specifically, in step S1, preferably, the combined signal domain data includes at least two types of signal domain data, such as the combined signal domain data includes time domain data and frequency domain data, or the combined signal domain data includes time domain data and complex domain data. When the combined signal domain data includes time domain data and frequency domain data, the types of the combined signal domain data are time domain type and frequency domain type.

[0066] When the original signal domain data is time domain data, and the combined signal domain data includes a time domain type and a frequency domain type, the time domain data is transformed into frequency domain data, and the time domain data and the frequency domain data are combined to obtain the combined signal domain data.

[0067] For example, the original signal domain data is a time domain data of the electromagnetic signal, and the time domain data can be expressed as:

[0068]

[0069] Among them, x represents a time domain data, including in-phase component data I and orthogonal component data Q, M represents the number of sampling points of the time domain data, and the time domain data includes M sampling points. The in-phase components of each sampling point are i1, i2, ..., iM, and the orthogonal components of each sampling point are q1, q2, ..., qM.

[0070] The time domain data is converted into frequency domain data. Specifically, the in-phase component I and the orthogonal component Q of the time domain data are integrated into a single channel of data in the form of complex numbers using the following formula:

[0071] x[m]=i m +j*q m ,m=0,1,...,M-1;

[0072] Perform fast Fourier transform on each complex time domain data to obtain frequency domain data corresponding to the time domain data.

[0073] It is understandable that different signal domain data of the electromagnetic signal can be obtained through transformation, such as transformation from time domain data to frequency domain data, from time domain data to complex domain data, etc., which will not be elaborated here.

[0074] Specifically, in step S2, Projected Gradient Descent (PGD) is a method for performing white-box attacks, and after determining the signal domain classifiers included in the multiple signal domain classifiers, the multiple signal domain classifiers are attacked to generate adversarial samples. The multiple signal domain classifiers include multiple single signal domain classifiers and one combined signal domain classifier; for example, the multiple signal domain classifiers include a time domain classifier, a frequency domain classifier, and a time-frequency domain combined classifier; for another example, the multiple signal domain classifiers include a time domain classifier, a frequency domain classifier, a complex domain classifier, and a time-frequency complex combined classifier.

[0075] Specifically, in step S2, if the multiple signal domain classifiers include 1 time domain classifier, 1 frequency domain classifier and 1 time-frequency domain combined classifier, then the initial combined signal domain data obtained in step S1 includes time domain data and frequency domain data; if the multiple signal domain classifiers include 1 time domain classifier, 1 frequency domain classifier, 1 complex domain classifier and time-frequency-complex combined classifier, then the initial combined signal domain data obtained in step S1 includes time domain data, frequency domain data and complex domain data.

[0076] Specifically, each single signal domain classifier is a model formed by training a first preset convolutional neural network using corresponding signal domain data; and the combined signal domain classifier is a model formed by training a second preset convolutional neural network using corresponding combined signal domain data. Preferably, the first preset convolutional neural network is a residual network ResNet or a densely connected convolutional network DenseNet; and the second preset convolutional neural network is a residual network ResNet or a densely connected convolutional network DenseNet.

[0077] Specifically, in step S2, based on the initial combined signal domain data and multiple signal domain classifiers, the PGD white box attack method is used to perform multiple iterative perturbations on the initial combined signal domain data to obtain final iterative samples.

[0078] Preferably, the white-box attack method based on projected gradient descent (PGD) obtains the final iterative sample corresponding to the initial combined signal domain data according to the initial combined signal domain data and a plurality of signal domain classifiers, including performing the following steps in each iteration process:

[0079] Inputting corresponding signal domain data in the current combined signal domain data into corresponding single signal domain classifiers respectively, and inputting the current combined signal domain data into the combined signal domain classifier to obtain loss values ​​of multiple signal domain classifiers;

[0080] According to the loss values ​​of multiple signal domain classifiers, the current combined signal domain data is perturbed to obtain the combined signal domain data of the next iteration;

[0081] Determine whether the current number of iterations meets the preset number; if yes, use the combined signal domain data of the next iteration as the final iteration sample corresponding to the initial combined signal domain data; if no, start the next iteration process.

[0082] Specifically, Figure 2 As shown, the multiple signal domain classifiers include a time domain classifier, a frequency domain classifier and a time-frequency domain combined classifier, the initial combined signal domain data include time domain data and frequency domain data, the time domain data in the initial combined signal domain data is input into the time domain classifier, the frequency domain data of the initial combined signal domain data is input into the frequency domain classifier, and the time domain data and frequency domain data of the initial combined signal domain data are input into the time-frequency domain combined classifier, to obtain loss values ​​of multiple signal domain classifiers, namely, the loss value of the time domain classifier, the loss value of the frequency domain classifier and the loss value of the time-frequency domain combined classifier.

[0083] Specifically, the current combined signal domain data is perturbed according to the loss values ​​of the multiple signal domain classifiers to obtain the combined signal domain data for the next iteration. It can be understood that when the first iteration is performed, the current combined signal domain data is the initial combined signal domain data, such as Figure 2 As shown, after the initial combined signal domain data are respectively input into the time domain classifier, the frequency domain classifier and the time-frequency domain combined classifier, the loss value of the time domain classifier, the loss value of the frequency domain classifier and the loss value of the time-frequency domain combined classifier of the first iteration are obtained, and then the initial combined signal domain data are perturbed to obtain the combined signal domain data of the second iteration, and so on, to obtain the combined signal domain data of multiple iterations.

[0084] Determine whether the current number of iterations meets the preset number set in advance. If so, use the obtained combined signal domain data of the next iteration as the final iteration sample corresponding to the initial combined signal domain data; otherwise, start the next iteration process until the number of iterations meets the preset number.

[0085] Preferably, the perturbing the current combined signal domain data according to the loss values ​​of the multiple signal domain classifiers comprises:

[0086] Calculate the total loss value of all signal domain classifiers according to the loss values ​​of multiple signal domain classifiers;

[0087] The white-box attack method based on projected gradient descent (PGD) uses the total loss value of all signal domain classifiers to perturb each signal domain data in the combined signal domain data after the last iteration.

[0088] Specifically, Figure 2 As shown, after obtaining the loss values ​​of multiple signal domain classifiers, the total loss values ​​of all signal domain classifiers are calculated.

[0089] Preferably, the loss value of each signal domain classifier is determined by the following formula:

[0090]

[0091] Among them, Loss n represents the loss value of the nth signal domain classifier; I represents the total number of categories, i represents the i-th category, and y (n, i) represents the label value of the i-th category in the n-th signal domain classifier, (p (n,i) ) represents the probability value of the i-th category in the n-th signal domain classifier.

[0092] Specifically, Figure 2 As shown in the figure, the first signal domain classifier is a time domain classifier, the second signal domain classifier is a frequency domain classifier, and the third signal domain classifier is a time-frequency domain combined classifier. After the current combined signal domain data is input to each signal domain classifier, the loss value of each signal domain classifier is calculated by the formula:

[0093]

[0094] Thus, the loss value of each signal domain classifier is obtained.

[0095] Preferably, calculating the total loss value of all signal domain classifiers according to the loss values ​​of multiple signal domain classifiers comprises:

[0096] Multiply the loss values ​​corresponding to the multiple signal domain classifiers by the multiple pre-set weight combinations in sequence, calculate the total loss value corresponding to each weight combination, and obtain the total loss values ​​corresponding to the multiple weight combinations;

[0097] The total loss values ​​corresponding to multiple weight combinations are sorted, and the minimum total loss value is selected as the total loss value of all signal domain classifiers.

[0098] Specifically, Figure 2As shown, multiple signal domain classifiers include a time domain classifier, a frequency domain classifier, and a time-frequency domain combined classifier, that is, the loss value of the time domain classifier, the loss value of the frequency domain classifier, and the loss value of the time-frequency domain combined classifier are obtained, and the loss value of the time domain classifier, the loss value of the frequency domain classifier, and the loss value of the time-frequency domain combined classifier are multiplied with each weight combination in turn in multiple weight combinations, and the total loss value corresponding to each weight combination is calculated, and the total loss value corresponding to the multiple weight combinations is obtained.

[0099] It is understandable that the multiple pre-set weight combinations can be determined by multi-level nested loops. Specifically, the weight of each signal domain classifier ranges from 0.001 to 0.999, the step size is set to 0.001, and the sum of the weights of all signal domain classifiers is 1 as a limiting condition, thereby obtaining multiple pre-set weight combinations. The total loss value is continuously optimized through the pre-set multiple weight combinations, so that different total loss values ​​are obtained by continuously optimizing the weights of each signal domain classifier.

[0100] Preferably, the total loss value corresponding to each weight combination is calculated by the following formula:

[0101] Loss=W1Loss1+W2Loss2+...+W n Loss n +...+W N Loss N ;

[0102] Among them, W1, W2, ...W n …W N They represent the loss weights corresponding to the first signal domain classifier, the second signal domain classifier, … the nth signal domain classifier, … the Nth signal domain classifier in the weight combination, Loss represents the total loss value corresponding to the weight combination, N ≥ 3; Loss1, Loss2, …, Loss n ,…,Loss N They respectively represent the loss values ​​corresponding to the first signal domain classifier, the second signal domain classifier, … the nth signal domain classifier… the Nth signal domain classifier.

[0103] Specifically, Figure 2 As shown, it includes three signal domain classifiers, that is, each weight combination includes W1, W2 and W3, and the loss value corresponding to each signal domain classifier is Loss1, Loss2 and Loss3.

[0104] Loss=W1Loss1+W2Loss2+...+W n Loss n +...+W N LossN calculate

[0105] The total loss of all signal domain classifiers for each weight combination.

[0106] Specifically, after calculating the total loss values ​​corresponding to multiple weight combinations, a judgment and comparison are performed, the total loss values ​​corresponding to the multiple weight combinations are sorted, and the minimum total loss value is screened out, and the minimum total loss value is used as the total loss value of all signal domain classifiers of the current iteration.

[0107] Preferably, the perturbing each signal domain data in the combined signal domain data after the last iteration by using the total loss value of all signal domain classifiers comprises:

[0108] Each signal domain data in the combined signal domain data after the last iteration is disturbed respectively, and the disturbed data is determined according to the following formula each time:

[0109]

[0110] in, represents a signal domain data in the combined signal domain data after the last iteration, express The perturbed data; α represents the learning rate, represents the gradient of the total loss value to the signal domain data, Π(.) represents the projection operation, x represents the signal domain data in the initial combined signal domain data, and ε represents the perturbation range of the signal domain data.

[0111] Specifically, Figure 2 As shown, the current combined signal domain data is the combined signal domain data after the last iteration. After obtaining the total loss value of all signal domain classifiers, the current combined signal domain data is perturbed. The perturbation of the time domain data and the perturbation of the frequency domain data are obtained by the formula:

[0112]

[0113] The learning rates α of different signal domain data can be the same or different and processed independently of each other; similarly, the perturbation ranges ε of different signal domain data can be the same or different and processed independently of each other.

[0114] After the above steps are processed, the disturbance of the current iteration can be obtained, that is, the combined signal domain data of the next iteration.

[0115] After a preset number of iterations, the final iterative sample is obtained, and the final iterative sample is used as an adversarial sample of the original signal domain data. The adversarial sample can attack multiple signal domain classifiers at the same time, so that when the adversarial sample is input into any signal domain classifier, an incorrect prediction result of the modulation type can be obtained.

[0116] Another specific embodiment of the present invention discloses a system for generating adversarial samples of multiple signal domain classifiers, such as Figure 3 As shown, the adversarial sample generation system includes:

[0117] The initial data acquisition module 301 is used to acquire any one of the original signal domain data in the original signal domain data set of the electromagnetic signal, and transform the original signal domain data according to the type of the combined signal domain data to obtain the initial combined signal domain data; the original signal domain data set is the test set data of multiple single signal domain classifiers;

[0118] The iterative sample determination module 302 is used for the white box attack method based on the projected gradient descent PGD, and obtains the final iterative sample corresponding to the initial combined signal domain data according to the initial combined signal domain data and multiple signal domain classifiers; the multiple signal domain classifiers include multiple single signal domain classifiers and one combined signal domain classifier, each single signal domain classifier is a model formed by training a first preset convolutional neural network using corresponding signal domain data; the combined signal domain classifier is a model formed by training a second preset convolutional neural network using corresponding combined signal domain data;

[0119] The adversarial sample generation module 303 is used to use the final iterative sample corresponding to the initial combined signal domain data as the adversarial sample of the original signal domain data.

[0120] Compared with the prior art, the adversarial sample generation method and system for multiple signal domain classifiers provided in this embodiment obtain initial combined signal domain data by transforming any original signal domain data, and perturb the initial combined signal domain data by combining PGD and multiple white-box signal domain classifiers to generate adversarial samples of multiple signal domain classifiers. The adversarial samples can attack multiple signal domain classifiers. At the same time, the total loss value is determined by the loss values ​​of multiple signal domain classifiers, and each signal domain in the initial combined signal domain is iteratively perturbed according to the total loss value. In each iteration, an adaptive mechanism is used to determine the weight of each signal domain classifier to obtain the minimum total loss value, thereby further improving the attack effect of the perturbed adversarial samples on all signal domain classifiers.

[0121] Those skilled in the art will appreciate that all or part of the processes of the above-mentioned embodiments can be implemented by instructing related hardware through a computer program, and the program can be stored in a computer-readable storage medium, wherein the computer-readable storage medium is a disk, an optical disk, a read-only storage memory, or a random access memory, etc.

[0122] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by any technician familiar with the technical field within the technical scope disclosed by the present invention should be covered within the protection scope of the present invention.

Claims

1. A method for generating adversarial samples for multiple signal domain classifiers, characterized in that: The adversarial sample generation method comprises: Obtain any one of the original signal domain data in the original signal domain data set of the electromagnetic signal, transform the original signal domain data according to the type of the combined signal domain data, and obtain initial combined signal domain data; the original signal domain data set is the test set data of multiple single signal domain classifiers; A white-box attack method based on projected gradient descent (PGD) obtains a final iterative sample corresponding to the initial combined signal domain data according to the initial combined signal domain data and multiple signal domain classifiers; the multiple signal domain classifiers include multiple single signal domain classifiers and one combined signal domain classifier, each single signal domain classifier is a model trained by a first preset convolutional neural network using corresponding signal domain data; the combined signal domain classifier is a model trained by a second preset convolutional neural network using corresponding combined signal domain data; The final iterative sample corresponding to the initial combined signal domain data is used as the adversarial sample of the original signal domain data.

2. The adversarial sample generation method according to claim 1, characterized in that: The white-box attack method based on projected gradient descent (PGD) obtains the final iterative sample corresponding to the initial combined signal domain data according to the initial combined signal domain data and multiple signal domain classifiers, including performing the following steps in each iteration process: Inputting corresponding signal domain data in the current combined signal domain data into corresponding single signal domain classifiers respectively, and inputting the current combined signal domain data into the combined signal domain classifier to obtain loss values ​​of multiple signal domain classifiers; According to the loss values ​​of multiple signal domain classifiers, the current combined signal domain data is perturbed to obtain the combined signal domain data of the next iteration; Determine whether the current number of iterations meets the preset number; If yes, the combined signal domain data of the next iteration is used as the final iteration sample corresponding to the initial combined signal domain data; If not, start the next iteration process.

3. The adversarial sample generation method according to claim 2, characterized in that: The perturbing the current combined signal domain data according to the loss values ​​of the multiple signal domain classifiers includes: Calculate the total loss value of all signal domain classifiers according to the loss values ​​of multiple signal domain classifiers; The white-box attack method based on projected gradient descent (PGD) uses the total loss value of all signal domain classifiers to perturb each signal domain data in the combined signal domain data after the last iteration.

4. The adversarial sample generation method according to claim 3, characterized in that: The loss value of each signal domain classifier is determined by the following formula: Among them, Loss n represents the loss value of the nth signal domain classifier; I represents the total number of categories, i represents the i-th category, and y (n,i) represents the label value of the i-th category in the n-th signal domain classifier, (p (n,i) ) represents the probability value of the i-th category in the n-th signal domain classifier.

5. The adversarial sample generation method according to claim 3, characterized in that: The calculating the total loss value of all signal domain classifiers according to the loss values ​​of the multiple signal domain classifiers includes: Multiply the loss values ​​corresponding to the multiple signal domain classifiers by the multiple pre-set weight combinations in sequence, calculate the total loss value corresponding to each weight combination, and obtain the total loss values ​​corresponding to the multiple weight combinations; The total loss values ​​corresponding to multiple weight combinations are sorted, and the minimum total loss value is selected as the total loss value of all signal domain classifiers.

6. The adversarial sample generation method according to claim 5, characterized in that: The total loss value corresponding to each weight combination is calculated by the following formula: Loss=W1Loss1+W2Loss2+...+W n Loss n +...+W N Loss N ; Among them, W1, W2, ...W n …W N They represent the loss weights corresponding to the first signal domain classifier, the second signal domain classifier, … the nth signal domain classifier, … the Nth signal domain classifier in the weight combination, respectively. Loss represents the total loss value corresponding to the weight combination, N ≥ 3; Loss1, Loss2, …, Loss n ,…,Loss N They respectively represent the loss values ​​corresponding to the first signal domain classifier, the second signal domain classifier, … the nth signal domain classifier… the Nth signal domain classifier.

7. The adversarial sample generation method according to claim 4, characterized in that: The method of perturbing each signal domain data in the combined signal domain data after the last iteration by using the total loss value of all signal domain classifiers includes: Each signal domain data in the combined signal domain data after the last iteration is disturbed respectively, and the disturbed data is determined according to the following formula each time: in, represents a signal domain data in the combined signal domain data after the last iteration, express The perturbed data; α represents the learning rate, represents the gradient of the total loss value to the signal domain data, Π(.) represents the projection operation, x represents the signal domain data in the initial combined signal domain data, and ε represents the perturbation range of the signal domain data.

8. The adversarial sample generation method according to claim 1, characterized in that: The combined signal domain data is at least two types of signal domain data; The original signal domain data is any of the following signal domain data: Time domain data; Frequency domain data; Amplitude domain data; Complex domain data; Spatial domain data.

9. The adversarial sample generation method according to claim 1, characterized in that: The first preset convolutional neural network and the second preset convolutional neural network are a residual network ResNet or a densely connected convolutional network DenseNet.

10. A system for generating adversarial samples for multiple signal domain classifiers, characterized in that: The adversarial sample generation system comprises: The initial data acquisition module is used to acquire any original signal domain data in the original signal domain data set of the electromagnetic signal, and transform the original signal domain data according to the type of the combined signal domain data to obtain initial combined signal domain data; the original signal domain data set is the test set data of multiple single signal domain classifiers; An iterative sample determination module is used for a white box attack method based on projected gradient descent (PGD), and obtains a final iterative sample corresponding to the initial combined signal domain data according to the initial combined signal domain data and multiple signal domain classifiers; the multiple signal domain classifiers include multiple single signal domain classifiers and one combined signal domain classifier, each single signal domain classifier is a model formed by training a first preset convolutional neural network using corresponding signal domain data; the combined signal domain classifier is a model formed by training a second preset convolutional neural network using corresponding combined signal domain data; The adversarial sample generation module is used to use the final iterative sample corresponding to the initial combined signal domain data as the adversarial sample of the original signal domain data.

Citation Information

Patent Citations

  • Signal adversarial sample detector design method and system based on N+1 class adversarial training

    CN113642378A

  • Bridge damage identification method considering uncertainty

    US11709979B1