Verification device, verification method, and program
The verification device employs statistical hypothesis testing to compare output data from a suspected AI with a group of known AI models, addressing the challenge of verifying continuously changing AI models by determining if changes are within expected ranges, thereby preventing tampering and ensuring AI integrity.
Patent Information
- Application Number
- PCT/JP2023/016420
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-04-26
- Publication Date
- 2024-10-31
AI Technical Summary
Existing methods struggle to verify the identity of AI models that continuously learn and change, as they can be difficult to distinguish from tampered or falsified versions, especially when changes occur beyond the expected range.
A verification device and method that uses statistical hypothesis testing to compare the output data of a suspected AI model with a group of known AI models, determining if the AI has changed within expected parameters by analyzing the distribution of characteristics in the output data.
Enables effective verification of AI identity without relying on internal structures or parameters, ensuring the AI has not been tampered with or altered beyond acceptable limits, thus preventing incorrect learning or falsification.
Smart Images

Figure JP2023016420_31102024_PF_FP_ABST
Abstract
Description
Verification device, verification method, and program
[0001] The present invention relates to a technology for verifying the identity of multiple AIs (hereinafter also referred to as machine learning models).
[0002] When using AI provided by a third party, there is a risk of the AI being disguised or tampered with, so there is a desire to verify that the AI being used is the same as the intended AI.
[0003] Digital signatures (see Non-Patent Document 1) are known as a conventional technique for verifying identity.
[0004] Author: Eiichiro Fujisaki, "Knowledge Base Group 1, Part 3, Chapter 6, Digital Signature," [online], 2010, Institute of Electronics, Information and Communication Engineers, [Retrieved April 19, 2023], Internet <URL: https: / / www.ieice-hbkb.org / files / 01 / 01gun_03hen_06.pdf>
[0005] Some AIs continuously learn and change in order to adapt to external environments and improve accuracy. While the technology described in Non-Patent Document 1 can verify the identity of completely identical AIs, it is not possible to determine that AIs that continuously learn and change are the same before and after a change. For AIs that continuously learn and change, there is a demand for determining that the AIs before and after a change are the same AI if the changes are within the range expected by the AI creator or user, but determining that the AI is not the same AI if the changes exceed the expected range due to incorrect learning, falsification, or tampering. However, there is a problem with AIs that continuously learn and change: because they change, it is difficult to detect whether changes beyond the expected range have occurred.
[0006] As in the past, there is a demand to detect the risk of AI being disguised or tampered with. However, AI that continuously learns and changes has the problem that, because it changes, it is difficult to detect when a third party disguises or tampers with the AI.
[0007] Therefore, we want to verify whether AI that continuously learns and changes has changed within the expected range, and whether it is the AI that users and creators expect (whether it has been disguised or tampered with).
[0008] The present invention aims to provide a verification device, verification method, and program that can verify the identity of AI that continuously learns and changes.
[0009] In order to solve the above problem, according to one aspect of the present invention, a verification device includes an acquisition unit that acquires a first group of output data obtained when input data is provided to a group of machine learning models that are considered to be identical, and second output data obtained when the input data is provided to the machine learning model to be verified, and a verification unit that uses the first group of output data and the second output data to verify whether the machine learning model to be verified is identical to the group of machine learning models through statistical hypothesis testing.
[0010] The present invention has the effect of being able to verify the identity of AI that continuously learns and changes.
[0011] 1 is a functional block diagram of a verification device according to a first embodiment of the present invention; FIG. 2 is a diagram showing an example of a processing flow of the verification device according to the first embodiment of the present invention; FIG. 3 is a diagram showing an example of the configuration of a computer to which the present method is applied;
[0012] Hereinafter, an embodiment of the present invention will be described. In the drawings used in the following description, components having the same functions and steps performing the same processing are denoted by the same reference numerals, and duplicated explanations will be omitted. In the following description, processing performed on each element of a vector or matrix is assumed to apply to all elements of that vector or matrix, unless otherwise specified.
[0013] <Key Points of the First Embodiment> The distribution of the characteristics of an AI that is considered to be identical and the distribution of the characteristics of the AI to be verified are obtained, and the identity is verified by examining whether the distributions differ using statistical hypothesis testing. Here, the output of an AI in response to a certain input is called the "AI characteristic."
[0014] Even in the case of changing AI, it is possible to verify whether the AI being verified is the AI expected by the user, or whether the AI has changed in ways not anticipated by the user or creator, by verifying its identity with information about the expected AI obtained in advance.
[0015] In this embodiment, not only completely identical AIs but also AIs within an expected range (the range of allowable changes) are considered to be the same AI. This configuration makes it easier to keep up with AIs that continuously learn and change.
[0016] First Embodiment FIG. 1 is a functional block diagram of a verification device 100 according to a first embodiment, and FIG. 2 shows the processing flow thereof.
[0017] The verification device 100 includes an acquisition unit 110 , a storage unit 120 , and a verification unit 130 .
[0018] The verification device 100 sends input data X=(x1,...,x K ) is given, the output data Y={(y 1,1 ,…,y 1,K ),…,(y N,1 ,…,y N,K )} and the same input data X=(x1,…,x K ) to the AI to be verified. m =(y m,1 ,…,y m,K ) as input, verify whether the AI being verified is identical to a group of AIs that are considered to be identical, and output the verification results.
[0019] The verification device 100 is a special device configured by loading a special program into a publicly known or dedicated computer having, for example, a central processing unit (CPU) and a main memory (RAM). The verification device 100 executes each process under the control of the central processing unit. Data input to the verification device 100 and data obtained from each process are stored in the main memory, for example. The data stored in the main memory is read by the central processing unit as needed and used for other processes. At least a portion of each processing unit of the verification device 100 may be configured with hardware such as an integrated circuit. Each storage unit of the verification device 100 may be configured with, for example, a main storage unit such as a random access memory (RAM), or middleware such as a relational database or key-value store. However, each storage unit does not necessarily have to be internal to the verification device 100. It may be configured with an auxiliary storage unit configured with a hard disk, optical disk, or semiconductor memory element such as a flash memory, and be external to the verification device 100.
[0020] Each part will be explained below.
[0021] <Acquisition Unit 110 and Storage Unit 120> The acquisition unit 110 acquires input data X=(x1, ..., x K ) is extracted and output to each AI included in the group of AIs considered to be identical. The group of AIs considered to be identical includes N AIs. N is any integer greater than or equal to 1, and is a sufficient number for verification. The nth AI is K ) as input and output data (y n,1 ,…,y n,K ), and outputs it to the acquisition unit 110. The same process is performed for n=1, 2, ..., N, and the acquisition unit 110 obtains the output data Y={(y 1,1 ,…,y 1,K ),…,(y N,1 ,…,y N,K)} is acquired (S110) and stored in the storage unit 120. This process is performed on the AI to be verified by inputting input data X=(x1,...,x K ) and the output data Y m =(y m,1 ,…,y m,K ) is entered.
[0022] Once the AI to be verified is determined, the acquisition unit 110 acquires the input data X=(x1,...,x K ) to the AI to be verified. The AI to be verified receives input data X=(x1,...,x K ) as input and output data Y m =(y m,1 ,…,y m,K ) and outputs it to the acquisition unit 110. The acquisition unit 110 obtains the output data Y m (S110) and outputs it to the verification unit 130.
[0023] Here, a group of AIs considered to be identical refers to a group of AIs that fall within the range of expectations (the range of acceptable changes or differences) of the AI creator or user, and the AI creator or user can set the range of expectations and conditions appropriately according to the application. A group of AIs considered to be identical may be obtained, for example, by acquiring an AI that continuously learns and changes N times at predetermined intervals, or by distributing an AI that continuously learns and changes at a certain point in time to N clients and acquiring the changed AI from the N clients after a predetermined period has passed. Note that a single original AI may be one of the N AIs included in the group of AIs considered to be identical, or it may not be included in the group. Here, an AI that has changed beyond the range expected by the AI creator or user is not included in the group of AIs considered to be identical, even if it has changed from a single original AI. The determination of whether or not a change has occurred beyond the expected range may be performed automatically or manually by setting a threshold value or the like and determining whether or not a variable parameter used within the AI is greater than or equal to the threshold value, or whether or not the output data of the AI is greater than or equal to the threshold value. Furthermore, when random parameters are used as the initial values of parameters used within the AI before learning, multiple AIs with the same structure but different random parameters can be prepared. Therefore, the condition for determining whether an AI is the same is that the AI has the same structure, and these multiple AIs can be considered as a group of AIs that are considered to be the same. Furthermore, a group of AIs may be obtained by combining these methods. For example, N AIs with the same structure but different random parameters may be prepared and distributed to N clients, and the changed AIs may be obtained from the N clients after a predetermined period of time has elapsed. <Verification Unit 130> The verification unit 130 receives output data Y m =(y m,1 ,…,y m,K ) is the input, and the output data Y={(y 1,1 ,…,y 1,K ),…,(y N,1 ,…,y N,K)} is retrieved from storage unit 120, and a statistical hypothesis test is used to verify whether the AI to be verified is identical to the group of AIs that are considered to be identical (S130), and the verification result is output. The verification result may be information indicating whether the AI to be verified can be considered identical to the group of AIs that are considered to be identical, for example, a value (e.g., 1) indicating that "the AI to be verified can be considered identical to the group of AIs that are considered to be identical," or a value (e.g., 0) indicating that "the AI to be verified cannot be considered identical to the group of AIs that are considered to be identical."
[0024] The verification method of the verification unit 130 will be described below.
[0025] (1) Output data Y m or element y of Y p,k (p is m, 1, 2, …, N, k = 1, 2, …, K) is a scalar value, output data Y m , Y are considered statistically as samples extracted from a certain population, and whether the population probability distributions differ is examined using statistical hypothesis testing. Based on the test results, it is determined whether the AIs are also different. In other words, if the population probability distributions differ, the AIs are different; if the population probability distributions are the same, the AIs are considered identical. The statistical hypothesis testing used here can verify whether the population probability distributions differ, and examples include the two-sample Kolmogorov-Smirnov test and the Mann-Whitney U test. One method for verifying the identity of AIs is to treat the AI as a function, approximate the similarity from the input / output distance, and determine whether the AI being tested can be considered identical to a group of AIs that are considered identical based on the magnitude relationship between the similarity and a threshold. However, in this case, an appropriate threshold for the similarity must be set. On the other hand, statistical hypothesis testing does not require a separate threshold and can use conventional methods to verify whether the population probability distributions differ. (2) Output data Y m or element y of Y p,k If is a vector (multidimensional), the output data Y={(y 1,1 ,…,y 1,K ),…,(y N,1 ,…,y N,K )}, the output data (y g,1,…,y g,K ) (g is 1, 2, ..., N) and output data y g,k Based on this, element y p',k Distance d p',k Here, p' is m, 1, 2, ..., N other than g (p' ≠ g). For example, if there is one AI that is the source of N-1 AIs included in a group of AIs that are considered to be identical, the output data of that AI may be selected. Here, d p',k If we calculate the distance such that is a scalar value, the output data Y m or element y of Y p,k The same process as when element y is a scalar value (except p,k Instead of distance d p',k By using a statistical hypothesis test, it is possible to examine whether the probability distribution of the population differs, and based on the results of the test, it is possible to determine whether the AI is also different. For example, Euclidean distance can be used as a distance. However, y p',k,q , y q,k,q are vector-valued elements y p',k , y g,k is the q-th dimension value of Q k is the vector-valued element y p',k , y g,k The method for calculating the distance is an example, and any other method that can convert a vector value into a scalar value may be used.
[0026] <Effects> With the above configuration, it is possible to verify the identity of an AI that continuously learns and changes based only on output data, without referring to the internal structure or parameters of the AI.
[0027] <Modification> In this embodiment, the acquisition unit 110 calculates the output data Y={(y 1,1 ,…,y 1,K ),…,(y N,1 ,…,y N,K )} is stored in the storage unit 120, but the output data Y={(y 1,1 ,…,y 1,K ),…,(y N,1 ,…,y N,KIn the case where verification is performed immediately after or simultaneously with receiving the output data Y, the output data Y may be output directly to the verification unit 130 without going through the storage unit 120. m is output to the verification unit 130, but the output data Y m If verification is not performed immediately after or simultaneously with receiving the output data Y , the output data Y may be stored in the storage unit 120 until verification is performed. m Just take it out.
[0028] In this embodiment, the acquisition unit 110 acquires input data X=(x1,...,x K ) to each AI included in the group of AIs considered to be identical and to the AI to be verified. This process is performed by an external device, and the acquisition unit 110 outputs the output data Y={(y 1,1 ,…,y 1,K ),…,(y N,1 ,…,y N,K )}, Y m =(y m,1 ,…,y m,K ) may be acquired and stored or output.
[0029] <Other Modifications> The present invention is not limited to the above-described embodiments and modifications. For example, the various processes described above may not only be executed in chronological order as described, but may also be executed in parallel or individually depending on the processing capacity of the device that executes the processes or as needed. Other modifications are possible as long as they do not deviate from the spirit of the present invention.
[0030] <Program and Recording Medium> The various processes described above can be implemented by loading a program that executes each step of the above method into the recording unit 2020 of the computer 2000 shown in FIG. 3 and operating the control unit 2010, input unit 2030, output unit 2040, display unit 2050, etc.
[0031] The program describing the processing contents can be recorded on a computer-readable recording medium, which may be, for example, a magnetic recording device, an optical disk, a magneto-optical recording medium, a semiconductor memory, or any other suitable recording medium.
[0032] The program may be distributed by, for example, selling, transferring, lending, etc. portable recording media such as DVDs and CD-ROMs on which the program is recorded. Furthermore, the program may be stored in a storage device of a server computer, and then transferred from the server computer to other computers via a network, thereby distributing the program.
[0033] A computer that executes such a program may first temporarily store the program recorded on a portable recording medium or transferred from a server computer in its own storage device. Then, when executing a process, the computer reads the program stored on its own recording medium and executes the process in accordance with the read program. Alternatively, the computer may read the program directly from a portable recording medium and execute the process in accordance with the program. Furthermore, the computer may execute the process in accordance with each program transferred from the server computer. Alternatively, the server computer may not transfer the program to the computer, but may instead execute the process through a so-called ASP (Application Service Provider) service, which realizes the processing function by issuing an execution instruction and obtaining the results. In this embodiment, the program includes information used for processing by a computer that is equivalent to a program (e.g., data that is not a direct instruction to the computer but has properties that define computer processing).
[0034] Furthermore, in this embodiment, the device is configured by executing a predetermined program on a computer, but at least a part of the processing contents may be realized by hardware.
Claims
1. A verification device comprising: an acquisition unit that acquires a first output data group obtained when input data is provided to a group of machine learning models considered to be identical, and second output data obtained when the input data is provided to a machine learning model to be verified; and a verification unit that uses the first output data group and the second output data to verify whether the machine learning model to be verified is identical to the group of machine learning models through statistical hypothesis testing.
2. A verification method comprising: an acquisition step in which an acquisition unit acquires a first output data group obtained when input data is provided to a group of machine learning models considered to be identical, and second output data obtained when the input data is provided to a machine learning model to be verified; and a verification step in which a verification unit uses the first output data group and the second output data to verify whether the machine learning model to be verified is identical to the group of machine learning models through statistical hypothesis testing.
3. A program for causing a computer to function as the verification device of claim 1.
Citation Information
Patent Citations
System and method for scheduling communication within a distributed learning and deployment framework
US20230034136A1
Machine learning system and method for generating a decision stream and automonously operating device using the decision stream
WO2018182442A1
Reliability assessment device and reliability assessment method
WO2020194509A1
