Information processing method and information processing system

By training the discriminant model through machine learning and recursive training, the inconsistency of inference model results before and after lightweighting was solved, achieving consistency of inference results and maintenance of performance on computing-restricted devices.

CN114902244BActive Publication Date: 2026-11-27PANASONIC INTELLECTUAL PROPERTY CORP OF AMERICA
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202080090589.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2020-07-29
Filing Date
2020-12-17
Publication Date
2026-11-27
Estimated Expiration
2040-12-17

AI Technical Summary

Technical Problem

On devices with limited computing resources, there are differences in inference results between the inference model before and after lightweighting, leading to inconsistent inference results.

Method used

By training a discriminative model through machine learning, the error difference between inference models is reduced. The trained discriminative model is then used to train a second inference model, so that it outputs the same result as the first inference model. The difference is further reduced through recursive training.

Benefits of technology

In environments with limited computing resources, while maintaining inference performance, the difference in inference results before and after lightweighting is reduced, ensuring the consistency of the inference model.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114902244B_ABST
    Figure CN114902244B_ABST
Patent Text Reader

Abstract

The first model is input with the first data to obtain a first result (S101), the second model is input with the first data to obtain a second result (S102), an error between discrimination information about the first result input to the discrimination model and correct answer information indicating an output of the first model is obtained (S103), an error between discrimination information about the second result input to the discrimination model and correct answer information indicating an output of the second model is obtained (S104), the discrimination model is trained by machine learning in a manner to reduce the error (S105), the second model is input with second data to obtain a third result (S106), an error between discrimination information about the third result input to the discrimination model and correct answer information indicating an output of the first model is obtained (S107), and the second model is trained by machine learning in a manner to reduce the error (S108).
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to information processing methods and information processing systems. Background Technology

[0002] There is a technique for modifying settings used for machine learning processing based on the system's computing resources and performance specifications (see Patent Document 1). Thus, even when computing resources and performance specifications are constrained, inference performance is maintained at a certain level.

[0003] Existing technical documents

[0004] Patent documents

[0005] Patent Document 1: U.S. Patent Application Publication No. 2016 / 0328644 Summary of the Invention

[0006] The problem that the invention aims to solve

[0007] However, the technology disclosed in the above-mentioned documents has the following problem: even if the inference performance is maintained, there are cases where the inference results based on the inference model obtained by machine learning processing before the setting change are different from the inference results based on the inference model obtained by machine learning processing after the setting change.

[0008] Therefore, the present invention provides an information processing method, etc., to reduce the difference in reasoning results generated between two reasoning models.

[0009] Methods for solving problems

[0010] One aspect of the information processing method of the present invention is an information processing method executed by a processor using memory. In this information processing method, first data is input into a first inference model to obtain a first inference result; the first data is input into a second inference model to obtain a second inference result; the first inference result is input into a discrimination model that outputs discrimination information that distinguishes whether the input information is the output of the first inference model or the output of the second inference model, and the discrimination information about the input first inference result, i.e., first discrimination information, is obtained; a first error is obtained, the first error representing the difference between the first discrimination information and the correct answer information representing the output of the first inference model; the second inference result is input into the discrimination model to obtain the first inference result about the input first inference result. The discriminant information of the second reasoning result, i.e., the second discriminant information, is used to obtain a second error. The second error represents the difference between the second discriminant information and the correct answer information representing the output of the second reasoning model. To reduce the first error and the second error, the discriminant model is trained through machine learning. Second data is input into the second reasoning model to obtain a third reasoning result. The third reasoning result is then input into the trained discriminant model to obtain the discriminant information about the input third reasoning result, i.e., the third discriminant information. A third error is obtained, whereby the third error represents the difference between the third discriminant information and the correct answer information representing the output of the first reasoning model. To reduce the third error, the second reasoning model is trained through machine learning.

[0011] Furthermore, these general or specific forms can also be realized by systems, devices, integrated circuits, computer programs, or computer-readable CD-ROMs, or by any combination of systems, devices, integrated circuits, computer programs, and recording media.

[0012] Invention Effects

[0013] The information processing method of the present invention can reduce the difference in inference results generated between two inference models. Attached Figure Description

[0014] Figure 1 This is a block diagram illustrating the functional structure of the processing system according to Embodiment 1.

[0015] Figure 2 This is an explanatory diagram showing the training of the discrimination model of the processing system of Implementation 1.

[0016] Figure 3 This is an explanatory diagram showing the correct answer information used in training the discrimination model of the processing system of Implementation 1.

[0017] Figure 4This is an explanatory diagram showing the training of the recognition model of the processing system of Implementation 1.

[0018] Figure 5 This is an explanatory diagram showing the correct answer information used in training the recognition model of the processing system of Implementation 1.

[0019] Figure 6 This is a flowchart illustrating the processing performed by the processing system of Embodiment 1.

[0020] Figure 7 This is a block diagram illustrating the functional structure of the inference system of Implementation 1.

[0021] Figure 8 This is a flowchart illustrating the processes performed by the inference system of Implementation 1.

[0022] Figure 9 This is a block diagram illustrating the functional structure of the processing system in Embodiment 2.

[0023] Figure 10 This is an explanatory diagram showing the training of the recognition model of the processing system in Implementation 2.

[0024] Figure 11 This is a flowchart illustrating the processing performed by the processing system of Embodiment 2.

[0025] Figure 12 This is a block diagram illustrating the functional structure of the processing system in Embodiment 3.

[0026] Figure 13 This is an explanatory diagram showing the training of the discrimination model of the processing system in Implementation 3.

[0027] Figure 14 This is an explanatory diagram showing the correct answer information used in training the discrimination model of the processing system of Implementation 3.

[0028] Figure 15 This is an explanatory diagram showing the training of the recognition model of the processing system in Embodiment 3.

[0029] Figure 16 This is an explanatory diagram showing the correct answer information used in training the recognition model of the processing system of Embodiment 3.

[0030] Figure 17 This is a flowchart illustrating the processing performed by the processing system of Embodiment 3.

[0031] Figure 18 This is a block diagram illustrating the functional structure of the processing system in Embodiment 4.

[0032] Figure 19This is a block diagram illustrating another example of the functional structure of the processing system in Embodiment 4.

[0033] Figure 20 This is a schematic diagram illustrating the noise imparting method imparted by the noise imparting unit in Embodiment 4.

[0034] Figure 21 This is a flowchart illustrating the processing performed by the processing system of Embodiment 4.

[0035] Figure 22 This is a flowchart illustrating another example of the processing performed by the processing system of Embodiment 4.

[0036] Figure 23 This is a block diagram illustrating the functional structure of the processing system in Embodiment 5.

[0037] Figure 24 This is a schematic diagram illustrating the noise imparted by the noise imparting unit in Embodiment 5.

[0038] Figure 25 This is a schematic diagram illustrating the method of applying noise by the noise-applying unit in Embodiment 5.

[0039] Figure 26 This is a flowchart illustrating the processing performed by the processing system of Embodiment 5. Detailed Implementation

[0040] In recent years, research has focused on installing inference models trained using machine learning methods such as Deep Learning in IoT (Internet of Things) devices. However, due to cost and privacy concerns, these inference models do not operate in cloud computing environments or environments using GPUs (Graphical Processing Units). Instead, they require processors on devices with limited computing resources, such as processing power and memory capacity, to perform their functions. To enable inference on such resource-constrained processors, methods such as quantization have been considered to lightweight the inference models.

[0041] For example, the technology disclosed in Patent Document 1 modifies the settings used for machine learning processing based on the system's computing resources and performance specifications. Thus, even if computing resources and performance specifications are constrained, inference performance is maintained to a certain extent.

[0042] However, even if inference performance is maintained, there are still cases where the actions of the inference model before and after weight reduction differ. In other words, there are cases where the inference results of the inference model before and after weight reduction differ.

[0043] Therefore, one aspect of the information processing method of the present invention is an information processing method executed by a processor using a memory. In this information processing method, first data is input into a first inference model to obtain a first inference result; the first data is input into a second inference model to obtain a second inference result; the first inference result is input into a discrimination model that outputs discrimination information that distinguishes whether the input information is the output of the first inference model or the output of the second inference model, and the discrimination information about the input first inference result, i.e., first discrimination information, is obtained; a first error is obtained, the first error representing the difference between the first discrimination information and the correct answer information representing the output of the first inference model; the second inference result is input into the discrimination model to obtain the discrimination information about the input first inference result. The discriminant information of the second inference result is used to obtain a second error, which represents the difference between the second discriminant information and the correct answer information representing the output of the second inference model. To reduce the first error and the second error, the discriminant model is trained using machine learning. Second data is input into the second inference model to obtain a third inference result. The third inference result is then input into the trained discriminant model to obtain the discriminant information about the input third inference result, i.e., the third discriminant information. A third error is obtained, which represents the difference between the third discriminant information and the correct answer information representing the output of the first inference model. To reduce the third error, the second inference model is trained using machine learning.

[0044] Based on the above-described form, the information processing method, after training a discriminative model capable of appropriately distinguishing between the first and second inference results, uses this trained discriminative model to train a second inference model in such a way that the second inference result is judged as the first inference result. As a result, the second inference model is trained to output the same inference result as the first inference model. That is, the information processing method can reduce the difference in inference results between the first and second inference models. Therefore, it can reduce the difference in inference results between the two inference models. Specifically, it can reduce the difference in inference results that arise when a new second inference model is obtained based on the first inference model. Thus, the information processing method can reduce the difference in inference results that arise when a new inference model is obtained based on an existing inference model.

[0045] For example, other second data can be input into the trained second inference model to obtain other third inference results, and the second inference model can be further trained based on the obtained other third inference results.

[0046] Based on the above structure, the second inference model is further trained using the new first data (in other words, the training is recursively repeated), thus further reducing the difference in inference results that arise when a new second inference model is obtained based on the first inference model. Therefore, the above information processing method can further reduce the difference in inference results between the two inference models.

[0047] Furthermore, one aspect of the information processing method of the present invention is an information processing method executed by a processor using a memory. In this information processing method, first data is input into a first inference model to obtain a first inference result; the first data is input into a second inference model to obtain a second inference result; the first inference result is input into a discrimination model that outputs discrimination information that distinguishes whether the input information is the output of the first inference model or the output of the second inference model, and the discrimination information about the input first inference result, i.e., first discrimination information, is obtained; a first error is obtained, the first error representing the difference between the first discrimination information and the correct answer information representing the output of the first inference model; the second inference result is input into the discrimination model, and the discrimination information about the input second inference result, i.e., second error, is obtained. The discriminant information is used to obtain a second error, which represents the difference between the second discriminant information and the correct answer information representing the output of the second inference model. To reduce the first error and the second error, the discriminant model is trained using machine learning. Second data is input into the second inference model to obtain a third inference result. The third inference result is then input into the trained discriminant model to obtain the discriminant information (i.e., the third discriminant information) about the input third inference result. A third error is obtained, which represents the difference between the third discriminant information and the correct answer information representing the output of the first inference model. To reduce the third error, a third inference model is trained using machine learning. The trained third inference model is then transformed to update the second inference model.

[0048] According to the above-described form, the information processing method, after training a discriminative model capable of appropriately distinguishing between the first and second inference results, trains a third inference model using this trained discriminative model, classifying the second inference result as the first inference result. Furthermore, a second inference model is obtained from the trained third inference model through a transformation process, thereby updating the second inference model. As a result, the second inference model is trained to output the same inference result as the first inference model. That is, the information processing method can reduce the difference in inference results between the first and second inference models. Therefore, it can reduce the difference in inference results between the two inference models. Specifically, it can reduce the difference in inference results that arise when a new second inference model is obtained based on the first inference model. Thus, the information processing method can reduce the difference in inference results that arise when a new inference model is obtained based on an existing inference model.

[0049] For example, other second data can be input into the updated second inference model to obtain other third inference results. Based on the obtained other third inference results, the third inference model can be further trained through machine learning. The second inference model can be further updated through the transformation process of the further trained third inference model.

[0050] Based on the above structure, the second inference model is obtained by further training the trained third inference model using the new first data (in other words, recursively repeating the training). Therefore, the difference in inference results that arises when the new second inference model is obtained based on the first inference model can be further reduced. Thus, the above information processing method can further reduce the difference in inference results between the two inference models.

[0051] For example, the first inference model, the second inference model, and the third inference model may be neural network models, and the conversion process may include a process to make the neural network models lightweight.

[0052] Based on the above structure, a second inference model is obtained by lightweighting the neural network model, which serves as the third inference model. This reduces the discrepancies in inference results that arise when a lightweight second inference model is derived from the first inference model. Consequently, the information processing method described above can reduce the differences between the two inference models when a lightweight second inference model is derived from the first inference model. Therefore, even in environments with limited computing resources, such as IoT devices, a second inference model that operates similarly to the first inference model can be applied while maintaining inference performance.

[0053] For example, the lightweight processing may include a process of quantizing the neural network model.

[0054] Based on the above structure, a second inference model is obtained by quantizing the neural network model, which serves as the third inference model. Therefore, the neural network model can be lightweighted without changing its structure, and changes in inference performance and inference results (actions) before and after lightweighting can be suppressed.

[0055] For example, the quantization process may include converting the coefficients of the neural network model from floating decimal form to fixed decimal form.

[0056] Based on the above structure, a second inference model is obtained by converting the coefficients (weights) of the neural network model, which serves as the third inference model, from floating decimal point form to fixed decimal point form. Therefore, it is possible to adapt to general installation environments while suppressing variations in inference performance and inference results (actions).

[0057] For example, the lightweight processing may include reducing the number of nodes in the neural network model or reducing the number of connections between nodes in the neural network model.

[0058] Based on the above structure, a second inference model is obtained by reducing the number of nodes or the connections between nodes in the neural network model that serves as the third inference model. Therefore, since reducing the number of nodes and the connections between nodes is directly related to reducing the computational load, the second inference model can be adapted to environments with strict constraints on computational resources.

[0059] For example, the information processing method may further input the feature quantity obtained by inputting the first data into the discriminative model and obtain a fourth inference result. In the training of the discriminative model, the discriminative model may be further trained by machine learning using a fourth error representing the difference between the first inference result and the fourth inference result.

[0060] Based on the above structure, the discriminant model is further trained using the difference between the inference result (fourth inference result) of the feature quantity obtained from the first inference model and the first inference result, based on the discriminant model. This reduces the difference between the inference result of the discriminant model and the inference result of the first inference model, thereby further reducing the difference in inference results that would arise when a new second inference model is obtained based on the first inference model. Therefore, the above information processing method can further reduce the difference in inference results between the two inference models.

[0061] For example, the information processing method may further include adding noise to the second inference result, and in obtaining the second discrimination information, inputting the second inference result with the added noise into the discrimination model and obtaining the second discrimination information.

[0062] Based on the above structure, it is possible to suppress situations where the discriminative model can easily distinguish between the first and second inference results. As the discriminative model's training progresses, there is a possibility that distinguishing between the first and second inference results becomes easy, causing the training of the second inference model, which uses discriminative information, to stagnate. However, according to the above structure, at least the second inference result is subject to noise, thus making discrimination based on the discriminative model difficult. Therefore, it is possible to suppress the training stagnation of the second inference model.

[0063] For example, the noise could be determined based on the discrete magnitude of the second inference result.

[0064] Based on the above morphology, it is possible to suppress the discriminative model from using the discrete magnitude of the inference result as a feature to discriminate the inference result while retaining the features of the inference result.

[0065] For example, the noise may include Gaussian noise, the amplitude of which is determined based on the standard deviation of the Gaussian noise and the discrete amplitude of the second inference result.

[0066] Based on the above structure, the range of discrete amplitudes covered by Gaussian noise can be controlled. Therefore, Gaussian noise can be determined within the range that the discrimination model cannot determine, and excessive or insufficient noise can be suppressed.

[0067] For example, the amplitude of the Gaussian noise distribution may be determined according to each specified range of the unit components of the second inference result.

[0068] For example, the amplitude of the Gaussian noise distribution may be determined according to each specified range of the channel components of the second inference result.

[0069] Based on the above configuration, the amplitude is determined according to each specified range of each component, and therefore the noise can be determined according to each specified range of each component. Consequently, noise that makes the discrimination model difficult to discriminate can be assigned according to each specified range of each component.

[0070] For example, the noise could be assigned to a portion of the second reasoning result having specified unit components.

[0071] For example, the noise could be assigned to a portion of the second inference result having a specified channel component.

[0072] Based on the above morphology, noise that makes the discrimination model difficult to discriminate can be assigned to each component within each specified range.

[0073] For example, the information processing method may further include assigning noise to the second inference result, and in obtaining the second discrimination information, inputting the second inference result with the noise to the discrimination model and obtaining the second discrimination information, wherein the noise includes Gaussian noise, the Gaussian noise is determined based on the discrete amplitude of the second inference result, and the discrete amplitude is determined based on the transformation setting in the transformation process.

[0074] Based on the above structure, the discrete amplitude is determined by considering the content of the transformation, and the noise is determined based on this discrete amplitude. Therefore, it is possible to impart noise suitable for the inference result output by the transformed inference model. Consequently, it is possible to suppress the effect on the discriminative processing of the discriminative model caused by the discriminative result discrimination resulting from the transformation of the inference model.

[0075] For example, the first data and the second data could be image data.

[0076] Based on the above structure, when a new inference model is obtained based on the inference model used for inference of image data, the difference between the inference results generated by the two inference models can be reduced.

[0077] Furthermore, one aspect of the information processing system of the present invention includes: an acquisition unit that acquires third data; and a reasoning unit that inputs the third data acquired by the acquisition unit into a second reasoning model, acquires and outputs a second reasoning result, wherein the second reasoning model is obtained by: inputting first data into a first reasoning model and acquiring a first reasoning result; inputting the first data into a second reasoning model and acquiring a second reasoning result; inputting the first reasoning result into a discrimination model that outputs discrimination information that distinguishes whether the input information is the output of the first reasoning model or the output of the second reasoning model, acquiring the discrimination information, i.e., first discrimination information, regarding the input first reasoning result; acquiring a first error, the first error representing the difference between the first discrimination information and information representing a correct answer that is the output of the first reasoning model; and outputting a second reasoning result to the second reasoning model. The discriminative model is input with the second inference result to obtain discriminative information about the input second inference result, i.e., the second discriminative information, and obtains a second error, which represents the difference between the second discriminative information and the information representing the correct answer output by the second inference model. The discriminative model is trained through machine learning in a way that reduces the first error and the second error. Second data is input into the second inference model to obtain a third inference result. The third inference result is input into the trained discriminative model to obtain discriminative information about the input third inference result, i.e., the third discriminative information, and obtains a third error, which represents the difference between the second discriminative information and the information representing the correct answer output by the first inference model. The second inference model is trained through machine learning in a way that reduces the third error.

[0078] Based on the above structure, the information processing system can perform reasoning processing and output reasoning results by using a new reasoning model generated in a way that reduces the differences in reasoning results, based on the existing reasoning model.

[0079] Furthermore, one aspect of the information processing system of the present invention includes: an acquisition unit that acquires third data; and a reasoning unit that inputs the third data acquired by the acquisition unit into a second reasoning model, acquires and outputs a second reasoning result, wherein the second reasoning model is obtained by: inputting first data into a first reasoning model and acquiring a first reasoning result; inputting the first data into a second reasoning model and acquiring a second reasoning result; inputting the first reasoning result into a discrimination model that outputs discrimination information that distinguishes whether the input information is the output of the first reasoning model or the output of the second reasoning model; acquiring the discrimination information, i.e., first discrimination information, regarding the input first reasoning result; acquiring a first error, the first error representing the difference between the first discrimination information and information indicating that it is the correct answer output of the first reasoning model; and inputting the second reasoning result into the discrimination model. The discriminant information, i.e., the second discriminant information, is obtained regarding the input second inference result. A second error is obtained, where the second error represents the difference between the second discriminant information and the correct answer information representing the output of the second inference model. To reduce the first error and the second error, the discriminant model is trained through machine learning. Second data is input into the second inference model to obtain a third inference result. The third inference result is input into the trained discriminant model to obtain the discriminant information, i.e., the third discriminant information, regarding the input third inference result. A third error is obtained, where the third error represents the difference between the third discriminant information and the correct answer information representing the output of the first inference model. To reduce the third error, the third inference model is trained through machine learning. The second inference model is updated by performing a transformation process on the trained third inference model.

[0080] Based on the above structure, the information processing system can perform reasoning processing and output reasoning results by using a new reasoning model generated in a way that reduces the differences in reasoning results, based on the existing reasoning model.

[0081] Furthermore, these general or specific forms can also be realized by systems, devices, integrated circuits, computer programs, or computer-readable CD-ROMs, or by any combination of systems, devices, integrated circuits, computer programs, and recording media.

[0082] The following description of the implementation method is based on the accompanying drawings.

[0083] Furthermore, the embodiments described below are all general or specific examples. The numerical values, shapes, materials, constituent elements, arrangement positions of constituent elements, connection methods, steps, and order of steps shown in the following embodiments are examples and are not intended to limit the present invention. Moreover, constituent elements not described in the embodiments showing the highest-level concept in the following embodiments are described as arbitrary constituent elements.

[0084] (Implementation Method 1)

[0085] In this embodiment, an information processing method and an information processing system for reducing the differences in reasoning results that arise when obtaining a new reasoning model based on a previous reasoning model will be described. Hereinafter, the information processing method will be referred to simply as the processing method, and the information processing system will be referred to simply as the processing system.

[0086] Figure 1 This is a block diagram illustrating the functional structure of the processing system 10 of this embodiment. The processing system 10 is a system for obtaining a new inference model, which is configured to output the same inference result as the existing inference model.

[0087] like Figure 1 As shown, the processing system 10 includes an identification unit 11, a discrimination unit 12, a calculation unit 13, a discrimination training unit 14, and an identification training unit 15. Each functional unit of the processing system 10 can be implemented by a processor (e.g., a CPU (Central Processing Unit)) (not shown) using memory to execute a predetermined program. Alternatively, the processing system 10 can be implemented as a single device, consisting of multiple devices capable of communicating with each other.

[0088] The recognition unit 11 is a functional unit that uses a recognition model as a reasoning model to recognize the input data (also called input data). The recognition model is, for example, a neural network model. Input data is, for example, image data, but input data can also be sensor data that yields the correct answer, such as voice data output from a microphone, point cluster data output from a LiDAR (Light Detection and Ranging) radar, pressure data output from a pressure sensor, temperature or humidity data output from a temperature or humidity sensor, or odor data output from an odor sensor. The input data is equivalent to the first data and the second data.

[0089] The recognition unit 11 acquires networks A and B as neural networks used in the recognition model to recognize input data. More specifically, the recognition unit 11 acquires the coefficients contained in networks A and B respectively. The recognition model using network A is equivalent to an "existing inference model," also called a first inference model. The recognition model using network B is equivalent to a new inference model constructed in a manner that outputs the same inference result as the existing inference model, also called a second inference model. The recognition model using network B is trained by the recognition training unit 15 in a manner that outputs the same recognition result as the recognition model using network A (described later).

[0090] The recognition unit 11 outputs a recognition result (also called a first inference result) obtained by recognizing the input data using the recognition model of network A. Furthermore, the recognition unit 11 outputs a recognition result (also called a second inference result) obtained by recognizing the input data using network B. Additionally, the recognition unit 11 outputs a recognition result (also called a third inference result) obtained by recognizing the input data using the recognition model of network B after training by the recognition training unit 15.

[0091] The recognition result described above refers to information obtained by recognizing image data as input data. For example, it may include information about objects or conditions mapped into the image data, or information representing their attributes. Furthermore, the recognition result may also include information representing the features of the input data, i.e., feature quantities. Additionally, the recognition result may be intermediate data processed by the recognition model, or the aforementioned feature quantities may serve as intermediate data.

[0092] The discrimination unit 12 is a functional unit that acquires the recognition result of the recognition unit 11 and determines whether the acquired recognition information is the result of recognition using the recognition model of network A or the result of recognition using the recognition model of network B. The discrimination unit 12 uses an inference model (also called a discrimination model) to perform the above discrimination. The discrimination model is, for example, a neural network model.

[0093] The discrimination unit 12 obtains from the recognition unit 11 the results identified by the recognition model using network A (also referred to as the recognition result based on network A) and the results identified by the recognition model using network B (also referred to as the recognition result based on network B). The discrimination unit 12 inputs the recognition results obtained from the recognition unit 11 into the discrimination model and obtains discrimination information about the input recognition results. The discrimination information indicates whether the input recognition result is based on the recognition result of network A or the recognition result of network B, for example, it represents the information probabilistically whether it is based on the recognition result of network A or the recognition result of network B.

[0094] The calculation unit 13 is a functional unit that calculates the error between the discrimination information output by the discrimination unit 12 and the correct answer information. The calculation unit 13 acquires error information (also called the first error), which represents the difference between the discrimination information and the correct answer information, indicating the result determined by the discrimination unit 12 based on the recognition result of network A. Here, the correct answer information represents the discrimination information based on the recognition result of network A. Furthermore, the error information is calculated by using the discrimination information and the correct answer information, and then operating on the loss function held by the calculation unit 13. The loss function is, for example, a function that utilizes the sum of squared errors of the probabilities contained in the discrimination information and the correct answer information, but is not limited to this.

[0095] Furthermore, the calculation unit 13 acquires error information (also called a second error) that represents the difference between the discrimination information, which shows the result determined by the discrimination unit 12 based on the recognition result of network B, and the correct answer information. Here, the correct answer information is information that represents the recognition result based on network B. Furthermore, the error information is the same as in the case of using network A.

[0096] Furthermore, the computation unit 13 acquires error information (also called the third error) that represents the difference between the discrimination information (also called the third error) and the correct answer information, which indicates the discrimination information based on the recognition result (equivalent to the third inference result) of the trained network B. Here, the correct answer is the information that indicates the discrimination information based on the recognition result of network A.

[0097] The discrimination training unit 14 is a functional unit that trains the discrimination model using machine learning. The discrimination training unit 14 obtains the first error and the second error calculated by the calculation unit 13, and trains the discrimination model using machine learning to reduce the first and second errors. Referring to the loss function held by the calculation unit 13, the discrimination training unit 14 determines how to adjust the coefficients of the discrimination model to reduce the first and second errors, and updates the coefficients of the discrimination model to reduce the first and second errors. The loss function can employ known techniques such as the sum of squared errors.

[0098] The recognition training unit 15 is a functional unit that trains a recognition model using network B through machine learning. The recognition training unit 15 obtains the third error calculated by the calculation unit 13 and trains the recognition model using network B through machine learning to reduce the third error. Referring to the loss function held by the calculation unit 13, the recognition training unit 15 determines how to adjust the coefficients of network B to reduce the third error, and updates the coefficients of network B to reduce the third error. At this time, the recognition training unit 15 keeps the coefficients of the discrimination model fixed without changing them. The network B trained through coefficient updates is then input into the recognition unit 11.

[0099] Furthermore, the recognition unit 11 obtains new recognition results by inputting new input data into the recognition model using network B, which has been updated by the recognition training unit 15. Then, by using the obtained recognition results as the aforementioned recognition information, the discrimination unit 12, the calculation unit 13, the discrimination training unit 14, and the recognition training unit 15 perform the same processing as described above, thereby further training network B in the processing system 10.

[0100] The following is a summary of the updating of network B based on processing system 10. The updating of network B is achieved by repeatedly performing the training of the discriminant model and the training of the recognition model using network B. Hereinafter, (1) the training of the discriminant model and (2) the training of the recognition model using network B will be described.

[0101] (1) Training of the discriminant model

[0102] Figure 2 This is an explanatory diagram showing the training of the discrimination model of the processing system 10 of this embodiment. Figure 3 This is an explanatory diagram showing the correct answer information used in training the discrimination model of the processing system 10 of this embodiment.

[0103] When an input image is input, the recognition unit 11 performs recognition processing, identifying the image using a recognition model based on network A and a recognition model based on network B, respectively, and outputs the recognition result. The recognition result may be, for example, information such as "dog: 70%, cat: 30%". This means that the probability of the subject in the input image being a dog is 70%, and the probability of the subject being a cat is 30%. The same applies below. The recognition result output by the recognition unit 11 is provided by the discrimination unit 12.

[0104] The discrimination unit 12 uses the discrimination model of network D to determine whether the recognition result provided by the recognition unit 11 is the recognition result recognized using the recognition model of network A or the recognition result recognized using the recognition model of network B. The discrimination information is, for example, "A: 70%, B: 30%". This means that the probability of the recognition result being recognized using the recognition model of network A is 70%, and the probability of the recognition result being recognized using the recognition model of network B is 30%.

[0105] The calculation unit 13 calculates the error between the discrimination information output by the discrimination unit 12 regarding network A and the correct answer information. Specifically, when the calculation unit 13 obtains the discrimination information "A: 70%, B: 30%" as the discrimination result for the recognition result in the recognition model using network A, it compares this discrimination information with the correct answer information "A: 100%, B: 0%" representing the recognition result in the recognition model using network A (see reference). Figure 3Furthermore, the calculation unit 13 obtains the error calculated from the square of the difference (1-0.7) between the probability of network A involved in the discrimination information and the correct answer information, which is 0.09.

[0106] Furthermore, regarding network B, the calculation unit 13 calculates the error between the discrimination information output by the discrimination unit 12 and the correct answer information. That is, when the calculation unit 13 obtains the discrimination information "A: 70%, B: 30%" as the discrimination result for the recognition result in the recognition model using network B, it compares it with the correct answer information "A: 0%, B: 100%" representing the recognition result in the recognition model using network B (see reference). Figure 3 Furthermore, the calculation unit 13 obtains the error calculated from the square of the difference (1-0.3) between the probability of network B involved in the discrimination information and the correct answer information, which is 0.49.

[0107] The discrimination training unit 14 adjusts the coefficients of network D to reduce the error calculated by the calculation unit 13. At this time, the discrimination training unit 14 refers to the loss function and adjusts the coefficients to reduce the error. Thus, the discrimination training unit 14 updates network D by adjusting its coefficients.

[0108] (2) Training the recognition model using Network B

[0109] Figure 4 This is an explanatory diagram showing the training of the recognition model of the processing system 10 of this embodiment. Figure 5 This is an explanatory diagram showing the correct answer information used in training the recognition model of the processing system 10 of this embodiment.

[0110] like Figure 4 As shown, when an input image is input to the recognition unit 11, the recognition unit 11 performs recognition processing by recognizing the image using the recognition model of network B, and outputs a recognition result. The recognition result may be, for example, information such as "dog: 80%, cat: 20%". The recognition result output by the recognition unit 11 is provided to the discrimination unit 12.

[0111] The discrimination unit 12 uses the discrimination of network D to determine whether the recognition result provided by the model recognition unit 11 is the recognition result recognized by the recognition model using network A or the recognition result recognized by the recognition model using network B. For example, the discrimination information "A: 20%, B: 80%" is obtained as the discrimination result.

[0112] The calculation unit 13 calculates the difference between the discrimination information output by the discrimination unit 12 and the correct answer information. Specifically, when the calculation unit 13 obtains the discrimination information "A: 20%, B: 80%" as the discrimination result for the recognition result using the recognition model using network B, it compares it with the correct answer information "A: 100%, B: 0%" representing the recognition result using the recognition model using network A (see reference). Figure 5 Furthermore, the calculation unit 13 obtains the error calculated from the square of the difference (1-0.2) between the probability of network A involved in the discrimination information and the correct answer information, which is 0.64.

[0113] Furthermore, the recognition training unit 15 adjusts the coefficients contained in network B in a manner that reduces the error calculated by the calculation unit 13. At this time, the recognition training unit 15 keeps the coefficients contained in network D fixed without changing them.

[0114] When adjusting the coefficients of network B, the recognition training unit 15 refers to the loss function and adjusts the coefficients in a way that reduces the aforementioned error. Thus, the recognition training unit 15 updates network B by adjusting its coefficients.

[0115] The processing performed by the processing system 10 constructed above will be explained.

[0116] Figure 6 This is a flowchart illustrating the processing (also called the processing method) performed by the processing system 10 of this embodiment.

[0117] In step S101, the recognition unit 11 inputs input data to the recognition model using network A and obtains the recognition result based on network A.

[0118] In step S102, the recognition unit 11 inputs input data to the recognition model using network B and obtains the recognition result based on network B.

[0119] In step S103, the discrimination unit 12 obtains discrimination information by inputting the recognition result based on network A obtained by the recognition unit 11 in step S101 into the discrimination model. Furthermore, the calculation unit 13 calculates the error between the discrimination information obtained by the discrimination unit 12 and the correct answer information. The correct answer information refers to information indicating that the input recognition result is based on the recognition result of network A.

[0120] In step S104, the discrimination unit 12 obtains discrimination information by inputting the recognition result based on network B obtained by the recognition unit 11 in step S102 into the discrimination model. Furthermore, the calculation unit 13 calculates the error between the discrimination information obtained by the discrimination unit 12 and the correct answer information. The correct answer information refers to information indicating that the input recognition result is based on the recognition result of network B.

[0121] In step S105, the discrimination training unit 14 uses the errors calculated in steps S103 and S104 to update the coefficients of the discrimination model's network in a way that enables the discrimination model to accurately determine whether the recognition result input to the discrimination model is based on the recognition result of network A or network B. Thus, the discrimination model is trained.

[0122] In step S106, the recognition unit 11 inputs input data to the recognition model using network B and obtains the recognition result based on network B.

[0123] In step S107, the discrimination unit 12 obtains discrimination information by inputting the recognition result based on network B obtained by the recognition unit 11 in step S106 into the discrimination model. Furthermore, the calculation unit 13 calculates the error between the discrimination information obtained by the discrimination unit 12 and the correct answer information. The correct answer information indicates that the input recognition result is based on the recognition result of network A.

[0124] In step S108, the recognition training unit 15 uses the error calculated in step S107 to update the coefficients of network B in such a way that the discrimination unit 12 determines that the recognition result based on network B is the recognition result of network A.

[0125] Based on the above series of processes, the processing system 10, having trained a discriminative model capable of appropriately distinguishing between recognition results based on network A and recognition results based on network B, uses this trained discriminative model to update the coefficients of network B in such a way that recognition results based on network B are classified as recognition results based on network A. Thus, the recognition model using network B is trained to output the same inference results as the recognition model using network A. In this way, the processing system 10 can reduce the discrepancies in recognition results that would arise when a recognition model using network B is obtained based on a recognition model using network A.

[0126] Next, the reasoning system 20 using network B obtained through processing system 10 will be described. The reasoning system will also be referred to as the information processing system.

[0127] Figure 7 This is a block diagram illustrating the functional structure of the inference system 20 in this embodiment.

[0128] like Figure 7 As shown, the inference system 20 includes an acquisition unit 21 and an inference unit 22. Each functional unit of the inference system 20 can be implemented by a processor (e.g., CPU) (not shown) using memory to execute a predetermined program.

[0129] The acquisition unit 21 is a functional unit that acquires the input data (also called input data). The input data is the same as the data input to the processing system 10, such as image data. The acquisition unit 21 provides the acquired input data to the inference unit 22. The input data is equivalent to third data.

[0130] The inference unit 22 is a functional unit that inputs the input data obtained by the acquisition unit 21 into the inference model (equivalent to the second inference model), and obtains and outputs the inference result. The inference model used by the inference unit 22 to obtain the inference result is a recognition model using network B trained by the processing system 10.

[0131] Figure 8 This is a flowchart illustrating the processes performed by the inference system 20 of this embodiment.

[0132] like Figure 8 As shown, in step S201, the acquisition unit 21 acquires input data.

[0133] In step S202, the inference unit 22 inputs the input data obtained by the acquisition unit 21 into the inference model, and obtains and outputs the inference result.

[0134] Thus, the inference system 20 can use a new inference model generated based on the existing inference model and in a way that reduces the difference in inference results to perform inference processing and output inference results.

[0135] As described above, the information processing method of this embodiment, based on training a discriminant model capable of appropriately distinguishing between the first and second inference results, trains a second inference model using the trained discriminant model in such a way that the second inference result is judged as the first inference result. As a result, the second inference model is trained to output the same inference result as the first inference model. That is, the above-described information processing method can reduce the difference in inference results generated between the first and second inference models. Therefore, it can reduce the difference in inference results generated between the two inference models. Specifically, it can reduce the difference in inference results that occurs when a new second inference model is obtained based on the first inference model. Thus, the above-described information processing method can reduce the difference in inference results that occurs when a new inference model is obtained based on an inference model.

[0136] Furthermore, by using the new first data to further train the trained second inference model (in other words, recursively repeating the training), the discrepancy in inference results arising from deriving the new second inference model based on the first inference model can be further reduced. Thus, the information processing method described above can further reduce the discrepancy in inference results between the two inference models.

[0137] Furthermore, when a new inference model is derived based on the inference model used for inference of image data, the difference in inference results between the two inference models can be reduced.

[0138] Furthermore, the information processing system can use a new inference model generated based on an existing inference model in a way that reduces the discrepancies in the inference results to perform inference processing and output the inference results.

[0139] (Implementation Method 2)

[0140] In this embodiment, the information processing method and system for reducing the difference in inference results when obtaining a new inference model based on an existing inference model will be described with a structure different from that in Embodiment 1. Furthermore, the same reference numerals are used to denote the same components as in Embodiment 1, and detailed descriptions are omitted.

[0141] Figure 9 This is a block diagram illustrating the functional structure of the processing system 10A of this embodiment. The processing system 10A of this embodiment is a system for obtaining a new inference model constructed in a manner that outputs the same inference results as existing inference models.

[0142] Here, the form of the existing inference model differs from that of the new inference model. Specifically, the coefficients of the network constituting the existing inference model are represented in floating decimal form, while the coefficients of the network constituting the new inference model are represented in fixed decimal form. In this case, the processing system 10A can be considered as a system for obtaining a new network represented in fixed decimal form by quantizing the existing inference model represented in floating decimal form.

[0143] like Figure 9 As shown, the processing system 10A includes an identification unit 11, a discrimination unit 12, a calculation unit 13, a discrimination training unit 14, an identification training unit 15A, and a conversion unit 16. The functional units included in the processing system 10A are the same as those in Embodiment 1, and can be implemented by a processor (e.g., a CPU) (not shown) using memory to execute a predetermined program.

[0144] The components of the processing system 10A, including the recognition unit 11, the discrimination unit 12, the calculation unit 13, and the discrimination training unit 14, are the same as those in the processing system 10 of Embodiment 1. The recognition training unit 15A and the conversion unit 16 will be described in detail below.

[0145] The recognition training unit 15A is a functional unit that trains a recognition model using network B1 through machine learning. The recognition training unit 15A obtains the third error calculated by the calculation unit 13 and trains the recognition model using network B1 through machine learning to reduce the third error. Referring to the loss function held by the calculation unit 13, the recognition training unit 15A determines how to adjust the coefficients of network B1 to reduce the third error, and updates the coefficients of network B1 to reduce the third error. At this time, the recognition training unit 15A keeps the coefficients of the discrimination model fixed without changing them. The recognition training unit 15A provides the trained network B1 to the conversion unit 16.

[0146] The conversion unit 16 obtains the functional part of network B by performing conversion processing on the coefficients of network B1. The conversion unit 16 obtains network B1 trained by the recognition training unit 15A and updates network B by performing a prescribed conversion process on the coefficients of network B1.

[0147] Furthermore, the recognition unit 11 obtains new recognition results by inputting new input data into the updated recognition model using network B. Then, by using the obtained recognition results as the aforementioned recognition information, the discrimination unit 12, calculation unit 13, discrimination training unit 14, recognition training unit 15A, and conversion unit 16 perform the same processing as described above, thereby further updating network B in the processing system 10A.

[0148] Additionally, the transformation process may include, for example, a process of lightweighting network B1. The lightweighting process may include, for example, a process of quantizing network B1. For instance, if network B1 is a neural network model, the quantization process may include a process of converting the coefficients of the neural network model from floating decimal form to fixed decimal form. Furthermore, the lightweighting process may include a process of reducing the number of nodes in the neural network model, or a process of reducing the connections between the nodes in the neural network model.

[0149] Figure 10 This is an explanatory diagram showing the training of the recognition model of the processing system 10A of this embodiment.

[0150] The process from when the input image is input to the recognition unit 11 until the error is calculated by the calculation unit 13 is the same as that in the processing system 10 of Embodiment 1.

[0151] After the calculation unit 13 calculates the error, the recognition training unit 15A adjusts the coefficients contained in network B1 to reduce the error calculated by the calculation unit 13. At this time, the recognition training unit 15A does not change the coefficients contained in network D and keeps them fixed.

[0152] When the recognition training unit 15A adjusts the coefficients contained in network B1, it refers to the loss function and adjusts the coefficients in a way that reduces the aforementioned error. Thus, the recognition training unit 15A updates network B by adjusting the coefficients of network B1.

[0153] The conversion unit 16 obtains the network B1 trained by the recognition training unit 15A, performs conversion processing on the coefficients of the network B1, and thus obtains a new network B.

[0154] The processing performed by the processing system 10A as described above will be explained.

[0155] Figure 11 This is a flowchart illustrating the processing (also called the processing method) performed by the processing system 10A of this embodiment.

[0156] Figure 11 The processes included in steps S101 to S107 shown are the same as those in the processing system 10 of Embodiment 1 (see reference). Figure 6 ).

[0157] In step S121, the recognition training unit 15A uses the error calculated in step S107 to update the coefficients of network B1 in a manner that the recognition result of network B is determined by the discrimination unit 12 to be the recognition result of network A.

[0158] In step S122, the conversion unit 16 obtains the network B1 whose coefficients were updated by the recognition training unit 15A in step S121, and obtains the network B by converting the coefficients of the network B1.

[0159] In step S123, the conversion unit 16 updates the network input to the recognition unit 11 based on the network B obtained in step S122.

[0160] Based on the above series of processes, the processing system 10A, after training a discriminative model capable of appropriately distinguishing between recognition results based on network A and recognition results based on network B, uses the trained discriminative model to update the coefficients of network B1 in such a way that recognition results based on network B are judged as recognition results based on network A. Thus, the recognition model using network B1 is trained. Furthermore, network B is obtained from the updated network B1 through a transformation process, thereby updating the recognition model using network B. As a result, the recognition model using network B is trained to output the same inference results as the recognition model using network A. In this way, the processing system 10A can reduce the discrepancies in recognition results that would occur when a recognition model using network B is obtained based on a recognition model using network A.

[0161] As described above, the information processing method of this embodiment, based on training a discrimination model capable of appropriately distinguishing between the first and second inference results, trains a third inference model using the trained discrimination model, classifying the second inference result as the first inference result. Furthermore, a second inference model is obtained from the trained third inference model through a transformation process, thereby updating the second inference model. As a result, the second inference model is trained to output the same inference result as the first inference model. That is, the above-described information processing method can reduce the difference in inference results between the first and second inference models. Therefore, it can reduce the difference in inference results between the two inference models. Specifically, it can reduce the difference in inference results that arise when a new second inference model is obtained based on the first inference model. Thus, the above-described information processing method can reduce the difference in inference results that arise when a new inference model is obtained based on an existing inference model.

[0162] Furthermore, by using the new first data to further train the trained third inference model and obtain the second inference model (in other words, recursively repeating the training), the difference in inference results arising from obtaining the new second inference model based on the first inference model can be further reduced. Thus, the above information processing method can further reduce the difference in inference results between the two inference models.

[0163] Furthermore, a second inference model is obtained by lightweighting the neural network model that serves as the third inference model. This reduces the discrepancies in inference results that arise when a lightweight second inference model is derived from the first inference model. Consequently, the information processing method described above can reduce the differences between the two inference models when a lightweight second inference model is derived from the first inference model. Therefore, even in environments with limited computing resources, such as IoT devices, a second inference model that closely approximates the actions of the first inference model can be applied while maintaining inference performance.

[0164] Furthermore, a second inference model is obtained by quantizing the neural network model, which serves as the third inference model. Therefore, the neural network model can be lightweighted without changing its structure, and changes in inference performance and inference results (actions) before and after lightweighting can be suppressed.

[0165] Furthermore, a second inference model is obtained by converting the coefficients of the neural network model, which serves as the third inference model, from floating decimal point form to fixed decimal point form. Therefore, it is possible to adapt it to general installation environments while suppressing variations in inference performance and inference results (actions).

[0166] Furthermore, a second inference model is obtained by reducing the number of nodes or the connections between nodes in the neural network model that serves as the third inference model. Therefore, since reducing the number of nodes and the connections between nodes is directly linked to reducing computational complexity, the second inference model can be adapted to environments with strict computational resource constraints.

[0167] (Implementation Method 3)

[0168] In this embodiment, the information processing method and system for reducing the difference in inference results when obtaining a new inference model based on an existing inference model will be described with a structure different from that in Embodiment 1. Furthermore, the same reference numerals are used to denote the same components as in Embodiment 1, and detailed descriptions are omitted.

[0169] Figure 12 This is a block diagram illustrating the functional structure of the processing system 10B of this embodiment. The processing system 10B of this embodiment is a system for obtaining a new inference model that outputs the same inference result as an existing inference model, by referring to an existing inference model.

[0170] Figure 12 This is a block diagram illustrating the functional structure of the processing system 10B according to this embodiment.

[0171] like Figure 12 As shown, the processing system 10B includes an identification unit 11B, a discrimination unit 12B, a first calculation unit 13B, a discrimination training unit 14B, an identification training unit 15B, and a second calculation unit 18. Each functional unit processor (e.g., CPU) (not shown) included in the processing system 10B can be implemented using memory to execute a predetermined program. Furthermore, the processing system 10B can be implemented as a single device or by multiple devices that can communicate with each other.

[0172] The recognition unit 11B is similar to the recognition unit 11 in Embodiment 1. It is a functional unit that uses a recognition model as a reasoning model to recognize input data and outputs recognition results (i.e., first reasoning result, second reasoning result, and third reasoning result) based on networks A and B.

[0173] Furthermore, the recognition unit 11B provides the recognition result (i.e., the first reasoning result) based on network A to the second calculation unit 18, and outputs the feature map obtained as the recognition result based on network A to the discrimination unit 12B.

[0174] Similar to the discrimination unit 12 in Embodiment 1, the discrimination unit 12B inputs the recognition result obtained from the recognition unit 11B to the discrimination model to obtain discrimination information about the input recognition result. In addition, the discrimination unit 12B obtains the feature map output by the recognition unit 11B and inputs the feature map to the discrimination model, thereby outputting the output recognition result to the second calculation unit 18.

[0175] The first calculation unit 13B is the same functional unit as the calculation unit 13 in Embodiment 1.

[0176] The second calculation unit 18 obtains the recognition result based on network A from the recognition unit 11B, and also obtains the recognition result based on a discrimination model with feature maps as input. Furthermore, the second calculation unit 18 calculates the error between the two obtained recognition results (equivalent to a fourth error).

[0177] The discrimination training unit 14B, like the discrimination training unit 14 in Embodiment 1, is a functional unit that trains a discrimination model through machine learning. The discrimination training unit 14B acquires the first error and the second error calculated by the calculation unit 13, and further acquires the third error calculated by the second calculation unit 18. Furthermore, the discrimination training unit 14B trains the discrimination model through machine learning in a manner that reduces the first error, the second error, and the third error.

[0178] The recognition training unit 15B, like the recognition training unit 15 in Embodiment 1, is a functional unit that trains the recognition model through machine learning. The recognition training unit 15B obtains the third error calculated by the first calculation unit 13B, and further obtains the fourth error calculated by the second calculation unit 18. Furthermore, the recognition training unit 15B trains the recognition model using network B through machine learning in a manner that reduces the third and fourth errors.

[0179] The following is a summary of the update of network B based on processing system 10B. The update of network B is achieved by repeatedly performing the training of the discriminant model and the training of the recognition model using network B. The following describes (1) the training of the discriminant model and (2) the training of the recognition model using network B.

[0180] (1) Training of the discriminant model

[0181] Figure 13 This is an explanatory diagram showing the training of the discrimination model of the processing system 10B of this embodiment. Figure 14 This is an explanatory diagram showing the correct answer information used in training the discrimination model of the processing system 10B of this embodiment.

[0182] Similar to the recognition unit 11 in Embodiment 1, when an input image is input, the recognition unit 11B performs recognition processing to recognize the image using both the recognition model of network A and the recognition model of network B, and outputs the recognition result. Furthermore, the recognition unit 11B provides a feature map to the discrimination unit 12B, which is obtained as a result of recognizing the input data using network A.

[0183] Similar to the discrimination unit 12 in Embodiment 1, the discrimination unit 12B uses a discrimination model based on network D to determine whether the recognition result provided by the recognition unit 11B is a recognition result recognized using a recognition model based on network A or a recognition result recognized using a recognition model based on network B, and provides discrimination information representing this determination result to the first calculation unit 13B. Furthermore, the discrimination unit 12B inputs the feature map provided by the recognition unit 11B into the discrimination model and provides the obtained recognition result to the second calculation unit 18. The recognition result is information representing the result of recognizing the input feature map, and may include, for example, information representing items or conditions mapped into the input data (i.e., image data) that serves as the source of the feature map's generation, or information representing their attributes.

[0184] The first calculation unit 13B is similar to the calculation unit 13 in Embodiment 1, calculating the difference (first error and second error) between the discrimination information output by the discrimination unit 12 and the correct answer information.

[0185] The second calculation unit 18 obtains the recognition result based on network A from the recognition unit 11B, and further obtains the recognition result of the feature map based on the discriminant model from the discrimination unit 12B. The second calculation unit 18 then calculates the error between the two recognition results (equivalent to a fourth error). Given that the recognition result based on network A is "dog: 90%, cat: 10%", and the recognition result based on the discriminant model is "dog: 80%, cat: 20%", an error calculated as the square of (0.9-0.8), i.e., 0.01, can be obtained. The recognition result based on network A is processed as correct answer information for training the discriminant model (see reference). Figure 14 ).

[0186] The discrimination training unit 14B is a functional unit that trains a discrimination model through machine learning. The discrimination training unit 14B adjusts the coefficients of network D to reduce the errors (first error, second error, and fourth error) calculated by the first calculation unit 13B and the second calculation unit 18. At this time, the discrimination training unit 14B adjusts the coefficients by referring to the loss function to reduce the aforementioned errors through coefficient adjustment. Thus, the discrimination training unit 14B updates the coefficients of network D through adjustment, thereby training the discrimination model.

[0187] (2) Training the recognition model using Network B

[0188] Figure 15 This is an explanatory diagram showing the training of the recognition model of the processing system 10B of this embodiment. Figure 16 This is an explanatory diagram showing the correct answer information used in training the recognition model of the processing system 10B of this embodiment.

[0189] When an input image is input, the recognition unit 11B performs recognition processing by using the recognition model of network B to recognize the image and outputs the recognition result. The recognition result may be, for example, "dog: 80%, cat: 20%". The recognition result output by the recognition unit 11B is provided to the discrimination unit 12B.

[0190] Similar to the recognition unit 11 in Embodiment 1, the discrimination unit 12B uses a discrimination model based on network D to determine whether the recognition result provided by the recognition unit 11B is the recognition result recognized using the recognition model based on network A or the recognition result recognized using the recognition model based on network B. Furthermore, the discrimination unit 12B provides the recognition result obtained by inputting the feature map provided by the recognition unit 11B into the discrimination model to the second calculation unit 18.

[0191] The first calculation unit 13B calculates the difference (third error) between the discrimination information output by the discrimination unit 12 and the correct answer information.

[0192] The second calculation unit 18 obtains the recognition result based on network A from the recognition unit 11B, and also obtains the recognition result based on the discriminant model with the feature map as input from the discrimination unit 12B. Furthermore, the second calculation unit 18 calculates the error between the two recognition results (equivalent to a fourth error). Given that the recognition result based on network A is "dog: 90%, cat: 10%", and the recognition result based on the discriminant model is "dog: 80%, cat: 20%", an error calculated as the square of (0.9-0.8), i.e., 0.01, can be obtained. The recognition result based on network A is processed as correct answer information for training network B (see reference). Figure 16 ).

[0193] The recognition training unit 15B adjusts the coefficients of network B in a way that reduces the errors (third error and fourth error) calculated by the first calculation unit 13B and the second calculation unit 18. At this time, the recognition training unit 15B does not change the coefficients of network D and keeps them fixed.

[0194] When adjusting the coefficients of network B, the recognition training unit 15B refers to the loss function and adjusts the coefficients in a way that reduces the aforementioned error. Thus, the recognition training unit 15B updates network B by adjusting its coefficients.

[0195] The processing performed by the processing system 10B as described above will be explained.

[0196] Figure 17 This is a flowchart illustrating the processing performed by the processing system 10B of this embodiment.

[0197] Figure 17 The processes included in steps S101 to S104 shown are the same as those in the processing system 10 of Embodiment 1 (see reference). Figure 6 ).

[0198] In step S141, the recognition unit 11B acquires a feature map as the recognition result based on network A.

[0199] In step S142, the discrimination unit 12B inputs the feature map to the discrimination model and obtains the recognition result of the feature map using the discrimination model.

[0200] In step S143, the second calculation unit 18 calculates the error between the recognition result based on network A and the recognition result based on the feature map.

[0201] In step S105A, the discrimination training unit 14B is able to accurately determine whether the recognition result is based on network A or network B, and the discrimination model updates the coefficients of the discrimination model's network in the same way as network A.

[0202] The processes included in steps S106 and S107 are the same as those in the processing system 10 of Embodiment 1 (see reference). Figure 6 ).

[0203] In step S151, the recognition unit 11B acquires a feature map as the recognition result based on network A.

[0204] In step S152, the discrimination unit 12B inputs the feature map to the discrimination model and obtains the recognition result of the feature map using the discrimination model.

[0205] In step S153, the second calculation unit 18 calculates the error between the recognition result based on network A and the recognition result based on the feature map.

[0206] In step S108A, the recognition training unit 15B determines that the recognition result based on network B is the recognition result of network A, and the discrimination model updates the coefficients of network B in the same way as network A.

[0207] In addition, the processing system 10B of this embodiment may further include the conversion unit 16 of embodiment 2.

[0208] As described above, the information processing method of this embodiment further trains the discriminative model using the difference between the inference result (fourth inference result) for the feature quantity obtained from the first inference model and the first inference result, based on the discriminative model. This reduces the difference between the inference result of the discriminative model and the inference result of the first inference model, thereby further reducing the difference in inference results that would occur when a new second inference model is obtained based on the first inference model. Therefore, the above-described information processing method can further reduce the difference in inference results generated between the two inference models.

[0209] Furthermore, in the training of the recognition model using network B in Embodiment 3 described above, it is assumed that a recognition model using network A is used, but the training method is not limited to this. For example, a recognition model using network B can be trained without using a recognition model using network A. In this case, the processing configuration is essentially the same as that in Embodiment 2, which uses a recognition model using network B. In addition, the discrimination model is trained using the recognition results of the recognition model using network A.

[0210] (Implementation Method 4)

[0211] In this embodiment, the information processing method and system for reducing the difference in reasoning results that arise when obtaining a new reasoning model based on a previous reasoning model will be described, with a structure different from that of Embodiments 1 to 3. Furthermore, the same reference numerals are used to denote components identical to those in Embodiments 1 to 3, and detailed descriptions are omitted.

[0212] Figure 18 as well as Figure 19 This is a block diagram showing the functional structure of the processing system 10C according to this embodiment. In addition to the recognition unit 11, the discrimination unit 12, the calculation unit 13, the discrimination training unit 14, and the recognition training unit 15, the processing system 10C also includes a noise assignment unit 19.

[0213] The noise assignment unit 19 assigns noise to the reasoning result. For example, the noise assignment unit 19... Figure 18 As shown, noise is applied to the recognition results using the recognition model of network A and the recognition results using the recognition model of network B. For example, if the lightweight processing is quantization, the noise can be Gaussian noise. Furthermore, if the lightweight processing involves reducing the number of nodes or the number of connections between nodes, the noise can be generated by reviving some of the weights associated with the deleted nodes or the weights associated with the deleted connections. However, the type of noise is not limited to these. The recognition results with added noise are input to the discrimination unit 12.

[0214] Alternatively, the noise assignment unit 19 may assign noise only to the second reasoning result. For example, the noise assignment unit 19 may be as follows: Figure 19 As shown, noise is added to the recognition result of the recognition model using network B. The noisy recognition result 2 is input to the discrimination unit 1. In this case, the first inference result, i.e., the recognition result using the recognition model using network A, is input to the discrimination unit 12 as is without noise.

[0215] Next, refer to Figure 20 The method for assigning noise when the inference result is a feature quantity (feature map) is explained. Figure 20 This is a schematic diagram illustrating the noise imparting method imparted by the noise imparting unit 19 in this embodiment.

[0216] The noise assignment section 19 assigns noise to the entire reasoning result. For example, such as... Figure 20 As stated in P1, all unit components and channel components of the inference result are given noise. Figure 20 In this context, the cell component is represented as cell E, the height and width components of the cell are represented as height H and width W, and the channel component is represented as channel C.

[0217] Furthermore, the noise assignment unit 19 can also assign noise to a portion of the reasoning result. Specifically, the noise assignment unit 19 can also assign noise to a portion of the reasoning result having defined unit components. For example, such as Figure 20 As shown in P2, noise is assigned to a portion of the inference result that corresponds to the specified unit components in the inference result. Furthermore, the specified unit components can also be determined randomly.

[0218] Furthermore, the noise assignment unit 19 can also assign noise to a portion of the inference result having a defined channel component. For example, such as... Figure 20 As shown in P3, a portion of the inference result, equivalent to the prescribed channel components in the inference result, is given noise. Furthermore, the prescribed channel components can also be determined randomly.

[0219] The processing performed by the processing system 10C as described above will be explained.

[0220] Figure 21 This is a flowchart illustrating the processing performed by the processing system 10C of this embodiment.

[0221] Figure 21 The processing steps S101 to S108 shown are the same as the processing of the processing system 10 in Embodiment 1 (see reference). Figure 6 Steps S161 and S162 are added between steps S102 and S103.

[0222] In step S161, the noise assignment unit 19 assigns noise to the recognition result of the recognition model using network A.

[0223] In step S162, the noise assignment unit 19 assigns noise to the recognition result of the recognition model using network B.

[0224] Furthermore, when the recognition results of the recognition model using only Network B are subject to noise, such as Figure 22 As shown, step S161 can also be omitted.

[0225] As described above, in the information processing method of this embodiment, noise is assigned to the second inference result, and in obtaining the second discrimination information, the noise-assigned second inference result is input into the discrimination model, and the second discrimination information is obtained. This prevents the discrimination model from easily distinguishing between the first and second inference results. During the training of the discrimination model, there is a possibility that the distinction between the first and second inference results becomes easy, causing the training of the second inference model using the discrimination information to stagnate. However, according to this embodiment, at least the second inference result is noise-assigned, making it difficult to distinguish based on the discrimination model. As a result, the training stagnation of the second inference model can be prevented.

[0226] (Implementation Method 5)

[0227] In this embodiment, the information processing method and system for reducing the difference in inference results that arise when obtaining a new inference model based on an existing inference model will be described, with a structure different from that of embodiments 1 to 4. Furthermore, the same reference numerals are used to denote components identical to those in embodiments 1 to 4, and detailed descriptions are omitted.

[0228] Figure 23 This is a block diagram showing the functional structure of the processing system 10D according to this embodiment. In addition to the recognition unit 11, the discrimination unit 12, the calculation unit 13, the discrimination training unit 14, the recognition training unit 15A, and the conversion unit 16, the processing system 10D also includes a noise assignment unit 19D.

[0229] The noise assignment unit 19D assigns noise to the second inference result. The noise assignment unit 19D determines the assigned noise based on the discrete amplitude of the second inference result. Specifically, the noise assignment unit 19D determines the amplitude of the Gaussian noise distribution based on the standard deviation and discrete amplitude of the Gaussian noise. For example, the noise assignment unit 19D determines the amplitude of the Gaussian noise distribution in a manner where the width is greater than or equal to twice the standard deviation of the Gaussian noise, which is also greater than the discrete amplitude of the second inference result. (Refer to...) Figure 24 A detailed explanation will follow. Figure 24 This is a schematic diagram illustrating the noise imparted by the noise imparting unit 19D in this embodiment.

[0230] Figure 24 The values ​​of the second inference result and the distributions of Gaussian noise relative to those values ​​are shown. Figure 24 In the diagram, the horizontal axis represents the value of the second inference result, and the vertical axis represents the number of values ​​(in other words, the frequency of their occurrence). The distance between values ​​is the discrete amplitude Δ. The amplitude of the Gaussian noise distribution is, for example, 2σ. When the amplitude represents the width of the values ​​corresponding to the amplitude, the noise assignment part 19D determines the Gaussian noise, for example, in a manner where 2σ ≥ Δ. Furthermore, the amplitude described above is an example, and this value is not limited as long as it makes it difficult for the discrimination model to distinguish between the first and second inference results.

[0231] Furthermore, referring to Figure 25 The method for determining the amplitude of Gaussian noise distribution when the inference result is a characteristic quantity (characteristic map) is explained. Figure 25 This is a schematic diagram illustrating the noise imparting method imparted by the noise imparting unit 19D in this embodiment.

[0232] The noise-generating unit 19D determines the amplitude of the overall inference result. For example, it consistently determines the amplitude for all element components and channel components of the inference result, using the determined amplitude, such as... Figure 25 As shown in P4, noise is applied. Figure 25 In, with Figure 20 Similarly, the cell component is represented as cell E, the height and width components of the cell are represented as height H and width W, and the channel component is represented as channel C.

[0233] Furthermore, the noise imparting unit 19D can also determine the amplitude according to each part of the inference result. Specifically, the noise imparting unit 19D can also determine the amplitude according to each specified range of the unit components in the inference result. For example, using the amplitude determined according to each specified range of the unit components in the inference result, such as... Figure 25 As shown on page 5, Gaussian noise with different distributions is assigned to each specified range of the unit component.

[0234] Furthermore, the noise imparting unit 19D can also determine the amplitude according to each specified range in the channel components of the inference result. For example, using the amplitude determined according to each specified range in the channel components of the inference result, such as... Figure 25 As shown on page 6, Gaussian noise with different distributions is assigned to each specified range of the channel components.

[0235] Furthermore, noise determined by discrete amplitude can be different from Gaussian noise. Specifically, it can also be noise generated by reviving a portion of the weights connected to the deleted node or the weights associated with the deleted connection, as mentioned above.

[0236] Furthermore, as long as the noise imparting unit 19D can obtain the discrete amplitude of the first inference result, it can also impart noise to the first inference result using the method described above. In addition, the noise imparted to the first inference result can also be noise that is determined independently of the discrete amplitude (for example, Gaussian noise with a preset amplitude).

[0237] Furthermore, the range of noise imparted, as in embodiment 4, can be the entirety of the reasoning result, a portion of the reasoning result having defined unit components, or a portion of the reasoning result having defined channel components.

[0238] Furthermore, the noise assignment unit 19D determines the discrete amplitude based on the conversion settings in the conversion process of the conversion unit 16. Specifically, the noise assignment unit 19D determines the discrete amplitude based on the lightweight settings in the lightweight process. For example, in the case of quantization, the discrete amplitude is determined based on the number of bits after quantization. In addition, in the case of reducing nodes or reducing the connections of nodes, the discrete amplitude is determined based on which node in the identification model is reduced.

[0239] The processing performed by the processing system 10D as described above will be explained.

[0240] Figure 26 This is a flowchart illustrating the processing performed by the processing system 10D of this embodiment.

[0241] Figure 26 The processing steps S101 to S107 and S121 to S123 shown are the same as the processing of the processing system 10A in Embodiment 2. Figure 11 (Refer to step S171). A new step S171 is added between steps S102 and S103, and a new step S172 is added between steps S121 and S122.

[0242] In step S171, the noise assignment unit 19D assigns noise with a determined amplitude to the recognition result of the recognition model using network B. Before the amplitude determination process described later is executed, noise with an initially set amplitude is assigned.

[0243] Additionally, as in embodiment 4 Figure 18 In step S161 of the flowchart, the recognition result of the recognition model using network A can also be given noise.

[0244] In step S172, the noise imparting unit 19D determines the discrete amplitude of the coefficient conversion and the amplitude of the noise. Specifically, the noise imparting unit 19D determines the discrete amplitude based on the conversion setting of the conversion unit 16. Furthermore, the noise imparting unit 19D determines the amplitude of the noise based on the determined discrete amplitude. Thus, the amplitude of the noise determined in step S172 is used as the amplitude of the noise imparted in step S171.

[0245] As described above, in the information processing method of this embodiment, the discrete magnitude of the inference result is determined based on the transformation setting of the transformation process. Therefore, the discrete magnitude is determined considering the content of the transformation, and the noise is determined based on this discrete magnitude, thus enabling the application of noise suitable for the output of the transformed inference model. Consequently, the impact on the discrimination processing of the discrimination model caused by the discrimination of the inference result due to the transformation of the inference model can be effectively suppressed.

[0246] Furthermore, the discrete amplitude can also be inferred from the inference results. For example, the noise assignment unit 19D analyzes the distribution of data in the second inference result and infers the discrete amplitude based on that distribution. In this case, even if the conversion setting cannot be obtained, the noise can be determined based on the discrete amplitude of the inference result.

[0247] Alternatively, in the above embodiments, each component may be constructed by dedicated hardware, or implemented by executing software programs suitable for each component. Alternatively, each component may be implemented by a program execution unit such as a CPU or processor reading and executing software programs recorded on a recording medium such as a hard disk or semiconductor memory. Here, the software for the information processing system, etc., implementing the above embodiments is the following program.

[0248] That is, the program causes the computer to execute the following information processing method, which is an information processing method executed by the processor using memory. In this method, first data is input into a first inference model to obtain a first inference result; the first data is input into a second inference model to obtain a second inference result; the first inference result is input into a discrimination model that outputs discrimination information that distinguishes whether the input information is the output of the first inference model or the output of the second inference model, and the discrimination information about the input first inference result, i.e., first discrimination information, is obtained; a first error is obtained, which represents the difference between the first discrimination information and the correct answer information that represents the output of the first inference model; the second inference result is input into the discrimination model to obtain information about the first inference result. The discriminant information of the input second inference result, i.e., the second discriminant information, is used to obtain a second error. The second error represents the difference between the second discriminant information and the correct answer information representing the output of the second inference model. In order to reduce the first error and the second error, the discriminant model is trained by machine learning. Second data is input into the second inference model to obtain a third inference result. The third inference result is input into the trained discriminant model to obtain the discriminant information of the input third inference result, i.e., the third discriminant information, and a third error is obtained. The third error represents the difference between the third discriminant information and the correct answer information representing the output of the first inference model. In order to reduce the third error, the second inference model is trained by machine learning.

[0249] Furthermore, the program causes the computer to execute the following information processing method, which is an information processing method executed by the processor using memory. In this method, first data is input into a first inference model to obtain a first inference result; the first data is input into a second inference model to obtain a second inference result; the first inference result is input into a discrimination model that outputs discrimination information that distinguishes whether the input information is the output of the first inference model or the output of the second inference model, and the discrimination information about the input first inference result, i.e., first discrimination information, is obtained; a first error is obtained, which represents the difference between the first discrimination information and the correct answer information that represents the output of the first inference model; the second inference result is input into the discrimination model, and the discrimination information about the input second inference result is obtained. The discriminant information, i.e., the second discriminant information, is used to obtain a second error. The second error represents the difference between the second discriminant information and the correct answer information representing the output of the second inference model. To reduce the first error and the second error, the discriminant model is trained through machine learning. Second data is input into the second inference model to obtain a third inference result. The third inference result is input into the trained discriminant model to obtain the discriminant information, i.e., the third discriminant information, about the input third inference result. A third error is obtained. The third error represents the difference between the third discriminant information and the correct answer information representing the output of the first inference model. To reduce the third error, the third inference model is trained through machine learning. The second inference model is updated by performing a transformation process on the trained third inference model.

[0250] The contract management system and the like in one or more forms have been described above based on implementation methods. However, the present invention is not limited to these implementation methods. Various modifications that those skilled in the art can conceive of in implementing these implementation methods, or combinations of different implementation elements, can be included within the scope of the one or more forms, as long as they do not depart from the spirit of the present invention.

[0251] Industrial availability

[0252] This invention enables the generation of new inference models based on existing inference models.

[0253] Explanation of reference numerals in the attached figures

[0254] Processing systems 10, 10A, 10B, 10C, and 10D

[0255] 11.11B Identification Unit

[0256] 12, 12B discrimination unit

[0257] 13 Computing Department

[0258] 13B First Computing Department

[0259] 14, 14B Discrimination Training Department

[0260] 15, 15A, 15B Recognition Training Department

[0261] 16 Conversion Section

[0262] 18 Second Calculation Department

[0263] 19, 19D Noise Assignment Section

[0264] 20 Reasoning Systems

[0265] 21 obtained department

[0266] 22 Reasoning Department

[0267] Networks A, B, B1, and D

Claims

1. An information processing method, wherein a processor uses memory to identify image information contained in image data. In the information processing method, Input the first image data into the first inference model and obtain the first inference result. Input the first image data into the second inference model to obtain the second inference result. The first inference result is input into a discrimination model that has determined whether the input information is the output of the first inference model or the output of the second inference model, and the discrimination information, i.e., the first discrimination information, is obtained regarding the input first inference result. A first error is obtained, which represents the difference between the first discrimination information and the correct answer information representing the output of the first inference model. The second inference result is input into the discrimination model to obtain the discrimination information, i.e., the second discrimination information, regarding the input second inference result. A second error is obtained, which represents the difference between the second discrimination information and the correct answer information, which represents the output of the second inference model. The discrimination model is trained using machine learning to reduce both the first and second errors. Input the second image data into the second inference model to obtain the third inference result. The third inference result is input into the trained discriminative model to obtain the discriminative information, i.e., the third discriminative information, regarding the input third inference result. A third error is obtained, which represents the difference between the third discrimination information and the correct answer information representing the output of the first inference model. To reduce the third error, the second inference model is trained using machine learning. During the training of the second inference model, the coefficients contained in the discriminant model are fixed.

2. The information processing method according to claim 1, Input other second image data into the trained second inference model to obtain other third inference results. Based on the other obtained third inference results, the second inference model is further trained.

3. The information processing method according to claim 1, The information processing method further includes, The discriminative model is input with the feature values ​​obtained by inputting the first image data into the first inference model, and a fourth inference result is obtained. In the training of the discriminant model, the discriminant model is further trained by machine learning using a fourth error, which represents the difference between the first inference result and the fourth inference result.

4. The information processing method according to claim 1, The information processing method further includes adding noise to the second reasoning result. In obtaining the second discrimination information, the second inference result, which has been given the noise, is input into the discrimination model and the second discrimination information is obtained.

5. The information processing method according to claim 4, The noise is determined based on the discrete magnitude of the second inference result.

6. The information processing method according to claim 5, The noise contains Gaussian noise. The amplitude of the Gaussian noise distribution is determined based on the standard deviation of the Gaussian noise and the discrete amplitude of the second inference result.

7. The information processing method according to claim 6, The amplitude of the Gaussian noise distribution is determined according to the specified range of each of the unit components in the second inference result.

8. The information processing method according to claim 6, The amplitude of the Gaussian noise distribution is determined according to each specified range of the channel components of the second inference result.

9. The information processing method according to claim 4, The noise is applied to a portion of the second inference result, which has specified unit components.

10. The information processing method according to claim 4, The noise is applied to a portion of the second inference result, which has a defined channel component.

11. An information processing method, wherein a processor uses memory to identify image information contained in image data. In the information processing method, Input the first image data into the first inference model and obtain the first inference result. Input the first image data into the second inference model to obtain the second inference result. The first inference result is input into a discrimination model that has determined whether the input information is the output of the first inference model or the output of the second inference model, and the discrimination information, i.e., the first discrimination information, is obtained regarding the input first inference result. A first error is obtained, which represents the difference between the first discrimination information and the correct answer information representing the output of the first inference model. The second inference result is input into the discrimination model to obtain the discrimination information, i.e., the second discrimination information, regarding the input second inference result. A second error is obtained, which represents the difference between the second discrimination information and the correct answer information, which represents the output of the second inference model. The discrimination model is trained using machine learning to reduce both the first and second errors. Input the second image data into the second inference model to obtain the third inference result. The third inference result is input into the trained discriminative model to obtain the discriminative information, i.e., the third discriminative information, regarding the input third inference result. A third error is obtained, which represents the difference between the third discrimination information and the correct answer information representing the output of the first inference model. To reduce the aforementioned third error, a third inference model is trained using machine learning. The second inference model is updated by performing a transformation process on the trained third inference model. During the training of the third inference model, the coefficients contained in the discriminant model are fixed.

12. The information processing method according to claim 11, Input other second image data into the updated second inference model to obtain other third inference results. Based on the other obtained third inference results, the third inference model is further trained through machine learning. The second inference model is further updated through the transformation process of the third inference model after further training.

13. The information processing method according to claim 11, The first inference model, the second inference model, and the third inference model are neural network models. The transformation process includes steps to make the neural network model lightweight.

14. The information processing method according to claim 13, The lightweighting process includes a process of quantizing the neural network model.

15. The information processing method according to claim 14, The quantization process includes converting the coefficients of the neural network model from floating decimal form to fixed decimal form.

16. The information processing method according to claim 13, The lightweight processing includes reducing the number of nodes in the neural network model or reducing the connections between the nodes in the neural network model.

17. The information processing method according to claim 11, The information processing method further includes adding noise to the second reasoning result. In obtaining the second discrimination information, the second inference result, which has been infused with the noise, is input into the discrimination model to obtain the second discrimination information. The noise contains Gaussian noise. The Gaussian noise is determined based on the discrete magnitude of the second inference result. The discrete magnitude is determined based on the transformation settings in the transformation process.

18. An information processing system for recognizing images contained in image data, comprising: The acquisition unit acquires third image data; and The inference unit inputs the third image data acquired by the acquisition unit into the second inference model, acquires and outputs the second inference result. The second inference model was obtained in the following way: Input the first image data into the first inference model and obtain the first inference result. Input the first image data into the second inference model to obtain the second inference result. The first inference result is input into a discrimination model that has determined whether the input information is the output of the first inference model or the output of the second inference model, and the discrimination information, i.e., the first discrimination information, is obtained regarding the input first inference result. A first error is obtained, which represents the difference between the first discrimination information and the correct answer information representing the output of the first inference model. The second inference result is input into the discrimination model to obtain the discrimination information, i.e., the second discrimination information, regarding the input second inference result. A second error is obtained, which represents the difference between the second discrimination information and the correct answer information, which represents the output of the second inference model. The discrimination model is trained using machine learning to reduce both the first and second errors. Input the second image data into the second inference model to obtain the third inference result. The third inference result is input into the trained discriminative model to obtain the discriminative information, i.e., the third discriminative information, regarding the input third inference result. A third error is obtained, which represents the difference between the third discrimination information and the correct answer information representing the output of the first inference model. To reduce the third error, the second inference model is trained using machine learning. During the training of the second inference model, the coefficients contained in the discriminant model are fixed.

19. An information processing system for recognizing images contained in image data, comprising: The acquisition unit acquires third image data; and The inference unit inputs the third image data acquired by the acquisition unit into the second inference model, acquires and outputs the second inference result. The second inference model was obtained in the following way: Input the first image data into the first inference model and obtain the first inference result. Input the first image data into the second inference model to obtain the second inference result. The first inference result is input into a discrimination model that has determined whether the input information is the output of the first inference model or the output of the second inference model, and the discrimination information, i.e., the first discrimination information, is obtained regarding the input first inference result. A first error is obtained, which represents the difference between the first discrimination information and the correct answer information representing the output of the first inference model. The second inference result is input into the discrimination model to obtain the discrimination information, i.e., the second discrimination information, regarding the input second inference result. A second error is obtained, which represents the difference between the second discrimination information and the correct answer information, which represents the output of the second inference model. The discrimination model is trained using machine learning to reduce both the first and second errors. Input the second image data into the second inference model to obtain the third inference result. The third inference result is input into the trained discriminative model to obtain the discriminative information, i.e., the third discriminative information, regarding the input third inference result. A third error is obtained, which represents the difference between the third discriminant information and the correct answer information, which represents the output of the first inference model. To reduce the aforementioned third error, a third inference model is trained using machine learning. The second inference model is updated by performing a transformation process on the trained third inference model. During the training of the third inference model, the coefficients contained in the discriminant model are fixed.

Citation Information

Patent Citations

  • Adaptive selection of artificial neural networks

    US20160328644A1