The present invention relates generally to an adversarial robustness testing method, and more particularly, but not by way of limitation, to a system, method, and computer program product for an acceleration module (i.e., an accelerator) that reliably speeds up robustness testing of black-box artificial intelligence (AI) and machine-learning (ML) models under different access settings.
Black-box attacks on machine learning (ML) systems is the study of adversarial examples and algorithms that generate them and include how to analyze how state-of-the-art ML systems behave in extreme situations (e.g., when an authentic image is intentionally corrupted by imperceptible noises to deceive a well-trained image classifier into misclassification). This is currently one of the most prominent topics in AI and could potentially help to shape a future of advanced AI platforms that not only perform well in average cases, but also in worst cases or adverse situations.
In recent years, deep neural networks (DNNs) have achieved significant breakthroughs in many machine learning tasks such as natural language processing (NLP), computer vision, speech processing, etc. However, despite success, there have been many recent studies showing that even the state-of-the-art DNNs are still vulnerable to adversarial misclassification attacks. This raises security concerns about a robustness of DNNs in extreme situations, which are very important in many application domains that require high reliability and dependability such as face recognition, autonomous driving vehicles, and malware detection. Investigating adversarial examples and potential attacks that generate them has become an increasingly prevailing topic in AI security and safety, which aims to analyze how modern ML systems (such as DNNs) could be broken in extreme situations. Such an analysis would shed light on potential defensive measures to be incorporated, which essentially lay the groundwork to building a new generation of highly robust and reliable ML models that will be the core engine of future AI technology.
However, most of the preliminary studies on this topic are still restricted to a white-box setting where the adversary has complete access and knowledge of a target system (e.g., DNNs) and the operating mechanism. For instance, assuming knowledge of a DNN model's internal structure and parameters, the adversary can compute a gradient of an output with respect to an input to identify an effect of perturbing the values of certain input components on a predicted output. Consequently, this can be used to construct an adversarial example that would likely be misclassified by the target model. Despite the theoretical interest, such approaches often have very limited use in practical black-box systems where internal states/configurations and operating mechanism of public ML systems are not revealed to the practitioners and the only mode of interaction with the system is via submitting inputs and receiving the corresponding predicted outputs.
One conventional approach to exploring black-box attacks is to use gradient estimation via zeroth-order optimization (‘ZOO’). This conventional approach makes queries to a model and estimates the output gradients with respect to the corresponding inputs. Then, the approach applies a ‘Carlini and Wagner (C&W) attack method’ to generate adversarial examples. However, this conventional technique is very computationally intensive because it requires a large number of queries per iteration to generate an accurate gradient estimation.
Alternatively, a different conventional technique is aimed to estimate an output gradient via a greedy local search. At each iteration, the conventional technique perturbs only a subset of the input component. This local search technique is very computationally efficient, but the technique does not explicitly minimize the distortion between the original input and its perturbed version. Also, the crafted noises often appear more visible. Moreover, the technique has not been tested on data-intensive domains such as ImageNet.
Another conventional technique investigates more realistic threat models by defining the query-limited setting, the partial information setting, and the label-only setting. Three attacks methods are proposed based on the Natural Evolutionary Strategies and Monte Carlo approximation. But, this technique only places limits on the L∞ norm instead of minimizing a certain Lp norm.
Thus, the inventors have identified a need in the art for an adversarial attack in the application of image (i.e., an input) classification with deep neural networks (DNNs).
In an exemplary embodiment, the present invention provides a computer-implemented adversarial robustness testing method for checking a learning performance of a black-box system, the method including testing a robustness of a black-box system under different access settings via an accelerator.
One or more other exemplary embodiments include a computer program product and a system, based on the method described above.
Other details and embodiments of the invention will be described below, so that the present contribution to the art can be better appreciated. Nonetheless, the invention is not limited in its application to such details, phraseology, terminology, illustrations and/or arrangements set forth in the description or shown in the drawings. Rather, the invention is capable of embodiments in addition to those described and of being practiced and carried out in various ways and should not be regarded as limiting.
As such, those skilled in the art will appreciate that the conception upon which this disclosure is based may readily be utilized as a basis for the designing of other structures, methods and systems for carrying out the several purposes of the present invention. It is important, therefore, that the claims be regarded as including such equivalent constructions insofar as they do not depart from the spirit and scope of the present invention.
Aspects of the invention will be better understood from the following detailed description of the exemplary embodiments of the invention with reference to the drawings, in which:
The invention will now be described with reference to
By way of introduction of the example depicted in
By way of introduction of the example depicted in
Although one or more embodiments may be implemented in a cloud environment 50 (e.g.,
With reference to
A black-box system is one that only allows access to system inputs and outputs, but not model internals or details.
A white-box system is a model that details such as architecture and weights for inference are completely known to an adversary.
The different access settings include a ‘soft-label setting’ and a ‘hard-label setting’. A soft-label setting may be system outputs prediction scores of each class, whereas a hard-label setting may be system only outputs top-1 prediction label (no scores, neither other classes).
In other words, the invention receives a first classification of an input as an output from the black-box system and determines a minimal change to the input such that a second classification (i.e., different from the first classification) is received as the output from the black-box system. Indeed, the invention finds a minimal change to an input such that a classification of an output from the black-box system is different than an original classification of the input.
In step 102, given a legitimate input of a plurality of legitimate inputs having a correct class label, an optimal adversarial perturbation is determined using the accelerator such that a perturbed example is misclassified to a target class including an incorrect class label by the deep neural network (DNN) model trained on the legitimate inputs.
In step 103, for a soft-label setting (i.e., outputs prediction scores of all classes) as the different access settings, the accelerator and a gradient descent technique is used to find adversarial examples and summarize robustness statistics.
In step 104, for a hard-label setting (i.e., only outputs the most probable (top-1) class label) as the different access settings, a smoothing function is used to summarize the robustness statistics.
With reference to
With reference generally to
where ƒ(x,t) denotes the loss incurred by misclassifying (x0+δ) to target class t and D(δ) is a distortion function that controls perceptual similarity between a legitimate image and an adversarial example (i.e., D(δ)≡−∥δ∥22,∥·∥∞ signifies the L∞ norm.
In equation (1), the ‘hard’ constraints (i.e., hard-label settings) ensure that the perturbed noise δ at each pixel is imperceptible up to a predefined E-tolerant threshold and the non-negative regularization parameter γ places emphasis on the distortion between an adversarial example and a legitimate image. Furthermore, in the above equation (1), D−(δ)=∥δ∥22
It is noted that a choice of a loss function ƒ(x,t) can be varied in the invention. That is, without loss of generality, the invention focuses on targeted attack with a designated target class t (i.e., a second classification) to mislead the DNN (i.e., from the first classification of the original input) since the untargeted attack version can be implemented based on that of the targeted attack. It is emphasized that in the black-box setting, the gradients of ƒ(x,t) cannot be obtained directly as it does in the white-box setting. The form of the loss function ƒ(x,t) depends on the constrained information in different black-box feedback settings. In particular, the definition of score-based approach and a decision-based attacks as well as their loss functions are discussed as follows.
In the score-based attack setting, the adversaries are able to make queries to the DNN to obtain the soft labels (i.e., scores or probabilities of an image belonging to different classes), while information on gradients are not available. The loss function of equation (1) in the score-based attack is equation (2):
Equation (2) yields the good performance among existing white-box attacks. P(x)j denotes the target model's prediction score or probability of the j-th class, and K is a confidence parameter, which is usually set to zero. Basically, this implies ƒ(x0+δ, t)=0 if P (x0+δ)t is the largest among all classes, which means the perturbation δ has successfully made the target model misclassified x0+δ to target class t. Otherwise, it will be larger than zero. It is noted that in equation (2) the log probability log P (x) is used instead of directly using the actual probability P(x) because the output probability distribution tends to have the probability of one particular class dominating the others, which makes the query on the probability/score less effective. This explains why the log operator is used to reduce the effect of the dominating class while still preserving the probability order for all classes.
For untargeted adversarial attack, the classification of the adversarial example x0+δ should be different from its correct class to. The loss function takes the following form of equation (3):
Basically, equation (3) achieves its minimum value when P (x0+δ)t0 is not the largest among all classes, which implies a successful untargeted attack.
Different from the score-based attack, the decision-based attack is more challenging in that the adversaries can only make queries to get the hard-labels instead of the soft-labels P(x)j. Let H(x)i denote the hard-label decision of the input image x for class i. H(x)i=1 if the decision for x is label i, and 0 otherwise. Also, i=1 H(x)i=1 for all K classes. Then the loss function of equation (1) in the decision-based attack is specified as equation (4) as follows:
Therefore, ƒ(x0+δ, t)∈{−1, 1}, and the attacker succeeds if ƒ(x0+δ, t)=−1. The loss function of equation (4) is non-smooth with discrete outputs. The decision-based attack is therefore more challenging because existing combinatorial optimization methods are almost ineffective or inapplicable considering the high dimensionality of the problem.
Thereby, the invention builds on the above identified problem for equations (1)-(4) to identify a minimal change of an input to not have the same classification by a DNN. The invention includes a general black-box adversarial attack framework for both the score-based and decision-based attacks by leveraging an inventive technique (i.e., ‘ZO-ADMM’). The invention, via the below, yields benefits such as an efficient splitting between the black-box loss function and the white-box adversarial distortion function and a generalization to various Lp norm involved hard/soft constraints. By introducing an auxiliary variable z, equation (1) can be rewritten in the favor of ADMM-type methods as equations (5)-(8) as follows:
Similar to the standard ADMM algorithm, the inventive ‘ZO-ADMM’ splits optimization variables into two blocks and adopts the following iterative scheme of equations (9)-(11):
where k denotes the iteration index. In equation (9), the invention minimizes L(z, δ, u) over z given parameters δk and uk. In equation (10), the invention minimizes L(z, δ, u) over δ given zk+1 from the previous step and uk. Then, the Lagrangian multiplier u is updated in equation (11). The major advantage of this ADMM-type algorithm is that it allows the invention to split the original complex problem into sub-problems, each of which can be solved more efficiently or even analytically. In what follows, equations (9) and (10) are solved, respectively.
For z-step, equation (9) can be rewritten as:
To generalize to various Lp norms, in equation (12), the invention sets D(z)=∥z∥22 where the L2 norm is used to measure the similarity between the legitimate image and the adversarial example. If D(z) takes other Lp norms such as ∥z∥0, ∥z∥1 or even Lp norm combinations like
the invention is still able to obtain the solutions with minor modifications in the z-step. This ability is highly non-trivial for other black-box attacks, which are often heavily customized to minimize a specific Lp norm for distortion measure.
In the experiments discussed later, although the proposed ‘ZO-ADMM approach’ can minimize different Lp norms for the distortion, the invention mainly considers the case of D(z)=∥z∥22 for a fair comparison with other white-box and black-box algorithms. But, it is highlighted that the ‘ZO-ADMM method’ is able to optimize various Lp norms, not only the L2 norm.
For the δ-step, equation (10) can be written as:
where b=zk+1+(1/ρ)uk. In the white-box setting, since the gradients of ƒ(x0+δ, t) are directly accessible, gradient descent method like stochastic gradient descent (SGD) can be applied straight-forwardly to solve equation (15). However, in black-box settings, the gradients of ƒ(x0+δ, t) are unavailable. Thus, to overcome this difficulty, the invention adopts the random gradient estimation method, which is detailed below.
That is, for the random gradient estimation, in the black-box setting, the gradient of ƒ(x0+δ, t) is estimated using a random gradient estimator of equation (16):
where d is the number of optimization variables, v>0 is a smoothing parameter, {uj} denotes independent and identically distributed (i.i.d.) random direction vectors drawn from a uniform distribution over a unit sphere, and Q is the number of random direction vectors. A large Q reduces the gradient estimation error and improves the convergence of ‘ZO-ADMM’. However, it is found that a moderate size of Q is sufficient to provide a good trade-off between estimation error and query complexity. The invention sets Q=20 in the experiments. It is also highlighted that the random gradient estimation in equation (16) only requires O(Q) query complexity instead of O(dQ) caused by coordinate-wise gradient estimation.
With the random gradient estimation, the solution to equation (15) can be obtained via stochastic gradient descent methods like SGD. However, it usually takes thousands of steps in the gradient descent process and at each step, multiple queries are required for accurate gradient estimation. The huge amount of queries will make the black-box attack computationally intensive.
To sidestep this computational bottleneck, it is noted that ‘ZO-ADMM’ enjoys dual advantages of gradient-free operation and linearization of the loss function. By linearization, the loss function ƒ(x0+δ, t) in equation (15) is replaced with its first-order Taylor expansion plus a regularization term (known as Bregman divergence) (i.e., ∇{hacek over (ƒ)}(δk+x0,t))T(δ−δk)+½ ∥δ{hacek over (−)}δk∥G2,) where G is a pre-defined positive definite matrix, and ∥x∥G2=xTGx.
Ĝ=ηkI where 1/ηk>0 is chosen as a decaying parameter (i.e., ηk=α√{square root over (k)} for a given constant is α>0). The Bregman divergence term is used to stabilize the convergence of δ. Combining linearization and ZO gradient estimation, equation (15) takes the following form of equation (17)
And, equation (17) yields a quadratic programming problem with the following closed-form solution of equation (18):
δk+1=(1/(ηk+ρ))(ηkδk+ρb−{circumflex over (∇)}ƒ(δk+x0,t)). (18)
It is noted that equation (18) can be calculated with only one step of gradient estimation, which is a significant improvement on the query efficiency compared with solving equation (15) using gradient descent method with thousands of random estimations.
For the score-based black-box attack, equation (1) with loss function of equation (2) can be naturally solved through the general ‘ZO-ADMM-based framework’. In the decision-based black-box attack, the form of the loss function of equation (4) is non-smooth with discrete outputs. To overcome the discontinuity in equation (4), a smoothing version of equation (4), denoted by ƒμ with smoothing parameter μ>0 is taken into consideration as in equation (19):
ƒμ(x0+δ,t)=u∈U
where Ub is a uniform distribution within the unit Euclidean ball, or u can follow a standard Gaussian distribution. The rational behind the smoothing technique in equation (19) is that the convolution of two functions (i.e., ƒu ƒ(x0+δ+μu, t)p(u)du, is at least as smooth as the smoothest of the two original functions. Therefore, when p is the density of a random variable with respect to Lebesgue measure, the loss function in equation (19) is then smooth. In practice, an empirical Monte Carlo approximation of (19) is considered as shown in equation (20):
where {ui} are N i.i.d. samples drawn from Ub. With the smoothed loss function as in equation (20), equation (1) can be solved by the inventive general ‘ZO-ADMM-based framework’. To initialize the ‘ZO-ADMM’, the invention initializes the perturbation δ so that the initial perturbed image belong to the target class, yielding a benefit of reducing query complexity com-pared to the initialization with an arbitrary image.
Performance Evaluation and Experimental Results
In this section, the experimental results of the score-based and decision-based black-box attacks are demonstrated. The experiments compare the invention ‘ZO-ADMM-based framework’ with a transfer attack technique and the ZOO attack technique on three image classification datasets, MNIST, CIFAR-10, and ImageNet. The results of state-of-the-art white-box attack (i.e., C&W attack) are also provided for reference.
The experiments are run by training two networks for MNIST and CIFAR-10 datasets, respectively, which can achieve 99.5% accuracy on MNIST and 80% accuracy on CIFAR-10. The model architecture has four convolutional layers, two max pooling layers, two fully connected layers and a softmax layer. For ImageNet, the experiments utilize a pro-trained Inception v3 network instead of training our a new model, which can achieve 96% top-5 accuracy. All experiments are conducted on machines with NVIDIA GTX 1080 TI GPUs.
In the evaluation on MNIST and CIFAR-10, 100 correctly classified images are selected from MNIST and CIFAR-10 test datasets, respectively. For each image, the target labels are set to the other 9 classes and a total of 900 attacks are performed for each attack method.
The implementations of C&W (white-box) attack and ZOO (black-box) attack are based on the GitHub code released by the authors. For the ZOO attack, the experiments use ZOO-ADAM with default Adam parameters and set λini=10. For the transfer attack, the C&W attack is applied to the surrogate model with κ=20 to improve the attack transferability and 2,000 iterations in each binary search step. In the inventive ‘ZO-ADMM-based attack’, the sampling number in random gradient estimation as defined in equation (16), Q, is set to 20 and the sampling number for the decision-based smoothed loss function of (20), N, is set to 10. Further, the experiments set ρ=1 and γ=1 for MNIST, ρ=10000 and γ=10 for CIFAR-10, and ρ=1000 and γ=1 for ImageNet. ε is set to 1 for three datasets. v is set to 1 for MNIST, 0.1 for CIFAR-10, and 0.01 for ImageNet. The experiments set μ=0.1 for three datasets.
The experimental results are shown in
The experiments also show that the ‘ZO-ADMM decision-based attack’ achieves an L2 distortion slightly larger than the score-based attack with more queries. This is reasonable since only the hard label outputs are available in the decision-based attack, which is more challenging than the score-based setting. But, it is noted that the ‘ZO-ADMM decision-based attack’ requires fewer queries to achieve the same L2 distortion of initial success with the ‘ZOO attack’. Although the L2 is a bit larger, the experiments show that the perturbations are still visually indistinguishable as demonstrated in
For evaluation on ImageNet, the experiments include performing targeted and untargeted attacks in the score-based and decision-based settings on ImageNet. 50 correctly classified images are randomly selected. For each image in targeted attack, 9 random labels out of 1000 classes are selected to serve as the targets. The experiments do not perform the transfer attack since it does not scale well to ImageNet due to training of the surrogate model. Instead, the experiments provide the results of new baselines on ImageNet, the query-limited and label-only attacks. The query-limited attack is a score-based attack. The label-only attack is a decision-based attack. The experiments follow the default parameter setting for the query limited and label only attacks. The invention provides for finding minimal changes to an input such that an output would not be classified the same as the input.
The experimental results are summarized in
For convergence of the ‘ZO-ADMM attack’, the convergence of the ‘ZO-ADMM-based attack’ on three datasets is shown in
The experiments also show that although the initial L2 distortion is large due to the initial image in the target class, it can converge to a value close to the L2 distortion of the score-based attack.
Also, the experimental results for different Lp norms are demonstrated when solving equation (12). The experiments are run based on a developed three score-based black-box attacks with ‘ZO-ADMM’, minimizing the L0, L1 and L2 norm of the perturbation, respectively. As shown in
Exemplary Aspects, Using a Cloud Computing Environment
Although this detailed description includes an exemplary embodiment of the present invention in a cloud computing environment, it is to be understood that implementation of the teachings recited herein are not limited to such a cloud computing environment. Rather, embodiments of the present invention are capable of being implemented in conjunction with any other type of computing environment now known or later developed.
Cloud computing is a model of service delivery for enabling convenient, on-demand network access to a shared pool of configurable computing resources (e.g. networks, network bandwidth, servers, processing, memory, storage, applications, virtual machines, and services) that can be rapidly provisioned and released with minimal management effort or interaction with a provider of the service. This cloud model may include at least five characteristics, at least three service models, and at least four deployment models.
Characteristics are as follows:
On-demand self-service: a cloud consumer can unilaterally provision computing capabilities, such as server time and network storage, as needed automatically without requiring human interaction with the service's provider.
Broad network access: capabilities are available over a network and accessed through standard mechanisms that promote use by heterogeneous thin or thick client platforms (e.g., mobile phones, laptops, and PDAs).
Resource pooling: the provider's computing resources are pooled to serve multiple consumers using a multi-tenant model, with different physical and virtual resources dynamically assigned and reassigned according to demand. There is a sense of location independence in that the consumer generally has no control or knowledge over the exact location of the provided resources but may be able to specify location at a higher level of abstraction (e.g., country, state, or datacenter).
Rapid elasticity: capabilities can be rapidly and elastically provisioned, in some cases automatically, to quickly scale out and rapidly released to quickly scale in. To the consumer, the capabilities available for provisioning often appear to be unlimited and can be purchased in any quantity at any time.
Measured service: cloud systems automatically control and optimize resource use by leveraging a metering capability at some level of abstraction appropriate to the type of service (e.g., storage, processing, bandwidth, and active user accounts). Resource usage can be monitored, controlled, and reported providing transparency for both the provider and consumer of the utilized service.
Service Models are as follows:
Software as a Service (SaaS): the capability provided to the consumer is to use the provider's applications running on a cloud infrastructure. The applications are accessible from various client circuits through a thin client interface such as a web browser (e.g., web-based e-mail). The consumer does not manage or control the underlying cloud infrastructure including network, servers, operating systems, storage, or even individual application capabilities, with the possible exception of limited user-specific application configuration settings.
Platform as a Service (PaaS): the capability provided to the consumer is to deploy onto the cloud infrastructure consumer-created or acquired applications created using programming languages and tools supported by the provider. The consumer does not manage or control the underlying cloud infrastructure including networks, servers, operating systems, or storage, but has control over the deployed applications and possibly application hosting environment configurations.
Infrastructure as a Service (IaaS): the capability provided to the consumer is to provision processing, storage, networks, and other fundamental computing resources where the consumer is able to deploy and run arbitrary software, which can include operating systems and applications. The consumer does not manage or control the underlying cloud infrastructure but has control over operating systems, storage, deployed applications, and possibly limited control of select networking components (e.g., host firewalls).
Deployment Models are as follows:
Private cloud: the cloud infrastructure is operated solely for an organization. It may be managed by the organization or a third party and may exist on-premises or off-premises.
Community cloud: the cloud infrastructure is shared by several organizations and supports a specific community that has shared concerns (e.g., mission, security requirements, policy, and compliance considerations). It may be managed by the organizations or a third party and may exist on-premises or off-premises.
Public cloud: the cloud infrastructure is made available to the general public or a large industry group and is owned by an organization selling cloud services.
Hybrid cloud: the cloud infrastructure is a composition of two or more clouds (private, community, or public) that remain unique entities but are bound together by standardized or proprietary technology that enables data and application portability (e.g., cloud bursting for load-balancing between clouds).
A cloud computing environment is service oriented with a focus on statelessness, low coupling, modularity, and semantic interoperability. At the heart of cloud computing is an infrastructure comprising a network of interconnected nodes.
Referring now to
Although cloud computing node 10 is depicted as a computer system/server 12, it is understood to be operational with numerous other general purpose or special purpose computing system environments or configurations. Examples of well-known computing systems, environments, and/or configurations that may be suitable for use with computer system/server 12 include, but are not limited to, personal computer systems, server computer systems, thin clients, thick clients, hand-held or laptop circuits, multiprocessor systems, microprocessor-based systems, set top boxes, programmable consumer electronics, network PCs, minicomputer systems, mainframe computer systems, and distributed cloud computing environments that include any of the above systems or circuits, and the like.
Computer system/server 12 may be described in the general context of computer system-executable instructions, such as program modules, being executed by a computer system. Generally, program modules may include routines, programs, objects, components, logic, data structures, and so on that perform particular tasks or implement particular abstract data types. Computer system/server 12 may be practiced in distributed cloud computing environments where tasks are performed by remote processing circuits that are linked through a communications network. In a distributed cloud computing environment, program modules may be located in both local and remote computer system storage media including memory storage circuits.
Referring now to
Bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MCA) bus, Enhanced ISA (EISA) bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnects (PCI) bus.
Computer system/server 12 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by computer system/server 12, and it includes both volatile and non-volatile media, removable and non-removable media.
System memory 28 can include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and/or cache memory 32. Computer system/server 12 may further include other removable/non-removable, volatile/non-volatile computer system storage media. By way of example only, storage system 34 can be provided for reading from and writing to a non-removable, non-volatile magnetic media (not shown and typically called a “hard drive”). Although not shown, a magnetic disk drive for reading from and writing to a removable, non-volatile magnetic disk (e.g., a “floppy disk”), and an optical disk drive for reading from or writing to a removable, non-volatile optical disk such as a CD-ROM, DVD-ROM or other optical media can be provided. In such instances, each can be connected to bus 18 by one or more data media interfaces. As will be further described below, memory 28 may include a computer program product storing one or program modules 42 comprising computer readable instructions configured to carry out one or more features of the present invention.
Program/utility 40, having a set (at least one) of program modules 42, may be stored in memory 28 by way of example, and not limitation, as well as an operating system, one or more application programs, other program modules, and program data. Each of the operating system, one or more application programs, other program modules, and program data or some combination thereof, may be adapted for implementation in a networking environment. In some embodiments, program modules 42 are adapted to generally carry out one or more functions and/or methodologies of the present invention.
Computer system/server 12 may also communicate with one or more external devices 14 such as a keyboard, a pointing circuit, other peripherals, such as display 24, etc., and one or more components that facilitate interaction with computer system/server 12. Such communication can occur via Input/Output (I/O) interface 22, and/or any circuits (e.g., network card, modem, etc.) that enable computer system/server 12 to communicate with one or more other computing circuits. For example, computer system/server 12 can communicate with one or more networks such as a local area network (LAN), a general wide area network (WAN), and/or a public network (e.g., the Internet) via network adapter 20. As depicted, network adapter 20 communicates with the other components of computer system/server 12 via bus 18. It should be understood that although not shown, other hardware and/or software components could be used in conjunction with computer system/server 12. Examples, include, but are not limited to: microcode, circuit drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data archival storage systems, etc.
Referring now to
Referring now to
Hardware and software layer 60 includes hardware and software components. Examples of hardware components include: mainframes 61; RISC (Reduced Instruction Set Computer) architecture based servers 62; servers 63; blade servers 64; storage circuits 65; and networks and networking components 66. In some embodiments, software components include network application server software 67 and database software 68.
Virtualization layer 70 provides an abstraction layer from which the following examples of virtual entities may be provided: virtual servers 71; virtual storage 72; virtual networks 73, including virtual private networks; virtual applications and operating systems 74; and virtual clients 75.
In one example, management layer 80 may provide the functions described below. Resource provisioning 81 provides dynamic procurement of computing resources and other resources that are utilized to perform tasks within the cloud computing environment. Metering and Pricing 82 provide cost tracking as resources are utilized within the cloud computing environment, and billing or invoicing for consumption of these resources. In one example, these resources may comprise application software licenses. Security provides identity verification for cloud consumers and tasks, as well as protection for data and other resources. User portal 83 provides access to the cloud computing environment for consumers and system administrators. Service level management 84 provides cloud computing resource allocation and management such that required service levels are met. Service Level Agreement (SLA) planning and fulfillment 85 provide pre-arrangement for, and procurement of, cloud computing resources for which a future requirement is anticipated in accordance with an SLA.
Workloads layer 90 provides examples of functionality for which the cloud computing environment may be utilized. Examples of workloads and functions which may be provided from this layer include: mapping and navigation 91; software development and lifecycle management 92; virtual classroom education delivery 93; data analytics processing 94; transaction processing 95; and adversarial robustness testing method 100 in accordance with the present invention.
The present invention may be a system, a method, and/or a computer program product at any possible technical detail level of integration. The computer program product may include a computer readable storage medium (or media) having computer readable program instructions thereon for causing a processor to carry out aspects of the present invention.
The computer readable storage medium can be a tangible device that can retain and store instructions for use by an instruction execution device. The computer readable storage medium may be, for example, but is not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. A non-exhaustive list of more specific examples of the computer readable storage medium includes the following: a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), a static random access memory (SRAM), a portable compact disc read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanically encoded device such as punch-cards or raised structures in a groove having instructions recorded thereon, and any suitable combination of the foregoing. A computer readable storage medium, as used herein, is not to be construed as being transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission media (e.g., light pulses passing through a fiber-optic cable), or electrical signals transmitted through a wire.
Computer readable program instructions described herein can be downloaded to respective computing/processing devices from a computer readable storage medium or to an external computer or external storage device via a network, for example, the Internet, a local area network, a wide area network and/or a wireless network. The network may comprise copper transmission cables, optical transmission fibers, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. A network adapter card or network interface in each computing/processing device receives computer readable program instructions from the network and forwards the computer readable program instructions for storage in a computer readable storage medium within the respective computing/processing device.
Computer readable program instructions for carrying out operations of the present invention may be assembler instructions, instruction-set-architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, firmware instructions, state-setting data, configuration data for integrated circuitry, or either source code or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C++, or the like, and procedural programming languages, such as the “C” programming language or similar programming languages. The computer readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider). In some embodiments, electronic circuitry including, for example, programmable logic circuitry, field-programmable gate arrays (FPGA), or programmable logic arrays (PLA) may execute the computer readable program instructions by utilizing state information of the computer readable program instructions to personalize the electronic circuitry, in order to perform aspects of the present invention.
Aspects of the present invention are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer readable program instructions.
These computer readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer readable program instructions may also be stored in a computer readable storage medium that can direct a computer, a programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer readable storage medium having instructions stored therein comprises an article of manufacture including instructions which implement aspects of the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other device to produce a computer implemented process, such that the instructions which execute on the computer, other programmable apparatus, or other device implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the blocks may occur out of the order noted in the Figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts or carry out combinations of special purpose hardware and computer instructions.
The descriptions of the various embodiments of the present invention have been presented for purposes of illustration, but are not intended to be exhaustive or limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein was chosen to best explain the principles of the embodiments, the practical application or technical improvement over technologies found in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein.
Further, Applicant's intent is to encompass the equivalents of all claim elements, and no amendment to any claim of the present application should be construed as a disclaimer of any interest in or right to an equivalent of any element or feature of the amended claim.