Method to prevent exploitation of an AI module in an AI system

The blocker module in the AI system uses non-linear mutual information to detect and restrict unauthorized queries, effectively safeguarding the AI model from model extraction attacks, thus preserving its integrity and preventing business losses.

US12818032B2Active Publication Date: 2026-12-01ROBERT BOSCH GMBH +1
View PDF 14 Cites 0 Cited by

Patent Information

Application Number
US18/878982
Authority / Receiving Office
US · United States
Patent Type
Patents(United States)
Current Assignee / Owner
Priority Date
2022-06-29
Filing Date
2023-06-29
Publication Date
2026-12-01
Estimated Expiration
2043-08-17

AI Technical Summary

Technical Problem

Existing AI systems are vulnerable to model extraction attacks, where adversaries iteratively query the system to extract internal information, leading to potential business disadvantages, loss of intellectual properties, and loss of future revenues.

Method used

Implement a blocker module in the AI system that computes a correlation factor based on non-linear mutual information to detect and restrict users whose queries deviate from a predetermined range, preventing model exploitation by modifying outputs or rejecting inputs.

Benefits of technology

The blocker module provides a fast defense mechanism against model extraction attacks by ensuring that only legitimate queries are processed, thereby protecting the AI model's integrity and preventing unauthorized access.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure US12818032-D00000_ABST
    Figure US12818032-D00000_ABST
Patent Text Reader

Abstract

A method to prevent exploitation of an AI module in an AI system is disclosed. The AI system includes an input interface, an output interface, an AI module, an information gain module, a blocker module, and at least a blocker notification module. An important non-limiting feature of the AI system is the functionality of the blocker module. The blocker module is configured to restrict at least one user by comparing a computed correlation factor amongst a plurality of inputs received from one or more users with a pre-determined range of correlation factors. The blocker module then modifies the output of the AI module in dependance of the comparison to restrict at least one user.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a 35 U.S.C. § 371 National Stage Application of PCT / EP2023 / 067867, filed on Jun. 29, 2023, which claims the benefit of priority to Serial No. IN 2022 4103 7262 filed on Jun. 29, 2022 in India, the disclosures of which are incorporated herein by reference in their entirety.

[0002] The present disclosure relates to the field of artificial intelligence (AI) security. In particular, the present disclosure proposes a method to prevent exploitation of an AI module in an AI system and the system thereof.BACKGROUND

[0003] With the advent of data science, data processing and decision-making systems are implemented using artificial intelligence modules. The artificial intelligence modules use different techniques like machine learning, neural networks, deep learning etc. Most of the AI based systems, receive large amounts of data and process the data to train AI models. Trained AI models generate output based on the use cases requested by the user. Typically, the AI systems are used in the fields of computer vision, speech recognition, natural language processing, audio recognition, healthcare, autonomous driving, manufacturing, robotics etc. where they process data to generate required output based on certain rules / intelligence acquired through training.

[0004] To process the inputs and give a desired output, the AI systems use various models / algorithms which are trained using the training data. Once the AI system is trained using the training data, the AI systems use the models to analyze the real time data and generate appropriate result. The models may be fine-tuned in real-time based on the results. The models in the AI systems form the core of the system. Lots of effort, resources (tangible and intangible), and knowledge goes into developing these models.

[0005] It is possible that some adversary may try to exploitation / copy / extract the model from AI systems. The adversary may use different techniques to exploitation the model from the AI systems. One of the simple techniques used by the adversaries is where the adversary sends different queries to the AI system iteratively, using its own test data. The test data may be designed in a way to extract internal information about the working of the models in the AI system. The adversary uses the generated results to train its own models. By doing these steps iteratively, it is possible to exploitation the internals of the model and a parallel model can be built using similar logic. This will cause hardships to the original developer of the AI systems. The hardships may be in the form of business disadvantages, loss of confidential information, loss of lead time spent in development, loss of intellectual properties, loss of future revenues etc. Hence there is a need for an AI system that is self-sufficient in averting adversarial attacks and identifying and attack vector.

[0006] There are methods known in the prior arts to identify such attacks by the adversaries and to protect the models used in the AI system. The prior art US 20190095629A1—Protecting Cognitive Systems from Model Stealing Attacks discloses one such method. It discloses a method wherein the input data is processed by applying a trained model to the input data to generate an output vector having values for each of the plurality of pre-defined classes. A query engine modifies the output vector by inserting a query in a function associated with generating the output vector, to thereby generate a modified output vector. The modified output vector is then output. The query engine modifies one or more values to disguise the trained configuration of the trained model logic while maintaining accuracy of classification of the input data.BRIEF DESCRIPTION OF THE DRAWINGS

[0007] An embodiment of the disclosure is described with reference to the following accompanying drawings:

[0008] FIG. 1 depicts an AI system (100) for processing of an input;

[0009] FIG. 2 illustrates method steps (200) to prevent exploitation of an AI module (12) in an AI system (100).DETAILED DESCRIPTION

[0010] It is important to understand some aspects of artificial intelligence (AI) technology and artificial intelligence (AI) based systems or artificial intelligence (AI) system. Some important aspects of the AI technology and AI systems can be explained as follows. Depending on the architecture of the implements AI systems may include many components. One such component is an AI module. An AI module with reference to this disclosure can be explained as a component which runs a model. A model can be defined as reference or an inference set of data, which is use different forms of correlation matrices. Using these models and the data from these models, correlations can be established between different types of data to arrive at some logical understanding of the data. A person skilled in the art would be aware of the different types of AI models such as linear regression, naïve bayes classifier, support vector machine, neural networks and the like. It must be understood that this disclosure is not specific to the type of model being executed in the AI module and can be applied to any AI module irrespective of the AI model being executed. A person skilled in the art will also appreciate that the AI module may be implemented as a set of software instructions, combination of software and hardware or any combination of the same.

[0011] Some of the typical tasks performed by AI systems are classification, clustering, regression etc. Majority of classification tasks depend upon labeled datasets; that is, the data sets are labelled manually in order for a neural network to learn the correlation between labels and data. This is known as supervised learning. Some of the typical applications of classifications are: face recognition, object identification, gesture recognition, voice recognition etc. Clustering or grouping is the detection of similarities in the inputs. The cluster learning techniques do not require labels to detect similarities. Learning without labels is called unsupervised learning. Unlabeled data is the majority of data in the world. One law of machine learning is: the more data an algorithm can train on, the more accurate it will be. Therefore, unsupervised learning models / algorithms has the potential to produce accurate models as training dataset size grows.

[0012] As the AI module forms the core of the AI system, the module needs to be protected against attacks. AI adversarial threats can be largely categorized into—model extraction attacks, inference attacks, evasion attacks, and data poisoning attacks. In poisoning attacks, the adversarial carefully inject crafted data to contaminate the training data which eventually affects the functionality of the AI system. Inference attacks attempt to infer the training data from the corresponding output or other information leaked by the target model. Studies have shown that it is possible to recover training data associated with arbitrary model output. Ability to extract this data further possess data privacy issues. Evasion attacks are the most prevalent kind of attack that may occur during AI system operations. In this method, the attacker works on the AI algorithm's inputs to find small perturbations leading to large modifications of its outputs (e.g., decision errors) which leads to evasion of the AI model.

[0013] In Model Extraction Attacks (MEA), the attacker gains information about the model internals through analysis of input, output, and other external information. Stealing such a model reveals the important intellectual properties of the organization and enables the attacker to craft other adversarial attacks such as evasion attacks. This attack is initiated through an attack vector. In the computing technology a vector may be defined as a method in which a malicious code / virus data uses to propagate itself such as to infect a computer, a computer system or a computer network. Similarly, an attack vector is defined a path or means by which a hacker can gain access to a computer or a network in order to deliver a payload or a malicious outcome. A model stealing attack uses a kind of attack vector that can make a digital twin / replica / copy of an AI module.

[0014] The attacker typically generates random queries of the size and shape of the input specifications and starts querying the model with these arbitrary queries. This querying produces input-output pairs for random queries and generates a secondary dataset that is inferred from the pre-trained model. The attacker then take this I / O pairs and trains the new model from scratch using this secondary dataset. This is black box model attack vector where no prior knowledge of original model is required. As the prior information regarding model is available and increasing, attacker moves towards more intelligent attacks. The attacker chooses relevant dataset at his disposal to extract model more efficiently. This is domain intelligence model-based attack vector. With these approaches, it is possible to demonstrate model stealing attack across different models and datasets.

[0015] FIG. 1 depicts an AI system (100) for processing of an input. The AI system (100) comprises an input interface (10), an output interface (18), an AI module (12), an information gain module, a blocker module (14) and at least a blocker notification module (20). A module with respect to this disclosure can either be a logic circuitry or a software programs that respond to and processes logical instructions to get a meaningful result. A module is implemented as any or a combination of: one or more microchips or integrated circuits interconnected using a parent board, hardwired logic, software stored by a memory device and executed by a microprocessor, microcontrollers, firmware, an application specific integrated circuit (ASIC), and / or a field programmable gate array (FPGA). As explained above, these various modules can either be a software embedded in a single chip or a combination of software and hardware where each module and its functionality is executed by separate independent chips connected to each other to function as the system. For example, a neural network (in an embodiment the AI module (12)) mentioned herein after can be a software residing in the system or the cloud or embodied within an electronic chip. Such neural network chips are specialized silicon chips, which incorporate AI technology and are used for machine learning.

[0016] The input interface (10) a hardware interface wherein a user can enter his query for the AI module (12) to process and generate an output. The input interface (10) receives input from at least one user through an audio or visual means. Similarly, the output interface (18) sends an output to said at least one user via an audio or visual means.

[0017] The AI module (12) is configured to process said input data. An AI module (12) with reference to this disclosure can be explained as a component which runs a model. A model can be defined as reference or an inference set of data, which is use different forms of correlation matrices. Using these models and the data from these models, correlations can be established between different types of data to arrive at some logical understanding of the data. A person skilled in the art would be aware of the different types of AI models such as linear regression, naïve bayes classifier, support vector machine, neural networks and the like. It must be understood that this disclosure is not specific to the type of model being executed in the AI module (12) and can be applied to any AI module (12) irrespective of the AI model being executed. A person skilled in the art will also appreciate that the AI module (12) may be implemented as a set of software instructions, combination of software and hardware or any combination of the same.

[0018] The information gain module is configured to calculate an information gain and send the information gain value to a blocker module (14). Information gain is a quantitative analysis of the portion of AI model stolen or compromised due to the impact of an attack vector.

[0019] The most important non-limiting feature of the AI system (100) is the functionality of the blocker module (14). The blocker module (14) configured to restrict at least one user. The blocker module (14) is configured to compute a correlation factor amongst a plurality of inputs received from one or more users. The blocker module (14) computes the correlation factor based on a nonlinear feature Mutual Information (MI). The blocker module (14) further compares the computed correlation factor with a pre-determined range of correlation factors. The pre-determined range of correlation factors is computed for training data and correlation of queries in a batch of 50. It finally modifies the output of the AI module (12) in dependance of the said comparison to restrict at least one user.

[0020] The blocker notification module (20) to transmit a notification to the owner of said AI system (100). The notification is an audio or visual notification sent to the owner of the AI system (100) as to the AI module (12) being attacked by an adversary or being compromised.

[0021] It should be understood at the outset that, although exemplary embodiments are illustrated in the figures and described below, the present disclosure should in no way be limited to the exemplary implementations and techniques illustrated in the drawings and described below. In one embodiment of the architectural framework all the building block of the AI system (100) are implemented in hardware i.e. each building block may be hardcoded onto a microprocessor chip. This is particularly possible when the building blocks are physically distributed over a network, where each building block is on individual computer system across the network. In another embodiment of the architectural framework of the AI system (100) are implemented as a combination of hardware and software i.e. some building blocks are hardcoded onto a microprocessor chip while other building block are implemented in a software which may either reside in a microprocessor chip or on the cloud. Each building block of the AI system (100) in one embodiment would have an individual processor and a memory.

[0022] FIG. 2 illustrates method steps to prevent exploitation of an AI module (12) in an AI system (100). The AI system (100) and its components have been described in accordance with FIG. 1. The AI system (100) comprising an input interface (10) to receive input from at least one user; an AI module (12) configured to process said input data; output interface (18) to send an output to said at least one user; a blocker module (14) configured to restrict at least one user; an information gain module configured to calculate an information gain and send the information gain value to the blocker module (14); a blocker notification module (20) to transmit a notification to the owner of said AI system (100).

[0023] Method step 201 comprises receiving input data from at least one user through an input interface (10). Method step 202 comprises computing a correlation factor amongst a plurality of inputs received from one or more users by the blocker module (14). The correlation factor is a statistical correlation between a plurality of inputs and their impact on the behavior of the AI model. The correlation factor is based on a non-linear feature Mutual Information (MI).

[0024] Method step 203 comprises comparing the computed correlation factor with a pre-determined range of correlation factors stored in the blocker module (14). First a correlation of training data and correlation of queries in a batch of certain size for example a batch of 50 queries is calculated. Then we use the computed training correlation and queries correlation as two vector to further compute the correlation factor between this two vector.

[0025] Method step 204 comprises modifying the output of the AI module (12) in dependance of the said comparison to restrict at least one user and prevent exploitation of the AI module (12). In an embodiment of the present disclosure, if the correlation factor is outside of the pre-determined range, then whole batch of inputs (plurality of inputs) will be considered as attack vector. Hence, preventing the exploitation of AI module (12) further comprises rejecting the said plurality of inputs received by means of the blocker module (14). In an alternate embodiment of the present disclosure, rather than blocking or rejecting a plurality of inputs, we send out manipulated outputs. The manipulated output is selected as the lowest probability value class, which is the total opposite of the original prediction. Hence attacker will receive the wrong output and will not be in a position to train or exploit models with reasonable accuracy.

[0026] The underlying concept here is that the new data distribution should be closer to the training data distribution. The non-linear mutual information (MI) on which the correlation factor is determined is a simple way to represent it. A person skilled in the art will appreciate that while these method steps describe only a series of steps to accomplish the objectives, these methodologies may be implemented with variation and adaptation to the AI system (100) described herein.

[0027] This idea to develop a method to prevent exploitation of an AI module (12) in an AI system (100) induces a faster defense mechanism for the AI module (12). It must be understood that the embodiments explained in the above detailed description are only illustrative and do not limit the scope of this disclosure. Any variations and adaptions to the method to prevent exploitation of an AI module (12) in an AI system (100) are envisaged and form a part of this disclosure. The scope of this disclosure is limited only by the claims.

Claims

1. An artificial intelligence (AI) system for processing of an input, comprising:an input interface configured to receive input data from at least one user;an AI module configured to process said input data;an output interface configured to send an output to said at least one user;an information gain module configured to calculate an information gain value and send the information gain value to a blocker module;a blocker notification module configured to transmit a notification to an owner of said AI system,wherein the blocker module is configured to (i) compute a correlation factor amongst a plurality of inputs received from one or more users, the correlation factor indicating a statistical correlation between the plurality of inputs and their impact on a behavior of the AI module, (ii) compare the computed correlation factor with a predetermined range of correlation factors, and (iii) modify a response of the AI module in dependance of the comparison to restrict at least one user, wherein the modifying the response includes one of sending a manipulated output value or rejecting the plurality of inputs.

2. The artificial intelligence (AI) system for processing of an input as claimed in claim 1, wherein the blocker module is further configured to compute the correlation factor based on a nonlinear feature Mutual Information (MI).

3. The artificial intelligence (AI) system for processing of an input as claimed in claim 1, wherein the blocker module is configured to modify the response by rejecting the plurality of inputs.

4. A method to prevent exploitation of an AI module in an AI system, the AI system comprising an input interface configured to receive input data from at least one user; the AI module configured to process said input data; an output interface configured to send an output to said at least one user; a blocker module configured to restrict at least one user; an information gain module configured to calculate an information gain value and send the information gain value to the blocker module; a blocker notification module configured to transmit a notification to an owner of said AI system, said method comprising:receiving the input data from at least one user through the input interface;computing a correlation factor amongst a plurality of inputs received from one or more users by the blocker module, the correlation factor indicating a statistical correlation between the plurality of inputs and their impact on a behavior of the AI module;comparing the computed correlation factor with a predetermined range of correlation factors stored in the blocker module; andmodifying a response of the AI module in dependance of the comparison to restrict at least one user and prevent exploitation of the AI module, wherein the modifying the response includes one of sending a manipulated output value or rejecting the plurality of inputs.

5. The method to prevent exploitation of an AI module in an AI system as claimed in claim 4, wherein computing the correlation factor is based on a non-linear feature Mutual Information (MI).

6. The method to prevent exploitation of an AI module in an AI system as claimed in claim 4, the modifying the response comprising rejecting the plurality of inputs.

Citation Information

Patent Citations

  • Overly optimistic data patterns and learned adversarial latent features

    EP4006782A1

  • Protecting Cognitive Systems from Model Stealing Attacks

    US20190095629A1

  • Method for preventing the extraction of a machine learning model

    US20200134391A1

  • A Method of Training a Submodule and Preventing Capture of an AI Module

    US20230267200A1

  • A Method of Training a Submodule and Preventing Capture of an AI Module

    US20230289436A1