Machine learning controller and method for machine learning controller

The machine learning controller generates a verification set to protect unsupervised models by optimizing data points for minimal hyperplane distance and maximum classification separation, addressing the challenge of model theft and interference in existing methods, achieving 100% detection and minimal performance impact.

WO2024183898A1PCT designated stage expired Publication Date: 2024-09-12HUAWEI CLOUD COMPUTING TECHNOLOGIES CO LTD +1
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
PCT/EP2023/055864
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-08
Publication Date
2024-09-12

AI Technical Summary

Technical Problem

Existing methods fail to effectively protect unsupervised machine learning models from copying or theft, particularly as they interfere with the training process and are not applicable to all types of machine learning models, including clustering-based models.

Method used

A machine learning controller generates a verification set with data points optimized for minimal average distance to a hyperplane and maximum distance between classifications, serving as a fingerprint or watermark that can identify stolen models without affecting the model's performance or training, and is applicable to any type of machine learning model.

Benefits of technology

The solution enables 100% detection of stolen models, is non-intrusive to the training process, and can be used by cloud service providers or law enforcement, with minimal API queries required for verification, effectively protecting unsupervised and clustering-based models.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure EP2023055864_12092024_PF_FP_ABST
    Figure EP2023055864_12092024_PF_FP_ABST
Patent Text Reader

Abstract

A machine learning controller configured to receive a machine learning model providing at least two classifications and generate a verification set for the machine learning model. The verification set includes a plurality of data points each associated with an expected classification out of the at least two classifications. The machine learning controller is further configured to select the data points with an average distance (e) to a hyperplane is minimum and to select the data points so that the distance between a first data point and a second data point in a pair of data points is maximum. The first data point in the pair belongs to a first classification, and the second data point in the pair belongs to a second classification of the at least two classifications. The machine learning controller is advantageous to protect unsupervised machine learning models from copying or theft by any adversary.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] MACHINE LEARNING CONTROLLER AND METHOD FOR MACHINE LEARNING CONTROLLER

[0002] TECHNICAL FIELD

[0003] The present disclosure relates generally to the field of cyber security and, more specifically, to a machine learning controller and a method for the machine learning controller for an unsupervised machine learning model copy protection using a verification set.

[0004] BACKGROUND

[0005] Typically, a machine learning model (or algorithm) is a set of instructions that a computer can use to learn from a data and make predictions or decisions to perform a specific task, such as image and speech recognition, natural language processing, predictive analytics, and the like. The types of common machine learning models are supervised learning (some examples include decision trees and support vector machines), unsupervised learning (some examples include various clustering methods), Semi-supervised learning and Reinforcement Learning. During development and deployment of the machine learning models by service providers, there is a possibility of stealing of the machine learning models due to cyber-attacks or internal stealing of the machine learning models by any adversary or any insider. The service provider deploys the machine learning models as a black box, which prevents any third party, including the original service provider, from accessing the model. Further, the problem with the existing machine learning models deployed as the black box is that there is difficulty in identifying proof of whether a definite machine learning model is stolen by any adversary.

[0006] Currently, certain attempts have been made to protect the machine learning models by determining the proof of whether a machine learning model is stolen or copied, such as adding a watermark to the machine learning model by changing weights between layers of the machine learning model by using a special loss function, as have been done for specific methods of neural networks. The problem with such an attempt is the requirement of re-training of the machine learning model during generation of the watermark and inefficiency of such attempt to handle already existing machine learning models. A further attempt includes training of the machine learning model with incorrect labels using watermarked training samples such that the weights between the layers of the machine learning model are tuned during training. However, such attempt is not applicable to unsupervised machine learning models, as adding incorrect labels reduces performance of the unsupervised machine learning models. Also, the problem with the existing attempts to protect the machine learning models is that such attempts are applicable to only neural network-based algorithms. Also, the existing attempts interfere with the training of the machine learning models, which is not desirable and can deteriorate the performance of the machine learning models. Hence, the existing attempts have a limitation in protecting the unsupervised machine learning models. Thus, there exists a technical problem of how to protect the unsupervised machine learning models or clustering-based machine learning models from copying or theft by any adversary.

[0007] Therefore, in light of the foregoing discussion, there exists a need to overcome the aforementioned drawbacks associated with conventional methods of protecting machine learning models.

[0008] SUMMARY

[0009] The present disclosure provides a machine learning controller and a method for the machine learning controller. The present disclosure provides a solution to the existing problem of how to protect the unsupervised machine learning models or clustering-based machine learning models from copying or theft by any adversary. An aim of the present disclosure is to provide a solution that overcomes at least partially the problems encountered in the prior art and provides an improved machine learning controller and an improved method for the machine learning controller for unsupervised machine learning model copy protection using a verification set.

[0010] One or more objectives of the present disclosure are achieved by the solutions provided in the enclosed independent claims. Advantageous implementations of the present disclosure are further defined in the dependent claims.

[0011] In one aspect, the present disclosure provides a machine learning controller configured to receive a machine learning model providing at least two classifications and generate a verification set for the machine learning model. Moreover, the verification set comprises a plurality of data points each associated with an expected classification out of the at least two classifications. Furthermore, the verification set comprises a plurality of data points each associated with an expected classification out of the at least two classifications. Moreover, the machine learning controller is characterized in that the machine learning model is further configured to select the data points so that an average distance (s) to a hyperplane is as small as possible and to select the data points so that the distance between a first data point and a second data point in a pair of data points is as large as possible, wherein the first data point in the pair belongs to a first classification of the at least two classifications and the second data point in the pair belongs to a second classification of the at least two classifications.

[0012] The machine learning controller provides a fingerprint or watermark over the machine learning model, which is beneficial to identify whether any machine learning model is stolen or copied from the original machine learning model. The machine learning controller is applicable to any type of machine learning model, which is advantageous over conventional methods that are applicable to only neural networks. The verification set provided by the machine learning controller enables 100% detection of stolen machine learning model and can be used by any cloud service provider or law enforcement organisation. In addition, the machine learning controller does not interfere with the training process of the machine learning model and does not affect the machine learning model’s performance. Furthermore, the machine learning controller is applicable to existing machine learning models that include hardware / firmware Al model implementations. The verification set generated by the machine learning controller is of minimal size and is able to distinguish between two models with very little API queries needed for verification.

[0013] In an implementation form, the machine learning model is an unsupervised machine learning model and in that the machine learning controller is further configured to generate the verification set based on a support vector machine. Moreover, the machine learning controller is further configured to receive a set of training vectors (X) and a set of labels (Y) and determine a set of weights (W, b) such that a prediction, given by sign(wrx+b), is correct for a number of samples exceeding a threshold.

[0014] The support vector machine is advantageous to accurately classify a training dataset into classes by finding the widest possible gap (i.e., maximum margin) between the classes, which provides robustness and generalization capabilities of the machine learning model and allows the machine learning model to generalize to unseen data and handle outliers. In a further implementation form, the machine learning controller is further configured to generate the verification set based on a K-means clustering. Moreover, K equals the number of classifications.

[0015] The K-means clustering enables to cluster the training dataset into different classifications and provides a convenient way to discover categories of classifications in an unlabelled dataset without the need for any training.

[0016] In another aspect, the present disclosure provides a method for a machine learning controller. The method comprises receiving a machine learning model providing at least two classifications and generating a verification set for the machine learning model. Moreover, the verification set comprises a plurality of data points each associated with an expected classification out of the at least two classifications. Furthermore, the method is characterized in that comprises selecting the data points so that an average distance (s) to a hyperplane is as small as possible and selecting the data points so that the distance between a first data point and a second data point in a pair of data points is as large as possible. Moreover, the first data point in the pair belongs to a first classification of the at least two classifications and the second data point in the pair belongs to a second classification of the at least two classifications.

[0017] The disclosed method achieves all the advantages and technical effects of the machine learning controller of the present disclosure.

[0018] It is to be appreciated that all the aforementioned implementation forms can be combined. It is be noted that all devices, elements, circuitry, units, and means described in the present application could be implemented in the software or hardware elements or any kind of combination thereof. All steps which are performed by the various entities described in the present application, as well as the functionalities described to be performed by the various entities, are intended to mean that the respective entity is adapted to or configured to perform the respective steps and functionalities. Even if, in the following description of specific embodiments, a specific functionality or step to be performed by external entities is not reflected in the description of a specific detailed element of that entity that performs that specific step or functionality, it should be clear for a skilled person that these methods and functionalities can be implemented in respective software or hardware elements, or any kind of combination thereof. It will be appreciated that features of the present disclosure are susceptible to being combined in various combinations without departing from the scope of the present disclosure as defined by the appended claims.

[0019] Additional aspects, advantages, features, and objects of the present disclosure would be made apparent from the drawings and the detailed description of the illustrative implementations construed in conjunction with the appended claims that follow.

[0020] BRIEF DESCRIPTION OF THE DRAWINGS

[0021] The summary above, as well as the following detailed description of illustrative embodiments, is better understood when read in conjunction with the appended drawings. For the purpose of illustrating the present disclosure, exemplary constructions of the disclosure are shown in the drawings. However, the present disclosure is not limited to specific methods and instrumentalities disclosed herein. Moreover, those skilled in the art will understand that the drawings are not to scale. Wherever possible, like elements have been indicated by identical numbers.

[0022] Embodiments of the present disclosure will now be described, by way of example only, with reference to the following diagrams wherein:

[0023] FIG. 1 is a block diagram that depicts a machine learning controller, in accordance with an embodiment of the present disclosure;

[0024] FIG. 2 is a graphical representation that depicts a support vector machine formulation in a machine learning controller, in accordance with an embodiment of the present disclosure;

[0025] FIGs. 3A and 3B are graphical representations that depict a verification set generated by a machine learning controller, in accordance with an embodiment of the present disclosure;

[0026] FIGs. 4A and 4B are graphical representations that depict a verification set generated by a machine learning controller, in accordance with a different embodiment of the present disclosure; FIGs. 5A, 5B and 5C are graphical representations that depict an empirical evaluation of a verification set generated by a machine learning controller, in accordance with a different embodiment of the present disclosure;

[0027] FIG. 6 is a graphical representation that depicts results of empirical evaluation of verification sets based on a breast cancer dataset, in accordance with an embodiment of the present disclosure;

[0028] FIG. 7 is a graphical representation that depicts results of empirical evaluation of verification sets based on a digits dataset, in accordance with an embodiment of the present disclosure;

[0029] FIGs. 8A, 8B and 8C are graphical representations that depict exemplary scenarios of a K- means formulation used in a machine learning controller, in accordance with an embodiment of the present disclosure;

[0030] FIGs. 9A, 9B and 9C are graphical representations that depict exemplary scenarios of a concept of an average distance (s) used in a machine learning controller, in accordance with an embodiment of the present disclosure;

[0031] FIG. 10 is a block diagram of an exemplary scenario of a high-level flow of solution provided by a machine learning controller, in accordance with an embodiment of the present disclosure;

[0032] FIG. 11 is a flowchart of a method for a machine learning controller, in accordance with an embodiment of the present disclosure;

[0033] FIG. 12 is a flowchart of an exemplary implementation of a method for a machine learning controller, in accordance with an embodiment of the present disclosure;

[0034] FIG. 13 is a flowchart of an exemplary implementation of a method for a machine learning controller, in accordance with a different embodiment of the present disclosure; and

[0035] FIG. 14 is a flowchart of an exemplary implementation of a method for a machine learning controller, in accordance with a different embodiment of the present disclosure.

[0036] In the accompanying drawings, an underlined number is employed to represent an item over which the underlined number is positioned or an item to which the underlined number is adjacent. A non-underlined number relates to an item identified by a line linking the nonunderlined number to the item. When a number is non-underlined and accompanied by an associated arrow, the non-underlined number is used to identify a general item at which the arrow is pointing.

[0037] DETAILED DESCRIPTION OF EMBODIMENTS

[0038] The following detailed description illustrates embodiments of the present disclosure and ways in which they can be implemented. Although some modes of carrying out the present disclosure have been disclosed, those skilled in the art would recognize that other embodiments for carrying out or practising the present disclosure are also possible.

[0039] FIG. 1 is a block diagram that depicts a machine learning controller, in accordance with an embodiment of the present disclosure. With reference to FIG. 1A, there is shown the block diagram 100 that depicts a machine learning controller 104 in a machine learning system 102.

[0040] The machine learning controller 104 is configured within the machine learning system 102. The machine learning system 102 is a computer system or processor that includes a user interface 112 and a memory 114. In an example, the user interface 112 is an interface through which a user or a system can interact with the machine learning system 102 and the memory 114 is a storage module, which stores a data received through the user interface 112. In an implementation, the user interface 112 is configured to receive an input data from any external device or system and transmits the received input data to the machine learning controller 104. Further, the machine learning controller 104 transmits the input data received from the user interface 112 to the memory 114 to store the input data. The examples of the user interface 112 may include, but are not limited to, a screen, a universal serial bus (USB), a keyboard, and the like. Similarly, the examples of the memory 114 may include, but are not limited to, a solid- state drive, a cloud server, a hard disk, a random-access memory (RAM), a read-only memory (ROM), and the like. In an implementation, the machine learning controller 104 is a hardware controlling unit, which is configured to process the input data received from any external system, device or user through the user interface 112. The examples of the machine learning controller 104 may include, but are not limited to an integrated circuit, a co-processor, a microprocessor, a complex instruction set computing (CISC) processor, an application-specific integrated circuit (ASIC) processor, a very long instruction word (VLIW) processor, a central processing unit (CPU), a state machine, a data processing unit, and other processors or circuits. Moreover, the machine learning controller 104 may refer to one or more individual processors, a processing unit that is part of a machine.

[0041] In operation, the machine learning controller 104 is configured to receive a machine learning model 106 providing at least two classifications. The machine learning model 106 is a mathematical representation of a set of algorithms, which are trained to perform a specific task, such as predictions or decisions without the need of explicit programming to perform such task. The examples of the machine learning model 106 may include, but are not limited to supervised learning models, unsupervised learning models, reinforcement learning models, and the like. In accordance with an embodiment, the machine learning model 106 is an unsupervised learning model. The unsupervised learning model is trained on an unlabelled or unclassified data. In an example, the classifications in the machine learning model 106 corresponds to a plurality of classes or clusters into which an input data received by the machine learning model 106 is divided based on similarities or patterns within the input data. In an example, if there are 50 data points in the input data, then the machine learning model 106 divides the 50 data points in two classes or clusters, such as a first class or cluster, which include 25 data points similar to each other and a second class or cluster, which other 25 data points similar to each other. Thereafter, the machine learning controller 104 is configured to generate a verification set 108 for the machine learning model 106. The verification set 108 is a dataset, which is unique to the machine learning model 106 and acts as a fingerprint or watermark for the machine learning model 106. In case of theft of the machine learning model 106 due to cyber-attack, the verification set 108 is utilized by an original owner (i.e., a person by which the machine learning model 106 is developed) to determine whether any other model is a copy of the machine learning model 106.

[0042] The verification set 108 includes a plurality of data points 110, each associated with an expected classification out of the at least two classifications. The plurality of data points 110 are data points, which are generated by the machine learning controller 104, such as a first data point 110A, a second data point HOB up to Nth data point 110N. Each data point of the plurality of data points 110 is associated with a definite class out of a plurality of classes provided by the machine learning model 106. For example, the first data point 110A is associated with a definite class out of the plurality of classes provided by the machine learning model 106. In addition, the plurality of data points 110 included in the verification set 108 are data points, which serve as a fingerprint or a key that characterizes the machine learning model 106. In accordance with an embodiment, the machine learning controller 104 is further configured to generate the verification set 108 based on a K-means clustering. Moreover, K equals the number of classifications. The K-means clustering is a method of vector quantization, originally from signal processing, which aims to partition N observations into K clusters. Each observation out of the N observations belongs to the cluster with a nearest mean (e.g., cluster centres or cluster centroid), which serves as a prototype of the cluster. In such embodiment, the value of the K is at least 2, that is at least two classifications or clusters are provided by the machine learning model 106.

[0043] During generation of the verification set 108, the machine learning controller 104 is further configured to select the data points so that an average distance (s) to a hyperplane is as small as possible. For example, the machine learning controller 104 selects the first data point 110A and the second data point HOB from the plurality of data points 110, which are at the smaller average distance (s) from the hyperplane. In accordance with an embodiment, the machine learning controller 104 is further configured to select the data points so that the average distance (s) to the hyperplane is less than 0. l.The hyperplane is a boundary, which separates the plurality of data points 110 in such a way that the data points from the plurality of data points 110 that are on one side of the hyperplane falls under one classification and the data points from the plurality of data points 110 that are on other side of the hyperplane falls under a different classification. In accordance with an embodiment, the verification set 108 is based on a support vector machine. The support-vector machine (SVM), also support-vector networks, is a supervised machine learning model, which analyses data for classification and regression analysis. The support vector machine maps training datasets to points in a space in order to maximise the width of a gap between the two classifications. In such embodiment, the support vector machine generates the hyperplane. In an example, during the training of the machine learning model 106, the training datasets provided to the machine learning model 106 are observations or samples having definite features. The machine learning controller 104 generates the hyperplane through the support vector machine, which separates the training datasets into two classifications.

[0044] Further, the machine learning controller 104 is configured to select the data points so that the distance between the first data point 110A and the second data point HOB in a pair of data points is as large as possible. Moreover, the first data point 110A in the pair belongs to a first classification 116A of the at least two classifications and the second data point HOB in the pair belongs to a second classification 116B of the at least two classifications. The machine learning controller 104 generates the verification set 108 with the plurality of data points 110, such as the first data point 110A and the second data point HOB, which are at the small average distance (s) from the hyperplane. The first data point 110A belongs to the first classification 116A, and the second data point HOB belongs to the second classification 116B. The first data point 110A and the second data point HOB together form a pair of data points. The machine learning controller 104 is configured to select the pairs of data points, which are at a maximum distance away from each other. In other words, the verification set 108 includes the plurality of data points 110 in the form of one or more pairs, in which one pair includes the first data point 110A and the second data point HOB. Similarly, another pair may include subsequent data points from the plurality of data points 110. Moreover, the plurality of data points 110 in the verification set 108 are selected in such a way that the distance between the hyperplane and each data point in the corresponding pair of data points is small as possible, and the distance between the consecutive pairs of data points is large as possible. Similarly, the verification set 108 includes multiple pairs of data points from the plurality of data points 110 that can be selected up to Nth data point 110N and the distance of each data point in each pair of the multiple pairs of data points is kept as small as possible from the hyperplane.

[0045] In an exemplary scenario, the service provider, which creates the machine learning model 106 by using the machine learning controller 104 generates the verification set 108 and keeps the verification set 108 in the machine learning controller 104. In case, a similar machine learning model as that of the machine learning model 106 is created by the adversary through the cyberattack, the service provider tests the copied machine learning model by applying the verification set 108 through the machine learning controller 104 and sending one or more classification queries to the copied machine learning model. Moreover, if classification results produced by the copied machine learning model are 100% same with that of produced by the machine learning model 106, then the similar machine learning model is an exact copy of the machine learning model 106. Furthermore, the equality between the classification results produced by both the machine learning models (i.e., and original model and a copied model) acts as a proof of theft of the machine learning model 106, and the service provider can take action against the respective adversary for theft. The verification set 108 generated by the machine learning controller 104 is effective for both small and relatively large average distance (s) values. The machine learning controller 104 provides a fingerprint or watermark over the machine learning model 106, which is beneficial to identify whether any machine learning model is stolen or copied from the machine learning model 106. The machine learning controller 104 is applicable to any type of machine learning model, which is advantageous over conventional methods, which are applicable to only neural networks. The verification set 108 provided by the machine learning controller 104 enables 100% detection of stolen machine learning model and can be used by any cloud service provider or law enforcement organisation. In addition, the machine learning controller 104 does not interfere with training process of the machine learning model and does not affect the machine learning model’s performance. Furthermore, the machine learning controller 104 is applicable to existing machine learning models that include hardware / firmware artificial intelligence (Al) model implementations. The verification set 108 generated by the machine learning controller 104 is of a minimal size and is able to distinguish between two models with very little API queries needed for verification.

[0046] FIG. 2 is a graphical representation that depicts a support vector machine formulation in a machine learning controller, in accordance with an embodiment of the present disclosure. With reference to FIG.2, there is shown a graphical representation 200 of a support vector formulation in the machine learning controller 104 (of FIG.1), which includes a hyperplane 202 dividing a training dataset into at least two classifications. There is further shown an X-axis 201A (i.e., xl) and a Y-axis 201B (i.e., x2).

[0047] In an implementation, the X-axis 201A represents physical activity (arbitrary units) and the Y- axis 201B represents blood pressure (arbitrary units). Moreover, the support vector machine used for generation of the verification set 108 (of FIG.1) divides a number of samples fed to the machine learning model 106 into two classifications, such as the first classification 116A (of FIG.1) and the second classification 116B (of FIG.1) through the hyperplane 202. In accordance with an embodiment, the machine learning controller 104 is further configured to receive a set of training vectors (X) and a set of labels (Y) and determine a set of weights (W, b) such that a prediction, given by sign(wrx+b), is correct for the number of samples 204 exceeding a threshold. In an implementation, the training vectors (X) are sets of input data, which are used to train the support vector machine and are used to find the best (i.e., suitable) position for the hyperplane 202 to separate the classifications. Moreover, the set of labels (Y) are desired outputs or target values associated with the training vectors (X). Further, the set of weights (W, b) are coefficients of the hyperplane 202, which separates the number of samples into different classifications, such as the first classification 116A and the second classification 116B. In an example, a first sample 204A out of the number of samples falls under the first classification 116A and a second sample 204B out of the number of samples falls under the second classification 116B. In addition, the set of weights (W, b) are learned by the support vector machines during training of the machine learning model 106 to determine the position of the hyperplane 202. In an implementation, the training vectors (X) received by the machine learning controller 104 are under a condition, such as xtE IRP, i = 1, n. In such implementation, the support vector machine divides the number of samples into two (2) classifications, which are shown on either side of the hyperplane 202 as shown in FIG. 2. Further, the set of labels (Y) are received under a condition such as y E {1, — l}n. Based on the training vectors (X) and the set of labels (Y), the machine learning controller 104 determines the set of weights (W, b) by using the SVM formulation method as follows:

[0048] Where, C is a positive cost term and are slack variables. In such embodiment, higher is the value of C, more non-linearly separable data points in the training dataset. Furthermore, if a classification problem processed by the support vector machine is linearly separable, then all slack variables are of zero (0) magnitudes. In an example, the training dataset, which includes a number of samples or observations of patients with features, such as the physical activity (%i) on the X-axis 201A and the blood pressure (%2) on the X-axis 201B are fed to the machine learning model 106 as shown in FIG. 2. In addition, based on the training vectors (X) and the set of labels (Y), the machine learning controller 104 generates the hyperplane 202 with equation wx-b, which divides the number of samples into two classifications, one with patients suffering from a high risk of diabetes and another with patients suffering from a low risk of diabetes. In an implementation, the hyperplane 202 is generated through the support vector machine. Along with the hyperplane 202, the machine learning controller 104 generates a positive hyperplane 202A (wx-b = 1) and a negative hyperplane 202B (wx- b = -1). The positive hyperplane 202A and the negative hyperplane 202B pass through samples or observations, which acts as support vectors 206. The positive hyperplane 202A passes through the support vectors 206, which are nearest to the hyperplane 202 and falls under the first classification 116A of FIG. 1 (i.e., the positive side of the hyperplane 202) and the negative hyperplane 202B passes through the support vectors 206, which are nearest to the hyperplane 202 and falls under the second classification 116B of FIG. 1 (i.e., the negative side of the hyperplane 202). The machine learning controller 104 generates the hyperplane 202, which separates the first classification 116A (i.e., patients with high risk of diabetes) and the second classification 116B (i.e., patients with low risk of diabetes) with a maximum distance (i.e.,

[0049] 2 margin ( ^jj)) between the support vectors as shown in FIG.2.

[0050] FIGs. 3 A and 3B are different graphical representations that depict a verification set generated by a machine learning controller, in accordance with an embodiment of the present disclosure. FIGs. 3 A and 3B is described in conjunction with elements of FIGs. 1 and 2. With reference to FIGs.3 A and 3B, there are shown graphical representations 300A and 300B respectively that depict verification set 108 (of FIG.1) generated by the machine learning controller 104 (of FIG.l).

[0051] In an implementation, the X-axis 201A represents physical activity (arbitrary units) and the Y- axis 201B represents blood pressure (arbitrary units). Moreover, the machine learning controller 104 generates the verification set 108, which includes the first data point 110A (of FIG. l), the second data point HOB (of FIG.1), a third data point 302A, and a fourth data point 304A. In a further implementation, the support vector machine through which the hyperplane 202 (of FIG.2) is generated is determined by set of weights (W, b). Moreover, the verification set 108 is generated in such a way that the first data point 110A and the second data point HOB are at the average distance (s) from the hyperplane 202 as shown in FIGs. 3A and 3B. Similarly, the third data point 302A and the fourth data point 304A are separated by the average distance (s) from the hyperplane 202. In an implementation, the first data point 110A and the third data point 302A are on one side of the hyperplane 202 (i.e., on the positive side) and the second data point HOB and the fourth data point 304A are on other side of the hyperplane 202 (i.e., on the negative side). In an implementation, distance between the first data point 110A and the second data point HOB as well as a distance between the third data point 302A and the fourth data point 304A is considered as a first factor 302B. Further, distance between the first data point 110A and the third data point 302A as well as a distance between the second data point HOB and the fourth data point 304A is considered as a second factor 304B, as shown in FIG. 3B. In such implementation, with minimum value of the first factor and maximum value of the second factor, more is the robustness of the machine learning controller 104. In a first scenario, a first machine learning model and a second machine learning model are to be tested against the machine learning model 106. When a classification query is requested from the first machine learning model, then the first machine learning model is fed to the machine learning controller 104 and the machine learning controller 104 generates a first hyperplane 306A, as shown in FIGs. 3 A. In the case of the first hyperplane 306A, the set of weights (W, b) are wsand bs. After execution of the classification query by the first machine learning model, the set of weights of the first hyperplane 306A are equal to the set of weights (W, b) for the hyperplane 202 (i.e., ws= w and bs= b). In such scenario, classification results generated by the first machine learning model are 100% accurate with respect to classification results generated by the machine learning model 106. Therefore, the first machine learning model is proved to be copied from the machine learning model 106 based on the classification results. Similarly in a second scenario, the second machine learning model is fed to the machine learning controller 104 and the machine learning controller 104 generates a second hyperplane 308A as shown in FIGs. 3 A. In the case of the second hyperplane 308A, the set of weights (W, b) are wvand bv. After execution of the classification query by the second machine learning model, the set of weights of the second hyperplane 308A are not equal to the set of weights (W, b) for the hyperplane 202 (i.e., wv w and bsb). In such scenario, classification results generated by the second machine learning model are not accurate with respect to classification results generated by the machine learning model 106. Therefore, the second machine learning model is not copied from the machine learning model 106.

[0052] FIGs. 4A and 4B are different graphical representations that depict a verification set generated by a machine learning controller, in accordance with a different embodiment of the present disclosure. FIGs. 4A and 4B are described in conjunction with elements of FIGs. 1, 2, 3 A and 3B. With reference to FIGs. 4 A and 4B, there are shown graphical representations 400A and 400B respectively that depict the verification set 108 (of FIG.1) generated by the machine learning controller 104 (of FIG.1).

[0053] In an implementation, the X-axis 201A represents physical activity (arbitrary units) and the Y- axis 201B represents blood pressure (arbitrary units), In a first exemplary scenario shown in FIG.4A, a first implementation of the verification set 108 is described. In the first implementation, the average distance (s) of the first data point 110A (of FIG.1), the second data point HOB (of FIG.1), the third data point 302A (of FIG. 3 A), and the fourth data point 304A (of FIG. 3A) respectively from the hyperplane 202 (of FIG. 2) is equal to 0.5. In a second exemplary scenario shown in FIG. 4B, a second implementation of the verification set 108 is described. In the second implementation, the average distance (s) of the first data point 110A, the second data point HOB, the third data point 302C, and the fourth data point 302D respectively from the hyperplane 202 (of FIG. 2) is nearly equal to 0. Further, during testing for theft of the machine learning model 106 (of FIG.1), a third machine learning model with a third hyperplane 402A, a fourth machine learning model with a fourth hyperplane 404A (of FIGs. 4A and 4B) and a fifth machine learning model with a fifth hyperplane 406A are tested against the machine learning model 106 through the machine learning controller 104. In such scenarios, when a classification query is sent to the third machine learning model, the fourth machine learning model, and the fifth machine learning model, then the fifth machine learning model gives 100% accuracy in classification results (as the fifth hyperplane 406A lies in between the first implementation (as shown in FIG. 4A) of the verification set 108 or the second implementation (as shown in FIG.4B) of the verification set 108). Therefore, the fifth machine learning model is considered as copied or stolen model from the machine learning model 106. Further, the third hyperplane 402A of the third machine learning model and the fourth hyperplane 404A of the fourth machine learning model do not fall in between the verification set 108 shown in the first and the second implementation. Also, the classification results generated by the third machine learning model and the fourth machine learning model have accuracy of less than 100% as compared to classification results generated by the machine learning model 106. Therefore, the third machine learning model and the fourth machine learning model are considered as original (i.e., not stolen or copied from the machine learning model 106). In the second implementation of the verification set 108 shown in FIG. 4B, the average distance (s) is smaller (as shown by small circles arranged close to each other) than the first implementation of the verification set 108 shown in FIG. 4A. Hence, the verification set 108 described in the second implementation have more confidence or reliability during testing for theft of the machine learning model 106 than the verification set 108 described in the first implementation.

[0054] FIGs. 5A, 5B, and 5C are different graphical representations that depict an empirical evaluation of a verification set generated by a machine learning controller, in accordance with a different embodiment of the present disclosure. FIGs. 5A, 5B, and 5C are described in conjunction with the FIGs 1, 2, 3A, 3B, 4A and 4B. With reference to FIGs. 5A, 5B, and 5C, there are shown graphical representations 500A, 500B, and 500C respectively that depict an empirical evaluation of the verification set 108 (of FIG. 1) generated by the machine learning controller 104 (of FIG. 2).

[0055] The empirical evaluation of the verification set 108 generated by the machine learning controller 104 is performed in order to demonstrate efficacy and validity of the verification set 108. In an implementation, the empirical evaluation is performed in four steps. In a first step, a number of samples or observations from a base training dataset 502A are fed to the machine learning model 106 and to other machine learning models, such as a sixth machine learning model 504A, a seventh machine learning model 506A, and an eighth machine learning model 508A as shown in FIG. 5A. In an example, two datasets are used as samples, such as a breast cancer Wisconsin dataset and digits dataset. Moreover, the breast cancer Wisconsin dataset includes 2 classes, 30 real features, and 569 samples of size 212M / 357B. The breast cancer Wisconsin dataset is a separable dataset with a training accuracy approximately equal to 98% and testing accuracy approximately equal to 97%. The second dataset includes digits dataset that further includes 2 classes, each class including 180 samples and 64 dimensions. The digits dataset is a linearly separable dataset with training as well as testing accuracy of 100%.

[0056] In an implementation, the sixth machine learning model 504A, the seventh machine learning model 506A and the eighth machine learning model 508A are trained on different dataset sub samples. In a second step, support vector machine models are trained on the base training dataset. In a third step, the machine learning controller 104 generates the verification set 108 for the machine learning model 106. During the third step, the verification set 108 generated for the machine learning model 106 is checked to identify whether the accuracy of classification results generated by the machine learning model 106 using the verification set 108 is 100% as compared to the classification results produced by the machine learning model 106 as shown in FIG. 5B. In a fourth step, the accuracy of the sixth machine learning model 504 A, the seventh machine learning model 506A and the eighth machine learning model 508A are checked with respect to the verification set 108 of the machine learning model 106 as shown in FIG. 5C. During the fourth step, the accuracy of the classification results generated by the sixth machine learning model 504A, the seventh machine learning model 506A, and the eighth machine learning model 508A are checked to identify whether the accuracy of the classification results is less than 100% as compared to the classification results generated by the machine learning model 106. Moreover, if in the third step, the accuracy of classification results generated by the machine learning model 106 using the verification set is 100%, and forthat of the sixth machine learning model 504A, the seventh machine learning model 506A and the eighth machine learning model 508A is less than 100%, then the verification set 108 is considered as valid. In an implementation, a linear support vector classification (SVC) is trained with the value of the positive cost term (C) equal to 1.0. Further, each sample dataset fed to the machine learning model 106, the sixth machine learning model 504A, the seventh machine learning model 506A, and the eighth machine learning model 508A is split into 80% / 20% (train / test) sets. In a further implementation, the empirical evaluation of the verification data set is based on two conditions - same hyper parameters are used for the machine learning model 106, the sixth machine learning model 504A, the seventh machine learning model 506A, and the eighth machine learning model 508A and sampling from same dataset should result in similar classifiers. Experiments that show that only stolen models will have the same classification on the generated verification set, and a different valid model will not by chance have the same classification. The graphical representations 500A, 500B and 500C show that only stolen models have the same classification on the generated verification set 108 and any other different valid model does not have the same classification.

[0057] FIG. 6 is a graphical representation that depicts results of empirical evaluation of verification sets based on a breast cancer dataset, in accordance with an embodiment of the present disclosure. FIG. 6 is described in conjunction with FIGs 5A, 5B and 5C. With reference to FIG.6, there is shown a graphical representation 600 that depicts results of empirical evaluation of verification sets based on a breast cancer dataset. There is further shown an X-axis 602A and a Y-axis 602B.

[0058] In an implementation, the X-axis 602A represents an average distance (e) to an original support vector and the Y-axis 602B represents accuracy on verification set. Moreover, the breast cancer dataset is used for training six different machine learning models with variations in values of the average distance (s) to an original support vector as shown in FIG.6. In such implementation, the graphical representation 600 demonstrates a box plot of accuracy of Linear support vector classifiers (SVC) trained on hundred (100) random data splits of the breast cancer dataset. In such implementation, the six different machine learning modules include a ninth machine learning model with value of average distance (s) equal to 1.00000, and a tenth machine learning model with value of average distance (s) equal to 0.10000. Further, the graphical representation 600 demonstrates an eleventh machine learning model with value of average distance (s) equal to 0.01000, and a twelfth machine learning model with value of average distance (s) equal to 0.00100. Furthermore, the graphical representation 600 demonstrates a thirteenth machine learning model with value of average distance (s) equal to 0.00010 and a fourteenth machine learning model with value of average distance (s) equal to 0.00001. Further, the accuracy of the verification set for each machine learning model out of the six different machine learning models is calculated and the graphical representation 600 of accuracy of the verification sets against each machine learning model out of the six different machine learning models is provided in FIG. 6. The graphical representation 600 further demonstrates that the accuracy of the verification sets gets reduced with reduction in values of the average distance (s).

[0059] FIG. 7 is a graphical representation that depicts results of empirical evaluation of verification sets based on digits dataset, in accordance with an embodiment of the present disclosure. FIG. 7 is described in conjunction with FIGs 1 to 6. With reference to FIG. 7, there is shown a graphical representation 700 that depicts results of empirical evaluation of verification sets based on the digits dataset.

[0060] In an implementation, the X-axis 602A represents an average distance (e) to an original support vector and the Y-axis 602B represents accuracy on verification set. Moreover, the digits dataset is used for training six different machine learning models with variations in values of average distance (s) as shown in FIG.7. In such implementation, the graphical representation 700 demonstrates a box plot of accuracy of linear support vector classifiers (SVC) trained on 100 random data splits of the breast cancer dataset. In such implementation, the six different machine learning modules include the ninth machine learning model (of FIG. 6) with value of average distance (s) equal to 1.00000, and the tenth machine learning model (of FIG. 6) with value of average distance (s) equal to 0.10000. Further, the graphical representation 700 demonstrates the eleventh machine learning model (of FIG. 6) with value of average distance (s) equal to 0.01000, and the twelfth machine learning model (of FIG. 6) with value of average distance (s) equal to 0.00100. Furthermore, the thirteenth machine learning model (of FIG. 6) with value of average distance (s) equal to 0.00010 and the fourteenth machine learning model (of FIG. 6) with value of average distance (s) equal to 0.00001. Further, the accuracy of the verification set for each machine learning model out of the six different machine learning models is calculated and plotted against each machine learning model out of the six different machine learning models in the graphical representation 700 as shown in FIG. 7. The graphical representation 700 further demonstrates that the accuracy of the verification sets gets reduced with reduction in values of the average distance (s).

[0061] FIGs. 8A, 8B and 8C are graphical representations that depict exemplary scenarios of a K- means formulation used in a machine learning controller, in accordance with an embodiment of the present disclosure. FIGs. 8 A, 8B, and 8C is described in conjunction with FIGs 1, 2, 3 A, 3B, 4A, 4B, 5A, 5B, 6 and 7. With reference to FIGs. 8A, 8B, and 8C, there are shown graphical representations 800A, 800B, and 800C respectively that depict exemplary scenarios of a K- means formulation used in the machine learning controller 104 (of FIG. 1). There is further shown an X-axis 802 and a Y-axis 804.

[0062] In an implementation, the machine learning model 106 is provided with a training dataset having a number of samples or observations. The machine learning controller 104 generates the verification set 108 (of FIG.1) based on the K-means clustering in which the value of K is three (3) that is the training dataset is divided into three (3) classifications or clusters. Further, the machine learning controller 104 generates three hyperplanes (or clustering borders), such as a sixth hyperplane 802A, a seventh hyperplane 804A, and an eighth hyperplane 806A to divide each classification or cluster. In addition, the machine learning controller 104 identifies a centroid for each classification or cluster, such as a first centroid 808A, a second centroid 810A and a third centroid 812A, as shown in FIG. 8A. Furthermore, the machine learning controller 104 generates a first cluster separation point 802B on the sixth hyperplane 802A, a second cluster separation point 804B on the seventh hyperplane 804A, and a third cluster separation point 806B on the eighth hyperplane 806A as shown in FIG. 8B. The machine learning controller 104 further generates verification points, such as a first verification point 802C and a second verification point 804C on either side of the first cluster separation point 802B of the sixth hyperplane 802A. Furthermore, the machine learning controller 104 generates a third verification point 806C and a fourth verification point 808C on either side of the second cluster separation point 804B of the seventh hyperplane 804A. In addition, the machine learning controller 104 generates a fifth verification point 810C and a sixth verification point 812C on either side of the third cluster separation point 806B of the eighth hyperplane 806A. The first verification point 802C and the second verification point 804C is at the average distance (s) from the first cluster separation point 802B. The third verification point 806C and the fourth verification point 808C are at the average distance (s) from the second cluster separation point 804B. The fifth verification point 810C and the sixth verification point 812C are at the average distance (s) from the third cluster separation point 806B, as shown in FIG. 8C. The K-means formulation shown in FIGs. 8A, 8B and 8C demonstrate the operation of the machine learning controller 104 to generate verification points in the machine learning model 106 with three classifications or clusters.

[0063] FIGs. 9A, 9B and 9C are different graphical representations that depict exemplary scenarios of a concept of an average distance (s) used in a machine learning controller, in accordance with an embodiment of the present disclosure. FIG. 9A, 9B, and 9C is described in conjunction with FIGs 1, 2, 3A, 3B, 4A, 4B, 5A, 5B, 6, 7, 8A, 8B and 8C. With reference to FIGs. 9A, 9B, and 9C, there are shown graphical representations 900A, 900B and 900C respectively that depict exemplary scenarios of a concept of an average distance (s) used in the machine learning controller 104 (of FIG.1). There is further shown an X-axis 902 and a Y-axis 904.

[0064] In an implementation, the machine learning controller 104 divides the training dataset provided to the machine learning model 106 (of FIG. 1) into three classifications. Further, the machine learning controller 104 generates three hyperplanes, such as a ninth hyperplane 902A, a tenth hyperplane 904A and an eleventh hyperplane 906A. The ninth hyperplane 902A, the tenth hyperplane 904A and the eleventh hyperplane 906A pass through corresponding real centres or cluster separation points which separate the three classifications as shown in the FIGs. 9A, 9B and 9C. Furthermore, the machine learning controller 104 generates the verification set 108 (of FIG. 1) with the plurality of data points 110 (of FIG.1) for each of the ninth hyperplane 902A, the tenth hyperplane 904A, and the eleventh hyperplane 906A with the average distance (s) from corresponding hyperplane. The values of average distances (s) in the graphical representation 900A is more in magnitude than that of the values of average distances (s) in graphical representation 900B. Further, the values of average distances (s) in graphical representation 900B is more in magnitude than that of the values of average distances (s) in graphical representation 900C. During testing of any other machine learning model using the verification set 108 on the machine learning controller 104, three hyperplanes, such as a twelfth hyperplane 908A, a thirteenth hyperplane 910A and a fourteenth hyperplane 912A are generated as shown in FIGs. 9 A, 9B and 9C. Moreover, if the positions of any of the twelfth hyperplane 908, the thirteenth hyperplane 910, and the fourteenth hyperplane 912 falls within the verification set 108, then the corresponding machine learning model is copied from the machine learning model 106. The graphical representations 900A, 900B and 900C demonstrate that with the decrease in the value of average distance (s), the difficulty in creating the hyperplanes or cluster separation points gets increased.

[0065] FIG. 10 is a block diagram of an exemplary scenario of a high-level flow of solution provided by a machine learning controller, in accordance with an embodiment of the present disclosure. FIG. 10 is described in conjunction with FIGs 1, 2, 3 A, 3B, 4 A, 4B, 5 A, 5B, 6, 7, 8 A, 8B, 8C and 9. With reference to FIG.10, there is shown a block diagram 1000 of an exemplary scenario of a high-level flow of solution provided by the machine learning controller 104 (of FIG. 10).

[0066] In an implementation, a service provider 1002, which created the machine learning model 106 (of FIG.1) checks whether any other machine learning model is copied from the machine learning model 106 by using the verification set 108 (of FIG.1) provided by the machine learning controller 104. In an example, the service provider uses the verification set 108 and compares classification results which are generated by any other machine learning model with classification results generated by the machine learning model 106 for same classification query. In operation, the service provider 1002 transmits one or more classification queries in a form of a list of queries 1004 to a suspected machine learning model 1006, which is configured as a black box model. The suspected machine learning model 1006 is a machine learning model which is assumed to be stolen from the machine learning model 106. The black box model is a model, which is sufficiently complex in nature and is not straightforwardly interpretable to humans. In an implementation, the queries in the list of queries 1004 are keys to identify theft of the machine learning model 106. The number of queries in the list of queries 1004 that is size of the queries is equal to the number of classifications or clusters (K). Further, based on the list of queries 1004, the suspected machine learning model 1006 generates one or more classification results or responses 1008. The service provider 1002 checks the classification results or responses 1008 generated by the suspected machine learning model 1006 using the verification set 108. If all the classification results or responses 1008 produced by the suspected machine learning model 1006 are exactly same according to the classification results prescribed by the service provider 1002, then the suspected machine learning model 1006 is proved to be stolen or copied from the machine learning model 106. In an implementation, if all data points in the verification set 108, which is classified using the suspected machine learning model 1006 are labelled according to the verification set 108 held by the service provider 1002, then the service provider 1002 can assume that the suspected machine learning model 1006 is stolen from the machine learning model 106 with 99.99+% confidence and is currently used without the permission of the service provider 1002.

[0067] FIG. 11 is a flowchart of a method for a machine learning controller, in accordance with an embodiment of the present disclosure. FIG. 11 is described in conjunction with FIGs 1, 2, 3 A, 3B, 4A, 4B, 5A, 5B, 6, 7, 8A, 8B, 8C, 9 and 10. With reference to FIG. 11, there is shown a flow chart of a method 1100 for the machine learning controller 104 (of FIG. 1) which includes steps from 1102 to 1108.

[0068] At step 1102, the method 1100 includes receiving a machine learning model 106 (of FIG.1) providing at least two classifications. In accordance with an embodiment, the machine learning model 106 is an unsupervised learning model. In an example, the classifications in the machine learning model 106 corresponds to a plurality of classes or clusters into which an input data received by the machine learning model 106 is divided based on similarities or patterns within the input data.

[0069] At step 1104, the method 1100 includes generating a verification set 108 (of FIG. 1) for the machine learning model 106. Moreover, the verification set 108 includes a plurality of data points 110 each associated with an expected classification out of the at least two classifications. The verification set 108 is a dataset which is unique to the machine learning model 106 and acts as a fingerprint or watermark for the machine learning model 106. In case of theft of the machine learning model 106 due to cyber-attack, the verification set 108 is utilized by an original owner (i.e., a person who has developed the machine learning model 106) to determine whether any other model is a copy of the machine learning model 106.

[0070] At step 1106, the method 1100 includes selecting the data points so that an average distance (s) to a hyperplane is as small as possible. In other words, the machine learning controller 104 selects data points which are at the smaller average distance (s) from the hyperplane. The hyperplane is a boundary which separates the plurality of data points 110 in such a way that the data points from the plurality of data points 110 on one side of the hyperplane falls under one classification, and the data points from the plurality of data points 110 on other side of the hyperplane falls under a different classification.

[0071] At step 1108, the method 1100 includes selecting the data points so that the distance between a first data point 110A (of FIG.1) and a second data point HOB (of FIG.2) in a pair of data points is as large as possible. The machine learning controller 104 generates the verification set 108 with the plurality of data points 110, such as the first data point 110A and the second data point 110B, which are at the small average distance (s) from the hyperplane. The first data point 110A belongs to the first classification, and the second data point HOB belongs to the second classification. The first data point 110A and the second data point HOB together form the pair of data points. The machine learning controller 104 is configured to select the pairs of data points which are at a maximum distance away from each other. The method 1100 achieves all the advantages and technical effects of the machine learning controller 104.

[0072] The method 1100 provides a fingerprint or watermark over the machine learning model 106, which is beneficial to identify whether any machine learning model is stolen or copied from the machine learning model 106. The method 1100 is applicable to any type of machine learning model, which is advantageous over conventional methods, which are applicable to only neural networks. The verification set 108 provided by the method 1100 enables 100% detection of stolen machine learning model and can be used by any cloud service provider or law enforcement organization. In addition, the method 1100 does not interfere with training process of the machine learning model and does not affect the machine learning model’s performance. Furthermore, the method 1100 is applicable to existing machine learning models that include hardware / firmware artificial intelligence (Al) model implementations. The verification set 108 generated by the method 1100 is of a minimal size and is able to distinguish between two models with very little API queries needed for verification.

[0073] There is provided a computer program comprising instructions for carrying out all the steps of the method 1100. The computer program is executed by one or more processors in a machine learning system. The computer program is implemented as an algorithm, embedded in a software stored in the non-transitory computer-readable storage medium having program instructions stored thereon, the program instructions being executable by the one or more processors in the machine learning system to execute the method 1100. The non-transitory computer-readable storage means may include, but are 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. Examples of implementation of computer-readable storage medium, but are not limited to, Electrically Erasable Programmable Read-Only Memory (EEPROM), Random Access Memory (RAM), Read Only Memory (ROM), Hard Disk Drive (HDD), Flash memory, a Secure Digital (SD) card, Solid-State Drive (SSD), a computer-readable storage medium, and / or CPU cache memory.

[0074] FIG. 12 is a flowchart of an exemplary implementation of a method for a machine learning controller, in accordance with an embodiment of the present disclosure. FIG. 12 is described in conjunction with FIGs 1, 2, 3 A, 3B, 4A, 4B, 5A, 5B, 6, 7, 8A, 8B, 8C, 9, 10, and 11. With reference to FIG. 12, there is shown a flowchart of an exemplary implementation of a method 1200 for the machine learning controller 104 (of FIG. 1) that includes steps from 1202 to 1214.

[0075] At step 1202, the method 1200 includes receiving a plurality of records. In an implementation, the plurality of records are a plurality of samples or observations, which are used to train the machine learning model 106 (of FIG.1).

[0076] At step 1204, the method 1200 includes determining a plurality of non-identical partitions from the plurality of records. Moreover, each non-identical partition includes a training set which is a strict subset of the plurality of records. In other words, the plurality of records is divided into different non-identical partitions. The records in each partition are different from the records in the rest of the partitions.

[0077] At step 1206, the method 1200 includes training a separating hyperplane-based classifier using a set from the plurality of records. The separating hyperplane-based classifier is a machine learning model that creates a boundary between different classes of the plurality of records by finding an optimal hyperplane that separates the plurality of records. The examples of the separating hyperplane-based classifier may include, but are not limited to, support vector machines (SVM), logistic Regression, perceptron, and the like.

[0078] At step 1208, the method 1200 includes training a plurality of additional separating hyperplanebased classifiers. In an example, the machine learning controller 104 (of FIG.1) generates more separating hyperplane-based classifiers to classify the plurality of records.

[0079] At step 1210, the method 1200 includes generating a plurality of data points 110 (of FIG.1) based on a proximity to a separating hyperplane of the separating hyperplane-based classifier. In an implementation, the separating hyperplane is the hyperplane 202 (of FIG.2) which separates the plurality of records into different classes. The proximity of the plurality of data points 110 with respect to the separating hyperplane is determined by the machine learning controller 104 to be as small as possible. At step 1212, the method 1200 includes generating a plurality of inferences for the plurality of data points by the separating hyperplane-based classifier.

[0080] At step 1214, the method 1200 includes providing the plurality of data points 110 and the plurality of inferences for checking when an additional classifier is identical to the separating hyperplane-based classifier. Based on the plurality of data points 110 and the plurality of inferences, any additional classifier or machine learning model is can be checked against the separating hyperplane-based classifier to determine whether the additional classifier is identical to the separating hyperplane-based classifier. In an example, if data points and inferences of the additional classifier are identical to the separating hyperplane-based classifier, then the additional classifier is considered to be copied or stolen from the separating hyperplane-based classifier.

[0081] FIG. 13 is a flowchart of an exemplary implementation of a method for a machine learning controller, in accordance with a different embodiment of the present disclosure. FIG. 13 is described in conjunction with FIGs l-to-12. With reference to FIG. 13, there is shown a flowchart of an exemplary implementation of a method 1300 for the machine learning controller 104 (of FIG. 1), which includes steps from 1302 to 1308.

[0082] At step 1302, the method 1300 includes receiving a separating hyperplane-based classifier. The separating hyperplane-based classifier is a machine learning model that creates a boundary between different classes of a training dataset by finding an optimal hyperplane that separates the training dataset into different classes.

[0083] At step 1304, the method 1300 includes generating a plurality of data points 110 based on a proximity to the separating hyperplane of the separating hyperplane-based classifier. In an implementation, the separating hyperplane is the hyperplane 202 (of FIG.2) which separates the training dataset into different classes. The proximity of the plurality of data points 110 with respect to the separating hyperplane is determined by the machine learning controller 104 to be as small as possible.

[0084] At step 1306, the method 1300 includes generating a plurality of inferences for the plurality of data points by separating the hyperplane-based classifier.

[0085] At step 1308, the method 1300 includes providing the plurality of data points and the plurality of inferences for checking when an additional classifier is identical to the separating hyperplane-based classifier. Based on the plurality of data points 110 and the plurality of inferences, any additional classifier or machine learning model can be checked against the separating hyperplane-based classifier to determine whether the additional classifier is identical to the separating hyperplane-based classifier. In an example, if data points and inferences of the additional classifier are identical to the separating hyperplane-based classifier, then the additional classifier is considered to be copied or stolen from the separating hyperplane-based classifier.

[0086] FIG. 14 is a flowchart of an exemplary implementation of a method for a machine learning controller, in accordance with a different embodiment of the present disclosure. FIG. 14 is described in conjunction with FIGs l-to-13. With reference to FIG. 14, there is shown a flowchart of an exemplary implementation of a method 1400 for the machine learning controller 104 (of FIG. 1), which includes steps from 1402 to 1406.

[0087] At step 1402, the method 1400 includes receiving a plurality of data points 110 (of FIG.1) and a plurality of inferences generated for the data points by a separating hyperplane-based classifier. The separating hyperplane based classifier is a machine learning model that creates a boundary between different classes of a training dataset by finding an optimal hyperplane that separates the training dataset into different classes. The examples of the separating hyperplanebased classifier may include, but are not limited to, support vector machines (SVM), logistic Regression, perceptron, and the like.

[0088] At step 1404, the method 1400 includes generating an associative interface for each of the plurality of data points by accessing a black box classifier.

[0089] At step 1406, the method 1400 includes determining when the black box classifier is identical to the separating hyperplane-based classifier by comparing the inferences generated for the plurality of data points 110 by the separating hyperplane-based classifier to the associative interface for each of the plurality of data points 110.

[0090] Modifications to embodiments of the present disclosure described in the foregoing are possible without departing from the scope of the present disclosure as defined by the accompanying claims. Expressions such as "including", "comprising", "incorporating", "have", "is" used to describe and claim the present disclosure are intended to be construed in a non-exclusive manner, namely allowing for items, components or elements not explicitly described also to be present. Reference to the singular is also to be construed to relate to the plural. The word "exemplary" is used herein to mean "serving as an example, instance or illustration". Any embodiment described as “exemplary” is not necessarily to be construed as preferred or advantageous over other embodiments or to exclude the incorporation of features from other embodiments. The word "optionally" is used herein to mean "is provided in some embodiments and not provided in other embodiments". It is appreciated that certain features of the present disclosure, which are, for clarity, described in the context of separate embodiments, may also be provided in combination in a single embodiment. Conversely, various features of the present disclosure, which are, for brevity, described in the context of a single embodiment, may also be provided separately or in any suitable combination or as suitable in any other described embodiment of the disclosure.

Claims

CLAIMS1. A machine learning controller (104) configured to receive a machine learning model (106) providing at least two classifications and to generate a verification set (108) for the machine learning model (106), wherein the verification set (108) comprises a plurality of data points each associated with an expected classification out of the at least two classifications, wherein the machine learning controller (104) is characterized in that the machine learning model (106) is further configured to select the data points so that an average distance (s) to a hyperplane (202) is as small as possible and to select the data points so that the distance between a first data point (110A) and a second data point (HOB) in a pair of data points is as large as possible, wherein the first data point (110 A) in the pair belongs to a first classification of the at least two classifications and the second data point (HOB) in the pair belongs to a second classification of the at least two classifications.

2. The machine learning controller (104) according to claim 1, wherein the machine learning model (106) is an unsupervised machine learning model and in that the machine learning controller (104) is further configured to generate the verification set (108) based on a support vector machine and wherein the machine learning controller (104) is further configured to receive a set of training vectors (X) and a set of labels (Y) and determine a set of weights (W, b) such that a prediction, given by sign(w7x+6), is correct for a number of samples exceeding a threshold.

3. The machine learning controller (104) according to claim 2, wherein the machine learning controller (104) is further configured to determine the set of weights (W, b) by solvingwherein C is a positive cost term and 0 are slack variables.

4. The machine learning controller (104) according to claim 1, wherein the machine learning controller (104) is further configured to generate the verification set based on a K- means clustering, wherein K equals the number of classifications.

5. The machine learning controller (104) according to any preceding claim, wherein the machine learning controller (104) is further configured to select the data points so that the average distance to the hyperplane (202) is less than 0.1.

6. A method (1100) for a machine learning controller, the method comprising receiving a machine learning model providing at least two classifications and generating a verification set for the machine learning model, wherein the verification set comprises a plurality of data points each associated with an expected classification out of the at least two classifications, wherein the method is characterized in that the method further comprises selecting the data points so that an average distance (s) to a hyperplane is as small as possible and selecting the data points so that the distance between a first data point and a second data point in a pair of data points is as large as possible, wherein the first data point in the pair belongs to a first classification of the at least two classifications and the second data point in the pair belongs to a second classification of the at least two classifications.

7. A computer program product comprising program instructions for performing the method (1100) according to claim 6, when executed by one or more processors in a machine learning system.

Citation Information

Patent Citations

  • Linear classification model theft detection

    WO2023066466A1