Detection and avoidance of adversarial attack in computer vision

By training ML models with additional metadata, the vulnerability to adversarial attacks is mitigated, ensuring robust and accurate predictions in critical applications.

JP2024133442APending Publication Date: 2024-10-02THE BOEING CO
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2024031927
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-02
Filing Date
2024-03-04
Publication Date
2024-10-02

AI Technical Summary

Technical Problem

Existing ML models are vulnerable to adversarial attacks, leading to misclassifications that can cause catastrophic errors in critical applications such as autonomous vehicles and security systems.

Method used

Incorporating additional metadata, such as temporal and object-related metadata, during the training process to enhance the robustness of ML models against adversarial attacks by validating classification results with human-style rule-based judgment.

Benefits of technology

The trained ML models can effectively prevent misclassifications and reduce the impact of adversarial attacks by using metadata to maintain accurate predictions despite adversarial inputs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024133442000001_ABST
    Figure 2024133442000001_ABST
Patent Text Reader

Abstract

To provide a method for detecting and avoiding an adversarial attack to machine learning (ML) and a non-transitory computer readable medium.SOLUTION: A method includes receiving one or more images in a trained ML model, receiving attack data in the ML model, and predicting an object depicted in the one or more images using the ML model based on the one or more images, metadata associated with the one or more images, and the attack data. The ML model uses the metadata to prevent the attack data from changing result of prediction.SELECTED DRAWING: Figure 3B
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] Aspects of the present disclosure relate to machine learning (ML), and in particular to avoiding adversarial attacks against ML. [Background technology]

[0002]

[0002] An adversarial attack in ML is generally an input that is intentionally provided to an ML model with the intent of perturbing the model (e.g., perturbing a neural network). This can result in errors, such as misclassifying a given input. For example, an adversarial attack can lead to misclassifications that indicate false positives or false negatives. This can have serious consequences. This is particularly problematic in critical applications, including medical applications, autonomous vehicle operation, and many other critical applications. For example, an adversarial attack on a computer vision ML model can cause devastating damage in autonomous and robotic applications, as well as security and surveillance systems. Summary of the Invention

[0003]

[0003] Some embodiments include a method. The method includes receiving one or more images at a trained ML model. The method further includes receiving attack data at the ML model. The method further includes predicting objects depicted in the one or more images using the ML model based on the one or more images, metadata associated with the one or more images, and the attack data. The ML model uses the metadata to prevent the attack data from changing the outcome of the prediction.

[0004]

[0004] Some embodiments further include a non-transitory computer readable medium including computer program code that, when executed by operation of one or more computer processors, performs a number of operations, including receiving one or more images at a trained ML model, and further including receiving attack data at the ML model, and further including predicting objects depicted in the one or more images using the ML model based on the one or more images, metadata associated with the one or more images, and the attack data, where the ML model uses the metadata to prevent the attack data from altering the outcome of the prediction.

[0005]

[0005] Some embodiments further include a system including a computer processor and a memory having instructions that, when executed by the computer processor, perform a number of operations. The operations include receiving one or more images at a trained ML model. The operations further include receiving attack data at the ML model. The operations further include predicting objects depicted in the one or more images using the ML model based on the one or more images, metadata associated with the one or more images, and the attack data. The ML model uses the metadata to prevent the attack data from altering the outcome of the prediction.

[0006]

[0006] Embodiments further include any of the embodiments described above, where the attack data includes adversarial attack data intended to alter predictions of objects by the ML model.

[0007]

[0007] Embodiments further include any of the embodiments described above, where the ML model is trained using a combination of training images depicting the object and metadata associated with the training images.

[0008]

[0008] Embodiments further include any of the embodiments described above, where the ML model is trained using a multi-dimensional array associated with the training images and the metadata.

[0009]

[0009] Embodiments further include any of the embodiments described above, where the metadata includes temporal metadata associated with additional images of the object captured over time.

[0010]

[0010] Embodiments further include any of the embodiments described above, where the temporal metadata further includes images depicting multiple views of the object.

[0011]

[0011] Embodiments further include any of the embodiments described above, where the metadata includes a graph associated with objects depicted in the one or more images.

[0012]

[0012] Embodiments further include any of the embodiments described above, where the graph includes a plurality of vertices and edges associated with subcomponents of the object.

[0013]

[0013] Embodiments further include any of the embodiments described above, where the graph is generated using a second ML model to identify the subcomponents.

[0014]

[0014] Some embodiments further include any of the embodiments described above, in which the graph is further generated based on identifying a bounding box for each of the subcomponents and calculating a respective center of mass for each bounding box, and each of the vertices in the graph is associated with one or more of the centers of mass.

[0015] The following description and the annexed drawings set forth in detail certain illustrative features of the one or more embodiments.

[0016]

[0016] The accompanying drawings depict certain aspects of one or more embodiments and therefore should not be considered as limiting the scope of the disclosure. [Brief description of the drawings]

[0017] [Figure 1A]

[0017] An adversarial attack against a computer vision ML system according to one embodiment is illustrated. [Figure 1B]

[0018] 1 illustrates one solution to adversarial attacks against computer vision ML systems according to one embodiment. [Diagram 2]

[0019] FIG. 1 is a block diagram illustrating a computer vision controller for avoidance of adversarial attacks against ML according to one embodiment. [Figure 3A]

[0020] 1 is a flowchart illustrating training an ML model for avoidance of adversarial attacks according to one embodiment. [Figure 3B]

[0021] 1 is a flowchart illustrating inference using an ML model for avoidance of adversarial attacks according to one embodiment. [Figure 4]

[0022] 1 illustrates the use of temporal metadata for evasion of adversarial attacks against ML according to one embodiment. [Figure 5A]

[0023] 1 illustrates a metadata array for generation of temporal metadata for avoidance of adversarial attacks against ML according to one embodiment. [Figure 5B]

[0024] 1 illustrates a metadata graph for generation of temporal metadata for avoidance of adversarial attacks against ML according to one embodiment. [Figure 6]

[0025] 1 illustrates generation of subcomponent metadata for avoidance of adversarial attacks against ML according to one embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0018]

[0026] For ease of understanding, wherever possible, the same reference numerals have been used to designate identical elements common to the figures. It is contemplated that elements and features of one embodiment may be beneficially incorporated in other embodiments without further description.

[0019]

[0027] In the following description, details are described in the manner of examples to facilitate understanding of the disclosed subject matter. However, it should be clear to those skilled in the art that the disclosed embodiments are illustrative and do not cover all possible embodiments. Therefore, it should be understood that reference to the described embodiments is not intended to limit the scope of the present disclosure. Any variations and further modifications to the described devices, instruments, methods, and further applications of the principles of the present disclosure are fully considered to be normally made by those skilled in the art to which the present disclosure pertains. In particular, it is fully considered that features, components, and / or steps described with respect to one embodiment may be combined with features, components, and / or steps described with respect to other embodiments of the present disclosure.

[0020]

[0028] Existing solutions for adversarial defense in ML models (e.g., neural networks) typically focus on fine-tuning the model itself, for example, K. Chow, W. Wei, Y. Wu, and K. Liu, in the paper Denoising and Verification Cross-Layer Ensemble Against Black-box Adversarial Attacks, in 2019 IEEE International Conference on Big Data, pp.1282-1291. IEEE, 2019 (hereinafter the "Chow paper") describes improvements to convolutional layers in deep neural networks (DNNs) to mitigate the effects of adversarial attacks, which are further described below with respect to FIG. 1B.

[0021]

[0029] However, this does not solve the fundamental problem of adversarial attacks, namely the training dataset used to train the ML model. One or more techniques disclosed herein prevent adversarial attacks by providing additional metadata to the training dataset (e.g., temporal metadata for computer vision or object-related metadata). This means that even if an adversarial attack occurs (e.g., during inference), the ML model is trained to identify misclassifications (e.g., false positives and false negatives) by matching the classification output with metadata associated with the data points. In one embodiment, this can be used to prevent both targeted adversarial attacks (e.g., attacks intended to make the ML model M misclassify object X as class Y) and untargeted adversarial attacks (e.g., attacks intended to make the model M misclassify any object class).

[0022]

[0030] In one embodiment, adding metadata during training trains ML models to utilize human-style rule-based judgments to validate classification results, as described with respect to one or more embodiments below. This has many advantages, including robustness against adversarial attacks for a variety of different ML applications. Furthermore, one or more of these techniques can assist in predicting subcomponents that are missing (e.g., false negatives) or misclassified (e.g., false positives). They can also reduce the size of training datasets and data storage. For example, one or more of these techniques can use graph representations for image data (i.e., for computer vision) instead of full-sized images. Furthermore, the techniques disclosed herein can be used for a variety of applications, including motion detection and activity alert systems, visual search engines and visual question-answering systems, visual quality inspection, and a variety of other applications.

[0023]

[0031] 1A illustrates an adversarial attack on a computer vision ML system according to one embodiment. In one embodiment, flow 110 illustrates computer vision prediction without an adversarial attack. An ML model 114 (e.g., a DNN) receives an image 112 as input. The ML model 114 generates a prediction 116. The prediction 116 accurately predicts that the image 112 shows a stop sign, with 95% confidence in this prediction.

[0024]

[0032] In one embodiment, flow 120 illustrates computer vision prediction with an adversarial attack. The same image 112 is provided to the same ML model 114. In addition, however, adversarial noise 122 is also added as an input to the ML model 114. In one embodiment, the adversarial noise 122 significantly impairs the performance of the ML model 114. As shown, the adversarial noise 122 causes the ML model 114 to generate a different prediction. The prediction 124 incorrectly predicts that the image 112 shows a one-way street sign with 95% confidence. One or more techniques described below in connection with FIGS. 3A-6 provide solutions for improving the performance of an ML model (e.g., the ML model 114) when faced with an adversarial attack.

[0025]

[0033] FIG. 1B illustrates one solution 150 for adversarial attacks on computer vision ML systems according to one embodiment. In one embodiment, the solution 150 is a prior art solution described in the Chow paper mentioned above. As illustrated, the solution 150 proposes modifications to the convolutional layers inside the DNN. For example, a large number of denoising encoders 152 and decoders 154 can be trained (e.g., using corrupted data examples) to remove the adversarial effect of the noise provided in the adversarial attack. However, this is not ideal because it requires modifications to the ML model itself, which is tied to a specific type of adversarial attack and a specific model construction. The following FIGS. 3A-6 describe one or more embodiments for the improved solution. The solution is robust against adversarial attacks in a variety of different ML applications and attacks.

[0026]

[0034] 2 is a block diagram illustrating a computer vision controller 200 for avoiding adversarial attacks against ML, according to one embodiment. In one embodiment, the computer vision controller 200 includes a processor 202, a memory 210, and a network component 220. The memory 210 may take the form of any non-transitory computer-readable medium. The processor 202 generally reads and executes programming instructions stored in the memory 210. The processor 202 is typically a single central processing unit (CPU), multiple CPUs, a single CPU with multiple processing cores, a graphics processing unit (CPU) with multiple execution paths, and the like.

[0027]

[0035] Network components 220 include components necessary for computer vision controller 200 to interact with an appropriate communication network. For example, network components 220 may include wired, WiFi, or cellular network interface components and associated software. Although memory 210 is illustrated as a single entity, memory 210 may include one or more memory devices having blocks of memory associated with physical addresses, such as random access memory (RAM), read only memory (ROM), flash memory, or other types of volatile and / or non-volatile memory.

[0028]

[0036] The memory 210 generally includes program code for performing various functions associated with the use of the computer vision controller 200. The program code is generally described as various functional "applications" or "modules" within the memory 210, although alternative implementations may have different functions and / or combinations of functions. Within the memory 210, a training service 212 facilitates training of a computer vision ML model 216 (e.g., an object classification ML model). In one embodiment, the computer vision ML model 216 is any suitable ML model, including a neural network (e.g., DNN) or any other suitable ML model. An inference service 214 facilitates using the computer vision ML model 216 to predict what is depicted by an input image. This is described further below with respect to FIGS. 3A-6.

[0029]

[0037] 2 depicts the training service 212, the inference service 214, and the computer vision ML model 216 as being located in memory 210, but that representation is provided merely as an example for clarity. More generally, the computer vision controller 200 may include one or more computing platforms, such as, for example, computer servers, which may be co-located to form an interactively linked but distributed system, such as a cloud-based system (e.g., a public cloud, a private cloud, a hybrid cloud, or any other suitable cloud-based system). As a result, the processor 202 and the memory 210 may correspond to distributed processor and memory resources within a computing environment. Thus, it should be understood that any or all of the training service 212, the inference service 214, and the computer vision ML model 216 may be stored remotely from the computer vision controller 200 in the distributed memory resources of the computing environment.

[0030]

[0038] 3A is a flowchart 300 illustrating training an ML model for avoidance of adversarial attacks according to one embodiment. At block 302, a training service (e.g., training service 212 shown in FIG. 2), a human curator, or any suitable entity identifies training data. For example, the training service can use appropriate training data to train a computer vision ML model (e.g., computer vision ML model 216). The training data can include appropriately labeled images of objects used to train the computer vision ML model.

[0031]

[0039] At block 304, the training service identifies further metadata about the objects in the training data. In one embodiment, the training data includes labeled objects depicted in the images. Existing solutions use this training data to train computer vision ML models. However, as described above in connection with FIGS. 1A-B, computer vision ML models trained with typical training data are potentially vulnerable to adversarial attacks.

[0032]

[0040] In one embodiment, the training service improves robustness against adversarial attacks on the computer vision ML model by using additional metadata about the objects in the training data. For example, the training service may identify additional temporal data describing the object over time. This temporal data may include, for example, images of the object captured as successive images over a period of time. This temporal data may be used as metadata to train the computer vision ML model to identify errors in inference, making the computer vision ML model more robust against adversarial attacks. This is described further below with respect to Figures 4-5B.

[0033]

[0041] As another example, the training service may generate additional metadata reflecting relationships between multiple objects in a single image. For example, an image used to train a computer vision ML model may depict multiple objects, or may depict a single object that can be divided into subcomponents. The training service may generate additional metadata based on the relationships between these objects or subcomponents of the objects (e.g., based on generating a graph representation of the object or subcomponents). The training service can use this additional metadata to train the computer vision ML model, making it more robust against adversarial attacks. This is described further below with respect to FIG. 6.

[0034]

[0042] In block 306, the training service trains the ML model using the additional metadata and the training data. For example, the training service may train the ML model using both temporal metadata (e.g., reflecting multiple images of an object over time) and exemplary training data. This is described further below with respect to FIGS. 4-5B. As another example, the training service may train the ML model using both object metadata (e.g., based on generating a graph representation of the object(s) depicted in the training data) and exemplary training data. This is described further below with respect to FIG. 6.

[0035]

[0043] In block 308, an inference service (e.g., inference service 214 shown in FIG. 2) predicts the object using the trained ML model. For example, the computer vision ML model may ~ The ML model may be trained using the techniques described above in connection with 306. The inference service can then use the trained computer vision ML model to predict what is depicted in the image, as described further below in connection with FIG.

[0036]

[0044] For example, a computer vision ML model may be trained using temporal metadata reflecting images of an object taken over a period of time. An inference service may receive multiple images of an object as input and may use the computer vision ML model to predict the object depicted in the image. In one embodiment, the use of additional temporal metadata during training makes the computer vision ML model significantly more robust against adversarial attacks.

[0037]

[0045] As another example, a computer vision ML model may be trained using object-related metadata (e.g., reflecting a graph representation of the object(s) depicted in the image). An inference service may receive as input a single image of one or more objects and may use a computer vision ML model to predict the objects depicted in the image. In one embodiment, the use of additional object-related metadata during training makes the computer vision ML model significantly more robust against adversarial attacks.

[0038]

[0046] 3B is a flowchart illustrating inference using an ML model for avoidance of adversarial attacks according to one embodiment. In one embodiment, FIG. 3B corresponds to block 308 described above in connection with FIG. 3A. In block 352, an inference service (e.g., the inference service 214 shown in FIG. 2) receives one or more images. For example, the inference service may receive one or more images for prediction of objects depicted in the images using a computer vision ML model (e.g., the computer vision ML model 216 shown in FIG. 2).

[0039]

[0047] At block 354, the inference service receives attack data. For example, as described above in connection with FIG. 1A, the adversarial attack data may be provided to the computer vision ML model to alter predictions made by the ML model. In one embodiment, the adversarial attack data is intentionally provided to reduce the accuracy of predictions made by the ML model.

[0040]

[0048] In block 356, the inference service uses the metadata to predict objects depicted in the image. For example, as described above in connection with FIG. 3A, a computer vision ML model can be trained to use metadata associated with the input image to avoid inaccuracies introduced by attack data. This can be achieved by using temporal metadata (e.g., FIG. 4). ~ The metadata may be object graph metadata (e.g., as described below in connection with FIG. 5B ), object graph metadata (e.g., as described below in connection with FIG. 6 ), or any other suitable metadata. In one embodiment, the ML model uses the metadata to prevent the attack data from changing the outcome of the prediction. For example, without the metadata, the ML model's predictions would be changed (e.g., potentially inaccurate) by the attack data. However, with the metadata, the ML model's predictions are robust against adversarial attacks and are not changed by the attack data.

[0041]

[0049] 4 illustrates the use of temporal metadata for evasion of adversarial attacks against ML, according to one embodiment. In one embodiment, a computer vision ML model (e.g., computer vision ML model 216) is used to classify an object 402 (e.g., object A) depicted as a sequence of images 410A-N. For example, the sequence of temporal images 410A-N may include a time period t0->t n 4, object A is depicted from multiple views over a period of time, with each view including multiple images acquired over the period (e.g., images from each of the four views taken every second, every few seconds, or any other suitable interval). The different views are depicted over a period of time t0->t nThis may reflect different image capture devices (e.g., different cameras) capturing object A from different positions or angles over a period t0->t. This is merely one example, and any suitable number of views may be used. For example, one view may be used, five or more views may be used, or any other suitable number of views may be used. Furthermore, over the period t0->t n may reflect any suitable time duration, and the time images may reflect any suitable number of images of each field of view.

[0042]

[0050] In one embodiment, the temporal images 410A-N are used by an object classification neural network layer 420 to generate intermediate classifications 430A-N and a final prediction result 440. For example, a computer vision ML model can be an object classification neural network composed of a series of layers 420 (e.g., convolutional layers). These layers 420 can be used to generate the intermediate classifications 430A-N and a final prediction result 440.

[0043]

[0051] In one embodiment, an adversarial attack 404 is also provided to the computer vision ML model. For example, the adversarial attack 404 may be provided as an input to the object classification neural network layer 420 along with the time images 410A-N. As shown, the adversarial attack changes one of the intermediate classifications 430A-N. The object classification neural network layer 420 changes the intermediate classifications 430A-N from time t0->t n t classifies the image of view 1 from view t as depicting object A. Similarly, the object classification neural network layer 420 classifies the image of view 1 from view t as depicting object A. n However, the adversarial attack 404 causes the object classification neural network layer 420 to classify the images of views 3 and 4 from time t0->t n The image from view 2 of the image is classified as depicting object B. This is the error introduced by the adversarial attack 404.

[0044]

[0052] However, in one embodiment, the computer vision ML model has been trained using temporal metadata (e.g., as described above in connection with FIG. 3) to be robust against adversarial attacks. Thus, the trained object classification neural network layer 420 identifies the classification of object B as inconsistent with the classification of object A (e.g., from other temporal images). The prediction result 440 remains a correct prediction of object A despite the adversarial attack 404.

[0045]

[0053] In one embodiment, the temporal images 410A-N are assembled into a single training dataset (e.g., a single tensor file). Additionally, each of the temporal images 410A-N may be associated with a timestamp that identifies the time the respective image was captured. This allows the trained computer vision ML model to identify a sequence of images whose corresponding views reflect different views of the same object at corresponding times.

[0046]

[0054] 5A illustrates a metadata array 510 for generation of temporal metadata for avoidance of adversarial attacks against ML, according to one embodiment. In one embodiment, a training service (e.g., training service 212 shown in FIG. 2) forms collected data into an n-dimensional array of metadata and time-stamped data. As described below in connection with FIG. 5B, metadata for each captured image may be extracted and recorded as a set of edges (e.g., edges in a graph) that describe relationships between objects and object components in the image.

[0047]

[0055] The metadata array 510 includes three dimensions: a time axis 512, a view axis 514, and a metadata axis 516. The time axis 512 and the view axis 514 may correspond to, for example, a time image (e.g., time images 410A-N shown in FIG. 4). That is, each entry in the metadata array 510 may relate to an image captured at a particular time from a particular view. The metadata axis 516 reflects metadata extracted for each of these images. For example, the metadata axis 516 may reflect the edges and vertices of a graph representing an object(s) depicted in an image captured at a particular time from each view represented along the axes 512 and 514.

[0048]

[0056] FIG. 5B illustrates a metadata graph 550 for generation of temporal metadata for avoidance of adversarial attacks against ML according to one embodiment. In one embodiment, each vertex in the metadata graph 550 reflects a subcomponent of an object in an image, and the edges between the vertices reflect the relationships between these subcomponents. FIG. 6 below illustrates one exemplary technique for generating the metadata graph 550. Additionally, the metadata axis 516 in the array 510 described above with respect to FIG. 5A may reflect a metadata graph corresponding to each captured image.

[0049]

[0057] For example, metadata graph 550 may correspond to an aircraft depicted in a captured image. Vertex 552 may correspond to the nose of the aircraft, vertex 554 may correspond to the fuselage of the aircraft, vertices 556 and 558 may correspond to respective wings of the aircraft, vertex 560 may correspond to the fin of the aircraft, vertex 562 may correspond to the tail cone of the plane, and vertex 564 may correspond to the stabilizer of the aircraft. In one embodiment, the edges between vertices 552 and 564 reflect the relationship between these components of the aircraft. Metadata axis 516 in FIG. 5A may represent these vertices and edges for each of the captured images (e.g., images captured from different views over time).

[0050]

[0058] In one embodiment, the use of the metadata array 510 shown in FIG. 5A improves the robustness of the computer vision ML model against adversarial attacks. For example, an adversarial attack may affect all views of an object. The metadata reflected along the metadata axis 516 in the metadata array 510 allows the computer vision ML model to identify inconsistencies between the adversarial attack and the relationships between object subcomponents, making the computer vision ML model significantly more robust against the adversarial attack.

[0051]

[0059] 6 illustrates the generation of subcomponent metadata for avoidance of adversarial attacks against ML according to one embodiment. Image 610 depicts an object. As shown, image 610 depicts an aircraft in a maintenance workshop (e.g., an aircraft in production or under maintenance). The aircraft is composed of many subcomponents.

[0052]

[0060] In one embodiment, a training service (e.g., training service 212 shown in FIG. 2) identifies these subcomponents. For example, the training service may use a suitable object detection ML model (e.g., a DNN trained for object detection using any suitable technique) to detect the subcomponents. For example, the training service may identify subcomponent 1 as the nose of the aircraft (e.g., with 90% confidence), subcomponent 2 as the fuselage of the aircraft (e.g., with 92% confidence), subcomponent 3 as the right wing of the aircraft (e.g., with 89% confidence), subcomponent 4 as the left wing of the aircraft (e.g., with 91% confidence), subcomponent 5 as a stabilizer for the aircraft (e.g., with 95% confidence), subcomponent 6 as a fin of the aircraft (e.g., with 97% confidence), and subcomponent 7 as the tail cone of the aircraft (e.g., with 93% confidence). These are merely examples, and any suitable technique may be used to identify any suitable subcomponents.

[0053]

[0061] In one embodiment, the training service identifies bounding boxes for various subcomponents (e.g., using an object detection ML model) and calculates the center of mass of each bounding box. The training service then generates a graph representation 620 of the object. In one embodiment, the graph representation 620 includes vertices that represent the centers of mass of the bounding boxes and edges connecting the vertices. This graph representation 620 can be used as metadata for training an ML model that is robust against adversarial attacks. For example, the graph representation 620 illustrates one technique for generating the metadata graph 550 shown in FIG. 5B.

[0054]

[0062] In one embodiment, a training service stacks the source image 610 and the graph representation 620 to generate stacked training data 630. The graph representation 620 acts as metadata for the source image 610. The stacked training data 630 can then be used to train a computer vision ML model (e.g., a DNN) 640 (e.g., the computer vision ML model 216 shown in FIG. 2). The trained computer vision ML model 640 can then be used to predict objects in one or more images 650. The inclusion of the graph representation 620 along with the source image 610 allows the trained computer vision ML model to identify inaccuracies introduced by adversarial attacks, making the trained computer vision ML model robust against adversarial attacks.

[0055] Further considerations

[0063] The foregoing description is provided to enable any person skilled in the art to practice the various embodiments described herein. The examples described herein do not limit the scope, applicability, or embodiments described in the claims. Various modifications to these embodiments will be readily apparent to those skilled in the art. Also, the general principles defined herein may be applied to other embodiments. For example, changes may be made to the function and arrangement of the elements described without departing from the scope of the disclosure. Various examples may omit, substitute, or add various procedures or components as appropriate. For example, the methods described may be performed in an order different from that described, and various steps may be added, omitted, or combined. Also, features described for some examples may be combined in some other examples. For example, an apparatus may be implemented or a method may be practiced using some aspects set forth herein. Moreover, the scope of the disclosure is intended to cover such apparatus or methods implemented using other structures, functionality, or structures and functionality in addition to or other than the various aspects of the disclosure set forth herein. It should be understood that any aspect of the disclosure disclosed herein may be embodied by one or more elements of a claim.

[0056]

[0064] The word "exemplary" is used herein to mean "serving as an example, instance, or illustration." Any aspect described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other aspects.

[0057]

[0065] "At least one" of a list of items, as used herein, refers to any combination of those items, including single members. As an example, "at least one of a, b, or c" covers a, b, c, a-b, a-c, bc, and a-bc, as well as any combination having multiple identical elements (e.g., a-a, a-a-a, a-a-b, a-a-c, a-bb-b, a-c-c, bb, b-bb-b, b-bc, c-c, and c-c-c, or any ordering of a, b, and c).

[0058]

[0066] As used herein, the term "determining" encompasses a wide variety of actions. For example, "determining, determining, identifying, judging" may include calculating, computing, processing, deriving, investigating, examining (e.g., examining a table, database, or another data structure), ascertaining, and the like. Also, "determining, determining, identifying, judging" may include receiving (e.g., receiving information), accessing (e.g., accessing data in a memory), and the like. Also, "determining, determining, identifying, judging" may include resolving, selecting, choosing, establishing, and the like.

[0059]

[0067] The methods disclosed herein include one or more steps or acts to achieve the method. The steps and / or acts of the method may be interchanged with one another without departing from the scope of the claims. In other words, unless a specific order of steps or acts is specified, the order and / or use of specific steps and / or acts may be modified without departing from the scope of the claims. Furthermore, various steps of the methods described above may be performed by any suitable means capable of performing the corresponding functions. The means may include various hardware and / or software components and / or modules, including, but not limited to, circuits, application specific integrated circuits (ASICs), or processors. Generally, where there are operations illustrated in the figures, those operations may have corresponding counterpart means-plus-function components with similar numbering.

[0060]

[0068] The following claims are not intended to be limited to the embodiments set forth herein, but are to be given the full scope consistent with the language of the claims. Within the claims, reference to an element in the singular does not mean "one" unless specifically stated otherwise, but means "one or more." The term "several" means one or more, unless specifically stated otherwise. No claim element is to be construed under the provisions of 35 U.S.C. § 112(f) unless the element is expressly recited with the phrase "means for" or, in the case of a method claim, the element is recited with the phrase "step for." Structural and functional equivalents to the elements of the various aspects described throughout this disclosure that are known or later become known to those of ordinary skill in the art are expressly incorporated herein by reference and are intended to be encompassed by the claims. Furthermore, nothing disclosed herein is intended to be made available to the public, regardless of whether such disclosure is expressly set forth in the claims.

Claims

1. Receiving one or more images in a trained machine learning (ML) model (352); receiving attack data at the ML model (354); and and predicting (356) an object depicted in the one or more images using the ML model based on the one or more images, metadata associated with the one or more images, and the attack data, where the ML model uses the metadata to predict the object to prevent the attack data from changing the outcome of the prediction.

2. 2. The method of claim 1, wherein the attack data comprises adversarial attack data (404) intended to alter the predictions of the objects by the ML model.

3. 2. The method of claim 1, wherein the ML model is trained (306) using a combination of training images depicting an object and metadata associated with the training images.

4. The method of claim 3 , wherein the ML model is trained using a multidimensional array (510) associated with the training images and the metadata.

5. The method of claim 1 , wherein the metadata includes temporal metadata (410A-N) associated with additional images of the object captured over time.

6. The method of claim 5 , wherein the temporal metadata (410A-N) further comprises images depicting multiple views of the object.

7. The method of claim 1 , wherein the metadata includes a graph (620) associated with the object depicted in the one or more images.

8. The method of claim 7 , wherein the graph (620) includes a number of vertices and edges associated with subcomponents of the object.

9. The method of claim 8 , wherein the graph (620) is generated using a second ML model to identify the subcomponents.

10. 10. The method of claim 9, wherein the graph (620) is further generated based on identifying a bounding box for each of the subcomponents and calculating a respective center of mass for each bounding box, and each of the vertices in the graph (620) is associated with one or more of the centers of mass.

11. A non-transitory computer readable medium containing computer program code, the computer program code, when executed by operation of one or more computer processors, performing a plurality of operations, the plurality of operations including: Receiving one or more images in a trained machine learning (ML) model (352); receiving attack data at the ML model (354); and 35. The method of claim 34, further comprising: predicting (356) an object depicted in the one or more images using the ML model based on the one or more images, metadata associated with the one or more images, and the attack data, wherein the ML model uses the metadata to predict the object to prevent the attack data from changing the outcome of the prediction.

12. 12. The non-transitory computer-readable medium of claim 11, wherein the ML model is trained (306) using a combination of training images depicting an object and metadata associated with the training images.

13. The non-transitory computer readable medium of claim 11 , wherein the metadata includes temporal metadata (410A-N) associated with additional images of the object captured over time.

14. The non-transitory computer-readable medium of claim 13 , wherein the temporal metadata (410A-N) further comprises images depicting multiple views of the object.

15. The non-transitory computer-readable medium of claim 11 , wherein the metadata includes a graph (620) associated with the object depicted in the one or more images.

16. Computer processors, 1. A system comprising: a memory having instructions stored thereon, the instructions, when executed by the computer processor, performing a plurality of operations, the plurality of operations comprising: Receiving one or more images in a trained machine learning (ML) model (352); receiving attack data at the ML model (354); and and predicting (356) an object depicted in the one or more images using the ML model based on the one or more images, metadata associated with the one or more images, and the attack data, wherein the ML model predicts the object using the metadata to prevent the attack data from changing the outcome of the prediction.

17. 20. The system of claim 16, wherein the ML model is trained (306) using a combination of training images depicting an object and metadata associated with the training images.

18. The system of claim 16 , wherein the metadata includes temporal metadata (410A-N) associated with additional images of the object captured over time.

19. The system of claim 18 , wherein the temporal metadata (410A-N) further comprises images depicting multiple views of the object.

20. The system of claim 16 , wherein the metadata includes a graph (620) associated with the object depicted in the one or more images.