Method and system for training a neural network to generate universal adversarial perturbations

A stochastic neural network generates universal adversarial perturbations to protect machine learning models from attacks by maximizing conditional entropy, addressing inefficiencies and computational overheads in existing adversarial defense methods.

JP2024533864AActive Publication Date: 2024-09-12MITSUBISHI ELECTRIC CORP
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2024540076
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2021-10-11
Filing Date
2022-07-11
Publication Date
2024-09-12
Estimated Expiration
2042-07-11

AI Technical Summary

Technical Problem

Existing machine learning models are vulnerable to adversarial attacks that require target model information, leading to inefficiencies and computational overheads, especially in black-box scenarios.

Method used

Training a stochastic neural network to generate universal adversarial perturbations that are independent of target model information, utilizing a probabilistic neural network to maximize conditional entropy and minimize mutual information, enabling robust and privacy-preserving data processing.

Benefits of technology

The solution provides a low-cost, universal defense mechanism against adversarial attacks with negligible computational overhead, enhancing the robustness and privacy of machine learning systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024533864000001
    Figure 2024533864000001
Patent Text Reader

Abstract

An embodiment of the present disclosure discloses a method and system for training a neural network to generate universal adversarial perturbations. The method includes collecting a plurality of data samples. Each of the plurality of data samples is identified by a label in a finite label set. The method includes training a probabilistic neural network to transform the plurality of data samples into a corresponding plurality of perturbed data samples having a bounded probability of deviation from the plurality of data samples by maximizing a conditional entropy of a finite label set of the plurality of data samples conditioned on the plurality of perturbed data samples. The conditional entropy is unknown. The probabilistic neural network is trained based on iterative estimates of gradients of the unknown conditional entropy of the labels. The method further includes generating universal adversarial perturbations based on the trained probabilistic neural network.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates generally to adversarial data perturbation, and more particularly to methods and systems for training neural networks to generate universal adversarial perturbations. [Background technology]

[0002] In recent years, machine learning and deep neural networks have been widely used for data classification. However, machine learning models are often vulnerable to attacks based on adversarial manipulation of data. Adversarial manipulation of data is known as adversarial examples. Adversarial examples are samples of data with intentionally added small feature perturbations. These feature perturbations are intended to make a machine learning (ML) model or a deep neural network (DNN) model output inaccurate predictions. Specifically, the feature perturbations are imperceptible noise to the data, which causes the ML classifier to misclassify the data. Such adversarial examples are used to perform attacks against ML systems, raising security concerns. Such adversarial examples pose a potential security threat to ML applications such as robots that perceive the world through cameras and other sensors, video surveillance systems, and mobile applications for classifying images or sounds. Such attacks against ML systems require target model information, such as parameters, i.e., weights, gradients, model queries, and architectures. Target model information is necessary to improve the efficiency of adversarial attacks.

[0003] Adversarial attacks include black-box adversarial attacks, white-box adversarial attacks, etc. White-box adversarial attacks rely on target model information of the ML / DNN model, while black-box adversarial attacks do not need to rely on such target model information to generate adversarial perturbations. Black-box adversarial attacks generate improved adversarial perturbations by extracting information such as decision rules using queries. However, the use of queries requires additional memory, computational overhead, or online access to send multiple query requests to extract decision rule information. In addition, black-box adversarial attacks and white-box adversarial attacks need to adjust the adversarial perturbations according to the target ML / DNN model, which is computationally expensive.

[0004] Therefore, there is a need to overcome the above problems. More specifically, there is a need to develop a method and system for generating universal adversarial perturbations that do not rely on target ML / DNN model information. Summary of the Invention

[0005] Exemplary adversarial attacks are broadly categorized into two types of threat models, e.g., white-box adversarial attacks and black-box attacks. In a white-box adversarial attack, an attacker accesses the parameters of a target model. For example, an attacker accesses parameters such as the architecture, weights, gradients, etc. of a target model. A white-box adversarial attack requires strong adversarial access to succeed in an attack, which is not feasible. Furthermore, such white-box adversarial attacks have a large computational overhead, such as time and attack iterations. In contrast, a black-box adversarial attack has limited adversarial access to the parameters of a target model. For example, the adversarial access only includes access to exemplary input data and output data pairs of the target model. Alternatively, a black-box adversarial attack does not use any information of the target model. In such an adversarial attack, a source model or a surrogate model is trained with training data to generate adversarial perturbations. The generated adversarial perturbations are added to the input data to attack the target black-box DNN. For example, an input image is input to a surrogate model to generate adversarial perturbations. Then, adversarial perturbations are added to the input image to attack the target black-box DNN. In some cases, model queries are used to obtain information from the target black-box DNN. Such model queries improve the effectiveness of black-box or white-box adversarial attacks. Thus, we avoid black-box or white-box adversarial attacks when the target DNN does not have knowledge and does not have access to model queries.

[0006] Therefore, the objective of this disclosure is to generate universal adversarial perturbations that include a set of adversarial examples that are independent of target model information. The universal adversarial perturbations are generated by a probabilistic neural network that exploits the inherent structure in the statistical distribution of data. The objective of this disclosure is also to train a probabilistic neural network for generating universal adversarial perturbations.

[0007] Some embodiments of the present disclosure are based on the recognition that, from the perspective of game theory, there is a fundamental connection between the robust machine learning model (e.g., classifier) ​​problem and the privacy-preserving data processing mechanism (e.g., perturbation mechanism) problem. More specifically, the game between the classifier and the perturbation mechanism has a saddle point. This saddle point is a minimax point characterized by an information-theoretic optimization problem that is exploited to find an equilibrium strategy. Therefore, universal adversarial perturbation is a multi-objective perturbation used in solving the robust machine learning model problem and the privacy-preserving data processing mechanism problem. For example, universal adversarial perturbation is used to augment input data for training a robust machine learning model. Universal adversarial perturbation is used as a privacy-preserving data processing mechanism, such as hiding sensitive information in the input data, while achieving an optimal tradeoff between privacy and utility and preventing adversarial attacks.

[0008] In some exemplary embodiments, a probabilistic neural network is trained to transform a plurality of data samples into a corresponding plurality of perturbed data samples, each of which is identified by a label in a finite label set. The plurality of perturbed data samples has a bounded deviation probability from the plurality of data samples. The bounded deviation probability is obtained by maximizing the conditional entropy of the finite label set of the plurality of data samples conditioned on the plurality of perturbed data samples. The conditional entropy of the finite label set of the plurality of data samples conditioned on the plurality of perturbed data samples is unknown because the statistical distribution of the plurality of data samples conditioned on the plurality of perturbed data samples is unknown and difficult to estimate.

[0009] Therefore, maximizing the conditional entropy is expressed as minimizing the unknown mutual information between the labels and the perturbed data samples corresponding to the fixed entropy of the finite label set. In general, the mutual information of the labels and the perturbed data samples is a measure of the interdependence between the labels and the perturbed data samples. The measure of interdependence corresponds to the amount of information of the labels obtained based on the perturbed data samples. To minimize the mutual information between the labels and the perturbed data samples, a probabilistic neural network is trained offline.

[0010] In some embodiments, the probabilistic neural network is trained based on iterative estimates of the gradient of the unknown conditional entropy of the finite label set. The gradient of the unknown conditional entropy of the finite label set is estimated based on a mutual information gradient estimation method. Specifically, the gradient of the unknown mutual information is decomposed as the entropy of the perturbed data sample without the conditional entropy of the perturbed data sample conditioned on the label. Furthermore, the conditional entropy of the perturbed data sample conditioned on the label is decomposed as the sum of the entropy of the perturbed data sample for each label of the corresponding data sample weighted by the probability of each label.

[0011] In some embodiments, the gradient of the entropy of the perturbed data sample and the entropy of the perturbed data sample is estimated using a score function estimation method, which includes one or a combination of a Stein Gradient Estimator, a Spectral Stein Gradient Estimator, and a Kernel Exponential Family Estimator.

[0012] In some embodiments, the objective of maximizing the conditional entropy of a finite set of labels within a bounded deviation probability is transformed into a corresponding Lagrangian form. The transformation into the Lagrangian form produces a fixed-point feature estimate of the optimal solution for maximizing the conditional entropy. Training of the probabilistic neural network is then performed by minimizing a gradient matching loss function that satisfies the fixed-point feature estimate. Training of the probabilistic neural network is iterative until a termination condition is met.

[0013] Some embodiments of the present disclosure are based on the understanding that a trained probabilistic neural network is used to replace or augment standard adversarial training methods for learning a robust neural network model. For example, a robust neural network model is trained by generating adversarial input data at each step of model training and updating the robust neural network model to minimize a loss function for the adversarial input data. However, generating adversarial input data at each step of training is computationally expensive. Therefore, a trained probabilistic neural network universal adversarial perturbation is used to train the robust neural network model. Specifically, the universal adversarial perturbation generated by the trained probabilistic neural network is used to augment the input data. By augmenting the input data with the universal adversarial perturbation, the perturbed input data used to train the robust neural network model is output. The perturbed input data for training the robust neural network model avoids the computational complexity and instability of alternating adversarial optimization. Furthermore, the perturbed input data is classified using a trained classifier.

[0014] In the inference or online application phase, a trained probabilistic neural network is used to generate a set of adversarial examples without high computational cost. The set of adversarial examples is used to develop a universal defense response through adversarial training without relying on a specific machine learning or neural network model. Such a set of adversarial examples is called a universal adversarial perturbation.

[0015] In some embodiments, the universal adversarial perturbation includes multi-objective perturbation, in which different bounds for constraining deviation probabilities of a plurality of perturbed data samples are selected from a plurality of data samples based on an objective of a probabilistic neural network, the objective of the probabilistic neural network includes a data privacy objective and a robust learning objective, the limit of the data privacy objective being greater than the limit of the robust learning objective.

[0016] As such, the trained probabilistic neural network for generating universal adversarial perturbations is used in an ML system operating in the physical world. The ML system collects a plurality of data samples using a sensor, such as a camera or a motion sensor. In some exemplary embodiments, the plurality of data samples correspond to sensed data signals, such as vital signs of a subject. The sensed data signals include one or more vital signs of the subject. The sensed data signals are measured by a sensor based on a type of relative alignment between the sensor and a source of the sensed data signal. A corresponding label in a finite label set specifies the type of relative alignment.

[0017] Accordingly, one embodiment discloses a computer-implemented method for training a neural network for generating universal adversarial perturbations. The method includes collecting a plurality of data samples. Each of the plurality of data samples is identified by a label in a finite label set. The method includes training a probabilistic neural network for transforming the plurality of data samples into a corresponding plurality of perturbed data samples having a bounded probability of deviation from the plurality of data samples by maximizing a conditional entropy of the finite label set of the plurality of data samples conditioned on the plurality of perturbed data samples. The conditional entropy is unknown, and the probabilistic neural network is trained based on iterative estimates of gradients of the unknown conditional entropy of the labels. The method further includes generating universal adversarial perturbations based on the trained probabilistic neural network.

[0018] Accordingly, another embodiment discloses a system for training a neural network for generating universal adversarial perturbations. The system includes a processor and a memory for storing instructions. The processor is configured to cause the system to collect a plurality of data samples of a data signal, each sample being identified by a label in a finite label set, by executing the stored instructions. The processor is configured to cause the system to train a probabilistic neural network for transforming the plurality of data samples into a corresponding plurality of perturbed data samples having a bounded probability of deviation from the plurality of data samples by maximizing a conditional entropy of the finite label set of the plurality of data samples conditioned on the plurality of perturbed data samples. The conditional entropy of the finite label set is unknown, and the probabilistic neural network is trained based on iterative estimates of gradients of the unknown conditional entropy of the labels. The processor is configured to cause the system to further generate universal adversarial perturbations based on the trained probabilistic neural network, by executing the stored instructions.

[0019] Thus, yet another embodiment discloses a universal adversarial perturbation system. The universal adversarial perturbation system includes a receiver, a processor, and a transmitter. The receiver is operatively connected to the sensor to receive the sensed data signal. The processor is configured to execute a trained probabilistic neural network to transform the plurality of data samples into a corresponding plurality of perturbed data samples having a bounded probability of deviation from the plurality of data samples by maximizing a conditional entropy of a finite label set of the plurality of data samples conditioned on the plurality of perturbed data samples. The conditional entropy is unknown, and the probabilistic neural network is trained based on iterative estimates of a gradient of the unknown conditional entropy. The transmitter is configured to transmit the plurality of perturbed data samples as a perturbed data signal via a wireless or wired communication channel. [Brief description of the drawings]

[0020] [Figure 1] FIG. 1 is a block diagram illustrating a system for training a neural network to generate universal adversarial perturbations in accordance with some embodiments of the present disclosure. [Diagram 2] FIG. 1 is a schematic diagram illustrating a procedure for training a neural network to generate universal adversarial perturbations, in accordance with some embodiments of the present disclosure. [Figure 3A] FIG. 1 is a schematic diagram illustrating an offline training stage for training a probabilistic neural network for generating universal adversarial perturbations, in accordance with some embodiments of the present disclosure. [Figure 3B] 1 is a flow chart illustrating an offline training phase of a probabilistic neural network in accordance with some embodiments of the present disclosure. [Figure 4A] FIG. 2 is a schematic diagram illustrating an online application stage of a trained probabilistic neural network in accordance with some embodiments of the present disclosure. [Figure 4B]1 is a graphical representation illustrating an evaluation of a trained probabilistic neural network in accordance with some embodiments of the present disclosure. [Diagram 5] FIG. 1 illustrates a universal adversarial perturbation system in accordance with some embodiments of the present disclosure. [Figure 6] 1 is a use case illustrating the use of a universal adversarial perturbation system in accordance with some embodiments of the present disclosure. [Figure 7] 1 is a use case illustrating the use of a universal adversarial perturbation system in accordance with some other embodiments of the present disclosure. [Figure 8] 1 is a use case illustrating the use of a universal adversarial perturbation system in accordance with some other embodiments of the present disclosure. [Figure 9] FIG. 1 is a flow diagram illustrating a method for training a neural network to generate universal adversarial perturbations in accordance with some embodiments of the present disclosure. [Figure 10] FIG. 1 illustrates a system for training a neural network for generating universal adversarial perturbations in accordance with some example embodiments of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0021] In the following description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the present disclosure. It will be apparent to those skilled in the art that one or more embodiments may be practiced without these specific details. Additionally, the apparatus and methods are shown as block diagrams in order to avoid obscuring the present disclosure.

[0022] As used in the present specification and claims, the terms "for example," "for example," "such as," and the verbs "comprise," "have," "include," and other verb forms thereof, when used with a list of one or more components or other items, should be construed as open ended, meaning not to exclude other additional components or items from this list. The term "based on" means based at least in part on. Furthermore, it should be understood that the phrases and terms used herein are for the purpose of description and should not be considered as limiting unless specifically defined as such. Any headings used herein are for convenience only and have no legal or limiting effect.

[0023] 1 is a schematic block diagram illustrating a system 100 for training a neural network, such as a probabilistic neural network 106 for generating universal adversarial perturbations 110, according to some embodiments of the present disclosure. The system 100 includes a processor 102 and a memory 104 for storing instructions executed by the processor 102. The processor 102 is configured to execute the stored instructions to cause the system 100 to collect a plurality of data samples corresponding to a data signal 108. Each of the plurality of data samples is identified by a label in a finite label set.

[0024] In some embodiments, the memory 104 stores a probabilistic neural network 106. The probabilistic neural network 106 is trained to transform a plurality of data samples into a corresponding plurality of perturbed data samples. Each data sample of the plurality of data samples is identified by a corresponding label in a finite label set. The data sample and the associated label are input to the probabilistic neural network 106. Similarly, the remaining data samples of the plurality of data samples and their corresponding labels in the finite label set are input to the probabilistic neural network 106.

[0025] Also, the transformation of the plurality of data samples includes a bounded probability of deviation from the plurality of data samples. Specifically, the plurality of data samples are transformed by maximizing the conditional entropy of a finite label set of the plurality of data samples conditioned on the plurality of perturbed data samples. The conditional entropy of the finite label set is unknown. In some exemplary embodiments, the probabilistic neural network 106 is trained based on iterative estimates of the gradient of the unknown conditional entropy of the finite label set.

[0026] Furthermore, the trained probabilistic neural network 106 is used to generate universal adversarial perturbations 110. The universal adversarial perturbations 110 correspond to a set of adversarial examples that are generated without any specific information of the target model.

[0027] Next, with reference to FIG. 2, a detailed procedure for generating universal adversarial perturbation 110 will be described.

[0028] 2 is a schematic diagram illustrating a procedure 200 for training the probabilistic neural network 106 to generate universal adversarial perturbations 110 according to some embodiments of the present disclosure. The procedure 200 is performed by the system 100.

[0029] In step 202, a plurality of data samples of a data signal (eg, data signal 108) is collected, where each of the plurality of data samples is identified by a label in a finite set of labels.

[0030] In step 204, the probabilistic neural network 106 is trained to transform the plurality of data samples into a corresponding plurality of perturbed data samples. The plurality of perturbed data samples have a bounded probability of deviation from the plurality of data samples. In some embodiments, the probabilistic neural network 106 is trained to transform the plurality of data samples by maximizing the conditional entropy of a finite label set of the plurality of data samples conditioned on the plurality of perturbed data samples. The conditional entropy of the finite label set is unknown. The probabilistic neural network is trained based on iterative estimates of the gradient of the unknown conditional entropy of the labels.

[0031]

number

[0032]

number

[0033]

number

[0034]

number

[0035]

number

[0036]

number

[0037]

number

[0038]

number

[0039] Such universal adversarial perturbations 110 are used to attack any black-box target model with negligible computational overhead. Also, the universal adversarial perturbations 110 are used to perform adversarial training at low cost. This defense is referred to as a universal defense response because the training samples do not depend on a specific neural network model.

[0040] In some embodiments, the probabilistic neural network 106 is trained in an offline phase, as will now be described with reference to FIG. 3A.

[0041] 3A is a schematic diagram 300A illustrating an offline training stage 302 for training a probabilistic neural network model 106 according to some other embodiments of the present disclosure. In the offline training 302, a plurality of data samples 304 and a finite label set 306 are used. Each data sample in the plurality of data samples 304 is identified by a label in the finite label set 306. Each of the plurality of data samples 304 and the corresponding label in the finite label set 306 are input to the probabilistic neural network 106.

[0042]

number

[0043]

number

[0044]

number

[0045]

number

[0046] The model is optimized to minimize the above objective via a gradient descent method, such as stochastic gradient descent, which computes the gradient of the above objective with respect to the parameters of the model. Training of the probabilistic neural network 106 is then performed by minimizing a gradient matching loss function that satisfies the fixed-point feature estimates.

[0047] Additionally, the probabilistic neural network model 106 is updated to minimize a loss function, i.e., a cross-entropy loss function 308, over the multiple perturbed data samples. In one exemplary embodiment, the probabilistic neural network 106 is updated based on weight updates 310. The probabilistic neural network 106 generates universal adversarial perturbations 110.

[0048] Next, with reference to FIG. 3B, we describe the global offline training of the probabilistic neural network 106 to minimize mutual information.

[0049] 3B is a flowchart 300B illustrating an offline training phase 302 of a probabilistic neural network 106 in accordance with some embodiments of the present disclosure. The offline training 302 begins at step 312. At step 314, the parameters (g θ ) are initialized. Once the parameters are initialized, iterations begin for training the probabilistic neural network 106. In step 316, a termination condition is identified for terminating the training iterations of the probabilistic neural network 106. For example, the termination condition in step 316 corresponds to the termination of the parameters.

[0050]

number

[0051] Once the termination condition is met, we start estimating the gradient of the unknown conditional entropy of the finite label set and loop until the termination of the finite label set.

[0052]

number

[0053]

number

[0054] In step 334, the trained probabilistic neural network is output. In step 324, the offline training ends.

[0055] In some embodiments, the trained probabilistic neural network 106 is used to replace or augment standard adversarial training methods for learning robust neural network models or classifiers. To this end, the trained probabilistic neural network 106 is used to train a robust neural network model, as will now be described with reference to FIG. 4A.

[0056]

number

[0057]

number

[0058]

number

[0059]

number

[0060] Therefore, different bounds are selected for constraining the deviation probability of the multiple perturbed data samples from the multiple data samples based on the objectives of the probabilistic neural network 106. The objectives of the probabilistic neural network 106 include a data privacy objective and a robust learning objective. The limits of the data privacy objective are greater than the limits of the robust learning objective.

[0061]

number

[0062]

number

[0063]

number

[0064] 4B, the black-box adversarial training models shown by curves 412B, 414B, and 416B are weaker than the clean data models shown by curves 412A, 414A, and 416A. Also, curves 412C, 414C, and 416C corresponding to the robust model 408 show that training the robust model 408 based on the universal adversarial perturbation 110 is fast and efficient. Therefore, the probabilistic neural network 106 that trains the robust model 408 using the universal adversarial perturbation 110 is useful in large-scale adversarial training of robust machine learning models.

[0065] In some embodiments, the probabilistic neural network 106 is used in a universal adversarial perturbation system, as will now be described with reference to FIG.

[0066] 5 illustrates a universal adversarial perturbation system 500 in accordance with some embodiments of the present disclosure. The universal adversarial perturbation system 500 includes a receiving device 502, a sensor 504, a processor 510, a memory 512, and a transmitting device 516.

[0067] The receiving device 502 is operatively connected to a sensor 504 to receive a measured sensed data signal 506 from a source 508 of the data signal 506. The sensed data signal includes one or more of the subject's vital signs (e.g., heart rate, pulse rate). In some exemplary embodiments, the sensor 504 is configured to sense the data signal 506 based on a type of relative placement in the placement between the sensor 504 and the source of the sensed data signal 506. The sensor 504 corresponds to a touch sensor or a touchless sensor, such as a camera, a motion sensor, a vital sign sensor, or an optical sensor. The sensor 504 is located at a predetermined distance from a source 508 that causes nuisance variations, i.e., noise that affects the type of relative placement. In some embodiments, the type of relative placement is designated by a label corresponding to each of a plurality of data samples corresponding to the data signal 506. For example, the type of relative placement may be due to variations in the physical orientation of the sensor relative to the subject being measured, or variations inherent to the subject being measured.

[0068] In some embodiments, the processor 510 is configured to execute a probabilistic neural network 514 stored in the memory 512. The probabilistic neural network 514 is an example of the probabilistic neural network 106. The probabilistic neural network 514 is trained to convert the plurality of data samples corresponding to the sensed data signal 506 into a plurality of perturbed data samples having a bounded deviation probability. The bounded deviation probability causes the plurality of perturbed data samples to deviate from the plurality of data samples by maximizing the conditional entropy of a finite set of labels of the plurality of data samples conditioned on the plurality of perturbed data samples. In some embodiments, the probabilistic neural network 514 is trained to reduce unknown mutual information between the labels classifying the type of relative configuration and the plurality of perturbed data samples. The minimization of the unknown mutual information is solved based on the optimization problem of Equation (2).

[0069] Additionally, the transmitter 516 transmits the plurality of perturbed data samples as a perturbed data signal 518 over a wireless or wired communication channel, such as a network 520 .

[0070] As will be further explained with reference to Figures 6, 7 and 8, such a universal adversarial perturbation system 500 is used for machine learning and / or privacy-preserving data processing applications.

[0071] FIG. 6 is a use case 600 illustrating the use of the universal adversarial perturbation system 500 according to some embodiments of the present disclosure. The use case 600 includes two different scenarios, for example, scenario 602A and scenario 602B. In scenario 602A, a user 604A is identified to allow access to a restricted area, such as a security room 608. The user 604A is identified using a sensor, such as a camera 606, that captures a facial image of the user 604A. In some cases, the camera 606 is connected to the universal adversarial perturbation system 500 via a network, such as the network 520. In some other cases, the camera 606 is integrated into the universal adversarial perturbation system 500. The camera 606 transmits the captured facial image of the user 604A to the universal adversarial perturbation system 500. The universal adversarial perturbation system 500 processes the captured facial image of the user 604A. The trained probabilistic neural network 514 is used to process the photographed facial image of the user 604A, thereby concealing sensitive information, such as identifying marks corresponding to the user 604A, while preserving the usability of the photographed facial image of the user 604A.

[0072] After processing the captured facial image of user 604A, the universal adversarial perturbation system 500 transmits the processed information to a control system (not shown) to identify user 604A and grant access based on the identity of user 604A.

[0073] In another scenario 602, an intruder 604B attempts to access the room 608 using a facial image, such as a photo 610 of a user 604A. A camera 606 captures a facial image of the user 604A in the photo 610. The photo 610 is processed using the universal adversarial perturbation system 500. However, the photo 610 does not contain any sensitive information that would be protected against such an intrusion. Thus, the intruder 604B is denied access to the room 606 even though he uses the photo 610 that contains the facial image of the user 604A. Thus, the hidden sensitive information of the user 604A prevents an unwanted attack by the intruder 604B.

[0074] FIG. 7 is a use case 700 illustrating the use of the universal adversarial perturbation system 500 according to some other embodiments of the present disclosure. The use case 700 corresponds to a vehicle navigation assistance system (not shown) of a vehicle 702A. The vehicle navigation assistance system is connected to the universal adversarial perturbation system 500. The vehicle navigation assistance system is connected to a camera of the vehicle 702A, for example a front camera that captures a road scene or view. In one exemplary scenario, the camera captures a road sign 704 showing a "STOP" sign. The captured road sign 704 is transmitted to the universal adversarial perturbation system 500. The universal adversarial perturbation system 500 processes the captured road sign 704 using a probabilistic neural network 510. The captured road sign 704 is processed using the universal adversarial perturbation 110 to generate a robust model for identifying the "STOP" sign in the road sign 704. The vehicle navigation assistance system uses a robust model to accurately identify road signs 704 and prevent vehicle 702A from colliding with another vehicle, for example vehicle 702B in front of vehicle 702A.

[0075] 8 is a use case 800 illustrating the use of the universal adversarial perturbation system 500 in accordance with yet some other embodiments of the present disclosure. Use case 800 corresponds to a sensor 804 detecting one or more vital signs, such as a brain signal 806, of a subject 802. Sensor 804 is an example of a sensor 504 detecting the brain signal 806 based on a type of relative configuration in the configuration between sensor 804 and the head of subject 802. The type of relative configuration is identified by a corresponding label in the brain signal 806.

[0076] When the sensor 804 is placed on the head of the subject 802, nuisance fluctuations occur due to the relative positioning between the sensor 804 and the head of the subject 802. The nuisance fluctuations cause an inaccurate reading of the brain signal 806. The inaccurate reading leads to an erroneous diagnosis 806 of the brain signal. Therefore, the brain signal 806 is transmitted to the universal adversarial perturbation system 500. The universal adversarial perturbation system 500 processes the brain signal 806 using a probabilistic neural network 510. The probabilistic neural network 510 uses the universal adversarial perturbation to process the brain signal 806, thereby removing the nuisance fluctuations using the universal adversarial perturbation system 500 and outputting an accurate reading of the brain signal 806, thereby improving the diagnosis of one or more vital signs of the subject 802.

[0077] 9 is a flow diagram illustrating a method 900 for generating universal adversarial perturbations in accordance with some embodiments of the present disclosure. The method 900 is performed by the system 100.

[0078] At step 902, the method 900 includes collecting a plurality of data samples, each of the plurality of data samples being identified by a label in a finite label set. The plurality of data samples corresponds to the data signal 108.

[0079] In step 904, the method 900 includes training a probabilistic neural network, such as the probabilistic neural network 106, for transforming the plurality of data samples into a plurality of perturbed data samples. The plurality of perturbed data samples includes a bounded deviation probability from the plurality of data samples obtained by maximizing the conditional entropy of a finite label set of the plurality of data samples conditioned on the plurality of perturbed data samples. The conditional entropy is unknown because the statistical distribution of the plurality of data samples is unknown. Therefore, the maximization of the conditional entropy is expressed as minimizing the unknown mutual information between the label and the perturbed data sample corresponding to the fixed entropy of the finite label set. In some exemplary embodiments, the probabilistic neural network is trained based on iterative estimates of the gradient of the unknown conditional entropy (see FIG. 3A). The gradient of the unknown conditional entropy of the finite label set is estimated based on a mutual information gradient estimation method (see FIG. 3B).

[0080] At step 906, the method 900 includes generating a universal adversarial perturbation based on the trained probabilistic neural network. In some embodiments, the universal adversarial perturbation is a multi-objective perturbation. In the multi-objective perturbation, different bounds are selected to limit the deviation probability of the multiple perturbed data samples from the multiple data samples. The different bounds are selected based on an objective of the probabilistic neural network. The objective of the probabilistic neural network includes a data privacy objective and a robust learning objective. The limit of the data privacy objective is greater than the limit of the robust learning objective.

[0081] FIG. 10 is a block diagram illustrating a system 1000 for generating universal adversarial perturbations according to some embodiments of the present disclosure. The system 1000 includes at least one processor 1002 and a memory 1004 for storing instructions including executable modules executed by the at least one processor 1002 during control of the system 1000. The memory 1004 is embodied as a storage medium, such as a RAM (random access memory), a ROM (read only memory), a hard disk, or a combination thereof. For example, the memory 1004 stores instructions executable by the at least one processor 1002. In one exemplary embodiment, the memory 1004 is configured to store a probabilistic neural network 1006. The probabilistic neural network 1006 corresponds to the probabilistic neural network 106.

[0082] The at least one processor 1002 is embodied as a single-core processor, a multi-core processor, a computing cluster, or any number of other configurations. The at least one processor 1002 is operatively connected to the sensor 1008 and the receiving device 1010 via a bus 1012. In one embodiment, the at least one processor 1002 is configured to collect a plurality of data samples. In some exemplary embodiments, the plurality of data samples are collected from the receiving device 1010. The receiving device 1010 is connected to the input device 1020 via a network 1024. Each of the plurality of data samples is identified by a label in a finite label set. The finite label set is stored in the storage device 1014. In some other exemplary embodiments, the plurality of data samples are collected from the sensor 1008. The sensor 1008 receives a measured data signal 1016 from a source (not shown). In some embodiments, the sensor 1008 is configured to sense the data signal 1016 based on a type of relative geometry in the geometry between the sensor 1008 and a source of the sensed data signal 1016. The type of relative geometry is identified by a label corresponding to each of the plurality of data samples.

[0083] Additionally or alternatively, the system 1000 may be integrated with a network interface controller 1026 to receive the data samples using the network 1024 .

[0084] The at least one processor 1002 is also configured to train a probabilistic neural network for transforming the plurality of data samples into a corresponding plurality of perturbed data samples. The plurality of perturbed data samples have a bounded deviation probability from the plurality of data samples. The bounded probability is obtained by maximizing an unknown conditional entropy of a finite label set of the plurality of data samples conditioned on the plurality of perturbed data samples. Specifically, the at least one processor 1002 is configured to express the maximization of the conditional entropy as minimizing an unknown mutual information between the label and the perturbed data sample of the plurality of data samples to a fixed entropy of the finite label set. In some exemplary embodiments, the objective of maximizing the conditional entropy of the finite label set within the bounded deviation probability is transformed into a corresponding Lagrangian form that results in a fixed point feature estimate of an optimal solution for maximizing the conditional entropy. The training of the probabilistic neural network 1006 is performed by minimizing a gradient matching loss function that satisfies the fixed point feature estimate.

[0085] In some embodiments, the probabilistic neural network 1006 is trained to reduce unknown mutual information between a label classifying a type of relative configuration between the sensor 1008 and a source of the sensed data signal 1016 and a plurality of perturbed data samples obtained based on transformation of a plurality of data samples by the trained probabilistic neural network 1006.

[0086] In some embodiments, the probabilistic neural network 1006 is trained based on iterative estimates of the gradient of the unknown conditional entropy of the finite set of labels. The gradient of the unknown conditional entropy of the labels is estimated based on the gradient of the unknown mutual information. The gradient of the unknown mutual information is decomposed as the entropy of the perturbed data sample without the conditional entropy of the perturbed data sample conditioned on the label. The conditional entropy of the perturbed data sample conditioned on the label is decomposed as the sum of the entropy of the perturbed data sample for each label of the corresponding data sample weighted by the probability of each label. The entropy of the perturbed data sample for each label and the gradient of the entropy of the perturbed data sample are estimated using a score function estimation method. The score function estimation method includes one or a combination of a stain gradient estimator, a spectral stain gradient estimator, and a kernel exponential family estimator.

[0087] The trained probabilistic neural network 1006 generates a universal adversarial perturbation (e.g., universal adversarial perturbation 110), which is transmitted via a transmitting device 1018. Additionally or alternatively, the transmitting device 1018 is connected to an output device 1022 and outputs the perturbation data signal via a wireless or wired communication channel, such as a network 1024. The output device 1022 includes a computer, laptop, smart device, or any computing device used to prevent adversarial attacks against applications installed on the output device 1022.

[0088] Also, each embodiment may be described as a process that is depicted as a flowchart, a flow diagram, a data flow diagram, a structure diagram, or a block diagram. Although a flowchart describes operations as a sequential process, many operations may be performed in parallel or simultaneously. Also, the order of operations may be changed. A process may be terminated when the operations of a process are completed, but the process may include additional steps not discussed or shown. Moreover, not all operations within a specifically described process need be included in every embodiment. A process may be a method, a function, a procedure, a subroutine, a subprogram, etc. When a process is a function, the termination of the function corresponds to the return of the function to the calling function or to the main function.

[0089] Furthermore, embodiments of the disclosed subject matter may be implemented, at least in part, manually or automatically. The manual or automated implementation may be implemented, or at least assisted, by machine, hardware, software, firmware, middleware, microcode, hardware description languages, or any combination thereof. When implemented by software, firmware, middleware, or microcode, the program code or code segments to perform the necessary tasks may be stored in a machine-readable medium. A processor may perform the necessary tasks.

[0090] The embodiments of the present disclosure described above may be implemented in many ways. For example, the embodiments may be implemented in hardware, software, or a combination thereof. When implemented in software, the software code may be executed on any suitable processor or collection of processors, whether located on a single computer or distributed across multiple computers. Such a processor may be implemented as an integrated circuit. An integrated circuit element may include one or more processors. However, the processor may be implemented in any suitable circuit.

[0091] Also, the various methods or steps outlined herein may be coded as software executable on one or more processors employing any one of a variety of operating systems or platforms. Moreover, such software may be written using any of a number of suitable programming languages ​​and / or programming or scripting tools, and compiled as executable machine language code or intermediate code that runs on a framework or virtual machine. Typically, the functionality of the program modules may be combined or distributed in various embodiments as desired.

[0092] The embodiments of the present disclosure may be embodied as a method, which is provided as an example. The operations performed as part of this method may be ordered in any suitable manner. Thus, embodiments may be constructed that perform operations in a different order than the operations performed sequentially in the exemplary embodiments, and that may include performing some operations simultaneously. Accordingly, the appended claims are intended to cover all such variations and modifications that are within the true spirit and scope of the present disclosure.

[0093] Although the present disclosure has been described with reference to certain preferred embodiments, it should be understood that various other modifications and alterations can be made within the spirit and scope of the disclosure. It is therefore intended in the appended claims to cover all such variations and modifications that are within the true spirit and scope of the present disclosure.

Claims

1. 1. A computer-implemented method for training a neural network to generate universal adversarial perturbations, comprising: collecting a plurality of data samples, each of the plurality of data samples being identified by a label in a finite label set, the method comprising: training a probabilistic neural network for transforming a plurality of data samples into a corresponding plurality of perturbed data samples having a bounded probability of deviation from the plurality of data samples by maximizing a conditional entropy of the finite set of labels of the plurality of data samples conditioned on a plurality of perturbed data samples, the conditional entropy being unknown, the probabilistic neural network being trained based on iterative estimates of gradients of the unknown conditional entropy of the labels, the method comprising: generating the universal adversarial perturbation based on the trained probabilistic neural network.

2. maximizing the conditional entropy may be expressed as minimizing unknown mutual information between the labels and corresponding perturbed data samples among the plurality of perturbed data samples for a fixed entropy of the finite label set; The method of claim 1 , wherein the gradient of the unknown conditional entropy of the labels is estimated based on a mutual information gradient estimation method.

3. the gradient of the unknown mutual information is decomposed as the entropy of the perturbed data sample without the conditional entropy of the perturbed data sample conditioned on the label; The conditional entropy of the perturbed data sample conditioned on the labels is decomposed as a sum of the entropies of the perturbed data sample for each label of the corresponding data sample weighted by the probability of each label; A gradient of the entropy of the perturbed data samples is estimated using a score function estimation method; The method of claim 2 , wherein the entropy of the perturbed data sample for each label is estimated using a score function estimation method.

4. The method of claim 3 , wherein the score function comprises one or a combination of a stain gradient estimator, a spectral stain gradient estimator, and a kernel exponential family estimator.

5. converting the objective of maximizing the conditional entropy of the finite label set within the bounded deviation probability into a Lagrangian form that produces a fixed-point feature estimate of an optimal solution for maximizing the conditional entropy; The method of claim 1 , wherein the training of the probabilistic neural network is performed by minimizing a gradient matching loss function that satisfies the fixed-point feature estimates.

6. The training of the probabilistic neural network is repeated until a termination condition is met; 2. The method of claim 1, further comprising training a robust neural network model using the perturbed data samples labeled with the finite label set corresponding to the data samples.

7. The training of the probabilistic neural network is repeated until a termination condition is met; The method comprises: generating perturbed input data by processing input data with the probabilistic neural network; and classifying the perturbed input data using a trained classifier.

8. The universal adversarial perturbation is a multi-objective perturbation, The method further includes selecting different bounds for constraining the deviation probability of the plurality of perturbed data samples from the plurality of data samples based on an objective of the probabilistic neural network; the objectives of the probabilistic neural network include a data privacy objective and a robust learning objective; The method of claim 1 , wherein the data privacy objective limit is greater than the robust learning objective limit.

9. the plurality of data samples correspond to a sensed data signal measured by a sensor, the sensed data signal being measured based on a type of relative geometry between the sensor and a source of the sensed data signal; the sensed data signal includes one or more vital signs of the subject; The method of claim 1 , wherein the corresponding label in the finite label set specifies the type of the relative placement.

10. 1. A system for training a neural network to generate universal adversarial perturbations, comprising: The system includes a processor and a memory for storing instructions; The processor is configured to execute the stored instructions to cause the system to perform the following operations: The operation includes: collecting a plurality of data samples of a data signal, each of the plurality of data samples being identified by a label in a finite label set; The operation includes: training a probabilistic neural network to transform the plurality of data samples into a corresponding plurality of perturbed data samples having a bounded probability of deviation from the plurality of data samples by maximizing a conditional entropy of the finite label set of the plurality of data samples conditioned on a plurality of perturbed data samples, the conditional entropy of the finite label set being unknown, the probabilistic neural network being trained based on iterative estimates of a gradient of the unknown conditional entropy of the finite label set; The operation includes: generating the universal adversarial perturbation based on the trained probabilistic neural network.

11. To maximize the conditional entropy, the processor is configured to execute the stored instructions to cause the system to express maximizing the conditional entropy as minimizing unknown mutual information between the labels and perturbed ones of the data samples for a fixed entropy of the finite set of labels; The system of claim 10 , wherein the gradient of the unknown conditional entropy of the labels is estimated based on a gradient of the unknown mutual information.

12. The processor is configured to execute the stored instructions to cause the system to further perform at least the following operations: The operation includes: decomposing the gradient of the unknown mutual information as an entropy of the perturbed data sample without the conditional entropy of the perturbed data sample conditioned on the label; and decomposing the conditional entropy of the perturbed data sample conditioned on the labels as a sum of the entropies of the perturbed data sample for each label of a corresponding data sample weighted by the probability of each label; The system of claim 11 , wherein a gradient of the entropy of the perturbed data sample and the entropy of the perturbed data sample for each label are estimated using a score function estimation method.

13. The processor is configured to execute the stored instructions to cause the system to further perform at least the following operations: The operation includes: converting the objective of maximizing the conditional entropy of the finite label set within the bounded deviation probability into a Lagrangian form that produces a fixed-point feature estimate of an optimal solution for maximizing the conditional entropy; and performing the training of the probabilistic neural network by minimizing a gradient matching loss function that satisfies the fixed-point feature estimates.

14. The training of the probabilistic neural network is repeated until a termination condition is met; The processor is configured to execute the stored instructions to cause the system to further perform at least the following operations:

11. The system of claim 10, wherein the operations further comprise training a robust neural network model using the plurality of perturbed data samples labeled with the finite label set corresponding to the plurality of data samples.

15. The training of the probabilistic neural network is repeated until a termination condition is met; The processor is configured to execute the stored instructions to cause the system to further perform at least the following operations: The operation includes: generating perturbed input data by processing input data with the probabilistic neural network; and classifying the perturbed input data using a trained classifier.

16. The universal adversarial perturbation is a multi-objective perturbation, The processor is configured to execute the stored instructions to cause the system to further perform at least the following operations: The operations further include selecting different bounds for constraining the deviation probability of the plurality of perturbed data samples from the plurality of data samples based on an objective of the probabilistic neural network; the objectives of the probabilistic neural network include a data privacy objective and a robust learning objective; The system of claim 10 , wherein the data privacy objective limit is greater than the robust learning objective limit.

17. the plurality of data samples correspond to a sensed data signal measured by a sensor, the sensed data signal being measured based on a type of relative geometry between the sensor and a source of the sensed data signal; The system of claim 10 , wherein the corresponding label in the finite label set specifies the type of the relative placement.

18. 20. The system of claim 17, wherein the sensory data signal comprises one or more vital signs of the subject.

19. A universal adversarial perturbation system, a receiver operatively connected to the sensor to receive the sensed data signal; and a processor configured to execute a trained probabilistic neural network to transform the plurality of data samples into a corresponding plurality of perturbed data samples having a bounded probability of deviation from the plurality of data samples by maximizing a conditional entropy of the finite set of labels of the plurality of data samples conditioned on a plurality of perturbed data samples, the conditional entropy being unknown, and the probabilistic neural network being trained based on iterative estimates of gradients of the unknown conditional entropy of the labels; a transmitter configured to transmit the plurality of perturbed data samples as a perturbed data signal over a wireless or wired communication channel.

20. the sensor is configured to sense a data signal based on a type of relative geometry between the sensor and a source of the sensed data signal; the sensed data signal includes one or more vital signs of the subject; the label corresponding to each of the plurality of data samples specifies the type of the relative placement; 20. The universal adversarial perturbation system of claim 19, wherein the probabilistic neural network is trained to reduce unknown mutual information between the labels classifying the type of the relative configuration and the plurality of perturbed data samples.

Citation Information

Patent Citations

  • Modeling calculation for functional structure

    JP2021012693A

  • System and method for detecting adversarial attack

    JP2021096854A

  • System and method for generating adversarial examples

    US20210124999A1

  • Robustness setting device, robustness setting method, storage medium storing robustness setting program, robustness evaluation device, robustness evaluation method, storage medium storing robustness evaluation program, computation device, and storage medium storing program

    WO2020230699A1

  • Learning system, learning method, collection device, and collection program

    WO2021014551A1