Information processing device, information processing procedure and information processing program

DE112020007680B4Active Publication Date: 2024-10-17MITSUBISHI ELECTRIC CORP
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
DE112020007680
Authority / Receiving Office
DE · DE
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-12-17
Publication Date
2024-10-17
Estimated Expiration
2040-12-17

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

An information processing device (100), comprising: a high-performance execution unit (110) for executing an application while simultaneously executing a high-performance operating system; and a secure execution unit (120) for executing a target operation while executing a secure operating system, wherein the target operation is an operation based on a learning model; the secure execution unit (120) comprising a decryption processing unit (122) for decrypting model information from encrypted model information of the learning model when execution of the target operation is requested by the application; an operation execution unit (121) for executing the target operation using the model information; a forgery detection unit (123) for determining whether the encrypted model information is forged information; and an output control unit (124),to forward an execution result of the target operation to the application when it is determined that the encrypted model information is not the forged information, wherein the target operation comprises operations for operation functions whose execution order is predetermined, wherein the encrypted model information comprises encrypted parameters each corresponding to the operation functions and encrypted model configuration information, wherein the decryption processing unit (122) decrypts a parameter of each of the operation functions from an encrypted parameter of each of the operation functions, wherein the operation execution unit (121) calculates each of the operation functions according to the execution order using the parameter of each of the operation functions,wherein the forgery detection unit (123) executes a calculation process using the encrypted parameter of each of the operation functions in parallel with an operation of each of the operation functions or simultaneously with the operation of each of the operation functions according to the execution order to determine whether the encrypted model configuration information is the forged information, and wherein the calculation process is a process that generates an authentication flag of the encrypted model configuration information as a preliminary authentication flag, updates the generated preliminary authentication flag according to the execution order using the encrypted parameter of each of the operation functions,generates a verification authentication token using the updated preliminary authentication token and compares the verification authentication token with a reference authentication token to determine whether the encrypted model information is the forged information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical area The present disclosure relates to maintaining the confidentiality and detecting forgery in model information of learning models. Background to the state of the art For machine learning models, it is desirable to maintain the confidentiality of model information, such as architectures and parameters. It is also desirable to detect forgery if the model information is corrupted. Non-Patent Literature 1 describes a method for maintaining the confidentiality of learning model information. This method virtually isolates the execution environment, decrypts encrypted learning model information, and executes machine learning operations only in a secure execution environment (secure OS, trusted OS). Patent Literature 1 describes an apparatus with a secure unit for executing learning models, in which a CRC value is stored for each neuron and compared with a CRC value of the model parameters used. Patent Literature 2 describes a method for validating and authenticating the operation of machine learning models, in which the model output is compared with a reference output based on a reference input of a digital key to examine the integrity of the model. List of cited writings Non-patent literature and patent literature Non-Patent Literature 1: Peter M. VanNostrand, et al., "Confidential Deep Earning: Executing Proprietary Models on Untrusted Devices" arXiv, published on August 28, 2019. Patent Literature 1: JP 2019 - 109 680 APatent Literature 2: US 2020 / 0 233 979 A1 Summary of the invention Technical problem In the method from non-patent literature 1, only the confidentiality of the learning model information is maintained; forgery detection does not take place. An object of the present disclosure is to maintain the confidentiality of model information of a learning model and to realize forgery detection for learning model information. Solution to the problem This problem is solved by an information processing device according to claim 1. An information processing device according to the present disclosure comprises, in particular, a high-performance execution unit for executing an application while simultaneously executing a high-performance operating system; and a secure execution unit for executing a target operation while executing a secure operating system, wherein the target operation is an operation based on a learning model. The secure execution unit includes a decryption processing unit for decrypting model information from encrypted model information of the learning model when execution of the target operation is requested by the application; an operation execution unit for executing the target operation using the model information; a forgery detection unit for determining whether the encrypted model information is forged information; and an output control unit for forwarding an execution result of the target operation to the application when it is determined that the encrypted model information is not the forged information. Advantageous effects of the invention According to the present disclosure, confidentiality of model information of a learning model and forgery detection for learning model information can be realized. Brief description of the drawings Fig. 1 is a configuration diagram of an information processing apparatus 100 in Embodiment 1; Fig. 2 is a flowchart of an information processing method in Embodiment 1; Fig. 3 is a flowchart of the information processing method in Embodiment 1; Fig. 4 is a configuration diagram of the information processing apparatus 100 in Embodiment 2; Fig. 5 is a flowchart of the information processing method in Embodiment 2; Fig. 6 is a flowchart of the information processing method in Embodiment 2; Fig. 7 is a diagram showing an example of application of GCM in Embodiment 2; Fig. 8 is a diagram showing an example of application of GCM to a three-layer neural network in Embodiment 2; and Fig. 9 is a hardware configuration diagram of the information processing apparatus 100 in the embodiments. Description of embodiments In the embodiments and drawings, identical or corresponding elements are designated by the same reference numerals. The description of an element provided with the same reference numeral as a previously described element will be omitted or simplified as appropriate. Arrows in diagrams primarily indicate data or processing flows. Embodiment 1 An information processing apparatus 100 will be described with reference to Figs. 1 to 3. Configuration description A configuration of the information processing apparatus 100 will be described with reference to Fig. 1. The information processing device 100 is a computer that includes hardware such as a processor 101, a memory management unit 102, a high-performance memory 103, a data storage 104, and a security memory 105. These hardware components are interconnected by signal lines. Processor 101 is an integrated circuit (IC) that performs operational processing and controls other hardware components. Processor 101 is, for example, a CPU, a DSP, or a GPU. IC is an abbreviation for Integrated Circuit. CPU is an abbreviation for Central Processing Unit. DSP is the abbreviation for “Digital Signal Processor”. GPU is an abbreviation for Graphics Processing Unit. The memory management unit 102 controls access to the high-performance memory 103. The high-performance memory 103 is a general-purpose memory and is also called a main storage device or main memory. Memory is a volatile or non-volatile storage medium. For example, RAM is used. Data stored in memory is stored in data storage 104 when needed. RAM is an abbreviation for Random Access Memory. The data memory 104 is a non-volatile memory and is also referred to as an auxiliary storage device. The data storage 104 is, for example, a ROM, a hard disk, or a flash memory. The data stored in the data storage 104 is loaded into the high-performance memory 103 when needed. ROM is an abbreviation for Read Only Memory. HDD is the abbreviation for Hard Disk Drive. For example, the data storage 104 stores learning model information 191, a reference authentication identifier 192, etc. The security memory 105 is a memory with security features and increased security. The security memory 105 stores, for example, a cryptographic key 193, etc. The information processing device 100 includes elements such as a high-performance execution unit 110, a secure execution unit 120, and a monitoring unit 130. The elements are implemented by software. The data memory 104 stores an information processing program for causing a computer to function as the high-performance execution unit 110, the secure execution unit 120, and the monitoring unit 130. The information processing program is loaded into the high-performance memory 103 and executed by the processor 101. Data memory 104 also stores an operating system. At least a portion of the OS is loaded into high-performance memory 103 and executed by processor 101. The processor 101 executes the information processing program while executing the OS. OS is an abbreviation for Operating System. The information processing device 100 may comprise a plurality of processors as an alternative to the processor 101. The information processing program may be recorded (stored) in a computer-readable format on a non-volatile recording medium such as an optical disk or flash memory. The high-performance execution unit 110, the secure execution unit 120 and the monitoring unit 130 are described. The powerful execution unit 110 executes an application 111 while running a powerful OS. The powerful OS is a general-purpose operating system. The application 111 is an application program. The secure execution unit 120 performs a target operation while executing a secure OS. The secure OS is an OS with security features and advanced security. The target operation is an operation based on a learning model. Specifically, the target operation is an operation for updating the learning model using machine learning or an operation for analyzing input data using the learning model. A specific example of machine learning is deep learning. However, machine learning is not limited to deep learning; it can also include regression methods, decision tree learning, Bayesian inference, clustering, or similar. The secure execution unit 120 includes elements such as an operation execution unit 121, a decryption processing unit 122, a forgery detection unit 123, and an output control unit 124. These elements are described further below. The monitoring unit 130 acts as a virtual monitor and includes a switching unit 131. The switching unit 131 switches an execution environment of the information processing apparatus 100 to a high-performance OS environment or a secure OS environment. However, switching the execution environment may also be performed using other methods. For example, information processing device 100 may be without monitoring unit 130, and memory management unit 102 may include switching unit 131. The elements of the secure execution unit 120 are described below. When the application 111 requests execution of the target operation, the decryption processing unit 122 decrypts the model information from the learning model information 191. The learning model information 191 includes encrypted model information. The encrypted model information is model information of the learning model that has been encrypted. The operation execution unit 121 executes the target operation using the model information. The forgery detection unit 123 determines whether the encrypted model information is forged information. Forged information is information that has been forged. If it is determined that the encrypted model information is not forged information, the output control unit 124 passes an execution result of the target operation to the application 111. When it is determined that the encrypted model information is not forged information, the operation execution unit 121 executes the target operation using the model information. If the encrypted model information is determined to be forged, the output control unit 124 forwards a forgery notification to the application 111. The forgery notification is a notification of the forgery of the encrypted model information and is also referred to as a forgery detection alarm. *** Description of the business *** A method of operating the information processing device 100 corresponds to an information processing method. The method of operating the information processing device 100 also corresponds to a method of processing by the information processing program. The information processing method is described with reference to Fig. 2 and Fig. 3. In step S101, the high-performance execution unit 110 starts the execution of the application 111. Then, the high-performance execution unit 110 transmits an operation request from the application 111 to the switching unit 131. The operation request is a request to execute the target operation. The switching unit 131 transmits the operation request to the operation execution unit 121. In step S111, the operation execution unit 121 uses the memory management unit 102 to acquire the learning model information 191. The memory management unit 102 reads the learning model information 191 from the data memory 104 into a storage area for the operation execution unit 121 in the high-performance memory 103. The learning model information 191 includes reference information and encrypted model information. The encrypted model information is model information of the learning model that has been encrypted. The model information includes information about the model configuration and a parameter. The model configuration information specifies the configuration of the learning model. The reference information specifies the reference targets for the encrypted model configuration information or the encrypted parameter. The reference targets specify positions in the learning model information 191. In step S112, the operation execution unit 121 refers to the reference information in the learning model information 191 and notifies the decryption processing unit 122 of the reference destination for the encrypted model configuration information. The decryption processing unit 122 uses the storage management unit 102 to acquire the encrypted model configuration information at the designated reference target. The storage management unit 102 reads the encrypted model configuration information from the data storage 104 into a storage area for the decryption processing unit 122 in the high-performance memory 103. Then, the decryption processing unit 122 decrypts the model configuration information from the encrypted model configuration information using the cryptographic key 193 stored in the security storage 105. In step S113, the operation execution unit 121 acquires the model configuration information from the decryption processing unit 122 and sets the model configuration information to the target operation. In step S114, the operation execution unit 121 refers to the reference information in the learning model information 191 and notifies the decryption processing unit 122 of the reference destination for the encrypted parameter. The decryption processing unit 122 uses the storage management unit 102 to capture the encrypted parameter at the designated reference target. The storage management unit 102 reads the encrypted parameter from the data memory 104 into the storage area for the decryption processing unit 122 in the high-performance memory 103. Then, the decryption processing unit 122 decrypts the parameter from the encrypted parameter using the cryptographic key 193 stored in the security memory 105. In step S115, the operation execution unit 121 receives the parameter from the decryption processing unit 122 and sets the parameter in the target operation. In step S121, the operation execution unit 121 transfers the learning model information 191 to the forgery detection unit 123. The forgery detection unit 123 generates an authentication tag for the learning model information 191. The authentication tag is determined through a special calculation. The authentication tag is also referred to as a message authentication code. The generated authentication token is called the “Verification Authentication Token.” In step S122, the forgery detection unit 123 uses the memory management unit 102 to acquire the reference authentication tag 192. The memory management unit 102 reads the reference authentication tag 192 from the data memory 104 into a storage area for the forgery detection unit 123 in the high-performance memory 103. The reference authentication flag 192 is the original authentication flag of the learning model information 191, that is, the authentication flag of the learning model information 191 that has not been forged. In step S123, the forgery detection unit 123 checks the verification authentication flag against the reference authentication flag 192. Then, the forgery detection unit 123 determines whether the encrypted model information is forged information based on the result of the verification. If the verification authentication flag matches the reference authentication flag 192, the forgery detection unit 123 determines that the encrypted model information is not forged information. Then, it proceeds to step S131. If the verification authentication flag does not match the reference authentication flag 192, the forgery detection unit 123 determines that the encrypted model information is forged information. Then, it proceeds to step S141. In step S131, the forgery detection unit 123 notifies the output control unit 124 of a determination result indicating that the encrypted model information is not forged information. The output control unit 124 reports an execution command to the operation execution unit 121. The operation execution unit 121 uses the memory management unit 102 to acquire input data from the application 111. The memory management unit 102 reads the input data from a storage area for the application 111 in the high-performance memory 103 into the storage area for the operation execution unit 121 in the high-performance memory 103. In step S132, the operation execution unit 121 performs the target operation on the input data. In step S133, the operation execution unit 121 transfers an operation result to the output control unit 124. The operation result is an execution result of the target operation, that is, a result obtained by executing the target operation. The output control unit 124 uses the memory management unit 102 to forward the operation result to the application 111. The memory management unit 102 writes the operation result to the memory area for the application 111 in the high-performance memory 103. After step S133, processing continues with step S151. In step S141, the forgery detection unit 123 notifies the output control unit 124 of a determination result indicating that the encrypted model information is forged information. The output control unit 124 uses the memory management unit 102 to forward the forgery notification to the application 111. The memory management unit 102 writes the forgery notification to the memory area for the application 111 in the high-performance memory 103. After step S141, processing continues with step S151. In step S151, the output control unit 124 sends a completion response to the switching unit 131. The completion response is a response to the operation request. The switching unit 131 transmits the final response to the high-performance execution unit 110. The powerful execution unit 110 causes the application 111 to process the case in which the operating result was obtained or the case in which the forgery notification was received. *** Effect of Embodiment 1 *** During a machine learning operation in a secure execution environment, the information processing device 100 decrypts encrypted model configuration information and an encrypted parameter. The information processing device 100 also performs forgery detection. Depending on whether forgery is present, the information processing device 100 selects whether to execute the operation to output a result or to issue a forgery notification. As a result, both the confidentiality of the model information and the detection of forgery of the model information can be ensured in a secure execution environment. Embodiment 2 With regard to an embodiment in which the overhead of memory resources and computation time is reduced, the differences from Embodiment 1 will be described mainly with reference to Figs. 4 to 8. Configuration description A configuration of the information processing apparatus 100 will be described with reference to Fig. 4. The information processing device 100 also includes a memory reference unit 125. The memory reference unit 125 is implemented by software. The information processing program further causes a computer to act as a memory reference unit 125. The elements of the secure execution unit 120 are described below. The forgery detection unit 123 performs a calculation process to determine whether the encrypted model information is forged information in parallel with the target operation or simultaneously with the target operation. The forgery detection unit 123 performs the calculation process as described below. The target operation includes operations for operational functions whose execution sequence is predetermined. The encrypted model information includes an encrypted parameter for each of the operating functions. The decryption processing unit 122 decrypts a parameter of each of the operation functions from the encrypted parameter of each of the operation functions. The operation execution unit 121 calculates each of the operation functions according to the execution sequence using the parameters of each of the operation functions. The forgery detection unit 123 executes the calculation process using the encrypted parameter of each of the operation functions in parallel with the operation of each of the operation functions or simultaneously with the operation of each of the operation functions according to the execution order. Specifically, the counterfeit detection unit 123 performs the calculation process described below. The encrypted model information contains encrypted model configuration information. First, the forgery detection unit 123 generates an authentication tag of the encrypted model configuration information as a preliminary authentication tag. Next, the forgery detection unit 123 executes the calculation process according to the execution order using the encrypted parameters of each of the operation functions to update the preliminary authentication token. Subsequently, the forgery detection unit 123 generates a verification authentication mark using the updated preliminary authentication mark. Then, the forgery detection unit 123 checks the verification authentication flag with the reference authentication flag 192 to determine whether the encrypted model information is forged information. If it is determined that the encrypted model information is forged information, the output control unit 124 forwards a forgery notification to the application 111. *** Description of the business *** The information processing method is described with reference to Fig. 5 and Fig. 6. In step S201, the high-performance execution unit 110 transmits an operation request from the application 111 to the switching unit 131. Step S201 is the same as step S101 in Embodiment 1. In step S211, the operation execution unit 121 uses the memory management unit 102 to acquire the learning model information 191. Step S211 is the same as step S111 in Embodiment 1. In step S212, the operation execution unit 121 transfers the learning model information 191 to the storage reference unit 125. The storage reference unit 125 acquires encrypted model configuration information from the learning model information 191 and forwards the encrypted model configuration information to the decryption processing unit 122. The decryption processing unit 122 decrypts the model configuration information from the encrypted model configuration information using the cryptographic key 193 stored in the security memory 105. In step S213, the operation execution unit 121 acquires the model configuration information from the decryption processing unit 122 and sets the model configuration information to the target operation. Step S213 is the same as step S113 in Embodiment 1. In step S221, the memory reference unit 125 transfers the encrypted model configuration information to the forgery detection unit 123. The forgery detection unit 123 generates an authentication mark for the encrypted model configuration information. The generated authentication token is called the “preliminary authentication token.” In step S222, the operation execution unit 121 uses the memory management unit 102 to acquire input data from the application 111. The memory management unit 102 reads the input data from the storage area for the application 111 in the high-performance memory 103 to the storage area for the operation execution unit 121 in the high-performance memory 103. The target operation includes operations for operational functions whose execution sequence is fixed. Steps S231 to S234 are executed for each of the operating functions according to the execution order of the operating functions. That is, steps S231 to S234 are repeated the number of times equal to the number of operating functions. The operational function to be processed is called the “target function”. In step S231, the storage reference unit 125 obtains the encrypted parameter of the objective function from the learning model information 191 and passes the encrypted parameter of the objective function to the decryption processing unit 122. The decryption processing unit 122 decrypts a parameter from the encrypted parameter of the objective function using the cryptographic key 193 stored in the security memory 105. In step S232, the operation execution unit 121 receives the parameter from the decryption processing unit 122 and sets the parameter in the target function. In step S233, the memory reference unit 125 passes the encrypted parameter of the target function to the forgery detection unit 123. The forgery detection unit 123 performs the calculation process using the encrypted parameter of the objective function to update the preliminary authentication token. In step S234, the operation execution unit 121 calculates the objective function. For example, if the objective function is the first operation function, the operation execution unit 121 executes the objective function on the input data. If the objective function is the second or later operation function, the operation execution unit 121 executes the objective function with the operation result of the previous objective function. In step S235, the operation execution unit 121 determines whether the operations of all operation functions are completed. If the operations of all operation functions are not completed, the process proceeds to step S231. When the operations of all operation functions are completed, the process proceeds to step S241. In step S241, the forgery detection unit 123 generates a verification authentication flag using the preliminary authentication flag. In step S242, the memory reference unit 125 uses the memory management unit 102 to acquire the reference authentication tag 192. The memory management unit 102 reads the reference authentication tag 192 from the memory 104 into the memory area of the memory reference unit 125 in the high-performance memory 103. The storage reference unit 125 forwards the reference authentication flag 192 to the forgery detection unit 123. The forgery detection unit 123 acquires the reference authentication tag 192 from the storage reference unit 125. In step S243, the forgery detection unit 123 checks the verification authentication flag with the reference authentication flag 192. Then, the forgery detection unit 123 determines whether the encrypted model information is forged information based on the result of the verification. If the verification authentication flag matches the reference authentication flag 192, the forgery detection unit 123 determines that the encrypted model information is not forged information. Then, it proceeds to step S251. If the verification authentication flag does not match the reference authentication flag 192, the forgery detection unit 123 determines that the encrypted model information is forged information. Then, it proceeds to step S261. In step S251, the operation execution unit 121 transmits an operation result to the output control unit 124. Step S251 is similar to step S133 in Embodiment 1. However, the execution result of the last operation function is forwarded to the output control unit 124. In step S261, the output control unit 124 uses the memory management unit 102 to forward a forgery notification to the application 111. Step S261 is the same as step S141 in Embodiment 1. In step S271, the output control unit 124 sends a completion response to the switching unit 131. Step S271 is the same as step S151 in Embodiment 1. *** Addition to embodiment 2 *** Authenticated Galois / Counter Mode (GCM) cryptography can be used as an algorithm for encrypting model information and detecting forgeries of the model information. An example of applying an authenticated cryptographic process using GCM to Embodiment 2 is described with reference to Fig. 7. A machine learning algorithm consists of machine-learned operational functions (MLs) and produces an operational result (output) for input data (input data). A parameter (plaintext) used in a machine learning process is encrypted. When an operational function is executed, an encrypted parameter (ciphertext) is decrypted and used in the operational function. In addition, a preliminary authentication identifier (authentication data) is continuously updated. The sequentially inserted parameters and the intermediate result obtained by each operating function are deleted or overwritten each time an operating function is executed. This reduces the amount of data stored in the high-performance memory 103. When all operational functions have been performed, a verification authentication tag (Tag) is generated, and the reference authentication tag 192 (Auth Tag) stored in the data store 104 and the verification tag are compared to check whether or not there is a counterfeit. If there is no forgery, an operating result (output data) is output. In case of forgery, a forgery notification (output data) is issued instead of the operating result. The authenticated cryptographic process and the machine learning process can be executed in parallel or simultaneously. Referring to Fig. 8, an example of applying the authenticated cryptographic method using GCM to Embodiment 2 is described, where the learning model is a three-layer neural network. The high-performance execution unit 110 manages the input data, the learning model information 191 and the reference authentication tag 192. The learning model information 191 includes encrypted model configuration information. The model configuration information is decrypted from the encrypted model configuration information by the secure execution unit 120. The model configuration information specifies the operating functions of the three-layer neural network. The reference authentication identifier 192 is created in advance. First, the input data is forwarded from the high-performance execution unit 110 to the secure execution unit 120. Next, the first-layer operation function (convolution operation) is executed. At this time, the first-layer parameters are decrypted and provided to a storage area for the secure execution unit 120. In addition, a preliminary authentication token is updated. After the first-layer operation function is completed, the data (parameters, etc.) used in the operation are deleted from the storage area. Next, the second-layer operation function (convolution operation) is executed. At this time, the second-layer parameters are decrypted and provided to the secure execution unit 120 in the memory area. Furthermore, the preliminary authentication flag is updated. After the second-layer operation function is completed, the data (parameters, etc.) used in the operation are deleted from the memory area. Next, the first operation function of the third layer (full connection multiplication) is executed. At this time, a three-layer parameter (weight) is decrypted and provided in the memory area for the secure execution unit 120. In addition, the preliminary authentication token is updated. After the first operation function of the third layer is completed, the data (parameters, etc.) used in this operation are deleted from the memory area. Next, the second third-layer operation (full connection addition) is executed. At this time, a third-layer parameter (bias) is decrypted and provided to the secure execution unit 120 in the memory area. Furthermore, the preliminary authentication flag is updated. After the second third-layer operation is completed, the data (parameters, etc.) used in the operation are deleted from the memory area. Then, a verification authentication mark is generated using the preliminary authentication mark, and the verification mark is compared with the reference authentication mark 192 to determine whether or not it is a forgery. If there is no forgery, an operating result (output data) is forwarded from the secure execution unit 120 to the high-performance execution unit 110. If a forgery is present, a forgery notification (output data) is forwarded from the secure execution unit 120 to the high-performance execution unit 110. If a shift has multiple operations, the multiple operations can be performed separately, as in the third shift. Alternatively, the majority of operations can be performed jointly rather than individually. Two or more layers can be combined. This means that two or more operations at different levels can be executed together. Furthermore, the input data for executing each operation can be divided into portions of a specific size. *** Effect of embodiment 2 *** The information processing device 100 processes machine learning operations in units of operational functions in parallel or simultaneously. As a result, both the confidentiality of the model information and the detection of forgery of the model information can be ensured in a secure execution environment, while simultaneously reducing the overhead of memory resources and computing time. In steps S231 to S234, not all parameters are decoded and inserted; instead, the parameters are decoded and inserted for each operating function. This allows the memory space used for the operations to be reduced. *** Supplement to embodiments *** A hardware configuration of the information processing device 100 is described with reference to Fig. 9. A storage device represents the high-performance memory 103, the data memory 104, and the security memory 105. The information processing device 100 includes a processing circuit 109. The processing circuit 109 is hardware that implements the high-performance execution unit 110, the secure execution unit 120, and the monitoring unit 130. The processing circuit 109 may be dedicated hardware or the processor 101 that executes the programs stored in the memory device. When the processing circuit 109 is dedicated hardware, the processing circuit 109 is, for example, a single circuit, a composite circuit, a programmed processor, a parallel programmed processor, an ASIC, an FPGA, or a combination of these. ASIC is the abbreviation for Application-specific integrated circuit. FPGA is an abbreviation for Field Programmable Gate Array. The information processing device 100 may include a plurality of processing circuits as an alternative to the processing circuits 109. In the processing circuit 109, some functions can be implemented by special hardware and the remaining functions by software or firmware. As described above, the functions of the information processing device 100 can be realized by hardware, software, firmware, or a combination of these. Each of the embodiments is an example of a preferred embodiment and is not intended to limit the technical scope of the present disclosure. Each of the embodiments may also be implemented only partially or may be implemented in combination with another embodiment. The methods described in the flowcharts or the like may be modified as appropriate. Each “unit” that is an element of the information processing device 100 may be interpreted as a “process,” “step,” “circuit,” or “circuitry.” List of reference symbols 100: Information processing device, 101: Processor, 102: Memory management unit, 103: High-performance memory, 104: Data storage, 105: High-performance storage, 109: Processing circuit, 110: High-performance execution unit, 111: Application, 120: Secure execution unit, 121: Operation execution unit, 122: Decryption processing unit, 123: Forgery detection unit, 124: Output control unit, 125: Memory reference unit, 130: Monitoring unit, 131: Switching unit, 191: Learning model information, 192: Reference authentication token, 193: Cryptographic key.

Claims

An information processing device (100), comprising: a high-performance execution unit (110) for executing an application while simultaneously executing a high-performance operating system; and a secure execution unit (120) for executing a target operation while executing a secure operating system, wherein the target operation is an operation based on a learning model; the secure execution unit (120) comprising a decryption processing unit (122) for decrypting model information from encrypted model information of the learning model when execution of the target operation is requested by the application; an operation execution unit (121) for executing the target operation using the model information; a forgery detection unit (123) for determining whether the encrypted model information is forged information; and an output control unit (124),to forward an execution result of the target operation to the application if it is determined that the encrypted model information is not the forged information, wherein the target operation comprises operations for operation functions whose execution order is predetermined, wherein the encrypted model information comprises encrypted parameters each corresponding to the operation functions and encrypted model configuration information, wherein the decryption processing unit (122) decrypts a parameter of each of the operation functions from an encrypted parameter of each of the operation functions, wherein the operation execution unit (121) calculates each of the operation functions according to the execution order using the parameter of each of the operation functions,wherein the forgery detection unit (123) executes a calculation process using the encrypted parameter of each of the operation functions in parallel with an operation of each of the operation functions or simultaneously with the operation of each of the operation functions according to the execution order to determine whether the encrypted model configuration information is the forged information, and wherein the calculation process is a process that generates an authentication flag of the encrypted model configuration information as a preliminary authentication flag, updates the generated preliminary authentication flag according to the execution order using the encrypted parameter of each of the operation functions,generates a verification authentication token using the updated preliminary authentication token and compares the verification authentication token with a reference authentication token to determine whether the encrypted model information is the forged information. The information processing apparatus (100) according to claim 1, wherein the output control unit (124) forwards a forgery notification to the application when it is determined that the encrypted model information is the forged information. An information processing method comprising: executing an application while executing a high-performance operating system by a high-performance execution unit (110); and executing a target operation while executing a secure operating system, the target operation being an operation based on a learning model, by a secure execution unit (120). The secure execution unit (120) decrypts model information from encrypted model information of the learning model by a decryption processing unit (122) when execution of the target operation is requested by the application. An operation execution unit (121) executes the target operation using the model information. A forgery detection unit (123) determines whether the encrypted model information is forged information.and an output control unit (124) forwards an execution result of the target operation to the application if it is determined that the encrypted model information is not the forged information, wherein the target operation comprises operations for operation functions whose execution order is predetermined, wherein the encrypted model information comprises encrypted parameters each corresponding to the operation functions and encrypted model configuration information, wherein the decryption processing unit (122) decrypts a parameter of each of the operation functions from an encrypted parameter of each of the operation functions, wherein the operation execution unit (121) calculates each of the operation functions according to the execution order using the parameter of each of the operation functions,wherein the forgery detection unit (123) executes a calculation process using the encrypted parameter of each of the operation functions in parallel with an operation of each of the operation functions or simultaneously with the operation of each of the operation functions according to the execution order to determine whether the encrypted model configuration information is the forged information, and wherein the calculation process is a process that generates an authentication flag of the encrypted model configuration information as a preliminary authentication flag, updates the generated preliminary authentication flag according to the execution order using the encrypted parameter of each of the operation functions,generates a verification authentication token using the updated preliminary authentication token and compares the verification authentication token with a reference authentication token to determine whether the encrypted model information is the forged information. The information processing method (100) according to claim 3, wherein the output control unit (124) forwards a forgery notification to the application when it is determined that the encrypted model information is the forged information. An information processing program that causes a computer to: execute a high-performance execution process of an application while simultaneously executing a high-performance operating system; and execute a secure execution process in which a target operation is executed while executing a secure operating system, wherein the target operation is an operation based on a learning model, the secure execution process comprising a decryption process for decrypting model information from encrypted model information of the learning model when execution of the target operation is requested by the application; a process for executing the operation in which the target operation is executed using the model information; a forgery detection process for determiningwhether the encrypted model information is forged information; and an output control process for passing an execution result of the target operation to the application when it is determined that the encrypted model information is not the forged information. The target operation includes operations for operation functions whose execution order is predetermined. The encrypted model information includes encrypted parameters corresponding to the operation functions and encrypted model configuration information. The decryption process decrypts a parameter of each of the operation functions from an encrypted parameter of each of the operation functions. The operation execution unit calculates each of the operation functions according to the execution order using the parameter of each of the operation functions.wherein the forgery detection unit (123) executes a calculation process using the encrypted parameter of each of the operation functions in parallel with an operation of each of the operation functions or simultaneously with the operation of each of the operation functions according to the execution order to determine whether the encrypted model configuration information is the forged information, and wherein the calculation process is a process that generates an authentication flag of the encrypted model configuration information as a preliminary authentication flag, updates the generated preliminary authentication flag according to the execution order using the encrypted parameter of each of the operation functions,generates a verification authentication token using the updated preliminary authentication token and compares the verification authentication token with a reference authentication token to determine whether the encrypted model information is the forged information. The information processing program (100) according to claim 5, wherein the output control unit forwards a forgery notification to the application when it is determined that the encrypted model information is the forged information.

Citation Information

Patent Citations

  • Device, secure element, program, information processing method and information processing system

    JP2019109680A

  • Machine learning model validation and authentication

    US20200233979A1

  • JP002019109680A