Model generation device, model generation method, model generation program, model generation system, inspection system, and monitoring system

By sending the data generated by the generative model to multiple recognition models for recognition, and using the recognition results to train the generative model, the problem of difficulty in constructing multiple data generation models in the existing technology is solved, and high-precision data inference and learning data are achieved. Secrecy.

CN113196312BActive Publication Date: 2024-10-29OMRON CORP
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN201980082089.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-11-18
Publication Date
2024-10-29
Estimated Expiration
2039-11-18

AI Technical Summary

Technical Problem

In the existing technology, it is difficult to build a generation model that can generate a variety of data, making it difficult to achieve high-precision data inference in scenarios such as product appearance inspection, and gathering learning data involves high communication costs, high computational costs, and risks of privacy leakage.

Method used

By sending the data generated by the generative model to multiple recognition models for recognition, and using the recognition results for machine learning training, a generative model capable of generating a variety of data is constructed, and the recognition performance of the recognition model is reduced to generate data consistent with the local learning data distribution. , to avoid the direct use of aggregated local learning data.

Benefits of technology

It realizes the construction of generative models that can generate a variety of data in different scenarios, reduces communication and computing costs, ensures the anonymity of learning data, and improves the accuracy and security of data inference.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113196312B_ABST
    Figure CN113196312B_ABST
Patent Text Reader

Abstract

A technology for constructing a generative model capable of generating a variety of data is provided. One aspect of the present invention relates to a model generation device comprising: a generation unit that generates data using a generative model; a sending unit that sends the generated data to a plurality of learned recognition models, respectively, so that each recognition model performs recognition on the data, and the plurality of learned recognition models respectively obtain the ability to recognize whether the provided data is local learning data through machine learning using local learning data; a receiving unit that receives the results of each recognition model recognizing the sent data; and a learning processing unit that trains the generative model through machine learning using the received recognition results to generate data that reduces the recognition performance of at least any one of the plurality of recognition models.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a model generation device, a model generation method, a model generation program, a model generation system, an inspection system and a monitoring system. Background Art

[0002] At present, in the scenario of manufacturing products such as production lines, the following technology is used: the manufactured products are photographed by a photographing device, and the quality of the products is checked based on the obtained image data. For example, Patent Document 1 proposes the following inspection device: based on a learned first neural network, it is determined whether the inspection object photographed in the image is normal or abnormal, and when it is determined that the inspection object is abnormal, the type of the abnormality is classified based on a learned second neural network.

[0003] Prior Art Literature

[0004] Patent Literature

[0005] Patent Document 1: Japanese Patent Application Publication No. 2012-026982

[0006] Non-patent literature

[0007] Non-patent literature 1: Ian J.Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, Yoshua Bengio, "Generative Adversarial Networks", Advances in neural information processing systems, 2672-2680, 2014 Summary of the invention

[0008] Technical problem to be solved by the invention

[0009] As described above, by using learning data including image data of products for machine learning, the learning model can acquire the ability to infer the state of the products captured in the image data. Therefore, by using the learned learning model as an inference device (recognizer), it is possible to determine whether the product of the inspection object captured in the object image data is good or bad.

[0010] In addition, even without using such a learning model, the quality of the product of the inspection object captured in the object image data can be determined based on the comparison between the image data group of normal or abnormal products collected as learning data and the object image data. For example, the image data group of normal products is compared with the object image data. When the result is that the object image data is along the distribution of the image data group (that is, the object image data is similar to the image data group), it can be determined that the product captured in the object image data is normal. On the other hand, when the object image data deviates from the distribution of the image data group, it can be determined that the product captured in the object image data is abnormal. In addition, the learning data collected for such inference learning such as quality judgment will be referred to as "inference learning data" below. In the case of machine learning used for inference, the learning data collected for inference learning can also be specifically referred to as "inference learning data".

[0011] The inventors of the present application have discovered that the following problems exist in these existing inspection methods using image data. That is, in order to use image data to implement product appearance inspection with high accuracy, it is desirable to collect a sufficient amount of diverse image data as inference learning data used in learning appearance inspection. For example, when the amount of inference learning data used in the above-mentioned machine learning is small, the accuracy of appearance inspection using the learned inference machine is not sufficient. Therefore, in order to improve the appearance inspection capability of the inference machine, it is desirable to collect a sufficient amount of inference learning data. However, collecting a sufficient amount of inference learning data is costly.

[0012] Therefore, the inventors of the present application have conducted research on using a generative model to batch produce a plurality of different images from prepared images, thereby increasing the amount of learning data for inference. For example, in non-patent document 1, a method for constructing a generative model based on image data prepared as learning data through machine learning is proposed. The generative model is trained through machine learning to generate image data that matches the distribution of the learning data. That is, if image data of a product is used as learning data, the generative model is trained to generate image data of the product. Therefore, if the generative model is used, image data of the product can be generated. Therefore, the amount of learning data for inference that can be used in the learning of appearance inspection can be appropriately increased, thereby reducing the cost of collecting a sufficient amount of learning data for inference in order to improve the accuracy of appearance inspection.

[0013] However, the inventors of the present application have found that even with such a generative model, the following problems exist. That is, at each site, since there is a limit to the collection of learning data, it is difficult to collect a large amount of learning data (for example, image data when an abnormality occurs in a product) that is valuable for improving inspection capabilities in a short period of time. In addition, due to reasons such as location, environment, and conditions, the image data obtained as learning data may be biased. Therefore, at each site, it is difficult to collect a variety of image data. Therefore, even if a generative model is constructed at each site, it is difficult to generate a variety of image data in the obtained generative model.

[0014] Therefore, in order to solve this problem, the inventors of the present application have studied the construction of a generation model capable of generating a variety of image data by aggregating image data obtained from multiple sites and using the aggregating image data to implement machine learning. For example, there are different factories that implement appearance inspection of the same product, and the shooting conditions such as camera configuration and lighting are different in each factory. In this case, by aggregating the image data obtained in each factory, a variety of image data with different shooting conditions can be obtained as learning data. In addition, learning data representing valuable events that occurred in each factory (for example, image data when an abnormality occurs in a product) can be obtained.

[0015] However, each site operates independently according to its own situation. Each site basically collects learning data independently of other sites. Therefore, the learning data obtained at each site is not uniform in terms of shooting conditions, etc. In addition, each site does not necessarily implement inspections for the same purpose. Therefore, the image data obtained at each site may not be directly used for common machine learning. In addition, if a large amount of learning data obtained at each site is aggregated on a server, the communication cost required for the server increases. In addition, the computational cost required to construct a generative model through machine learning using the aggregated uneven and large amount of learning data increases. Therefore, the memory used in the computational processing may be insufficient, the computational processing time may be prolonged, and the computational processing may not be completed within the specified time. Furthermore, sometimes the learning data obtained at each site contains highly confidential learning data. In this case, if the learning data obtained at each site is aggregated on a server on a common network, the confidentiality of the learning data will be compromised.

[0016] Thus, there are various technical obstacles to gathering learning data obtained at various sites in order to implement machine learning of the generative model. Therefore, it is not realistic to increase the diversity of image data generated by the generative model by collecting the learning data. Therefore, the inventors of the present application have found that it is difficult to construct a generative model capable of generating a variety of image data in the existing methods. For this reason, it is difficult to use image data to achieve high-precision appearance inspection of products in the existing methods.

[0017] In addition, this problem is not unique to the scenario of building a generative model trained to generate image data that can be used in learning to infer the status (good or bad) of a product. The same problem will occur in all scenarios of building a generative model trained to generate specified data, especially specified data that can be used in inference learning. The scenario of generating data that can be used in inference learning by generating a specified model is, for example, a scenario of inferring the status of the plant based on data related to the cultivation status of the plant, a scenario of inferring the status of the driver based on data obtained by observing the driver, a scenario of predicting the power generation of a power generation device based on data related to the weather, and a scenario of inferring the health status of the subject based on the life data of the subject, etc. The specified learning data in these scenarios are, for example, image data, sound data, numerical data, text data, and measurement data obtained by sensors. In these scenarios, it is also difficult to collect a variety of learning data for training the generative model at each site. In addition, there are various technical obstacles to gathering the learning data obtained at each site in order to implement machine learning of the generative model. Therefore, in the existing method, there is a problem that it is difficult to build a generative model that can generate a variety of data. For this reason, in the existing method, it is difficult to achieve high-precision inference using specified data.

[0018] One aspect of the present invention has been made in view of the above-mentioned actual situation, and an object of the present invention is to provide a technology for constructing a generation model capable of generating a variety of data.

[0019] Technical solutions to solve problems

[0020] The present invention adopts the following configuration in order to solve the above-mentioned problems.

[0021] That is, one aspect of the present invention involves a model generation device comprising: a generation unit, which generates data using a generation model; a sending unit, which sends the generated data to multiple learned recognition models respectively, so that each of the recognition models performs recognition on the data, and the multiple learned recognition models respectively obtain the ability to recognize whether the provided data is the local learning data through machine learning using local learning data; a receiving unit, which receives the results of recognition of the sent data by each of the recognition models; and a learning processing unit, which trains the generation model through machine learning using the received recognition results to generate data that reduces the recognition performance of at least any one of the multiple recognition models.

[0022] The model generation device involved in the structure sends the data generated by the generation model (hereinafter also recorded as "generation data") to each recognition model, so that each recognition model performs recognition on the data. Each recognition model is constructed by machine learning to recognize whether the provided data is data included in the local learning data. In addition, the model generation device involved in the structure collects the results of each recognition model's recognition of the sent generation data, and uses the collected recognition results to perform machine learning of the generation model.

[0023] Therefore, in this configuration, in order to implement machine learning for generating models, the local learning data itself is not collected, but the recognition results of each recognition model are collected. Thus, when the local learning data and each recognition model are configured in different devices, the communication cost required for the model generation device can be suppressed. In addition, since the local learning data itself may not be used in the machine learning for generating models, the computational cost required for the model generation device can be suppressed. Furthermore, since the local learning data itself may not be gathered in the model generation device, the content of the local learning data can be prevented from becoming clear directly. In other words, the confidentiality of the local learning data can be guaranteed to a certain extent. Therefore, according to this configuration, various problems that may arise in the above-mentioned method of gathering learning data can be solved.

[0024] In addition, the model generation device involved in the configuration trains the generation model by machine learning using the collected recognition results so that it generates data that reduces the recognition performance of at least any one of the multiple recognition models. That is, through the machine learning, the generation model is trained to generate data that causes at least any one of the recognition models to make a recognition error (i.e., deception). Thus, it is possible to construct a generation model that can generate data that matches any distribution of the uneven local learning data used in the machine learning of each recognition model. Therefore, as a result of training through the machine learning, the generation model can learn to generate data that is included in the distribution of the logical sum of the local learning data used in the machine learning of each recognition model. Therefore, according to this configuration, it is possible to implement an environment for constructing a generation model that can generate a variety of data. The data generated by the constructed generation model can also be used to learn a prescribed inference.

[0025] In addition, the generation model and the plurality of recognition models are learning models that can obtain various capabilities through machine learning, and their types are not particularly limited and can be appropriately selected according to the implementation method. The generation model and the plurality of recognition models can use, for example, neural networks, etc., respectively. The generation model can be called a generator, and the recognition model can be called a recognizer. In addition, in the above-mentioned machine learning, by using data to which additional conditions (such as labels) are assigned as local learning data, a conditional generation model that can generate data corresponding to the additional conditions can be constructed. The generation model can also be such a conditional generation model. The additional conditions can be conditions related to the type of data generated by the generation model, for example, they can also be assigned according to the attributes of the generated data, the attributes of the features represented by the generated data, etc. In the case where the generated data is image data, the attributes of the generated data can be, for example, the resolution of the image data, the number of pixels, the presence or absence of defects, etc. In addition, the attributes of the features represented by the generated data can be, for example, the attributes of the object that is the object of inference, the type of the object, etc.

[0026] Local learning data is learning data used in the machine learning of the recognition model, but the use of local learning data is not limited to the machine learning of the recognition model. Local learning data can be collected for various purposes. For example, image data of the product can be collected as local learning data for the purpose of learning appearance inspection (i.e., used as learning data for inference). The type of data contained in the local learning data may also not be particularly limited and may be appropriately selected according to the implementation method. Local learning data may, for example, be composed of image data, sound data, numerical data, text data, and other measurement data obtained by sensors. All local learning data ultimately determine the distribution of data generated by the generative model. The generative model is configured to generate the same type of data as the local learning data. The learned generative model can be used to mass produce the same type of data as the local learning data.

[0027] In the model generation device according to the first aspect, each of the recognition models can be stored in each learning device; the sending unit can send the generated data to each of the learning devices so that each of the recognition models can perform recognition on the data; and the receiving unit can receive the recognition results of each of the recognition models from each of the learning devices. According to this configuration, a generation model can be constructed that can generate a variety of data without aggregating local learning data used in machine learning of each recognition model of each learning device.

[0028] In the model generation device according to the first aspect, the recognition results of each recognition model can be integrated through secret computing; the learning processing unit can train the generation model through machine learning using the integrated recognition results. According to this configuration, the confidentiality of the local learning data used in the machine learning of each recognition model in each learning device can be further improved.

[0029] The model generation device involved in the above aspect may also include a grouping unit, which assigns each of the learning devices to at least one of a plurality of groups and maintains the generation model according to the group. In addition, the receiving unit may receive the results of recognition performed by each of the recognition models from each of the learning devices according to the group; the learning processing unit may also train the generation model according to the group by machine learning using the received results of the recognition, so as to generate data that causes the recognition performed by at least one of the plurality of recognition models to be wrong. According to this configuration, each of the learning devices can be grouped, and a generation model capable of generating a variety of data can be constructed by group.

[0030] In the model generation device according to the first aspect, the grouping unit may distribute a list representing the plurality of groups to each of the learning devices, so that each of the learning devices selects one or more groups from the plurality of groups represented by the list, and assigns each of the learning devices to the one or more selected groups. According to this configuration, each of the learning devices can be grouped by a simple method.

[0031] In the model generation device according to the first aspect, the grouping unit may also obtain attribute data related to the local learning data from each of the learning devices, cluster the attribute data obtained from each of the learning devices, and assign the plurality of learning devices to at least one of the plurality of groups according to the clustering result. According to this configuration, the learning devices can be grouped according to the attributes of the local learning data.

[0032] In addition, the attribute data may also include all information related to the local learning data, for example, it may also include information indicating the type of data contained in the local learning data, information indicating the characteristics exhibited by the data, information indicating the purpose of use of the data, etc. The characteristics exhibited by the data may include all elements that can be inferred from the data. In the case where the local learning data includes image data of a product, the characteristics exhibited by the data may include, for example, whether the product contains defects, the types of defects contained in the product, etc. The purpose of use of the data may be appropriately determined according to the implementation method. The data contained in the local learning data can be used to learn prescribed inferences such as appearance inspection and monitoring of cultivation conditions.

[0033] As other modes of the model generation device involved in the above-mentioned modes, one aspect of the present invention can be an information processing method for realizing the above-mentioned configurations, a program, or a computer-readable storage medium storing such a program. Here, a computer-readable storage medium refers to a medium that stores information such as a program through electrical, magnetic, optical, mechanical or chemical effects. In addition, a model generation system involved in one aspect of the present invention can be composed of a model generation device involved in any of the above-mentioned modes and a plurality of learning devices.

[0034] For example, one aspect of the present invention relates to a model generation system having a plurality of learning devices and a model generation device. Each of the learning devices is configured to perform the following steps: collect local learning data; and construct a learned recognition model by machine learning using the local learning data, and the learned recognition model acquires the ability to recognize whether the provided data is the local learning data. The model generation device is configured to perform the following steps: generate data using a generation model; send the generated data to each of the learning devices so that the recognition model of each of the learning devices performs recognition on the data; receive the recognition results of the recognition model of each of the learning devices from each of the learning devices; and train the generation model by machine learning using the received recognition results to generate data that reduces the recognition performance of at least any one of the plurality of recognition models.

[0035] In addition, for example, a model generation system according to one aspect of the present invention includes a plurality of learning devices and a model generation device. Each of the learning devices is configured to perform the following steps: collect local learning data; and construct a learned recognition model by machine learning using the local learning data, the learned recognition model having acquired the ability to recognize whether the provided data is the local learning data. The model generation device is configured to perform the following steps: generate data using a generation model; send the generated data to each of the learning devices so that the recognition model of each of the learning devices recognizes the data; receive the recognition results of the recognition models of each of the learning devices from each of the learning devices; and train the generation model by machine learning using the received recognition results to generate data that reduces the recognition performance of at least any one of the plurality of recognition models. Furthermore, each of the learning devices is configured to perform the following steps: acquire object data; acquire a data group collected as inference learning data for inferring features, the data group including data generated by the learned generation model; infer features represented by the object data by comparing the data group with the object data; and output information related to the inference results of the features.

[0036] In addition, for example, one aspect of the present invention relates to a model generation system having a plurality of learning devices and a model generation device. Each of the learning devices is configured to perform the following steps: collect local learning data; and construct a learned recognition model by machine learning using the local learning data, and the learned recognition model acquires the ability to recognize whether the provided data is the local learning data. The model generation device is configured to perform the following steps: generate data using a generation model; send the generated data to each of the learning devices so that the recognition model of each of the learning devices performs recognition on the data; receive the recognition results of the recognition model of each of the learning devices from each of the learning devices; and train the generation model by machine learning using the received recognition results to generate data that reduces the recognition performance of at least any one of the plurality of recognition models. Furthermore, each learning device is configured to perform the following steps: collecting local learning data for inference for acquiring the ability to infer features through machine learning, the local learning data for inference including data generated by a learned generative model; constructing a learned inferencer that has acquired the ability to infer features represented by the inference data through machine learning using the collected local learning data for inference; acquiring object data; inferring features represented by the object data using the learned inferencer; and outputting information related to the inference result of the feature.

[0037] In addition, for example, one aspect of the present invention involves a model generation method in which a computer executes the following steps: generates data using a generation model; sends the generated data to a plurality of learned recognition models respectively, so that each of the recognition models performs recognition on the data, and the plurality of learned recognition models respectively obtain the ability to recognize whether the provided data is the local learning data through machine learning using local learning data; receives the recognition results of the sent data performed by each of the recognition models; and trains the generation model through machine learning using the received recognition results to generate data that reduces the recognition performance of at least any one of the plurality of recognition models.

[0038] In addition, for example, one aspect of the present invention involves a model generation program for causing a computer to execute the following steps: generating data using a generation model; sending the generated data to a plurality of learned recognition models respectively, so that each of the recognition models performs recognition on the data, wherein the plurality of learned recognition models respectively obtain the ability to recognize whether the provided data is the local learning data through machine learning using local learning data; receiving the results of recognition of the sent data by each of the recognition models; and training the generation model through machine learning using the received recognition results to generate data that reduces the recognition performance of at least any one of the plurality of recognition models.

[0039] The above-mentioned methods can be applied to all scenarios in which a generative model is constructed that is trained to generate specified data, especially data that can be used to learn specified inferences. The above-mentioned methods can be applied, for example, to a scenario in which the state of a plant is inferred from data related to the cultivation status of the plant, the state of a driver is inferred from data obtained by observing the driver, the power generation of a power generation device is predicted from data related to the weather, and the health status of a subject is inferred from the life data of the subject, etc. The specified data can be, for example, image data, sound data, numerical data, text data, and measurement data obtained by a sensor.

[0040] For example, one aspect of the present invention relates to an image generation system having a plurality of learning devices and a model generation device. Each of the learning devices is configured to perform the following steps: collect local learning data containing image data; and construct a learned recognition model by machine learning using the local learning data, wherein the learned recognition model acquires the ability to recognize whether the provided data is the image data contained in the local learning data. The model generation device is configured to perform the following steps: generate image data using a generation model; send the generated image data to each of the learning devices so that the recognition model of each of the learning devices performs recognition on the image data; receive the recognition results of the recognition model of each of the learning devices from each of the learning devices; and train the generation model by machine learning using the received recognition results to generate image data that reduces the recognition performance of at least any one of the plurality of recognition models.

[0041] For example, one aspect of the present invention relates to a system for generating sensing data, which includes a plurality of learning devices and a model generating device. Each of the learning devices is configured to perform the following steps: collect local learning data including sensing data obtained by a sensor; and construct a learned recognition model by machine learning using the local learning data, wherein the learned recognition model has acquired the ability to recognize whether the provided data is the sensing data included in the local learning data. The model generating device is configured to perform the following steps: generate sensing data using a generation model; send the generated sensing data to each of the learning devices so that the recognition model of each of the learning devices recognizes the sensing data; receive the recognition results of the recognition model of each of the learning devices from each of the learning devices; and train the generation model by machine learning using the received recognition results to generate sensing data that reduces the recognition performance of at least any one of the plurality of recognition models.

[0042] For example, one aspect of the present invention relates to an inspection system having a plurality of inspection devices and a model generation device. Each of the inspection devices is configured to perform the following steps: collect local learning data including product image data of a product photographed; and construct a learned recognition model by machine learning using the local learning data, wherein the learned recognition model acquires the ability to recognize whether the provided data is the product image data contained in the local learning data. The model generation device is configured to perform the following steps: generate image data using a generation model; send the generated image data to each of the learning devices so that the recognition model of each of the learning devices performs recognition on the image data; receive the recognition results performed by the recognition model of each of the learning devices from each of the learning devices; and train the generation model by machine learning using the received recognition results to generate image data that reduces the recognition performance of at least any one of the plurality of recognition models.

[0043] In addition, for example, one aspect of the present invention relates to a monitoring system that includes a plurality of monitoring devices and a model generation device that monitor the cultivation conditions of plants, respectively. Each of the monitoring devices is configured to perform the following steps: collect local learning data containing condition data related to the cultivation conditions of the plants; and construct a learned recognition model by machine learning using the local learning data, the learned recognition model having acquired the ability to recognize whether the provided data is the condition data contained in the local learning data. The model generation device is configured to perform the following steps: generate suspected condition data using a generation model; send the generated suspected condition data to each of the learning devices so that the recognition model of each of the learning devices recognizes the suspected condition data; receive the recognition results of the recognition model of each of the learning devices from each of the learning devices; and train the generation model by machine learning using the received recognition results to generate suspected condition data that reduces the recognition performance of at least any one of the plurality of recognition models.

[0044] (Effects of the Invention)

[0045] According to the present invention, it is possible to construct a generation model that can generate a variety of data. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] Figure 1 An example of an application scenario of the present invention is schematically illustrated.

[0047] Figure 2A It is a diagram for explaining the problems of the learned generation model constructed by the model generation method according to the comparative example.

[0048] Figure 2B It is a diagram for explaining the characteristics of a learned generation model constructed by the model generation device involved in the embodiment.

[0049] Figure 3 An example of the hardware configuration of the model generation device according to the embodiment is schematically illustrated.

[0050] Figure 4 An example of the hardware configuration of the learning device according to the embodiment is schematically illustrated.

[0051] Figure 5 An example of the software configuration of the model generation device according to the embodiment is schematically illustrated.

[0052] Figure 6 An example of the configuration of the allocation information according to the embodiment is schematically illustrated.

[0053] Fig. 7AAn example of a software configuration related to machine learning of a learning device according to an embodiment is schematically illustrated.

[0054] Figure 7B An example of a software configuration related to an inference process of the learning device according to the embodiment is schematically illustrated.

[0055] Figure 8 An example of a processing procedure of machine learning of a recognition model performed by the learning device according to the embodiment is illustrated.

[0056] Fig. 9 An example of a processing procedure of machine learning for generating a model performed by the model generating device according to the embodiment is illustrated.

[0057] Fig.10 An example of a processing procedure related to a predetermined inference performed by the learning device according to the embodiment is illustrated.

[0058] Fig.11 The grouping process according to the embodiment is schematically illustrated.

[0059] Fig.12 An example of a processing procedure related to grouping of learning devices performed by the model generation device according to the embodiment is illustrated.

[0060] Fig.13 An example of a processing procedure related to grouping of learning devices performed by the model generation device according to the embodiment is illustrated.

[0061] Fig.14 The local learning data provided for generating the recognition model and the generation model are shown.

[0062] Fig.15A The results of generating data using the learned generation model generated by the method of the comparative example are shown.

[0063] Fig. 15B The result of generating data using the learned generation model generated by the method of the embodiment is shown.

[0064] Fig.16 An example of another application scenario of the present invention is schematically illustrated.

[0065] Fig.17 An example of the hardware configuration of an inspection device according to another embodiment is schematically illustrated.

[0066] Fig.18A An example of a software configuration related to machine learning of an inspection device according to another embodiment is schematically illustrated.

[0067] Fig.18BAn example of a software configuration related to an inspection process of an inspection device according to another embodiment is schematically illustrated.

[0068] Fig.19 An example of another application scenario of the present invention is schematically illustrated.

[0069] Fig. 20 An example of the hardware configuration of a monitoring device according to another embodiment is schematically illustrated.

[0070] Fig.21A An example of a software configuration related to machine learning of a monitoring device according to another embodiment is schematically illustrated.

[0071] Fig.21B An example of a software configuration related to monitoring processing of a monitoring device according to another embodiment is schematically illustrated.

[0072] Fig. 22 An example of another application scenario of the present invention is schematically illustrated.

[0073] Fig.23 An example of the hardware configuration of a monitoring device according to another embodiment is schematically illustrated.

[0074] Fig.24A An example of a software configuration related to machine learning of a monitoring device according to another embodiment is schematically illustrated.

[0075] Fig. 24B An example of a software configuration related to monitoring processing of a monitoring device according to another embodiment is schematically illustrated.

[0076] Fig.25 An example of another application scenario of the present invention is schematically illustrated.

[0077] Fig.26 An example of the hardware configuration of a prediction device according to another embodiment is schematically illustrated.

[0078] Fig.27A An example of a software configuration related to machine learning of a prediction device according to another embodiment is schematically illustrated.

[0079] Fig.27B An example of a software configuration related to a prediction process of a prediction device according to another embodiment is schematically illustrated.

[0080] Fig.28 An example of another application scenario of the present invention is schematically illustrated.

[0081] Fig.29 An example of the hardware configuration of a diagnostic device according to another embodiment is schematically illustrated.

[0082] Fig. 30A An example of a software configuration related to machine learning of a diagnostic device according to another embodiment is schematically illustrated.

[0083] Fig. 30B An example of a software configuration related to a diagnostic process of a diagnostic device according to another embodiment is schematically illustrated.

[0084] Fig.31 An example of the hardware configuration of a learning device according to a modification is schematically illustrated.

[0085] Fig.32A An example of a software configuration related to further machine learning of the learning device according to the modification is schematically illustrated.

[0086] Fig.32B An example of a processing procedure for further machine learning of the learning device according to the modification is illustrated.

[0087] Fig.33 An example of a software configuration related to an inference process of a learning device according to a modification example is schematically illustrated.

[0088] Fig.34 An example of the configuration of a learning device according to a modification is schematically illustrated.

[0089] Fig.35A An example of a scenario in which secret computing is implemented in a variant example is schematically illustrated.

[0090] Fig.35B An example of a scenario in which secret computing is implemented in a variant example is schematically illustrated. DETAILED DESCRIPTION

[0091] Hereinafter, an embodiment (hereinafter, also referred to as "the present embodiment") according to one aspect of the present invention will be described with reference to the accompanying drawings. However, the present embodiment described below is merely an illustration of the present invention in all aspects. Of course, various improvements and modifications can be made without departing from the scope of the present invention. That is, when implementing the present invention, a specific configuration that conforms to the embodiment may also be appropriately adopted. It should be noted that, in the present embodiment, natural language is used to describe the data that appears, but, more specifically, it is specified using a simulation language, command, parameter, machine language, etc. that can be recognized by a computer.

[0092] §1 Application Examples

[0093] First, use Figure 1 An example of an application scenario of the present invention is described. Figure 1 An example of an application scenario of the present invention is schematically illustrated. Figure 1As shown, the model generation system 100 according to the present embodiment includes a model generation device 1 and a plurality of learning devices 2. The model generation device 1 and each learning device 2 can be connected to each other via a network. The type of network can be appropriately selected from, for example, the Internet, a wireless communication network, a mobile communication network, a telephone network, a dedicated network, and the like.

[0094] Each learning device 2 involved in the present embodiment is a computer configured to perform machine learning of a recognition model 40 using local learning data 3. Specifically, each learning device 2 involved in the present embodiment collects local learning data 3. Then, each learning device 2 constructs a learned recognition model 40 by machine learning using the local learning data 3, and the learned recognition model 40 has acquired the ability to recognize whether the provided data is included in the local learning data 3.

[0095] In this way, the local learning data 3 is the learning data used in the machine learning of the recognition model 40, but the use of the local learning data 3 is not limited to the machine learning of the recognition model 40. The local learning data 3 can be collected for various utilization purposes. For example, image data of a product can be collected as local learning data 3 for learning of appearance inspection. Each learning device 2 can process data collected for other utilization purposes as local learning data 3.

[0096] In this embodiment, each learning device 2 is connected to a sensor S. Thus, each learning device 2 is configured to be able to perform processing for inferring features represented by sensing data obtained by the sensor S. Therefore, the local learning data 3 can be collected for the purpose of inferring certain features included in the sensing data obtained by the sensor S. In other words, the local learning data 3 can be composed of a group of data obtained by the sensor S or a sensor of the same type.

[0097] In addition, as long as the sensor S can obtain certain data, its type may not be particularly limited and may be appropriately selected according to the implementation method. The sensor S may be, for example, a camera, a microphone, a photometer, a thermometer, a hygrometer, a life sensor, etc. The camera may be, for example, an ordinary digital camera configured to obtain an RGB image, a depth camera configured to obtain a depth image, an infrared camera configured to image the amount of infrared light, etc. As an example, a camera that captures the appearance of a product may be used as the sensor S. In this case, the sensed data may be image data of the product, and the inference of a certain feature may be the inference of the state of the product captured in the image data.

[0098] Each learning device 2 can be configured at each site and used by different users. Each learning device 2 can also collect inference learning data for the purpose of inference based on various situations. In this case, each learning device 2 can also use the collected inference learning data as local learning data 3. However, the configuration and user of each learning device 2 are not particularly limited and can be appropriately selected according to the implementation method. For example, at least a part of the learning devices 2 can also be configured at the same site and used by the same user.

[0099] On the other hand, the model generation device 1 involved in the present embodiment is a computer configured to construct a generation model 41 capable of generating data of the same type as the local learning data 3. Specifically, the model generation device 1 involved in the present embodiment generates data 50 using the generation model 41. Next, the model generation device 1 sends the generated data 50 to each learning device 2, thereby causing the recognition model 40 of each learning device 2 to perform recognition of the data 50. Each learning device 2 recognizes whether the data 50 is included in the local learning data 3 through the recognition model 40.

[0100] The model generation device 1 involved in this embodiment receives the recognition results 51 of the recognition models 40 of each learning device 2 from each learning device 2. Then, the model generation device 1 generates the model 41 by machine learning training using the received recognition results 51 so as to generate data that reduces the recognition performance of at least any one of the multiple recognition models 40.

[0101] In addition, the type of data included in the local learning data 3 is not particularly limited and can be appropriately selected according to the implementation method. The local learning data 3 can be composed of, for example, image data, sound data, numerical data, text data, and other measurement data obtained by sensors. All local learning data 3 ultimately determine the distribution of data generated by the generation model 41. The generation model 41 is configured to generate the same type of data as the local learning data 3. The learned generation model 41 can be used to mass-produce the same type of data as the local learning data 3. For example, in order to increase the number of inference learning data used to enable the inference machine to learn the ability to perform prescribed inferences, the same type of data can also be mass-produced in order to increase the number of data compared with the object data that is the object of the prescribed inference.

[0102] exist Figure 1In the example, there are three learning devices 2a~2c. Below, for the sake of convenience, symbols such as a, b, c are further marked to distinguish each learning device, otherwise their symbols are omitted such as "learning device 2". Each learning device 2a~2c collects local learning data 3a~3c, and uses the obtained local learning data 3a~3c to perform machine learning of each recognition model 40a~40c. As a result, each learning device 2a~2c constructs a learned recognition model 40a~40c that has acquired the ability to recognize whether the provided data is included in its own local learning data 3a~3c.

[0103] More specifically, in this embodiment, each learning device 2a to 2c further obtains data (data 53 described later) generated by the generation model 41 from the model generation device 1. Then, each learning device 2a to 2c performs machine learning of each recognition model 40a to 40c using its own local learning data 3a to 3c and the data generated by the generation model 41. Thus, each learning device 2a to 2c enables each recognition model 40a to 40c to learn the ability to recognize whether the provided data is from its own local learning data 3a to 3c or from the generation model 41.

[0104] In contrast, the model generation device 1 generates data 50 by generating a model 41, and sends the generated data 50 to each learning device 2a to 2c. Each learning device 2a to 2c uses its own recognition model 40a to 40c to identify whether the data 50 is included in its own local learning data 3a to 3c. Then, each learning device 2a to 2c returns the results 51a to 51c recognized by its own recognition model 40a to 40c to the model generation device 1.

[0105] The model generation device 1 receives the results 51a to 51c of recognition by the recognition models 40a to 40c of the respective learning devices 2a to 2c. Furthermore, the model generation device 1 trains the generation model 41 by machine learning using the received recognition results 51a to 51c to generate data that reduces the recognition performance of at least any one of the plurality of recognition models 40a to 40c. In other words, the model generation device 1 trains the generation model 41 by generating data that is recognized by at least any one of the plurality of recognition models 40a to 40c as being included in its own local learning data 3a to 3c. In addition, the number of learning devices 2 is not limited to Figure 1 The number of learning devices 2 may be two or four or more.

[0106] As described above, in the present embodiment, in order to implement the machine learning of the generation model 41, the local learning data 3 itself is not collected, but the results 51 recognized by each recognition model 40 are collected. Thus, the communication cost required by the model generation device 1 can be suppressed. In addition, since the machine learning of the generation model 41 does not need to use the local learning data 3 itself, the computational cost required by the model generation device 1 can be suppressed. Furthermore, since the local learning data 3 itself does not need to be gathered in the model generation device 1, the content of the local learning data 3 can be prevented from becoming clear directly. Therefore, the confidentiality of the local learning data 3 can be guaranteed to a certain extent.

[0107] In addition, in the present embodiment, the generation model 41 is trained to generate data that reduces the recognition performance of at least any one of the multiple recognition models 40 through machine learning using the collected recognition results 51. In other words, through this machine learning, the generation model 41 is trained to generate data that causes recognition errors in at least any one of the recognition models 40. Thus, it is possible to construct a generation model 41 that can generate data that matches the distribution of any one of the local learning data 3 used in the machine learning of each recognition model 40.

[0108] Further Use Figure 2A and Figure 2B As a learning method opposite to the present embodiment, a method of training a generation model by generating data that reduces the recognition performance of all the recognition models 40 is assumed. Figure 2A The distribution of data that can be generated by a learned generative model constructed using this relative method is schematically shown. Figure 2B The distribution of data that can be generated by the learned generation model 41 constructed according to the present embodiment is schematically shown.

[0109] In order to reduce the recognition performance of all recognition models 40, data common to all local learning data 3 is generated. That is, when the generation model is trained in such a way as to generate data that reduces the recognition performance of all recognition models 40, the data generated by the constructed and learned generation model can be included in the logical product of the local learning data 3 of each learning device 2. If the distribution of the local learning data 3 collected by each learning device 2 is the same, the learned generation model constructed according to this method can generate data that matches the distribution of the local learning data 3 of each learning device 2.

[0110] However, the distribution of local learning data 3 collected by each learning device 2 is not necessarily the same. In particular, when each learning device 2 operates independently according to its own situation, the local learning data 3 is basically collected independently of the local learning data 3 of other learning devices 2. Therefore, the local learning data 3 collected by each learning device 2 is uneven and its distribution may be greatly different. For example, Figure 2A As shown, the distribution of the local learning data 3a-3c collected by each learning device 2a-2c may be different.

[0111] If the distribution of the local learning data 3 collected by each learning device 2 is very different, then Figure 2A As shown by the shading of , the common part (i.e., logical product) becomes an extremely small range. In the case where there is no common part in the distribution of the local learning data 3 collected by each learning device 2, the generation model is constructed to generate data that does not include such data in any distribution. Therefore, in the case where the generation model is trained in a manner to generate data that reduces the recognition performance of all recognition models 40, the data that can be generated by the constructed generation model after learning is very limited.

[0112] In contrast, in the case of reducing the recognition performance of at least any one of the multiple recognition models 40, it is sufficient to generate data that matches the distribution of at least any one of the local learning data 3 used in the machine learning of each recognition model 40. Therefore, when the generation model 41 is trained in a manner to generate data that reduces the recognition performance of at least any one of the multiple recognition models 40 as in the present embodiment, the generation model 41 can learn the ability to generate data that matches the distribution of the logical sum of the local learning data 3 used in the machine learning of each recognition model 40.

[0113] Therefore, even if the distribution of the local learning data 3 collected by each learning device 2 is different, the learned generation model 41 can generate data that may be included in each distribution. Figure 2B As shown by the shading of , even if the distribution of the local learning data 3a to 3c is different, the result of this machine learning is that the generation model 41 is able to learn to generate data that is included in the distribution of the logical sum of the local learning data 3a to 3c. Therefore, according to this embodiment, it is possible to construct a generation model 41 that can generate a variety of data.

[0114] The plurality of recognition models 40 and the generation model 41 are learning models that can obtain various capabilities through machine learning, and their types are not particularly limited and can be appropriately selected according to the implementation. In this implementation, as described later, the plurality of recognition models 40 and the generation model 41 are respectively composed of neural networks. Each recognition model 40 can be called a recognizer, and the generation model 41 can be called a generator.

[0115] In addition, each learning device 2 involved in the present embodiment performs processing for inferring the features represented by the data obtained by the sensor S (the object data 223 described later). In the present embodiment, each learning device 2 obtains a data group collected as inference learning data for inferring features. At this time, each learning device 2 can also obtain data generated using the learned generation model 41. Generating data using the learned generation model 41 can be performed by each learning device 2 or by other computers. Thus, each learning device 2 can also obtain a data group containing data generated by the learned generation model 41. In addition, each learning device 2 obtains object data. And, each learning device 2 infers the features represented by the object data based on the comparison between the object data and the data group. Each learning device 2 outputs information related to the results of the inferred features.

[0116] As described above, various data can be generated based on the learned generation model 41. In particular, the learned generation model 41 is configured to generate data that is difficult for each learning device 2 to collect alone but can be obtained by other learning devices 2. Therefore, each learning device 2 can not only increase the number of data included in the data group used for inference through the data generated by the above generation model 41, but also enrich the variation of the data. As a result, each learning device 2 can improve the accuracy of inference based on comparison with the data group.

[0117] §2 Example of composition

[0118] [Hardware Configuration]

[0119] <Model generation device>

[0120] Next, use Figure 3 An example of the hardware configuration of the model generation device 1 according to the present embodiment will be described. Figure 3 An example of the hardware configuration of the model generation device 1 according to the present embodiment is schematically illustrated.

[0121] like Figure 3 As shown, the model generation device 1 involved in this embodiment is a computer electrically connected to a control unit 11, a storage unit 12, a communication interface 13, an input device 14, an output device 15 and a driver 16. It should be noted that Figure 3 In the communication interface, the communication interface is recorded as "communication I / F".

[0122] The control unit 11 is configured to include a CPU (Central Processing Unit), a RAM (Random Access Memory), a ROM (Read Only Memory), etc. as a hardware processor, and performs information processing according to a program and various data. The storage unit 12 is an example of a memory, and is configured by, for example, a hard disk drive, a solid state drive, etc. In the present embodiment, the storage unit 12 stores various information such as the model generation program 81, the learning result data 121, the group list 123, and the allocation information 124.

[0123] The model generation program 81 is used to cause the model generation device 1 to execute the information processing (described later) related to the machine learning for generating the model 41. Fig. 9 ) program. The model generation program 81 includes a series of instructions for processing the information. The learning result data 121 represents information related to the generation model 41 constructed by machine learning. The learning result data 121 is obtained as a result of executing the model generation program 81. The group list 123 represents an overview of multiple groups that are candidates for assigning each learning device 2. The assignment information 124 represents the correspondence between each learning device 2 and each group. It will be described in detail later.

[0124] The communication interface 13 is, for example, a wired LAN (Local Area Network) module or a wireless LAN module, and is an interface for wired or wireless communication via a network. The model generation device 1 can communicate data with other information processing devices (eg, the learning device 2) via a network by using the communication interface 13 .

[0125] The input device 14 is a device for performing input, such as a mouse or a keyboard. The output device 15 is a device for performing output, such as a display or a speaker. The operator can operate the model generation device 1 using the input device 14 and the output device 15 .

[0126] The drive 16 is, for example, a CD drive, a DVD drive, etc., and is a drive device for reading the program stored in the storage medium 91. The type of the drive 16 can be appropriately selected according to the type of the storage medium 91. At least any one of the above-mentioned model generation program 81, the group list 123, and the allocation information 124 may also be stored in the storage medium 91.

[0127] The storage medium 91 is a medium that stores information such as a program by electrical, magnetic, optical, mechanical or chemical action in a manner that allows a computer, other device, machine, etc. to read the recorded information such as a program. The model generation device 1 can obtain at least one of the model generation program 81, the group list 123 and the allocation information 124 from the storage medium 91.

[0128] Here, in Figure 3 In the embodiment, a disk-type storage medium such as a CD or a DVD is illustrated as an example of the storage medium 91. However, the type of the storage medium 91 is not limited to the disk-type, and may be a type other than the disk-type. As a storage medium other than the disk-type, for example, a semiconductor memory such as a flash memory may be cited.

[0129] In addition, regarding the specific hardware configuration of the model generation device 1, the components may be appropriately omitted, replaced, and added according to the implementation method. For example, the control unit 11 may also include multiple hardware processors. The hardware processor may be composed of a microprocessor, an FPGA (field-programmable gate array), a DSP (digital signal processor), etc. The storage unit 12 may also be composed of a RAM and a ROM included in the control unit 11. At least one of the communication interface 13, the input device 14, the output device 15, and the drive 16 may also be omitted. The model generation device 1 may also be composed of multiple computers. In this case, the hardware configuration of each computer may be consistent or inconsistent. In addition, in addition to being designed as an information processing device dedicated to the service provided, the model generation device 1 may also be a general-purpose server device, a PC (Personal Computer), etc.

[0130] <Learning equipment>

[0131] Next, use Figure 4 An example of the hardware configuration of each learning device 2 according to the present embodiment will be described. Figure 4 An example of the hardware configuration of each learning device 2 according to the present embodiment is schematically illustrated.

[0132] like Figure 4 As shown, the learning device 2 according to the present embodiment is a computer electrically connected to a control unit 21, a storage unit 22, a communication interface 23, an input device 24, an output device 25, a driver 26, and an external interface 27. Figure 4 In the figure, the communication interface and the external interface are respectively recorded as "communication I / F" and "external I / F".

[0133] The control unit 21 to the driver 26 of each learning device 2 can be respectively configured in the same manner as the control unit 11 to the driver 16 of the above-mentioned model generation device 1. That is, the control unit 21 is configured to include a CPU, RAM, ROM, etc. as a hardware processor, and performs various information processing according to programs and data. The storage unit 22 is composed of, for example, a hard disk drive, a solid-state drive, etc. The storage unit 22 stores various information such as the learning program 82, the inference program 83, the local learning data 3, and the learning result data 221.

[0134] The learning program 82 is used to cause the learning device 2 to execute information processing (described later) related to machine learning of the recognition model 40. Figure 8 ) program. The learning program 82 includes a series of instructions for the information processing. The learning result data 221 represents information related to the recognition model 40 constructed by machine learning. The learning result data 221 is obtained as a result of executing the learning program 82. In addition, the inference program 83 is used to make the learning device 2 perform the information processing (described later) related to the predetermined inference of the data obtained by the sensor S. Fig.10 ) program. The inference program 83 includes a series of instructions for the information processing. The local learning data 3 is used for machine learning of the recognition model 40. This will be described in detail later.

[0135] The communication interface 23 is, for example, a wired LAN module or a wireless LAN module, and is an interface for wired or wireless communication via a network. Each learning device 2 can communicate data with other information processing devices (eg, the model generation device 1) via a network by using the communication interface 23 .

[0136] The input device 24 is a device for performing input, such as a mouse and a keyboard. The output device 25 is a device for performing output, such as a display and a speaker. The operator can operate each learning device 2 using the input device 24 and the output device 25 .

[0137] The drive 26 is, for example, a CD drive, a DVD drive, etc., and is a drive device for reading a program stored in the storage medium 92. At least one of the learning program 82, the inference program 83, and the local learning data 3 may also be stored in the storage medium 92. In addition, each learning device 2 may also obtain at least one of the learning program 82, the inference program 83, and the local learning data 3 from the storage medium 92.

[0138] The external interface 27 is, for example, a USB (Universal Serial Bus) port, a dedicated port, etc., and is an interface for connecting to an external device. The type and number of the external interface 27 can be appropriately selected according to the type and number of external devices to be connected. In the present embodiment, each learning device 2 is connected to the sensor S via the external interface 27. Thus, each learning device 2 is configured to be able to obtain sensing data as an object for performing a prescribed inference from the sensor S. However, the configuration for obtaining sensing data is not limited to such an example, and can also be appropriately determined according to the embodiment. For example, in the case where the sensor S has a communication interface, each learning device 2 can also be connected to the sensor S via the communication interface 23 instead of the external interface 27.

[0139] In addition, regarding the specific hardware configuration of the learning device 2, the components may be appropriately omitted, replaced, and added according to the implementation method. For example, the control unit 21 may also include a plurality of hardware processors. The hardware processor may be composed of a microprocessor, an FPGA, a DSP, and the like. The storage unit 22 may also be composed of a RAM and a ROM included in the control unit 21. At least any one of the communication interface 23, the input device 24, the output device 25, the driver 26, and the external interface 27 may also be omitted. Each learning device 2 may also be composed of a plurality of computers. In this case, the hardware configuration of each computer may be consistent or inconsistent. In the present embodiment, the hardware configuration of each learning device 2 is the same. However, the relationship between the hardware configurations of each learning device 2 is not limited to such an example. The hardware configurations of one learning device 2 and other learning devices 2 may also be different from each other. In addition, in addition to being an information processing device designed to be dedicated to the service provided, each learning device 2 may also be a general-purpose server device, a general-purpose PC, and the like.

[0140] [Software composition]

[0141] <Model generation device>

[0142] Next, use Figure 5 An example of the software configuration of the model generation device 1 according to the present embodiment will be described. Figure 5 An example of the software configuration of the model generation device 1 according to the present embodiment is schematically illustrated.

[0143] The control unit 11 of the model generation device 1 loads the model generation program 81 stored in the storage unit 12 into the RAM. Then, the control unit 11 interprets and executes the model generation program 81 loaded into the RAM through the CPU, thereby controlling each component. Figure 5As shown, the model generation device 1 according to the present embodiment operates as a computer including a generation unit 111, a transmission unit 112, a reception unit 113, a learning processing unit 114, a storage processing unit 115, and a grouping unit 116 in the form of software modules. That is, in the present embodiment, each software module of the model generation device 1 is implemented by the control unit 11 (CPU).

[0144] The generator 111 generates data 50 using the generation model 41. In the present embodiment, noise (latent variable) is obtained from a predetermined probability distribution. The predetermined probability distribution is not particularly limited and can be appropriately selected according to the embodiment. The predetermined probability distribution can be, for example, a Gaussian distribution. The generator 111 inputs the obtained noise into the generation model 41 and performs the calculation processing of the generation model 41. Thus, the generator 111 obtains data 50 from the generation model 41.

[0145] The sending unit 112 sends the generated data 50 to each recognition model 40, so that each recognition model 40 performs recognition on the data 50. The receiving unit 113 receives the result 51 of recognition of the sent data 50 by each recognition model 40. In the present embodiment, each recognition model 40 is stored in each learning device 2. Therefore, the sending unit 112 sends the generated data 50 to each learning device 2, so that each recognition model 40 performs recognition on the data 50. In addition, the receiving unit 113 receives the result 51 of recognition by each recognition model 40 from each learning device 2.

[0146] The learning processing unit 114 trains the generation model 41 by machine learning using the received recognition result 51, so as to generate data that reduces the recognition performance of at least any one of the multiple recognition models 40. The storage processing unit 115 stores information related to the generation model 41 that has been learned and constructed by machine learning in a predetermined storage area.

[0147] The grouping unit 116 assigns each learning device 2 to at least any one of a plurality of groups. Correspondingly, the model generation device 1 may also maintain the generation model 41 by group. The sending unit 112 may send the data 50 generated by the corresponding generation model 41 to each learning device 2 by group, so that each recognition model 40 performs recognition of the data 50. The receiving unit 113 may also receive the results 51 recognized by each recognition model 40 from each learning device 2 by group. Furthermore, the learning processing unit 114 may also train the generation model 41 by machine learning using the received recognition results 51 by group, so as to generate data that reduces the recognition performance of at least any one of the plurality of recognition models 40. In the present embodiment, the grouping unit 116 stores the allocation results of the groups relative to each learning device 2 in the allocation information 124.

[0148] Figure 6 An example of the data structure of the allocation information 124 involved in the present embodiment is schematically illustrated. In the present embodiment, the allocation information 124 has a tabular structure, and each record (row data) has a "user ID" column and a "group ID" column. The "user ID" column stores information for identifying each learning device 2, and the "group ID" column stores information for identifying the group of learning devices 2 to which the object is allocated. One record represents one allocation result. However, the data structure of the allocation information 124 is not limited to the above example, and can also be appropriately determined according to the embodiment.

[0149] (Generative Model)

[0150] Next, an example of generating model 41 is described. Figure 5 As shown, in this embodiment, the generation model 41 is composed of a neural network. Specifically, the generation model 41 is composed of a three-layer neural network, which has an input layer 411, an intermediate (hidden) layer 412, and an output layer 413 in order from the input side. However, the structure of the generation model 41 is not limited to the above example, and can also be appropriately determined according to the embodiment. For example, the number of intermediate layers of the generation model 41 is not limited to one, and can also be two or more.

[0151] The number of neurons (connections) included in each layer 411 to 413 can be appropriately selected according to the implementation method. Neurons in adjacent layers are appropriately connected to each other, and each connection is set with a weight (connection weight). Figure 5 In the example, each neuron is connected to all neurons in the adjacent layers. However, the connection of neurons is not limited to the above example and can be appropriately set according to the implementation method. A threshold is set in each neuron, and basically, the output of each neuron is determined based on whether the sum of the products of each input and each weight exceeds the threshold. The weights of the connections between the neurons included in each layer 411 to 413 and the threshold of each neuron are examples of the calculation parameters of the generation model 41 used in the calculation process.

[0152] In this embodiment, since the generation model 41 is configured in this way, the generation unit 111 inputs noise obtained from a predetermined probability distribution to the input layer 411 and performs a neural network operation. Thus, the generation unit 111 obtains data 50 generated from the noise as an output from the output layer 413.

[0153] In addition, the learning processing unit 114 adjusts the value of the operation parameter of the generation model 41 based on the error calculated by machine learning in a manner that reduces the recognition performance of any one of the recognition models 40. The storage processing unit 115 generates information representing the structure and operation parameters of the generation model 41 that has been learned and constructed by machine learning as learning result data 121, and stores the generated learning result data 121 in a predetermined storage area.

[0154] <Learning equipment>

[0155] (A) Learning Process

[0156] Next, use Fig. 7A An example of a software configuration related to a learning process of each learning device 2 according to the present embodiment will be described. Fig. 7A An example of a software configuration related to a learning process of each learning device 2 according to the present embodiment is schematically illustrated.

[0157] The control unit 21 of each learning device 2 loads the learning program 82 stored in the storage unit 22 into the RAM. Then, the control unit 21 interprets and executes the learning program 82 loaded into the RAM through the CPU, thereby controlling each component. Fig. 7A As shown, each learning device 2 involved in this embodiment operates as a computer having a learning data collection unit 211, a learning processing unit 212, and a storage processing unit 213 in the form of a software module. That is, in this embodiment, each software module of each learning device 2 related to the learning process is implemented by the control unit 21 (CPU).

[0158] The learning data collection unit 211 collects local learning data 3 used in the machine learning of the recognition model 40. The learning data collection unit 211 may also process the data collected for other purposes of use, such as use in the inference processing described later, as local learning data 3. The learning processing unit 212 constructs a learned recognition model 40 that has acquired the ability to recognize whether the provided data is included in the local learning data 3 by machine learning using the collected local learning data 3. The storage processing unit 213 stores information related to the learned recognition model 40 constructed by machine learning in a specified storage area.

[0159] (Identification Model)

[0160] Next, an example of the recognition model 40 is described. Fig. 7AAs shown, in this embodiment, the recognition model 40 is composed of a neural network. Specifically, like the above-mentioned generation model 41, the recognition model 40 is composed of a three-layer neural network, which has an input layer 401, an intermediate (hidden) layer 402, and an output layer 403 in sequence from the input side. However, the structure of the recognition model 40 is not limited to the above example, and can also be appropriately determined according to the embodiment. For example, the number of intermediate layers possessed by the recognition model 40 is not limited to one, and can also be two or more.

[0161] Similar to the above-mentioned generation model 41, the number of neurons (nodes) included in each layer 401 to 403 of the recognition model 40 can also be appropriately selected according to the implementation method. Fig. 7A In the example, each neuron is connected to all neurons in the adjacent layers. However, the connection of neurons is not limited to the above example and can be appropriately set according to the implementation. The weights of the connections between the neurons included in each layer 401 to 403 and the threshold of each neuron are examples of the operation parameters of the recognition model 40 used in the operation processing.

[0162] In this embodiment, the learning processing unit 212 trains the recognition model 40 through machine learning so that it can recognize whether the data input to the recognition model 40 is data generated by the generation model 41 or data included in the local learning data 3. In other words, the recognition model 40 is trained to recognize whether the provided data is derived from the generation model 41 or from the local learning data 3. Fig. 7A In , the case where the source is from the local learning data 3 is expressed as "true", and the case where the source is from the generation model 41 is expressed as "false". However, the method of expressing each source is not limited to the above example, and can be appropriately selected according to the embodiment.

[0163] As an example of the processing of the machine learning, the learning processing unit 212 first obtains the collected local learning data 3, and also obtains the data 53 generated by the generation model 41. Similar to the data 50, the data 53 is generated by inputting noise extracted from a predetermined probability distribution into the input layer 411 of the generation model 41 and performing the calculation processing of the generation model 41. Next, the learning processing unit 212 performs the machine learning of the recognition model 40 using the local learning data 3 and the data 53.

[0164] The correct data for the recognition of the data 53 generated by the generation model 41 is "false". On the other hand, the correct data for the recognition of the data contained in the local learning data 3 is "true". Therefore, by associating the correct data indicating "false" with the data 53, a learning data set that specifically participates in learning the ability to recognize that the provided data originates from the generation model 41 can be generated. In addition, by associating the data contained in the local learning data 3 with the correct data indicating "true", a learning data set that specifically participates in learning the ability to recognize that the provided data originates from the local learning data 3 can be generated. In addition, "true" can be expressed as "1" and "false" can be expressed as "0". The machine learning of the recognition model 40 performed by the learning processing unit 212 can be regarded as supervised learning using each learning data set.

[0165] That is, the learning processing unit 212 inputs the data 53 generated by the generation model 41 into the input layer 401 of the recognition model 40, and performs the calculation processing of the recognition model 40. Thus, the learning processing unit 212 obtains an output value corresponding to the recognition result of whether the input data is derived from the local learning data 3 or from the generation model 41 from the output layer 403. In this scenario, since the input data is the data 53 generated by the generation model 41, the recognition model 40 recognizes that it is "false" and is correct. The learning processing unit 212 calculates the error between the output value obtained from the output layer 403 and the correct value for the data 53 generated by the generation model 41.

[0166] In addition, the learning processing unit 212 inputs the data included in the local learning data 3 into the input layer 401 of the recognition model 40, and performs the calculation processing of the recognition model 40. As a result, the learning processing unit 212 obtains an output value corresponding to the recognition result of whether the input data is derived from the local learning data 3 or from the generation model 41 from the output layer 403. In this scenario, since the input data is the data included in the local learning data 3, the recognition model 40 recognizes that it is correct to be "true". The learning processing unit 212 calculates the error between the output value obtained from the output layer 403 and the correct value for the data included in the local learning data 3.

[0167] Then, the learning processing unit 212 adjusts the values ​​of the operation parameters of the recognition model 40 so that the sum of the calculated errors becomes smaller. The learning processing unit 212 repeatedly adjusts the values ​​of the operation parameters of the recognition model 40 through the above series of processes until the sum of the output value obtained from the output layer 403 and the correct error of the truth or falsehood becomes below the threshold. Thus, the learning processing unit 212 can train the recognition model 40 so that it acquires the ability to recognize whether the provided data is data generated by the generation model 41 or data included in the local learning data 3. The storage processing unit 213 generates information representing the structure and operation parameters of the recognition model 40 that has been learned and constructed through machine learning as learning result data 221, and saves the generated learning result data 221 in a specified storage area.

[0168] (B) Inference Processing

[0169] Next, use Figure 7B An example of a software configuration related to the inference process of each learning device 2 according to the present embodiment will be described. Figure 7B An example of the software configuration related to the inference processing of each learning device 2 according to the present embodiment is schematically illustrated.

[0170] The control unit 21 of each learning device 2 loads the inference program 83 stored in the storage unit 22 into the RAM. Then, the control unit 21 interprets and executes the inference program 83 loaded into the RAM through the CPU, thereby controlling each component. Figure 7B As shown, each learning device 2 according to the present embodiment operates as a computer having an object data acquisition unit 216, an inference unit 217, and an output unit 218 in the form of a software module. That is, in the present embodiment, each software module of each learning device 2 related to the inference process is implemented by the control unit 21 (CPU).

[0171] The object data acquisition unit 216 acquires the object data 223 as the processing object of inference. In the present embodiment, the object data acquisition unit 216 acquires the object data 223 from the sensor S. The inference unit 217 acquires a data group 225 collected as inference learning data for inferring features. The data group 225 is composed of a plurality of data 2251 related to the inferred features. The data 2251 included in the data group 225 may be, for example, data included in the local learning data 3, data generated by the generation model 41, etc. The inference unit 217 may also acquire data generated using the generation model 41 that has been learned. The generation of data using the generation model 41 that has been learned may be performed by each learning device 2 or by another computer. In the case where the generation of data using the generation model 41 that has been learned is executed by each learning device 2, the inference unit 217 includes the generation model 41 that has been learned by maintaining the learning result data 121. The inference unit 217 generates data using the generation model 41 that has been learned. Thus, the inference unit 217 can also obtain the data group 225 containing the data generated by the learned generation model 41. Then, the inference unit 217 infers the features represented by the object data 223 based on the comparison between the data group 225 and the object data 223. In addition, the "inference" can be, for example, any of deriving discrete values ​​(such as categories corresponding to specific features) through grouping (classification, identification) and deriving continuous values ​​(such as the probability of the occurrence of specific features) through regression. The output unit 218 outputs information related to the inference result of the feature.

[0172] <Other>

[0173] The software modules of the model generation device 1 and each learning device 2 are described in detail in the action examples described later. In addition, in this embodiment, an example in which each software module of the model generation device 1 and each learning device 2 is implemented by a general-purpose CPU is described. However, part or all of the above software modules can also be implemented by one or more dedicated processors. In addition, regarding the software configuration of the model generation device 1 and each learning device 2, software modules can be appropriately omitted, replaced, and added according to the implementation method.

[0174] §3 Action Examples

[0175] [Learning Process]

[0176] In the present embodiment, the machine learning of the recognition model 40 performed by each learning device 2 and the machine learning of the generation model 41 performed by the model generation device 1 can be repeated alternately. The number of repetitions is not particularly limited and can be appropriately selected according to the embodiment. Thereby, the recognition accuracy of the recognition model 40 and the accuracy of data generation of the generation model 41 can be improved. That is, the recognition model 40 can learn the ability to appropriately identify whether the provided data is the local learning data 3. In addition, the generation model 41 can learn the ability to appropriately generate data that may be included in the distribution of any local learning data 3 based on the noise extracted from the prescribed probability distribution. Below, an example of an action related to the machine learning of each learning device 2 and the model generation device 1 is described.

[0177] (A) Each learning device

[0178] First, use Figure 8 An operation example of each learning device 2 related to the machine learning of the recognition model 40 will be described. Figure 8 4 is a flowchart showing an example of processing steps related to machine learning of the recognition model 40 performed by each learning device 2. However, each processing step described below is only an example, and each process can also be changed within a possible range. Furthermore, for each processing step described below, steps can be appropriately omitted, replaced, and added according to the implementation method.

[0179] (Step S101)

[0180] In step S101 , the control unit 21 operates as the learning data collection unit 211 and collects the local learning data 3 .

[0181] The method for generating the local learning data 3 is not particularly limited and can be appropriately selected according to the implementation method. In the present embodiment, the local learning data 3 can be used to infer the characteristics exhibited by the data obtained by the sensor S. Therefore, for example, by preparing a sensor of the same type as the sensor S and using the prepared sensor to observe under various conditions, a plurality of pieces of data that exhibit or do not exhibit the prescribed characteristics are obtained. The local learning data 3 can be composed of the plurality of pieces of data thus obtained. In addition, each piece of data can also be given a label representing the characteristics exhibited by the piece of data.

[0182] The local learning data 3 may be automatically generated by the action of the computer or manually generated by the operation of the operator. In addition, the generation of the local learning data 3 may be performed by each learning device 2 or by other computers other than the learning device 2. In the case where the local learning data 3 is generated by each learning device 2, the control unit 21 may also perform the above-mentioned processing automatically or manually through the operation of the operator via the input device 24, thereby collecting the local learning data 3. On the other hand, in the case where other computers generate the local learning data 3, the control unit 21 may also collect the local learning data 3 generated by other computers, for example, via a network, a storage medium 92, etc. It is also possible that a part of the local learning data 3 is generated by each learning device 2, and the other part is generated by other computers.

[0183] The number of data constituting the local learning data 3 is not particularly limited and can be appropriately selected according to the implementation method. In addition, the control unit 21 can also use the data 2251 included in the data group 225 used in the inference as the local learning data 3. When the local learning data 3 is collected, the control unit 21 advances the processing to the next step S102.

[0184] (Step S102)

[0185] In step S102 , the control unit 21 operates as the learning processing unit 212 and acquires the data 53 generated by the generation model 41 .

[0186] In the present embodiment, the control unit 11 of the model generation device 1 extracts noise from a predetermined probability distribution, inputs the extracted noise into the input layer 411 of the generation model 41, and performs arithmetic processing of the generation model 41. That is, the control unit 11 inputs the noise into the input layer 411 of the generation model 41, and sequentially performs firing determination of each neuron included in each layer 411 to 413 from the input side. Thus, the control unit 11 obtains data 53 generated from the noise as an output from the output layer 413. The control unit 21 obtains the data 53 thus generated by the generation model 41. In the present embodiment, the generated data 53 is plausible sensing data.

[0187] The path for acquiring the data 53 is not particularly limited and can be appropriately selected according to the implementation method. For example, the control unit 21 can also access the model generation device 1 via the network, thereby directly acquiring the data 53 from the model generation device 1. In this case, the control unit 11 of the model generation device 1 can also generate the data 53 by generating the model 41 according to the request from each learning device 2. Then, the control unit 11 can also send the generated data 53 to each learning device 2 as appropriate. Thus, the control unit 21 can also acquire the data 53 from the model generation device 1. In addition, for example, the control unit 11 of the model generation device 1 can also save the data 53 generated by the generation model 41 to an external storage device such as a data server. The data server can also be, for example, NAS (Network Attached Storage) or the like. In this case, the control unit 21 can also access the external storage device and acquire the data 53 from the external storage device, thereby indirectly acquiring the data 53 from the model generation device 1.

[0188] The number of acquired data 53 is not particularly limited and can be appropriately selected according to the embodiment. When the data 53 generated by the generation model 41 is acquired, the control unit 21 advances the process to the next step S103. In addition, this step S102 may be executed before step S101.

[0189] (Step S103)

[0190] In step S103, the control unit 21 acts as the learning processing unit 212, and constructs a learned recognition model 40 by machine learning using the collected local learning data 3, and the learned recognition model 40 has acquired the ability to recognize whether the provided data is included in the local learning data 3. In this embodiment, the control unit 21 uses the local learning data 3 and the data 53 generated by the generation model 41 to train the recognition model 40 so that it recognizes whether the provided data is derived from the local learning data 3 or the generation model 41. In the processing of this machine learning, a stochastic gradient descent method, a mini-batch gradient descent method, etc. can be used.

[0191] Specifically, the control unit 21 inputs the data 53 generated by the generation model 41 into the input layer 401 of the recognition model 40, and sequentially performs firing judgments of each neuron contained in each layer 401 to 403 from the input side. Thus, the control unit 21 obtains an output value corresponding to the recognition result of whether the input data is derived from the local learning data 3 or from the generation model 41 from the output layer 403. In this scenario, since the input data is the data 53 generated by the generation model 41, the recognition model 40 recognizes that it is correct to be "false". The control unit 21 calculates the error between the output value obtained from the output layer 403 and the correct value for the data 53 generated by the generation model 41.

[0192] In addition, the control unit 21 inputs the data included in the local learning data 3 into the input layer 401 of the recognition model 40, and performs firing judgments of each neuron included in each layer 401 to 403 in sequence from the input side. Thus, the control unit 21 obtains an output value corresponding to the recognition result of whether the input data is derived from the local learning data 3 or from the generation model 41 from the output layer 403. In this scenario, since the input data is the data included in the local learning data 3, the recognition model 40 recognizes that "true" is correct. The control unit 21 calculates the error between the output value obtained from the output layer 403 and the correct value for the data included in the local learning data 3.

[0193]

Mathematical formula 1

[0194]

[0195] Each error can be calculated, for example, by the loss function of Formula 1. i represents the set of local learning data 3 of the i-th learning device 2, and x represents X i The samples included in D i represents the value recognized by the recognition model 40 of the i-th learning device 2. z represents noise, G represents data generated by the generation model 41. E represents the expected value for the sample. In addition, the loss function of formula 1 is an example, and the calculation of each error may not be limited to the above example, and may be appropriately selected according to the implementation method.

[0196] The control unit 21 uses the error back propagation method and the calculated gradient of the error of the output value to calculate the weight of the connection between each neuron in the recognition model 40 and the error of each threshold of each neuron. The control unit 21 updates the weight of the connection between each neuron and the value of each threshold of each neuron according to the calculated errors. For example, the control unit 21 extracts samples from the local learning data 3 and the data 53 generated by the generation model 41, respectively, and uses the extracted samples to adjust the value of the operation parameter through the above-mentioned processing. The control unit 21 repeats the adjustment a specified number of times. The number of repetitions of the adjustment is not particularly limited and can be appropriately selected according to the implementation method. Thus, the control unit 21 can construct a recognition model 40 that is trained for the local learning data 3 and the data 53 generated by the generation model 41, and can appropriately identify whether the provided data is derived from the local learning data 3 or the generation model 41. When the machine learning of the recognition model 40 is completed, the control unit 21 causes the processing to enter the next step S104.

[0197] (Step S104)

[0198] In step S104, the control unit 21 acts as a storage processing unit 213 to store information related to the learned recognition model 40 constructed by machine learning in a predetermined storage area. In the present embodiment, the control unit 21 generates information representing the structure and operation parameters of the learned neural network (recognition model 40) constructed by machine learning in step S103 as learning result data 221. Then, the control unit 21 stores the generated learning result data 221 in a predetermined storage area.

[0199] The prescribed storage area may be, for example, a RAM in the control unit 21, a storage unit 22, an external storage device, a storage medium, or a combination thereof. The storage medium may be, for example, a CD, a DVD, etc., and the control unit 21 may store the learning result data 221 in the storage medium via the driver 26. The external storage device may be, for example, a data server such as a NAS. In this case, the control unit 21 may also use the communication interface 23 to store the learning result data 221 in the data server via a network. In addition, the external storage device may also be, for example, an external storage device connected to the learning device 2.

[0200] Thus, when the storage of the learning result data 221 is completed, the control unit 21 ends a series of processes related to the machine learning of the recognition model 40 .

[0201] In addition, as described above, the machine learning of the recognition model 40 performed by each learning device 2 and the machine learning of the generation model 41 performed by the model generation device 1 may be repeated and performed alternately. During the repetitive process, the control unit 21 may omit step S104 and temporarily save the information related to the tentatively learned recognition model 40 into the RAM. Alternatively, the control unit 21 may not omit step S104, but save the information related to the tentatively learned recognition model 40 as learning result data 221 into a specified storage area. In addition, during the repetitive process, the control unit 21 may omit the processing of step S101.

[0202] (B) Model generation device

[0203] Next, use Fig. 9 An operation example of the model generation device 1 related to machine learning for generating the model 41 will be described. Fig. 9 4 is a flowchart showing an example of processing steps related to machine learning of the generation model 41 performed by the model generation device 1. The processing steps described below are an example of the "model generation method" of the present invention. However, each processing step described below is only an example, and each step can also be changed within a possible range. Furthermore, for each processing step described below, steps can be appropriately omitted, replaced, and added according to the implementation method.

[0204] (Step S201)

[0205] In step S201, the control unit 11 operates as the generation unit 111 and generates data 50 using the generation model 41. In the initial stage, the generation model 41 can be provided by a template or specified by an operator via the input device 14. In the repeated process of machine learning of the recognition model 40 and machine learning of the generation model 41, the generation model 41 can be provided based on the learning result obtained by the previous machine learning.

[0206] In the present embodiment, the control unit 11 sets the generation model 41 based on these. Next, the control unit 11 extracts a plurality of noises from a probability distribution specified by a Gaussian distribution or the like. The number of noises to be extracted can be appropriately selected according to the embodiment. Then, the control unit 11 inputs the extracted noises into the input layer 411 of the generation model 41, and sequentially performs firing determination of each neuron contained in each layer 411 to 413 from the input side. Thus, the control unit 11 obtains data 50 generated corresponding to each noise from the output layer 413. When the data 50 is generated, the control unit 11 causes the processing to proceed to the next step S202.

[0207] (Step S202 and Step S203)

[0208] In step S202, the control unit 11 operates as the sending unit 112 to send the generated data 50 to each recognition model 40, so that each recognition model 40 recognizes the data 50. In step S203, the control unit 11 operates as the receiving unit 113 to receive the recognition result 51 of each recognition model 40 on the sent data 50.

[0209] In the present embodiment, the control unit 11 uses the communication interface 13 to send the data 50 to each learning device 2 via the network. Thus, the control unit 11 causes each recognition model 40 to perform recognition on the data 50. In addition, the control unit 11 obtains the recognition result 51 of each recognition model 40 from each learning device 2 via the network. When the recognition result 51 is obtained from each learning device 2, the control unit 11 advances the process to the next step S204.

[0210] In addition, the transmission path of the data 50 and the receiving path of the recognition result 51 are not particularly limited, and can be appropriately selected according to the implementation method. For example, the control unit 11 can also send the data 50 directly to each learning device 2 via the network. In addition, for example, the control unit 11 can also send the generated data 50 to an external storage device such as a data server, and make each learning device 2 obtain the data 50 stored in the external storage device. Thus, the control unit 11 can also indirectly send the generated data 50 to each learning device 2. The receiving path of the recognition result 51 is the same.

[0211] (Step S204)

[0212] In step S204, the control unit 11 acts as the learning processing unit 114, and trains the generation model 41 by machine learning using the received recognition result 51, so that it generates data that reduces the recognition performance of at least any one of the multiple recognition models 40. That is, the control unit 11 trains the generation model 41 so that it generates data that at least any one of the multiple recognition models 40 recognizes as "true" (that is, recognized as originating from the local learning data 3). The method of calculating the error in a manner that reduces the recognition performance of at least any one of the multiple recognition models 40 can be appropriately selected according to the implementation method. In this embodiment, as described below, the Softmax function is used in the calculation of the error.

[0213]

Mathematical formula 2

[0214] y i =D i (G(z)) (Formula 2)

[0215] Specifically, in step S202, the control unit 21 of each learning device 2 uses each recognition model 40 to perform recognition on the data 50 generated by the generation model 41. The output value y of the i-th recognition model 40 is i It is expressed by the above-mentioned Formula 2. The control unit 21 performs calculation of the following Formula 3 based on the output value of the recognition model 40.

[0216]

Mathematical formula 3

[0217]

[0218] First, the control unit 21 calculates exp(ly i Then, the control unit 21 obtains the calculation results of other learning devices 2 and calculates exp(ly m ), and use the calculated sum to calculate the Softmax function S(ly i). In addition, l is a parameter. By increasing the value of l, the degree to which the recognition performance of at least any one of the multiple recognition models 40 is reduced can be increased. On the other hand, when the value of l is reduced, the degree to which the recognition performance of at least any one of the multiple recognition models 40 is reduced can be reduced, making it close to the learning that reduces the recognition performance of all recognition models 40. The value of l can be determined appropriately. For example, the value of l can be specified by the operator. In addition, for example, the value of l can be determined based on the deviation of the distribution of the local learning data 3 of each learning device 2. Specifically, when the deviation of the distribution of the local learning data 3 of each learning device 2 is small, each learning device 2 maintains data similar to each other as local learning data 3. In this case, the value of l can be set to a small value. On the other hand, when the deviation of the distribution of the local learning data 3 of each learning device 2 is large, each learning device 2 maintains uneven data as local learning data 3. In this case, the value of l can be set to a large value. The deviation of the distribution can be calculated, for example, by an indicator such as dispersion.

[0219]

Mathematical formula 4

[0220] Y=∑ i y i S(ly i ) (Formula 4)

[0221]

Mathematical formula 5

[0222] F(Y)=E((Y-1) 2 ) (Formula 5)

[0223] Next, the control unit 21 calculates y in the above equation 4. i S(ly i ). Furthermore, the control unit 21 obtains the calculation results of other learning devices 2 and calculates Y. Y corresponds to the result of integrating the outputs of each recognition model 40 with respect to the generated data 50. The control unit 21 calculates F(Y) of the above formula 5 based on the calculated Y. F(Y) is an example of a loss function (error) of the generation model 41. In addition, the loss function used to calculate the error is not limited to the example of formula 5, and can be appropriately selected according to the implementation method.

[0224]

Mathematical formula 6

[0225]

[0226] Then, the control unit 21 calculates V in the above equation 6 based on the calculated F(Y). i . V i corresponds to the gradient obtained by back-propagating the error F(Y) from the output side to the input side of the recognition model 40. In the above step S203, the control unit 21 of each learning device 2 calculates V iAs a result of the identification, 51 is returned.

[0227]

Mathematical formula 7

[0228] V=∑ i V i (Formula 7)

[0229] In step S204, the control unit 11 calculates the V obtained from each learning device 2. i The sum V (Formula 7). Thus, the control unit 11 integrates the results 51 recognized by each recognition model 40. Then, the control unit 11 trains the generation model 41 through machine learning using the integrated recognition results 51. Specifically, the control unit 11 uses the calculated gradient V to calculate the errors of the weights of the connections between the neurons in the generation model 41 and the threshold values ​​of the neurons by the error back propagation method. Then, the control unit 11 updates the values ​​of the weights of the connections between the neurons in the generation model 41 and the threshold values ​​of the neurons according to the calculated errors.

[0230] Thus, the values ​​of the operation parameters of the generation model 41 are adjusted so as to reduce the recognition performance of at least any one of the plurality of recognition models 40. That is, the control unit 11 can construct the generation model 41 trained to generate data that reduces the recognition performance of at least any one of the plurality of recognition models 40. When the machine learning of the generation model 41 is completed, the control unit 11 advances the processing to the next step S205.

[0231] In addition, the recognition result 51 returned from each learning device 2 is not limited to the above example as long as it can be used to update the operation parameters of the generation model 41, and can be appropriately determined according to the implementation method. For example, when the model generation device 1 is capable of performing the back propagation calculation of each recognition model 40, the control unit 11 can also obtain the output value of each recognition model 40 as the recognition result 51. In this case, the control unit 11 can also perform the above-mentioned operation processing of each learning device 2. In addition, the method of calculating the error in a manner that reduces the recognition performance of at least any one of the multiple recognition models 40 is not limited to the method using the Softmax function. In the calculation of the error, in addition to the Softmax function, for example, the MAX function can also be used.

[0232] (Step S205)

[0233] In step S205, the control unit 11 acts as a storage processing unit 115 to save information related to the learned generation model 41 constructed by machine learning to a specified storage area. In the present embodiment, the control unit 11 generates information representing the structure and operation parameters of the learned neural network (generation model 41) constructed by the machine learning of step S204 as learning result data 121. Then, the control unit 11 saves the generated learning result data 121 to a specified storage area. The specified storage area can be, for example, a RAM in the control unit 11, a storage unit 12, an external storage device, a storage medium, or a combination thereof. Thus, when the saving of the learning result data 121 is completed, the control unit 11 ends a series of processing related to the machine learning of the generation model 41.

[0234] In addition, as described above, the machine learning of the recognition model 40 performed by each learning device 2 and the machine learning of the generation model 41 performed by the model generation device 1 may be repeated and performed alternately. In the process of this repetition, the control unit 11 may also omit step S205 and temporarily save the information (learning result) related to the provisionally learned generation model 41 in the RAM. Alternatively, the control unit 11 may not omit step S205 and save the information related to the provisionally learned generation model 41 as the learning result data 121 in the specified storage area.

[0235] [Inference Processing]

[0236] Next, use Fig.10 An operation example of each learning device 2 related to the inference process will be described. Fig.10 1 is a flowchart showing an example of processing steps related to the inference processing performed by each learning device 2. However, each processing step described below is only an example, and each step can also be changed within a possible range. Furthermore, for each processing step described below, steps can be appropriately omitted, replaced, and added according to the implementation method.

[0237] (Step S301)

[0238] In step S301, the control unit 21 operates as the object data acquisition unit 216 to acquire the object data 223 to be subjected to predetermined inference. In this embodiment, each learning device 2 is connected to the sensor S via the external interface 27. Therefore, the control unit 21 acquires the object data 223 from the sensor S via the external interface 27.

[0239] However, the acquisition path of the object data 223 is not limited to the above example, and can be appropriately determined according to the implementation method. For example, another computer different from each learning device 2 can also be connected to the sensor S. In this case, the control unit 21 can also receive the transmission of the object data 223 from another computer to acquire the object data 223. When the object data 223 is acquired, the control unit 21 advances the processing to the next step S302.

[0240] (Step S302)

[0241] In step S302, the control unit 21 operates as the inference unit 217, and obtains a data group 225 collected as inference learning data for inferring features. The data group 225 is composed of a plurality of data 2251 related to the inferred features. The data 2251 included in the data group 225 may be, for example, data included in the local learning data 3, data generated by the generation model 41, or the like.

[0242] In addition, the control unit 21 may also obtain data generated by the learned generation model 41 as data 2251. The generation of data by the learned generation model 41 may be performed by each learning device 2 or by another computer. When the generation of data by the learned generation model 41 is performed by each learning device 2, the control unit 21 has the learned generation model 41 by retaining the learning result data 121. The control unit 21 may also obtain the learning result data 121 generated by the above-mentioned learning process via, for example, a network, a storage medium 92, etc. In this case, the control unit 21 sets the learned generation model 41 with reference to the learning result data 121. In addition, the control unit 21 extracts a plurality of noises from a predetermined probability distribution such as a Gaussian distribution. Then, the control unit 21 inputs the extracted noise into the input layer 411 of the generation model 41, and sequentially performs the firing judgment of each neuron included in each layer 411 to 413 from the input side. Thus, the control unit 21 obtains data generated corresponding to the noise from the output layer 413. By adding the acquired data to the data set 225 as data 2251, the control unit 21 can acquire the data set 225 including the data generated by the learned generation model 41. Alternatively, the control unit 21 can acquire data generated by another computer using the learned generation model 41 via a network, storage medium 92, etc.

[0243] Next, the control unit 21 infers the features represented by the object data 223 by comparing the data group 225 with the object data 223. The method of inferring the features represented by the object data 223 by comparing with the data group 225 can be appropriately selected according to the implementation. As an example, the following scenario is assumed: each piece of data 2251 included in the data group 225 is data representing a predetermined feature, and as an inference of the feature, it is inferred whether the predetermined feature appears in the object data 223 by comparing with the data group 225. For example, in a scenario where the object data 223 is image data of a product, and as an inference of the feature, it is inferred whether the product contains a defect, each piece of data 2251 constituting the data group 225 is an example of data that is image data of a product containing a defect or not containing a defect and represents the predetermined feature. In this case, the control unit 21 can also calculate the similarity between each piece of data 2251 and the object data 223 in the comparison between the data group 225 and the object data 223. The similarity can be calculated, for example, by a norm (distance) or the like.

[0244] Then, the control unit 21 may determine whether the distribution of the data 2251 constituting the data group 225 includes the object data 223 based on the calculated similarity. For example, the control unit 21 may compare the calculated similarity with a threshold value, and determine that the distribution of the data 2251 constituting the data group 225 includes the object data 223 when the calculated similarity is below the threshold value. The threshold value may be set appropriately. In this case, the control unit 21 may infer that the prescribed feature expressed by each piece of data 2251 is also expressed in the object data 223. In the above example, when each piece of data 2251 is image data of a product containing a defect, the control unit 21 may infer that the product captured in the object data 223 contains a defect. On the other hand, when the calculated similarity exceeds the threshold value, the control unit 21 may determine that the distribution of the data 2251 constituting the data group 225 does not include the object data 223. In this case, the control unit 21 may infer that the prescribed feature expressed by each piece of data 2251 is not expressed in the object data 223. In the above example, the control unit 21 can infer that the product photographed in the object data 223 does not contain defects.

[0245] When inference is made for a plurality of features, the data group 225 may be composed of data 2251 collected according to the features. In this case, each piece of data 2251 may be assigned a label indicating the feature represented by each piece of data 2251, and each piece of data 2251 may be classified according to the label. Then, the control unit 21 may calculate the similarity between each piece of data 2251 and the object data 223 according to the feature, and infer whether the feature is represented in the object data 223. For example, the control unit 21 may infer that the feature represented by the data 2251 having the highest similarity to the object data 223 is also represented in the object data 223. When the feature represented in the object data 223 is inferred by comparison with the data group 225, the control unit 21 advances the processing to the next step S303.

[0246] (Step S303)

[0247] In step S303 , the control unit 21 operates as the output unit 218 and outputs information on the inference result of the feature.

[0248] The output destination and the content of the output information can be appropriately determined according to the implementation method. For example, the control unit 21 can also output the result of the feature inference in step S302 directly to the output device 25. In addition, for example, the control unit 21 can also perform certain information processing based on the inference result of the feature. Then, the control unit 21 can also output the execution result of the information processing as information related to the inference result. The output of the execution result of the information processing can include outputting specific messages such as warnings based on the inference result, controlling the action of the control object device based on the inference result, etc. The output destination can be, for example, the output device 25, the control object device, etc. When the output of the information related to the inference result is completed, the control unit 21 ends a series of processing related to the prescribed inference processing.

[0249] [Grouping of learning devices]

[0250] Next, use Fig.11 An example of grouping of the learning devices 2 will be described. Fig.11 An example of a scenario in which the learning devices 2 are grouped is schematically illustrated.

[0251] One of the purposes of constructing the generation model 41 by the model generation device 1 is to generate data that matches the distribution of the local learning data 3 collected in each learning device 2. For example, it is assumed that the local learning data 3 collected by one learning device 2 and the local learning data 3 collected by other learning devices 2 are composed of the same type of data. In this case, through the processing of the above-mentioned machine learning, it is possible to appropriately construct a generation model 41 that can generate data that matches the distribution of the local learning data 3 of each learning device 2. On the other hand, for example, it is assumed that the local learning data 3 collected by one learning device 2 and the local learning data 3 collected by other learning devices 2 are composed of different types of data. An example is a case where one local learning data 3 is composed of image data and the other local learning data 3 is composed of sound data. In this case, it is difficult to construct a generation model 41 that can generate data that matches the distribution of the local learning data 3 of each learning device 2.

[0252] Therefore, in this embodiment, the control unit 11 acts as the grouping unit 116 and can assign each learning device 2 to at least one of the multiple groups. Each group can be appropriately set. For example, each group can be appropriately set based on the type of data included in the local learning data, the characteristics of the data, the purpose of using the data, etc. Fig.11 , a scenario is exemplified in which each learning device 2 is assigned to two groups, group A and group B. The control unit 11 stores the assignment result of each learning device 2 to the group in the assignment information 124 .

[0253] When the grouping process is performed, the model generation device 1 holds the generation model 41 by group. Then, the control unit 11 performs the processes of the above steps S201 to 205 in the same group, in other words, by group. That is, in step S201, the control unit 11 generates data 50 by using the corresponding generation model 41 by group. In step S202, the control unit 11 sends the data 50 generated by using the corresponding generation model 41 by group to each learning device 2, so that each recognition model 40 performs recognition on the data 50. In step S203, the control unit 11 receives the results 51 recognized by each recognition model 40 from each learning device 2 by group. In step S204, the control unit 11 trains the corresponding generation model 41 by machine learning using the received recognition results 51 by group, so that it generates data that reduces the recognition performance of at least any one of the multiple recognition models 40. Then, in step S205, the control unit 11 saves the information related to the generation model 41 that has been learned and constructed by machine learning in a predetermined storage area by group.

[0254] The method of grouping can be appropriately determined according to the embodiment. In the present embodiment, the control unit 11 assigns each learning device 2 to at least one of the plurality of groups by using any one of the following two methods.

[0255] (A) First Grouping Method

[0256] First, use Fig.12 An example of the first grouping method will be described. Fig.12 This is a flowchart showing an example of processing steps for assigning each learning device 2 to a group using the first grouping method. In the first grouping method, the control unit 11 assigns each learning device 2 to at least one of a plurality of groups by causing each learning device 2 to select a desired group from a list of groups.

[0257] In addition, when the first grouping method is used as a method of assigning each learning device 2 to a group, each learning device 2 is assigned to at least one of the plurality of groups by the following steps S701 to S703. However, the processing steps described below are only an example, and each processing can be changed within a possible range. In addition, for the processing steps described below, steps can be appropriately omitted, replaced, and added according to the implementation method.

[0258] In step S701, the control unit 11 distributes a group list 123 indicating a plurality of groups to each learning device 2. Thus, the control unit 11 causes each learning device 2 to select one or more groups from the plurality of groups shown in the group list 123. Each group included in the group list 123 may also be set according to the attributes of the local learning data 3, the learning device 2, the user of the learning device 2, etc. For example, in the example of appearance inspection, the group may also be set according to the attributes of the production line number, the factory name, the company name, etc. In addition, a new group may also be set in the group list 123 according to a request from each learning device 2. The operator of each learning device 2 may refer to the group list 123 output to the output device 25, and operate the input device 24 to select one or more groups from the group list 123. In addition, the operator may operate the input device 24 to add a new group to the group list 123. Each learning device 2 may also select two or more groups. The control unit 21 of each learning device 2 returns the answer of the group selection to the model generation device 1 according to the operation.

[0259] In step S702, the control unit 11 obtains the selected answer from each learning device 2. Then, in step S703, the control unit 11 allocates each learning device 2 to one or more selected groups based on the obtained answer. When the allocation of one or more groups is completed, the control unit 11 ends a series of processes related to the allocation of groups according to the first grouping method. According to the first grouping method, the control unit 11 can group each learning device 2 by a simple method.

[0260] (B) Second Grouping Method

[0261] Next, use Fig.13 An example of the second grouping method will be described. Fig.13 1 is a flowchart showing an example of a processing procedure for assigning each learning device 2 to a group according to the second grouping method. In the second grouping method, the control unit 11 assigns each learning device 2 to an appropriate group according to the attribute of the local learning data 3 .

[0262] In addition, when the second grouping method is used as a method of assigning each learning device 2 to a group, each learning device 2 is assigned to at least one of the plurality of groups by the following processing of steps S801 to S803. However, the processing steps described below are only an example, and each processing may be changed within a possible range. In addition, for the processing steps described below, steps may be appropriately omitted, replaced, or added according to the implementation method.

[0263] (Step S801)

[0264] In step S801, the control unit 11 obtains attribute data related to the local learning data 3 from each learning device 2. The method of obtaining the attribute data may be the same as the method of obtaining the recognition result 51 from each learning device 2 in step S203. The control unit 11 may obtain the attribute data from each learning device 2 directly or indirectly.

[0265] The attribute data may also include all information related to the local learning data 3, for example, it may also include information indicating the type of data contained in the local learning data 3, information indicating the characteristics exhibited by the data, information indicating the purpose of use of the data, etc. The characteristics exhibited by the data may include all elements that can be inferred from the data. In the case where the local learning data 3 is composed of image data of a product, the characteristics exhibited by the data may be, for example, whether the product contains defects, the types of defects contained in the product, etc. In addition, the purpose of use of the data may be appropriately determined according to the implementation method. The data contained in the local learning data 3 may be used, for example, for learning of prescribed inferences such as appearance inspection and monitoring of cultivation conditions. The attribute data may be generated when the local learning data 3 is collected in each learning device 2 through step S101. When the attribute data is acquired, the control unit 11 causes the processing to proceed to the next step S802.

[0266] (Step S802 and Step S803)

[0267] In step S802, the control unit 11 clusters the attribute data acquired from each learning device 2. The clustering method is not particularly limited and can be appropriately selected according to the embodiment. For clustering, a known method such as k-means clustering can be used.

[0268] In step S803, the control unit 11 assigns each learning device 2 to at least one of the plurality of groups based on the clustering result. As an example, the control unit 11 assigns the learning devices 2 whose acquired attribute data are assigned to the same category to the same group. In this case, each group can be set according to the category of the attribute data. In addition, the control unit 11 can also assign each learning device 2 to two or more groups based on the clustering result.

[0269] When the allocation of groups based on the clustering result is completed, the control unit 11 ends a series of processes related to the allocation of groups according to the second grouping method. According to the second grouping method, the control unit 11 can allocate each learning device 2 to an appropriate group according to the attributes of the local learning data 3.

[0270] By adopting at least one of the above two methods, the control unit 11 can appropriately group the learning devices 2. However, the grouping method is not limited to these examples and can be appropriately determined according to the implementation. For example, the control unit 11 can also accept the operator's designation of grouping via the input device 14. In this case, the control unit 11 can also group the learning devices 2 according to the operator's designation.

[0271] [feature]

[0272] As described above, in order to implement the machine learning of the generation model 41 through step S204, the model generation device 1 involved in the present embodiment collects the recognition results 51 of each recognition model 40 in step S203 instead of collecting the local learning data 3 itself. As a result, the communication cost required by the model generation device 1 can be suppressed. In addition, since the local learning data 3 itself does not need to be used for the machine learning of the generation model 41, the computational cost required by the model generation device 1 can be suppressed in step S203. Furthermore, since the local learning data 3 itself does not need to be gathered in the model generation device 1, the content of the local learning data 3 can be prevented from becoming clear directly. Therefore, the confidentiality of the local learning data 3 can be guaranteed to a certain extent.

[0273] In addition, in the present embodiment, in step S204, the generation model 41 is trained to generate data that reduces the recognition performance of at least any one of the multiple recognition models 40 by machine learning using the collected recognition results 51. That is, through this machine learning, the generation model 41 is trained to generate data that causes recognition errors in at least any one of the recognition models 40. Thus, it is possible to construct a generation model 41 that can generate data that matches the distribution of any one of the local learning data 3 used in the machine learning of each recognition model 40. Therefore, the learned generation model 41 can generate data that matches the distribution of the logical sum of the local learning data 3 used in the machine learning of each recognition model 40. That is, even if the distribution of the local learning data 3 collected by each learning device 2 is different, the learned generation model 41 can generate data that may be included in each distribution. Therefore, according to the present embodiment, it is possible to construct a generation model 41 that can generate a variety of data.

[0274] In addition, the constructed generative model 41 after learning can be used to increase the number of learning data for inference, and in this embodiment, it is used to increase the number of data 2251 constituting the data group 225 used for inference. According to the generative model 41 constructed by this embodiment, data that may be included in the distribution of the local learning data 3 collected in each learning device 2 can be generated. Therefore, the generative model 41 can be used to obtain data that is difficult for each learning device 2 to collect alone but can be obtained by other learning devices 2. Therefore, not only can the number of data 2251 included in the data group 225 be increased, but the changes in the data 2251 can also be enriched, thereby improving the accuracy of the inference in step S302.

[0275] [Example]

[0276] In order to verify the above-mentioned effects, generation models related to the examples and comparative examples were constructed. However, the present invention is not limited to the following examples.

[0277] <Conditions>

[0278] Number of local learning data: 3

[0279] Data constituting local learning data: two-dimensional numerical data provided as (v, w)

[0280] - First local learning data: values ​​randomly sampled from a normal distribution with a mean of (-0.67, 0.5) and a standard deviation of 0.3 for (v, w)

[0281] - Second local learning data: values ​​randomly sampled from a normal distribution with mean (0.67, 0.5) and standard deviation 0.3 for (v, w)

[0282] - Third local learning data: values ​​randomly sampled from a normal distribution with a mean value of (0, -1) and a standard deviation of 0.3 for (v, w)

[0283] Number of data items constituting local learning data: 30,000 (10,000 samples x 3 local quantities)

[0284] Recognition model: A four-layer neural network, prepared according to local learning data

[0285] Generative model: a four-layer neural network

[0286] Number of repetitions of machine learning for recognition and generation models: 5,000

[0287] The generative model has a 200-dimensional input layer, a 128-dimensional fully connected layer, a 128-dimensional fully connected layer, and a 2-dimensional fully connected layer. The recognition model has a 2-dimensional input layer, a 128-dimensional fully connected layer, a 128-dimensional fully connected layer, and a 1-dimensional fully connected layer.

[0288] Fig.14 The local learning data S1 to S3 are shown. Corresponding to the three local learning data S1 to S3, three recognition models are prepared. The first recognition model is trained to recognize whether the provided data originates from the first local learning data S1 or from the generation model. The second recognition model is trained to recognize whether the given data originates from the second local learning data S2 or from the generation model. The third recognition model is trained to recognize whether the given data originates from the third local learning data S3 or from the generation model.

[0289] In the embodiment, the generation model is trained as in the processing steps of the above-mentioned embodiment so that it generates data that reduces the recognition performance of at least any one of the three recognition models. In the comparative example, the error is calculated by the mean square error, and the generation model is trained to generate data that reduces the recognition performance of all three recognition models. Except for this learning method, the processing steps of the comparative example are set to be the same as those of the embodiment. Then, noise extracted from Gaussian distribution is given to each generation model obtained by the embodiment and the comparative example, and two-dimensional numerical data is generated.

[0290] Fig.15A Numerical data generated by a generation model obtained by using the learning method of the comparative example is shown. Fig. 15B The numerical data generated by the generative model obtained by using the learning method of the embodiment is shown. Fig.15A and Fig. 15BIn the figure, the square dots represent the numerical data constituting the local learning data S1 to S3, and the black circle dots represent the generated numerical data. As described above, three local learning data S1 to S3 are prepared in such a way that the numerical data distribution does not repeat. Fig.15A As shown, in the learning method of the comparative example, the generation model is trained to generate numerical data that does not belong to any of the local learning data S1 to S3. Fig. 15B As shown, in the learning method of the embodiment, the generation model is trained to generate numerical data that may belong to each piece of local learning data S1 to S3.

[0291] It can be seen from the above verification results that, when the generative model is trained to generate data that reduces the recognition performance of all recognition models, the data that can be generated by the constructed generative model after learning is very limited. In particular, it can be seen that in the case where the distribution of local learning data is not repeated, the generative model is constructed to generate data that is not included in any distribution, and in the constructed generative model, data that may be included in the distribution of local learning data cannot be generated. In other words, in the generative model constructed by the learning method of the comparative example, the intended data cannot be generated, and useful data cannot be obtained. On the other hand, it can be seen that according to the learning method of this embodiment, even in the case where the local learning data of each piece is uneven and the distribution of local learning data is not repeated, the generative model can learn the ability to generate data that is consistent with the distribution of the logical sum of the local learning data of each piece. Therefore, it can be seen that according to this embodiment, a generative model that can generate a variety of data that may be included in the distribution of each piece of local learning data can be constructed. In other words, it is verified that useful data can be obtained through the generative model constructed according to this embodiment.

[0292] §4 Variations

[0293] Above, the embodiments of the present invention are described in detail, but the above description is only an illustration of the present invention in all aspects. Of course, various improvements and deformations can be made without departing from the scope of the present invention. For example, the following changes can be made. In addition, the same reference numerals are used below for the same components as the above-mentioned embodiments, and the description is appropriately omitted for the same points as the above-mentioned embodiments. The following modifications can be appropriately combined.

[0294] <4.1>

[0295] The model generation device 1 involved in the above embodiment is applied to a scenario where features included in sensing data obtained by a sensor S are inferred. However, the scope of application of the above embodiment is not limited to the above example. The model generation device 1 involved in the above embodiment can be applied to all scenarios where specified data is generated, especially data that can be used in learning specified inferences. Five modified examples with limited application scenarios are illustrated below.

[0296] (A) Appearance inspection scenario

[0297] Fig.16 An example of an application scenario of the inspection system 100A involved in the first variant is schematically illustrated. This variant is an example of applying the model generation device 1 involved in the above-mentioned embodiment to a scenario in which data that can be used to infer the state of the product RA produced on the production line is generated. Fig.16 As shown, the inspection system 100A according to this modification includes a model generation device 1 and a plurality of inspection devices 2A. As in the above-described embodiment, the model generation device 1 and the inspection devices 2A can be connected to each other via a network.

[0298] Each inspection device 2A corresponds to each of the above-mentioned learning devices 2. Except for the fact that the data processed is different, each inspection device 2A can be configured in the same manner as each of the above-mentioned learning devices 2. In this modified example, each inspection device 2A is connected to a camera SA. Each inspection device 2A obtains image data of the product RA by photographing the product RA using the camera SA. The type of camera SA is not particularly limited. The camera SA can be, for example, an ordinary digital camera configured to obtain RGB images, a depth camera configured to obtain depth images, an infrared camera configured to image the amount of infrared rays, and the like. Each inspection device 2A inspects the state of the product RA (i.e., determines whether the product RA is good or bad) based on the obtained image data.

[0299] In addition, in this modification, image data of the product is used as data for estimating the state of the product RA. However, the data that can be used for estimating the state of the product RA (determining whether it is good or bad) is not limited to image data. For example, sound data obtained by a microphone, measurement data obtained by an encoder, etc. can also be used in the state estimation together with or instead of image data.

[0300] <Hardware configuration of inspection equipment>

[0301] Fig.17 An example of the hardware configuration of each inspection device 2A according to this modification is schematically shown. Fig.17As shown, each inspection device 2A involved in this modification is a computer electrically connected to the control unit 21, the storage unit 22, the communication interface 23, the input device 24, the output device 25, the drive 26 and the external interface 27, just like the above-mentioned learning devices 2. Each inspection device 2A is connected to the camera SA via the external interface 27. However, the hardware structure of each inspection device 2A may not be limited to the above example. Regarding the specific hardware structure of each inspection device 2A, the components can be appropriately omitted, replaced and added according to the implementation method. In addition to being designed as an information processing device dedicated to the service provided, each inspection device 2A can also be a general-purpose server device, a general-purpose PC, a PLC (programmable logic controller), etc.

[0302] The storage unit 22 of each inspection device 2A involved in this modification stores various information such as the learning program 82A, the inspection program 83A, the local learning data 3A, and the learning result data 221A. The learning program 82A, the inspection program 83A, the local learning data 3A, and the learning result data 221A correspond to the learning program 82, the inference program 83, the local learning data 3, and the learning result data 221 involved in the above-mentioned embodiment. At least any one of the learning program 82A, the inspection program 83A, and the local learning data 3A may also be stored in the storage medium 92. In addition, each inspection device 2A may also obtain at least any one of the learning program 82A, the inspection program 83A, and the local learning data 3A from the storage medium 92.

[0303] <Learning Process>

[0304] Fig.18A An example of the software configuration related to the learning process of each inspection device 2A involved in this modification is schematically illustrated. As in the above-mentioned embodiment, the software configuration related to the learning process of each inspection device 2A is implemented by the control unit 21 executing the learning program 82A. Fig.18A As shown, except that the data to be processed is replaced by image data instead of sensing data, the software configuration related to the learning process of each inspection device 2A is the same as the software configuration related to the learning process of each learning device 2. Thus, each inspection device 2A performs a series of processes related to machine learning in the same manner as each learning device 2.

[0305] That is, in step S101, the control unit 21 of each inspection device 2A operates as a learning data collection unit 211A to collect local learning data 3A used in the machine learning of the recognition model 40A. In this modification, the recognition model 40A is composed of a neural network like the recognition model 40 involved in the above embodiment. The local learning data 3A is composed of product image data 31 of the product. The product image data 31 corresponds to the data 2251.

[0306] The method for generating the local learning data 3A can be appropriately selected according to the embodiment, similar to the above-mentioned embodiment. In this variant, the local learning data 3A can be used to infer the state of the product RA captured in the image data obtained by the camera SA. Therefore, the product image data 31 constituting the local learning data 3A can be obtained, for example, by using a camera to capture the product RA with or without defects such as spots, stains, and scars under various conditions. In this way, the local learning data 3A can be generated.

[0307] In step S102, the control unit 21 operates as the learning processing unit 212 to obtain data generated by the generation model 41. In this modification, the generation model 41 is configured to generate image data of a product. The control unit 11 of the model generation device 1 extracts noise from a predetermined probability distribution, inputs the extracted noise into the generation model 41, and performs arithmetic processing of the generation model 41. Thus, the control unit 11 obtains image data as an output from the generation model. The control unit 21 obtains the image data thus generated by the generation model 41.

[0308] In step S103, the control unit 21 acts as the learning processing unit 212, and constructs a learned recognition model 40A by machine learning using the local learning data 3A, and the learned recognition model 40A has acquired the ability to recognize whether the provided image data is the product image data 31 included in the local learning data 3A. In this variant, the control unit 21 uses the local learning data 3A and the image data generated by the generation model 41 to train the recognition model 40A so that it can recognize whether the provided image data is derived from the local learning data 3A or the generation model 41. In step S104, the control unit 21 acts as the storage processing unit 213, and generates information representing the structure and operation parameters of the learned recognition model 40A constructed by the machine learning of step S103 as learning result data 221A. Then, the control unit 21 saves the generated learning result data 221A to a specified storage area.

[0309] <Inspection and processing>

[0310] Fig.18BAn example of the software configuration related to the inspection process of each inspection device 2A involved in this modification is schematically illustrated. As in the above-mentioned embodiment, the software configuration related to the inspection process of each inspection device 2A is implemented by the control unit 21 executing the inspection program 83A. Fig.18B As shown, except that the data to be processed is replaced by image data instead of sensing data, the software configuration related to the inspection process of each inspection device 2A is the same as the software configuration related to the inference process of each learning device 2. Thus, each inspection device 2A performs a series of processes related to the inspection process in the same manner as each learning device 2.

[0311] That is, in step S301 , the control unit 21 of each inspection device 2A operates as the object data acquisition unit 216 to acquire the object image data 223A of the product RA to be inspected as an appearance inspection object from the camera SA.

[0312] In step S302, the control unit 21 acts as the inspection unit 217A to obtain a data group 225A collected as learning data for inference for determining the state of the product RA. In this variant, the data group 225A is composed of a plurality of product image data 2251A. Each product image data 2251A may be image data of a product that contains or does not contain defects. The data group 225A may be composed of either an image data group of a product that contains defects or an image data group of a product that does not contain defects, or may be composed of both. In addition, similarly to the above-mentioned embodiment, each product image data 2251A included in the data group 225A may be, for example, the product image data 31 included in the local learning data 3A, image data generated by the generation model 41 in this variant, or the like. The control unit 21 may also obtain data generated by the generation model 41 that has been learned as the product image data 2251A. The generation of data by the generation model 41 that has been learned may be performed by each inspection device 2A or by another computer. Thus, the control unit 21 can also obtain the data group 225A including the data generated by the learned generation model 41.

[0313] Next, the control unit 21 determines the state (good or bad) of the product RA captured in the target image data 223A by comparing the data group 225A with the target image data 223A. The control unit 21 compares the product image data 2251A constituting the data group 225A with the target image data 223A in the same manner as in the above-mentioned embodiment, thereby being able to infer the state of the product RA captured in the target image data 223A, that is, being able to determine whether the product RA contains a defect.

[0314] Furthermore, when the number of product image data 2251A included in the data group 225A is insufficient, the control unit 21 may appropriately designate the product image data 2251A as the local learning data 3A, and request the model generation device 1 to construct the generation model 41 for the designated local learning data 3A. Then, the control unit 21 may generate new image data of the product RA using the generation model 41 thus constructed and completed, and add the generated new image data as the product image data 2251A to the data group 225A. Thus, the control unit 21 may also increase the number of product image data 2251A included in the data group 225A.

[0315] In step S303, the control unit 21 acts as the output unit 218 to output information related to the inferred result of the state of the product RA. Similar to the above-mentioned embodiment, the output destination and the output information can be appropriately determined according to the embodiment. For example, the control unit 21 can also output the determination result of the state of the product RA directly to the output device 25. In addition, for example, when the product RA contains a defect, the control unit 21 can also output a warning for notifying this situation to the output device 25. In addition, for example, when each inspection device 2A is connected to a conveyor device (not shown) that transports the product RA, the conveyor device can also be controlled according to the determination result of the state of the product RA so as to transport non-defective products RA and defective products RA on different production lines.

[0316] <Model Generation>

[0317] In the present variation, the model generation device 1 uses each recognition model 40A constructed as described above to execute the processes of steps S201 to S205 in the same manner as in the above embodiment.

[0318] That is, in step S201, the control unit 11 of the model generation device 1 generates image data using the generation model 41. In step S202, the control unit 11 sends the generated image data to each recognition model 40A, so that each recognition model 40A performs recognition on the generated image data. In step S203, the control unit 11 receives the recognition result of each recognition model 40A on the sent image data. In this variation, the control unit 11 sends the image data to each inspection device 2A, so that each recognition model 40A performs recognition on the image data. Then, the control unit 11 obtains the recognition result of each recognition model 40A from each inspection device 2A.

[0319] In step S204, the control unit 11 trains the generation model 41 by machine learning using the received recognition result so that it generates image data that reduces the recognition performance of at least any one of the multiple recognition models 40A. In step S205, the control unit 11 generates information indicating the structure and operation parameters of the generation model 41 that has been learned and constructed by the machine learning in step S204 as learning result data 121. Then, the control unit 11 saves the generated learning result data 121 in a predetermined storage area.

[0320] According to this modification, in the scenario of inspecting the state of the product RA produced in the production line, a generation model 41 that can be used for the inspection and can generate a variety of image data can be constructed. By using the generation model 41, the number of product image data 2251A constituting the data group 225A used in the inspection can be increased. In this modification, the generation model 41 can generate product image data that is difficult to collect by each inspection device 2A alone but can be obtained by other inspection devices 2A. As a result, not only the number of product image data 2251A included in the data group 225A can be increased, but also the variation of the product image data 2251A can be enriched. That is, it is assumed that a defect that a certain site has no experience with occurs in other sites. In this case, as long as the local learning data 3A obtained in other sites is reflected in the machine learning of the generation model 41, the image data of the product RA containing the defect can be generated by the generation model 41. Therefore, by adding the image data to the data group 225A, the variation of the product image data 2251A can be enriched. Therefore, according to this modification, the accuracy of the inspection in step S302 can be improved. For example, defects that have not yet occurred in the field can be discovered.

[0321] (B) Monitoring the cultivation status

[0322] Fig.19 An example of an application scenario of the monitoring system 100B according to the second modification is schematically illustrated. This modification is an example in which the model generation device 1 according to the above-mentioned embodiment is applied to a scenario in which data that can be used to estimate the cultivation status of the plant GB is generated. Fig.19 As shown, a monitoring system 100B according to this modification includes a model generation device 1 and a plurality of monitoring devices 2B. As in the above-described embodiment, the model generation device 1 and the monitoring devices 2B can be connected to each other via a network.

[0323] Each monitoring device 2B corresponds to each of the above-mentioned learning devices 2. Each monitoring device 2B can be configured similarly to each of the above-mentioned learning devices 2, except that the data processed is different. In this modification, each monitoring device 2B is connected to a sensor SB and is configured to monitor the cultivation status of a plant GB. In addition, in this modification, each monitoring device 2B is connected to a cultivation device RB and is configured to control the operation of the cultivation device RB according to the cultivation status of the plant GB.

[0324] The cultivation device RB is configured to control the growth environment of the plant GB, thereby cultivating the plant GB. The type of the cultivation device RB is not particularly limited as long as it can control the growth environment of the plant GB, and can be appropriately selected according to the embodiment. The growth environment is related to the growth conditions of the plant GB, such as the time of irradiating light to the plant GB, the temperature around the plant GB, the amount of water provided to the plant GB, etc. The cultivation device RB can be, for example, a curtain device, a lighting device, an air conditioning device, a sprinkler device, etc. The curtain device is configured to open or close the curtain installed on the window of the building. The lighting device is, for example, LED (light emitting diode) lighting, fluorescent lamp, etc. The air conditioning device is, for example, an air conditioner, etc. The sprinkler device is, for example, a sprinkler, etc. The curtain device and the lighting device are used to control the time of irradiating light to the plant GB. The air conditioning device is used to control the temperature around the plant GB. The sprinkler device is used to control the amount of water provided to the plant GB.

[0325] Each monitoring device 2B senses the cultivation status of the plant GB using the sensor SB, thereby acquiring sensing data from the sensor SB as status data related to the cultivation status of the plant GB. The cultivation status is related to all elements of the cultivated plant GB, and can be determined, for example, based on the growth environment and growth status up to the cultivation time point. The growth status can be specified, for example, based on the growth degree of the plant GB. The type of the sensor SB is not particularly limited as long as it can sense the cultivation status of the plant GB, and can be appropriately selected according to the embodiment. The sensor SB can be, for example, a photometer, a thermometer, a hygrometer, a camera, etc. The camera can be, for example, a general camera, a depth camera, an infrared camera, etc. Each monitoring device 2B infers the cultivation status of the plant GB based on the obtained status data, and controls the operation of the cultivation device RB to achieve a growth environment suitable for the inferred cultivation status. However, the configuration of each monitoring device 2B is not limited to the above example. Each monitoring device 2B may not be connected to the cultivation device RB, and may not be configured to control the operation of the cultivation device RB.

[0326] <Hardware configuration of monitoring device>

[0327] Fig. 20 An example of the hardware configuration of each monitoring device 2B according to this modification is schematically shown. Fig. 20As shown, each monitoring device 2B involved in this modification is a computer electrically connected to the control unit 21, the storage unit 22, the communication interface 23, the input device 24, the output device 25, the driver 26 and the external interface 27, just like the above-mentioned learning devices 2. Each monitoring device 2B is connected to the cultivation device RB and the sensor SB via the external interface 27. However, the hardware structure of each monitoring device 2B is not limited to the above example. Regarding the specific hardware structure of the monitoring device 2B, the components can be appropriately omitted, replaced and added according to the implementation method. In addition to being designed as an information processing device dedicated to the service provided, each monitoring device 2B can also be a general-purpose server device, a general-purpose PC, PLC, etc.

[0328] The storage unit 22 of each monitoring device 2B involved in this modification stores various information such as a learning program 82B, a monitoring program 83B, local learning data 3B, and learning result data 221B. The learning program 82B, the monitoring program 83B, the local learning data 3B, and the learning result data 221B correspond to the learning program 82, the inference program 83, the local learning data 3, and the learning result data 221 involved in the above-mentioned embodiment. At least any one of the learning program 82B, the monitoring program 83B, and the local learning data 3B may also be stored in the storage medium 92. In addition, each monitoring device 2B may also obtain at least any one of the learning program 82B, the monitoring program 83B, and the local learning data 3B from the storage medium 92.

[0329] <Learning Process>

[0330] FIG21 schematically illustrates an example of a software configuration related to the learning process of each monitoring device 2B involved in this modification. As in the above-mentioned embodiment, the software configuration related to the learning process of each monitoring device 2B is implemented by the control unit 21 executing the learning program 82B. Fig.21A As shown, except that the data to be processed is replaced by the condition data related to the cultivation condition of the plant GB from the sensing data, the software configuration related to the learning process of each monitoring device 2B is the same as the software configuration related to the learning process of each learning device 2 described above. Thus, each monitoring device 2B performs a series of processes related to machine learning in the same manner as each learning device 2 described above.

[0331] That is, in step S101, the control unit 21 of each monitoring device 2B operates as an inference learning data collection unit 211B to collect local learning data 3B used in the machine learning of the recognition model 40B. In this modification, the recognition model 40B is composed of a neural network like the recognition model 40 involved in the above embodiment. In addition, the local learning data 3B is composed of status data 32 related to the cultivation status of the plant GB. The status data 32 corresponds to the data 2251.

[0332] The method for generating the local learning data 3B can be appropriately selected according to the embodiment, similarly to the above-mentioned embodiment. In this variant, the local learning data 3B can be used to infer the cultivation conditions of the plant GB. Therefore, the condition data 32 constituting the local learning data 3B can be obtained by sensing the cultivation conditions of the plant GB under various conditions using a sensor. Thus, the local learning data 3B can be generated.

[0333] In step S102, the control unit 21 operates as the learning processing unit 212, and obtains data generated by the generation model 41. In this modification, the generation model 41 is configured to generate suspected condition data related to the cultivation condition of the plant GB (hereinafter also described as "suspicious condition data"). The control unit 11 of the model generation device 1 extracts noise from a predetermined probability distribution, inputs the extracted noise into the generation model 41, and performs calculation processing of the generation model 41. Thus, the control unit 11 obtains the suspected condition data as an output from the generation model. The control unit 21 obtains the suspected condition data generated by the generation model 41 in this way.

[0334] In step S103, the control unit 21 acts as a learning processing unit 212, and constructs a learned recognition model 40B by machine learning using the local learning data 3B. The learned recognition model 40B has acquired the ability to identify whether the provided data is the status data 32 included in the local learning data 3B. In this variant, the control unit 21 uses the local learning data 3B and the suspected status data generated by the generation model 41 to train the recognition model 40B so that it can identify whether the provided data is derived from the local learning data 3B or the generation model 41. In step S104, the control unit 21 acts as a saving processing unit 213, and generates information representing the structure and operation parameters of the learned recognition model 40B constructed by the machine learning of step S103 as learning result data 221B. Then, the control unit 21 saves the generated learning result data 221B to a specified storage area.

[0335] <Monitoring Process>

[0336] Fig.21B An example of the software configuration related to the monitoring process of each monitoring device 2B involved in this modification is schematically illustrated. As in the above-mentioned embodiment, the software configuration related to the monitoring process of each monitoring device 2B is implemented by the control unit 21 executing the monitoring program 83B. Fig.21BAs shown, except that the data to be processed is replaced by condition data instead of sensing data, the software configuration related to the monitoring process of each monitoring device 2B is the same as the software configuration related to the inference process of each learning device 2. Thus, each monitoring device 2B performs a series of processes related to the monitoring process in the same manner as each learning device 2.

[0337] That is, in step S301 , the control unit 21 of each monitoring device 2B operates as the target data acquisition unit 216 to acquire the target status data 223B related to the cultivation status of the plant GB as the target of monitoring the cultivation status from the sensor SB.

[0338] In step S302, the control unit 21 acts as the monitoring unit 217B to obtain a data group 225B collected as inference learning data for inferring the cultivation status. In this variant, the data group 225B is composed of a plurality of status data 2251B. Each status data 2251B can be data related to a specific cultivation status of the plant GB. In addition, similar to the above-mentioned embodiment, each status data 2251B included in the data group 225B can be, for example, the status data 32 included in the local learning data 3B, the status data generated by the generation model 41 in this variant, etc. The control unit 21 can also obtain data generated by the generation model 41 that has been learned as the status data 2251B. The generation of data using the generation model 41 that has been learned can be executed by each monitoring device 2B or by another computer. Thus, the control unit 21 can also obtain a data group 225B containing data generated by the generation model 41 that has been learned.

[0339] Next, the control unit 21 compares the data group 225B with the object status data 223B, and estimates the cultivation status of the plant GB from the object status data 223B. The control unit 21 compares the status data 2251B constituting the data group 225B with the object status data 223B using the same method as the above-mentioned embodiment, and estimates the cultivation status of the plant GB from the object status data 223B.

[0340] In addition, when the number of pieces of condition data 2251B included in the data group 225B is insufficient, the control unit 21 may appropriately designate the condition data 2251B as the local learning data 3B, and request the model generation device 1 to construct the generation model 41 for the designated local learning data 3B. Then, the control unit 21 may generate new condition data that may be related to the cultivation condition of the plant GB using the generation model 41 that has been learned and constructed, and add the generated new condition data as the condition data 2251B to the data group 225B. Thus, the control unit 21 may also increase the number of pieces of condition data 2251B included in the data group 225B.

[0341] In step S303, the control unit 21 acts as the output unit 218 to output information related to the inferred result of the cultivation status of the plant GB. As in the above-mentioned embodiment, the output destination and the output information can be appropriately determined according to the embodiment. For example, the control unit 21 can also output the inferred result of the cultivation status of the plant GB directly to the output device 25. In addition, for example, the control unit 21 can also determine the control instruction applied to the cultivation device RB according to the inferred cultivation status. The correspondence between the cultivation status and the control instruction can also be given by reference information in a table format or the like. The reference information can be stored in the storage unit 22, the storage medium 92, the external storage device, etc., and the control unit 21 can also determine the control instruction according to the inferred cultivation status by referring to the reference information. Then, the control unit 21 can control the operation of the cultivation device RB by providing the determined control instruction to the cultivation device RB. In addition, for example, the control unit 21 can also output information indicating the determined control instruction to the output device 25 to urge the manager of the plant GB to control the operation of the cultivation device RB.

[0342] <Model Generation>

[0343] In the present variation, the model generation device 1 uses each recognition model 40B constructed as described above to execute the processes of steps S201 to S205 in the same manner as in the above embodiment.

[0344] That is, in step S201, the control unit 11 of the model generation device 1 generates suspected condition data using the generation model 41. In step S202, the control unit 11 sends the generated suspected condition data to each recognition model 40B, so that each recognition model 40B performs recognition on the generated suspected condition data. In step S203, the control unit 11 receives the result of each recognition model 40B recognizing the sent suspected condition data. In this variant, the control unit 11 sends the suspected condition data to each monitoring device 2B, so that each recognition model 40B performs recognition on the suspected condition data. Then, the control unit 11 obtains the recognition result of each recognition model 40B from each monitoring device 2B.

[0345] In step S204, the control unit 11 trains the generation model 41 by machine learning using the received recognition result so that it generates status data that reduces the recognition performance of at least any one of the multiple recognition models 40B. In step S205, the control unit 11 generates information representing the structure and operation parameters of the generation model 41 that has been learned and constructed by the machine learning in step S204 as learning result data 121. Then, the control unit 11 saves the generated learning result data 121 in a predetermined storage area.

[0346] According to this modification, in the scenario of monitoring the cultivation status of the plant GB, a generation model 41 that can be used for the monitoring and can generate a variety of status data can be constructed. By using this generation model 41, the number of status data 2251B constituting the data group 225B used in the monitoring can be increased. In this modification, the generation model 41 can generate status data that is difficult for each monitoring device 2B to collect alone but can be obtained by other monitoring devices 2B. As a result, not only can the number of status data 2251B included in the data group 225B be increased, but also the changes in the status data 2251B can be enriched.

[0347] For example, it is assumed that there is a monitoring device 2B that monitors the cultivation conditions of plants GB in a warm climate region, and another monitoring device 2B that monitors the cultivation conditions of plants GB in a cold climate region. In this scenario, it is assumed that the monitoring device 2B in the warm climate region has almost no experience of the cultivation conditions that are likely to occur in the cold climate region. Therefore, it is difficult for the monitoring device 2B alone to obtain the status data related to the above experience. Therefore, when the cultivation conditions that occur in the warm climate region change to the cold climate region due to abnormal weather, the monitoring device 2B may not be able to properly infer the cultivation conditions. In contrast, according to this variant, as long as there is experience of the cultivation conditions in other monitoring devices 2B, and the local learning data 3B obtained thereby is reflected in the machine learning of the generation model 41, the status data related to the cultivation conditions can be generated by the generation model 41. Therefore, by adding the status data to the data group 225B, the changes in the status data 2251B can be enriched. Therefore, according to this variant, the inference accuracy of the cultivation conditions in step S302 can be improved. For example, a cultivation condition that is not experienced at the site can be estimated. Thus, when the operation of the cultivation device RB is controlled based on the estimated cultivation condition, the accuracy of the operation of the cultivation device RB can be improved so as to be suitable for the cultivation condition.

[0348] (C) Driver monitoring scenario

[0349] Fig. 22 An example of an application scenario of the monitoring system 100C according to the third modification is schematically illustrated. This modification is an example in which the model generation device 1 according to the above-mentioned embodiment is applied to a scenario in which data that can be used to infer the state of the driver RC driving the vehicle is generated. Fig. 22 As shown, a monitoring system 100C according to this modification includes a model generation device 1 and a plurality of monitoring devices 2C. As in the above-described embodiment, the model generation device 1 and the monitoring devices 2C can be connected to each other via a network.

[0350] Each monitoring device 2C corresponds to each learning device 2 described above. Each monitoring device 2C can be configured similarly to each learning device 2 described above, except that the data processed is different. Each monitoring device 2C infers the state of the driver RC based on the data obtained by observing the driver RC. The data used in the inference is not particularly limited as long as it is data related to the state of the driver RC, and can be appropriately selected according to the implementation. The data used in the inference can be, for example, vital data of the driver RC, image data of the driver RC, etc. In this variant, each monitoring device 2C is connected to a camera SC configured to be able to photograph the driver RC. The camera SC can be, for example, an ordinary camera, a depth camera, an infrared camera, etc. Each monitoring device 2C infers the state of the driver RC based on the image data obtained from the camera SC. The state of the driver RC as the inference object can be appropriately determined according to the implementation. The state of the driver RC as the inference object can be appropriately determined according to the implementation, for example, it can also include a drowsiness indicating the drowsiness of the driver RC, a fatigue indicating the fatigue of the driver RC, a margin indicating the margin of the driver RC relative to driving, or a combination thereof.

[0351] <Hardware configuration of monitoring device>

[0352] Fig.23 An example of the hardware configuration of each monitoring device 2C according to this modification is schematically shown. Fig.23 As shown, each monitoring device 2C involved in this modification is a computer electrically connected to the control unit 21, the storage unit 22, the communication interface 23, the input device 24, the output device 25, the drive 26 and the external interface 27, similarly to the above-mentioned learning devices 2. Each monitoring device 2C is connected to the camera SC via the external interface 27. However, the hardware configuration of each monitoring device 2C is not limited to the above example. Regarding the specific hardware configuration of each monitoring device 2C, the components may be appropriately omitted, replaced, and added according to the implementation method. In addition to being designed as an information processing device dedicated to the service provided, each monitoring device 2C may also be a general-purpose computer, a portable phone including a smart phone, a vehicle-mounted device, etc.

[0353] The storage unit 22 of each monitoring device 2C involved in this variant stores various information such as a learning program 82C, a monitoring program 83C, local learning data 3C, and learning result data 221C. The learning program 82C, the monitoring program 83C, the local learning data 3C, and the learning result data 221C correspond to the learning program 82, the inference program 83, the local learning data 3, and the learning result data 221 involved in the above-mentioned embodiment. At least any one of the learning program 82C, the monitoring program 83C, and the local learning data 3C may also be stored in the storage medium 92. In addition, each monitoring device 2C may also obtain at least any one of the learning program 82C, the monitoring program 83C, and the local learning data 3C from the storage medium 92.

[0354] <Learning Process>

[0355] Fig.24A An example of the software configuration related to the learning process of each monitoring device 2C involved in this modification is schematically illustrated. As in the above-mentioned embodiment, the software configuration related to the learning process of each monitoring device 2C is implemented by the control unit 21 executing the learning program 82C. Fig.24A As shown, except that the processed data is replaced by the image data of the driver RC from the sensing data, the software configuration related to the learning processing of each monitoring device 2C is the same as the software configuration related to the learning processing of each learning device 2. Thus, each monitoring device 2C performs a series of processing related to machine learning in the same manner as each learning device 2.

[0356] That is, in step S101, the control unit 21 of each monitoring device 2C operates as a learning data collection unit 211C to collect local learning data 3C used in the machine learning of the recognition model 40C. In this modification, the recognition model 40C is composed of a neural network like the recognition model 40 involved in the above-mentioned embodiment. In addition, the local learning data 3C is composed of image data 33 of the driver. The image data 33 corresponds to the data 2251.

[0357] The method for generating the local learning data 3C can be appropriately selected according to the implementation method in the same manner as in the above-mentioned implementation method. In this variant, the local learning data 3C can be used to infer the state of the driver RC. Therefore, the image data 33 constituting the local learning data 3C can also be obtained by photographing the subject (driver) driving the vehicle under various conditions using a camera. In this way, the local learning data 3C can be generated.

[0358] In step S102, the control unit 21 operates as the learning processing unit 212 to obtain data generated by the generation model 41. In this modified example, the generation model 41 is configured to generate image data of the driver. The control unit 11 of the model generation device 1 extracts noise from a predetermined probability distribution, inputs the extracted noise into the generation model 41, and performs arithmetic processing of the generation model 41. Thus, the control unit 11 obtains image data as an output from the generation model. The control unit 21 obtains the image data thus generated by the generation model 41.

[0359] In step S103, the control unit 21 acts as a learning processing unit 212, and constructs a learned recognition model 40C by machine learning using the local learning data 3C. The learned recognition model 40C has acquired the ability to recognize whether the provided data is the image data 33 included in the local learning data 3C. In this variant, the control unit 21 uses the local learning data 3C and the image data generated by the generation model 41 to train the recognition model 40C so that it can recognize whether the provided image data is derived from the local learning data 3C or the generation model 41. In step S104, the control unit 21 acts as a saving processing unit 213, and generates information representing the structure and operation parameters of the learned recognition model 40C constructed by the machine learning of step S103 as learning result data 221C. Then, the control unit 21 saves the generated learning result data 221C to a specified storage area.

[0360] <Monitoring Process>

[0361] Fig. 24B An example of the software configuration related to the monitoring process of each monitoring device 2C involved in this modification is schematically illustrated. As in the above-mentioned embodiment, the software configuration related to the monitoring process of each monitoring device 2C is implemented by the control unit 21 executing the monitoring program 83C. Fig. 24B As shown, except that the data to be processed is replaced by image data instead of sensing data, the software configuration related to the monitoring process of each monitoring device 2C is the same as the software configuration related to the inference process of each learning device 2. Thus, each monitoring device 2C performs a series of processes related to the monitoring process in the same manner as each learning device 2.

[0362] That is, in step S301 , the control unit 21 of each monitoring device 2C operates as the object data acquisition unit 216 to acquire the object image data 223C of the driver RC from the camera SC.

[0363] In step S302, the control unit 21 acts as the monitoring unit 217C to obtain a data group 225C collected as inference learning data for inferring the state of the driver. In this variant, the data group 225C is composed of a plurality of image data 2251C. Each image data 2251C can be data related to a specific state of the driver. In addition, similar to the above-mentioned embodiment, each image data 2251C included in the data group 225C can be, for example, image data 33 included in the local learning data 3C, image data generated by the generation model 41 in this variant, etc. The control unit 21 can also obtain data generated by the generation model 41 that has been learned as image data 2251C. The generation of data using the generation model 41 that has been learned can be executed by each monitoring device 2C or by other computers. Thus, the control unit 21 can also obtain a data group 225C containing data generated by the generation model 41 that has been learned.

[0364] Next, the control unit 21 infers the state of the driver RC captured in the target image data 223C by comparing the data group 225C with the target image data 223C. The control unit 21 provides the same method as the above-mentioned embodiment, and compares the image data 2251C constituting the data group 225C with the target image data 223C, thereby inferring the state of the driver RC captured in the target image data 223C.

[0365] Furthermore, when the number of pieces of image data 2251C included in the data group 225C is insufficient, the control unit 21 may appropriately designate the image data 2251C as the local learning data 3C, and request the model generation device 1 to construct the generation model 41 for the designated local learning data 3C. Then, the control unit 21 may generate new image data of the driver using the generation model 41 that has been learned and constructed, and add the generated new image data as the image data 2251C to the data group 225C. Thus, the control unit 21 may increase the number of pieces of image data 2251C included in the data group 225C.

[0366] In step S303, the control unit 21 operates as the output unit 218 to output information related to the inference result of the state of the driver D. As in the above embodiment, the output destination and the output information can be appropriately determined according to the embodiment. For example, the control unit 21 can also output the inference result of the state of the driver RC directly to the output device 25.

[0367] In addition, for example, the control unit 21 may also output a specific message such as a warning to the output device 25 according to the state of the driver RC. As an example, when at least one of the sleepiness and fatigue is estimated as the state of the driver RC, the control unit 21 may also determine whether at least one of the sleepiness and fatigue exceeds a threshold. The threshold can be set appropriately. Moreover, when at least one of the sleepiness and fatigue exceeds the threshold, the control unit 21 may also output a warning to the output device 25 urging the driver RC to stop the car in a parking lot or the like for a rest.

[0368] In addition, for example, when the vehicle is configured to be capable of automatic driving, the control unit 21 may also control the automatic driving of the vehicle based on the estimated result of the state of the driver RC. As an example, it is assumed that the vehicle is configured to be capable of switching between an automatic driving mode in which the vehicle's driving is controlled by the system and a manual driving mode in which the vehicle's driving is controlled by the manipulation of the driver RC.

[0369] In this case, when the vehicle is traveling in the automatic driving mode and receives a switch from the automatic driving mode to the manual driving mode from the driver RC or the system, the control unit 21 may also determine whether the estimated margin of the driver RC exceeds the threshold. Then, when the margin of the driver RC exceeds the threshold, the control unit 21 may also allow the switch from the automatic driving mode to the manual driving mode. On the other hand, when the margin of the driver RC is below the threshold, the control unit 21 may not allow the switch from the automatic driving mode to the manual driving mode and maintain the driving in the automatic driving mode.

[0370] In addition, when the vehicle is traveling in the manual driving mode, the control unit 21 may also determine whether at least one of the drowsiness and fatigue exceeds a threshold value. Furthermore, when at least one of the drowsiness and fatigue exceeds a threshold value, the control unit 21 may also switch from the manual driving mode to the automatic driving mode and send a command to the vehicle system to park in a safe place such as a parking lot. On the other hand, when at least one of the drowsiness and fatigue does not exceed a threshold value, the control unit 21 may also allow the vehicle to maintain the manual driving mode.

[0371] In addition, when the vehicle is running in the manual driving mode, the control unit 21 may also determine whether the margin is below a threshold. Furthermore, when the margin is below a threshold, the control unit 21 may also send a deceleration instruction to the vehicle system. On the other hand, when the margin exceeds the threshold, the control unit 21 may also keep the vehicle running under the operation of the driver RC.

[0372] <Model Generation>

[0373] In the present variation, the model generation device 1 uses each recognition model 40C constructed as described above to execute the processes of steps S201 to S205 in the same manner as in the above embodiment.

[0374] That is, in step S201, the control unit 11 of the model generation device 1 generates image data using the generation model 41. In step S202, the control unit 11 sends the generated image data to each recognition model 40C, so that each recognition model 40C performs recognition on the generated image data. In step S203, the control unit 11 receives the recognition result of each recognition model 40C on the sent image data. In this variation, the control unit 11 sends the image data to each monitoring device 2C, so that each recognition model 40C performs recognition on the image data. Then, the control unit 11 obtains the recognition result of each recognition model 40C from each monitoring device 2C.

[0375] In step S204, the control unit 11 trains the generation model 41 by machine learning using the received recognition result so that it generates image data that reduces the recognition performance of at least any one of the multiple recognition models 40C. In step S205, the control unit 11 generates information indicating the structure and operation parameters of the generation model 41 that has been learned and constructed by the machine learning in step S204 as learning result data 121. Then, the control unit 11 saves the generated learning result data 121 in a predetermined storage area.

[0376] According to this variant, in the scenario of monitoring the state of the driver RC, a generation model 41 that can be used for the monitoring and can generate a variety of image data can be constructed. By using the generation model 41, the number of image data 2251C that constitute the data group 225C used in the monitoring can be increased. In this variant, through the generation model 41, image data that is difficult to collect by each monitoring device 2C alone but can be obtained by other monitoring devices 2C can be generated, which shows the properties and driving environment of a specific driver RC. As a result, not only the number of image data 2251C included in the data group 225C can be increased, but also the changes in the image data 2251C can be enriched. Therefore, according to this variant, the accuracy of inference of the state of the driver RC in step S303 can be improved.

[0377] (D) Power generation forecast scenario

[0378] Fig.25 An example of an application scenario of the prediction system 100D involved in the fourth modification is schematically illustrated. This modification is an example of applying the model generation device 1 involved in the above-mentioned embodiment to a scenario in which data that can be used to predict the power generation in the power generation device RD is generated. Fig.25 As shown, a prediction system 100D according to this modification includes a model generation device 1 and a plurality of prediction devices 2D. As in the above embodiment, the model generation device 1 and the prediction devices 2D can be connected to each other via a network.

[0379] Each prediction device 2D corresponds to each of the above-mentioned learning devices 2. Each prediction device 2D can be constructed in the same manner as each of the above-mentioned learning devices 2, except that the data processed is different. Each prediction device 2D predicts the power generation in the power generation device RD based on data related to the power generation of the power generation device RD. The type of power generation device RD is not particularly limited, for example, it can be a solar power generation device. The data used to predict the power generation is not particularly limited as long as it is data related to the power generation of the power generation device RD, and can be appropriately selected according to the implementation method. In this variant, the power generation device RD is a solar power generation device, and each prediction device 2D predicts the power generation of the power generation device RD based on meteorological data.

[0380] <Hardware configuration of prediction device>

[0381] Fig.26 An example of the hardware configuration of each prediction device 2D according to this modification is schematically shown. Fig.26 As shown, each prediction device 2D involved in this modification is a computer electrically connected to the control unit 21, the storage unit 22, the communication interface 23, the input device 24, the output device 25, the driver 26 and the external interface 27, similarly to the above-mentioned learning devices 2. However, the hardware configuration of each prediction device 2D may not be limited to the above-mentioned example. Regarding the specific hardware configuration of each prediction device 2D, the components may be appropriately omitted, replaced, and added according to the implementation method. In addition to being designed as an information processing device dedicated to the service provided, each prediction device 2D may also be a general-purpose server device, a general-purpose PC, etc.

[0382] The storage unit 22 of each prediction device 2D involved in this modification stores various information such as a learning program 82D, a prediction program 83D, local learning data 3D, and learning result data 221D. The learning program 82D, the prediction program 83D, the local learning data 3D, and the learning result data 221D correspond to the learning program 82, the inference program 83, the local learning data 3, and the learning result data 221 involved in the above-mentioned embodiment. At least any one of the learning program 82D, the prediction program 83D, and the local learning data 3D may also be stored in the storage medium 92. In addition, each prediction device 2D may also obtain at least any one of the learning program 82D, the prediction program 83D, and the local learning data 3D from the storage medium 92.

[0383] <Learning Process>

[0384] Fig.27A An example of the software configuration related to the learning process of each prediction device 2D involved in this modification is schematically illustrated. As in the above-mentioned embodiment, the software configuration related to the learning process of each prediction device 2D is implemented by the control unit 21 executing the learning program 82D. Fig.27A As shown, except that the data to be processed is replaced by meteorological data instead of sensor data, the software configuration related to the learning process of each prediction device 2D is the same as the software configuration related to the learning process of each learning device 2. Thus, each prediction device 2D performs a series of processes related to machine learning in the same manner as each learning device 2.

[0385] That is, in step S101, the control unit 21 of each prediction device 2D acts as a learning data collection unit 211D to collect local learning data 3D used in the machine learning of the recognition model 40D. In this modification, the recognition model 40D is composed of a neural network in the same manner as the recognition model 40 involved in the above-mentioned embodiment. In addition, the local learning data 3D is composed of meteorological data 34. The meteorological data 34 corresponds to the data 2251. The meteorological data 34 may include data indicating weather, temperature, precipitation, humidity, wind volume, etc., for example.

[0386] The method for generating the local learning data 3D can be appropriately selected according to the implementation method in the same manner as in the above-mentioned implementation method. In this variant, the local learning data 3D can be used to predict the power generation. Therefore, the meteorological data 34 constituting the local learning data 3D can be obtained under various meteorological conditions together with the power generation of the power generation equipment RD. The power generation can be provided, for example, by sensors of the power generation equipment RD, inputs from operators, and the like. Thus, the local learning data 3D can be generated.

[0387] In step S102, the control unit 21 operates as the learning processing unit 212 to obtain data generated by the generation model 41. In this modification, the generation model 41 is configured to generate suspected meteorological data (hereinafter, also described as "suspicious meteorological data"). The control unit 11 of the model generation device 1 extracts noise from a predetermined probability distribution, inputs the extracted noise into the generation model 41, and performs arithmetic processing of the generation model 41. Thus, the control unit 11 obtains suspected meteorological data as an output from the generation model. The control unit 21 obtains the suspected meteorological data generated by the generation model 41 in this way.

[0388] In step S103, the control unit 21 acts as a learning processing unit 212, and constructs a learned recognition model 40D by machine learning using the local learning data 3D. The learned recognition model 40D has acquired the ability to identify whether the provided meteorological data is the meteorological data 34 included in the local learning data 3D. In this variant, the control unit 21 uses the local learning data 3D and the suspected meteorological data generated by the generation model 41 to train the recognition model 40D so that it can identify whether the provided meteorological data is derived from the local learning data 3D or the generation model 41. In step S104, the control unit 21 acts as a saving processing unit 213, and generates information representing the structure and operation parameters of the learned recognition model 40D constructed by the machine learning of step S103 as learning result data 221D. Then, the control unit 21 saves the generated learning result data 221D into a specified storage area.

[0389] <Prediction Process>

[0390] Fig.27B An example of the software configuration related to the prediction processing of each prediction device 2D involved in this modification is schematically illustrated. As in the above-mentioned embodiment, the software configuration related to the prediction processing of each prediction device 2D is implemented by the control unit 21 executing the prediction program 83D. Fig.27B As shown, except that the data to be processed is replaced by meteorological data instead of sensor data, the software configuration related to the prediction processing of each prediction device 2D is the same as the software configuration related to the inference processing of each learning device 2. Thus, each prediction device 2D performs a series of processing related to the prediction processing in the same manner as each learning device 2.

[0391] That is, in step S301, the control unit 21 of each prediction device 2D operates as the object data acquisition unit 216 to acquire the object meteorological data 223D related to the meteorological conditions in the power generation equipment RD as the prediction object of the power generation amount. The acquisition destination of the object meteorological data 223D is not particularly limited and can be appropriately selected according to the implementation method. For example, the control unit 21 can also acquire the object meteorological data 223D from a well-known meteorological data server. In addition, for example, when each prediction device 2D is connected to a sensor that observes the meteorological conditions around the power generation equipment RD, the control unit 221 can also acquire the object meteorological data 223D from the sensor.

[0392] In step S302, the control unit 21 acts as a prediction unit 217D to obtain a data group 225D collected as inference learning data for predicting power generation. In this variant, the data group 225D is composed of multiple meteorological data 2251D. Each piece of meteorological data 2251D can be obtained according to a specific power generation. Each piece of meteorological data 2251D contained in the data group 225D can be, for example, the meteorological data 34 contained in the local learning data 3D, the meteorological data generated by the generation model 41 in this variant, etc. The control unit 21 can also obtain data generated by the generation model 41 that has been learned as meteorological data 2251D. The generation of data using the generation model 41 that has been learned can be executed by each prediction device 3D or by other computers. Thus, the control unit 21 can obtain a data group 225D containing data generated by the generation model 41 that has been learned.

[0393] Next, the control unit 21 compares the data group 225D with the target weather data 223D, and predicts the power generation amount based on the target weather data 223D. The control unit 21 compares the weather data 2251D constituting the data group 225D with the target weather data 223D using the same method as the above embodiment, and predicts the power generation amount based on the target weather data 223D.

[0394] In addition, when the number of meteorological data 2251D included in the data group 225D is insufficient, the control unit 21 may appropriately specify the meteorological data 2251D as the local learning data 3D, and request the model generation device 1 to construct the generation model 41 for the specified local learning data 3D. Then, the control unit 21 may generate new meteorological data related to a specific amount of power generation using the generation model 41 that has been learned and constructed, and add the generated new meteorological data as the meteorological data 2251D to the data group 225D. Thus, the control unit 21 may also increase the number of meteorological data 2251D included in the data group 225D.

[0395] In step 303, the control unit 21 operates as the output unit 218, and outputs information related to the prediction result of the power generation of the power generation device RD. As in the above-mentioned embodiment, the output destination and the output information can be appropriately determined according to the embodiment. For example, the control unit 21 can also output the prediction result of the power generation of the power generation device RD directly to the output device 25. In addition, for example, the control unit 21 can also compare the power generation of the power generation device RD with a threshold value, and when the power generation of the power generation device RD is below the threshold value, output a message to the output device 25 urging the use of other power generation devices for power generation. The threshold value can be set appropriately.

[0396] <Model Generation>

[0397] In the present variation, the model generation device 1 uses each recognition model 40D constructed as described above to execute the processes of steps S201 to S205 in the same manner as in the above embodiment.

[0398] That is, in step S201, the control unit 11 of the model generation device 1 generates suspected meteorological data using the generation model 41. In step S202, the control unit 11 sends the generated suspected meteorological data to each recognition model 40D, so that each recognition model 40D performs recognition on the generated suspected meteorological data. In step S203, the control unit 11 receives the recognition result of each recognition model 40D on the sent suspected meteorological data. In this variant, the control unit 11 sends the suspected meteorological data to each prediction device 2D, so that each recognition model 40D performs recognition on the suspected meteorological data. Then, the control unit 11 obtains the recognition result of each recognition model 40D from each prediction device 2D.

[0399] In step S204, the control unit 11 trains the generation model 41 by machine learning using the received recognition result so that it generates meteorological data that reduces the recognition performance of at least any one of the multiple recognition models 40D. In step S205, the control unit 11 generates information representing the structure and operation parameters of the generation model 41 that has been learned and constructed by the machine learning of step S204 as learning result data 121. Then, the control unit 11 saves the generated learning result data 121 in a predetermined storage area.

[0400] According to this variation, when predicting the amount of power generated in the power generation equipment RD, it is possible to construct a generation model 41 that can be used for the prediction and can generate a variety of meteorological data. By using this generation model 41, the number of meteorological data 2251D that constitute the data group 225D used in the prediction can be increased. In this variation, through this generation model 41, meteorological data corresponding to the amount of power generated by the power generation equipment RD under specific meteorological conditions that is difficult to collect by each prediction device 2D alone but can be obtained by other prediction devices 2D can be generated. As a result, not only the number of meteorological data 2251D included in the data group 225D can be increased, but also the changes in the meteorological data 2251D can be enriched. Therefore, according to this variation, the prediction accuracy of the power generation in step S303 can be improved.

[0401] (E) Scenario for diagnosing health status

[0402] Fig.28 An example of an application scenario of the diagnosis system 100E involved in the fifth modification is schematically illustrated. This modification is an example of applying the model generation device 1 involved in the above-mentioned embodiment to a scenario in which data that can be used to infer (diagnose) the health status of the subject RE is generated. Fig.28As shown, the diagnostic system 100E according to this modification includes a model generation device 1 and a plurality of diagnostic devices 2E. As in the above embodiment, the model generation device 1 and the diagnostic devices 2E can be connected to each other via a network.

[0403] Each diagnostic device 2E corresponds to each of the above-mentioned learning devices 2. Except for the fact that the data processed is different, each diagnostic device 2E can be constructed in the same way as each of the above-mentioned learning devices 2. Each diagnostic device 2E diagnoses the health status of the subject person RE based on data related to the health status of the subject person RE. The data used in the diagnosis are not particularly limited as long as they are data related to the health status of the subject person RE, and can be appropriately selected according to the implementation method. The data used in the diagnosis can be, for example, image data, vital data, etc. Vital data is data related to life, for example, it can be data representing the measurement results of body temperature, blood pressure, pulse, etc. In this variant, each diagnostic device 2E is connected to a life sensor SE. Each diagnostic device 2E diagnoses the health status of the subject person RE based on the life data obtained from the life sensor SE. The health status of the inferred object can be appropriately determined according to the implementation method, for example, it can include whether it is healthy, whether there are signs of illness, etc.

[0404] <Hardware configuration of diagnostic device>

[0405] Fig.29 An example of the hardware configuration of each diagnostic device 2E according to this modification is schematically shown. Fig.29 As shown, each diagnostic device 2E involved in this variation is a computer electrically connected to the control unit 21, storage unit 22, communication interface 23, input device 24, output device 25, driver 26 and external interface 27, just like each learning device 2 mentioned above. Each diagnostic device 2E is connected to the life sensor SE via the external interface 27. The life sensor SE is, for example, a thermometer, a sphygmomanometer, a pulse meter, etc. However, the hardware structure of each diagnostic device 2E may not be limited to the above examples. Regarding the specific hardware structure of each diagnostic device 2E, the constituent elements may be appropriately omitted, replaced, and added according to the implementation method. In addition to being designed as an information processing device dedicated to the service provided, each diagnostic device 2E may also be a general-purpose server device, a general-purpose PC, etc.

[0406] The storage unit 22 of each diagnostic device 2E involved in this modification stores various information such as a learning program 82E, a diagnostic program 83E, local learning data 3E, and learning result data 221E. The learning program 82E, the diagnostic program 83E, the local learning data 3E, and the learning result data 221E correspond to the learning program 82, the inference program 83, the local learning data 3, and the learning result data 221 involved in the above-mentioned embodiment. At least any one of the learning program 82E, the diagnostic program 83E, and the local learning data 3E may also be stored in the storage medium 92. In addition, each diagnostic device 2E may also obtain at least any one of the learning program 82E, the diagnostic program 83E, and the local learning data 3E from the storage medium 92.

[0407] <Learning Process>

[0408] Fig. 30A An example of the software configuration related to the learning process of each diagnostic device 2E involved in this modification is schematically illustrated. As in the above-mentioned embodiment, the software configuration related to the learning process of each diagnostic device 2E is implemented by the control unit 21 executing the learning program 82E. Fig. 30A As shown, except that the data to be processed is replaced by vital data instead of sensing data, the software configuration related to the learning process of each diagnostic device 2E is the same as the software configuration related to the learning process of each learning device 2. Thus, each diagnostic device 2E performs a series of processes related to machine learning in the same manner as each learning device 2.

[0409] That is, in step S101, the control unit 21 of each diagnostic device 2E operates as a learning data collection unit 211E to collect local learning data 3E used in the machine learning of the recognition model 40E. In this variant, the recognition model 40E is composed of a neural network in the same manner as the recognition model 40 involved in the above-mentioned embodiment. In addition, the local learning data 3E is composed of life data 36.

[0410] The method for generating local learning data 3E can be appropriately selected according to the implementation method in the same manner as in the above-mentioned implementation method. In this variant, local learning data 3E can be used to infer the health status of the subject. Therefore, the vital data 36 constituting the local learning data 3E can be obtained by measuring the vitals of subjects in various health states using a vital sensor. Thus, local learning data 3E can be generated.

[0411] In step S102, the control unit 21 operates as the learning processing unit 212 to obtain data generated by the generation model 41. In this modification, the generation model 41 is configured to generate suspected life data (hereinafter also referred to as "suspicious life data"). The control unit 11 of the model generation device 1 extracts noise from a predetermined probability distribution, inputs the extracted noise into the generation model 41, and performs calculation processing of the generation model 41. Thus, the control unit 11 obtains suspected life metadata as an output from the generation model. The control unit 21 obtains the suspected life data generated by the generation model 41 in this way.

[0412] In step S103, the control unit 21 acts as a learning processing unit 212, and constructs a learned recognition model 40E by machine learning using the local learning data 3E, and the learned recognition model 40E has acquired the ability to identify whether the provided life data is the life data 36 included in the local learning data 3E. In this modification, the control unit 21 uses the local learning data 3E and the suspected life data generated by the generation model 41 to train the recognition model 40E so that it can identify whether the provided life data is derived from the local learning data 3E or the generation model 41. In step S104, the control unit 21 acts as a storage processing unit 213, and generates information representing the structure and operation parameters of the learned recognition model 40E constructed by the machine learning of step S103 as learning result data 221E. Then, the control unit 21 saves the generated learning result data 221E to a predetermined storage area.

[0413] <Diagnosis and treatment>

[0414] Fig. 30B An example of the software configuration related to the diagnostic processing of each diagnostic device 2E involved in this modification is schematically illustrated. As in the above-mentioned embodiment, the software configuration related to the diagnostic processing of each diagnostic device 2E is implemented by the control unit 21 executing the diagnostic program 83E. Fig. 30B As shown, except that the data to be processed is replaced by life data instead of sensing data, the software configuration related to the diagnostic processing of each diagnostic device 2E is the same as the software configuration related to the inference processing of each learning device 2. Thus, each diagnostic device 2E performs a series of processing related to the diagnostic processing in the same manner as each learning device 2.

[0415] That is, in step S301 , the control unit 21 of each diagnostic apparatus 2E operates as the target data acquisition unit 216 to acquire the target vital data 223E indicating the measurement result of the vital life of the target person RE from the vital sensor SE.

[0416] In step S302, the control unit 21 acts as the diagnosis unit 217E to obtain a data group 225E collected as learning data for inference of the health state of the diagnosing object RE. In this variant, the data group 225E is composed of a plurality of life data 2251E. Each piece of life data 2251E can be obtained according to a specific health state. In addition, similar to the above-mentioned embodiment, each piece of life data 2251E contained in the data group 225E can be, for example, the life data 36 contained in the local learning data 3E, the life data generated by the generation model 41 in this variant, etc. The control unit 21 can also obtain data generated by the generation model 41 after learning as the life data 2251E. The generation of data using the generation model 41 after learning can be executed by each diagnostic device 2E or by other computers. Thus, the control unit 21 can also obtain a data group 225E containing data generated by the generation model 41 after learning.

[0417] Next, the control unit 21 diagnoses the health status of the subject RE based on the comparison between the data group 225E and the subject vital data 223E. The control unit 21 diagnoses the health status of the subject RE by comparing the vital data 2251E constituting the data group 225E with the subject vital data 223E in the same manner as in the above embodiment.

[0418] In addition, when the number of life data 2251E included in the data group 225E is insufficient, the control unit 21 may appropriately designate the life data 2251E as the local learning data 3E, and request the model generation device 1 to construct the generation model 41 for the designated local learning data 3E. Then, the control unit 21 may generate new life data corresponding to a specific health state using the generation model 41 that has been learned and constructed, and add the generated new life data as life data 2251E to the data group 225E. Thus, the control unit 21 may also increase the number of life data 2251E included in the data group 225E.

[0419] In step 303, the control unit 21 operates as the output unit 218 to output information related to the diagnosis result of the health status of the subject person RE. As in the above-mentioned embodiment, the output destination and the output information can be appropriately determined according to the embodiment. For example, the control unit 21 can also output the diagnosis result of the health status of the subject person RE directly to the output device 25. In addition, for example, when the diagnosed health status of the subject person RE indicates a sign of a prescribed disease, the control unit 21 can also output a message urging the subject person RE to go to the hospital for a checkup to the output device 25.

[0420] <Model Generation>

[0421] In the present variation, the model generation device 1 uses each recognition model 40E constructed as described above to execute the processes of steps S201 to S205 in the same manner as in the above embodiment.

[0422] That is, in step S201, the control unit 11 of the model generation device 1 generates suspected life data using the generation model 41. In step S202, the control unit 11 sends the generated suspected life data to each recognition model 40E, so that each recognition model 40E performs recognition on the generated suspected life data. In step S203, the control unit 11 receives the recognition result of each recognition model 40E on the sent suspected life data. In this variant, the control unit 11 sends the suspected life data to each diagnostic device 2E, so that each recognition model 40E performs recognition on the suspected life data. Then, the control unit 11 obtains the recognition result of each recognition model 40E from each diagnostic device 2E.

[0423] In step S204, the control unit 11 trains the generation model 41 by machine learning using the received recognition result so that it generates life data that reduces the recognition performance of at least any one of the multiple recognition models 40E. In step S205, the control unit 11 generates information representing the structure and operation parameters of the generation model 41 that has been learned and constructed by the machine learning of step S204 as learning result data 121. Then, the control unit 11 saves the generated learning result data 121 to a predetermined storage area.

[0424] According to this variant, in the scenario of diagnosing the health status of the subject RE, a generation model 41 that can be used for the diagnosis and can generate a variety of life data can be constructed. By using this generation model 41, the number of life data 2251E that constitute the data group 225E used in the diagnosis can be increased. In this variant, through this generation model 41, life data corresponding to the attributes and health status of a specific subject that are difficult to collect by each diagnostic device 2E alone but can be obtained by other diagnostic devices 2E can be shown. As a result, not only the number of life data 2251E included in the data group 225E can be increased, but also the changes in the life data 2251E can be enriched. Therefore, according to this variant, the accuracy of inferring the health status of the subject RE in step S303 can be improved.

[0425] <4.2>

[0426] In the above-mentioned embodiment, the data generated by the generation model 41 can be used as data constituting the data group 225 for inferring the characteristics represented by the object data 223 obtained by the sensor S. In addition, each learning device 2 infers the characteristics represented by the object data 223 based on the comparison between the data group 225 and the object data 223 in the above-mentioned step S302. However, the data generated by the generation model 41 and the method of inference processing may not be limited to the above-mentioned example. For example, the data generated by the generation model 41 can also be used for machine learning for enabling the inference device to acquire the ability to perform specified inferences. In addition, each learning device 2 can also use the learned inference device constructed by the machine learning to infer the characteristics represented by the object data 223.

[0427] Fig.31 An example of the hardware configuration of the learning device 2F involved in this variant is schematically illustrated. The learning device 2F involved in this variant is configured in the same manner as the learning devices 2 involved in the above-mentioned embodiments, except that it further performs machine learning for enabling the inferencer to acquire the ability to perform specified inferences, and performs specified inferences using the learned inferencer constructed by the machine learning. Specifically, the learning device 2F involved in this variant is a computer electrically connected to the control unit 21, the storage unit 22, the communication interface 23, the input device 24, the output device 25, the drive 26, and the external interface 27, just like the learning devices 2 involved in the above-mentioned embodiments. However, the hardware configuration of the learning device 2F may not be limited to the above-mentioned example. Regarding the specific hardware configuration of the learning device 2F, the components may be appropriately omitted, replaced, and added according to the implementation method. In addition to being an information processing device designed to be dedicated to the services provided, the diagnostic device 2F may also be a general-purpose server device, a general-purpose PC, etc.

[0428] The storage unit 22 of the learning device 2F according to this modification includes, in addition to the above-described embodiment, an inference learning program 85 and inference learning result data 228. The inference learning program 85 is a program for causing the learning device 2F to perform information processing (described later) related to machine learning of an inference unit (described later inference unit 45). Fig.32B ) program. The inference learning program 85 includes a series of commands for the information processing. The inference learning program 85 can also be stored in the storage medium 92. In addition, the learning device 2F can also obtain the inference learning program 85 from the storage medium 92. The inference learning result data 228 represents information related to the learned inference device. The inference learning result data 228 is obtained as a result of executing the inference learning program 85. In addition, the inference program 83F corresponds to the inference program 83 involved in the above-mentioned embodiment. In addition to using the learned inference device to perform inference processing, the inference program 83F also includes the same commands as the inference program 83 involved in the above-mentioned embodiment.

[0429] In this variant, the learning device 2F collects local learning data for inference (hereinafter referred to as local learning data for inference 227) for obtaining the ability to infer features through machine learning. At this time, the learning device 2F can also obtain data generated by the learned generation model 41. Similar to the above-mentioned embodiment, the generation of data using the learned generation model 41 can be performed by the learning device 2F or by other computers. In the case where the learning device 2F performs the generation of data using the learned generation model 41, the learning device 2F has the learned generation model 41 by maintaining the learning result data 121. Thus, the learning device 2F can also collect local learning data for inference containing data generated by the learned generation model 41. Then, the learning device 2F constructs a learned inference device that has obtained the ability to infer features represented by the inference data through machine learning using the collected local learning data for inference. On the other hand, in the inference process, the learning device 2F obtains the object data 223. Then, the learning device 2F uses the learned inference device to infer the features represented by the object data. Then, the learning device 2F outputs information related to the inference result of the feature.

[0430] <Learning Process of Inference>

[0431] Fig.32A An example of a software configuration related to the inference learning process of the learning device 2F involved in this modification is schematically illustrated. The control unit 21 of the learning device 2F executes the inference learning program 85 in the same manner as the above-mentioned learning program 82 and the like. Thus, the learning device 2F operates as a computer having a learning data collection unit 291, a learning processing unit 292, and a storage processing unit 293 in the form of software modules. That is, in this modification, each software module of the learning device 2F related to the inference learning process is implemented by the control unit 21 (CPU).

[0432] However, the software structure related to the inference learning process may not be limited to the above examples. Part or all of the above software modules may also be implemented by one or more dedicated processors. In addition, regarding the software structure related to the inference learning process of the learning device 2F, the software modules may be appropriately omitted, replaced, and added according to the implementation method. In addition, when they are distinguished from each other, they may also be referred to separately, for example, the learning data collection unit 211 and the learning processing unit 212 may be referred to as the "first learning data collection unit" and the "first learning processing unit", respectively, and the learning data collection unit 291 and the learning processing unit 292 may be referred to as the "second learning data collection unit" and the "second learning processing unit", respectively, and so on.

[0433] The learning device 2F of this modification example is equipped with these software modules to perform machine learning of the inference unit 45. The inference unit 45 is a learning model that can obtain a predetermined capability through machine learning, similarly to the recognition model 40 and the generation model 41 described above. The type of the inference unit 45 is not particularly limited and can be appropriately selected according to the implementation method. Fig.32A As shown, the inference device 45 involved in this modification example is composed of a three-layer neural network like the above-mentioned recognition model 40 and generation model 41. The inference device 45 has an input layer 451, an intermediate (hidden) layer 452, and an output layer 453 in order from the input side. However, the structure of the inference device 45 may not be limited to the above example, and may be appropriately determined according to the implementation method. For example, the number of intermediate layers of the inference device 45 may not be limited to one, and may be two or more.

[0434] Similar to the above-mentioned recognition model 40 and generation model 41, the number of neurons (nodes) included in each layer 451 to 453 of the inference unit 45 can be appropriately selected according to the embodiment. Fig.32A In the example, each neuron is connected to all neurons in the adjacent layers. However, the connection of neurons is not limited to such an example and can be appropriately set according to the implementation. The weight of the connection between each neuron included in each layer 451 to 453 and the threshold value of each neuron are examples of the operation parameters of the inference unit 45 used in the operation processing.

[0435] Next, further use Fig.32B , an example of actions related to machine learning for inference by the learning device 2F involved in this variation is described. Fig.32B This is a flowchart showing an example of processing steps related to machine learning of the inference device 45 performed by the learning device 2F involved in this modification. However, each processing step described below is only an example, and each process can also be changed within a possible range. Furthermore, for each processing step described below, steps can be appropriately omitted, replaced, and added according to the implementation method.

[0436] (Step S191)

[0437] In step S191, the control unit 21 acts as the learning data collection unit 291 to collect the local learning data 227 for inference used in the machine learning of the inference unit 45. In this modification, since the inference unit 45 is composed of a neural network, the control unit 21 collects the local learning data 227 for inference composed of a plurality of learning data sets 2270, each of which includes a combination of training data 2271 and correct data 2272.

[0438] The training data 2271 (input data) is data that is an object for exerting a prescribed ability. In this modification, the training data 2271 is data of the same type as the sensing data obtained by the sensor S, and may be data constituting the local learning data 3. The correct data 2272 (teaching data) is data indicating the result (correct) of exerting a prescribed ability with respect to the training data 2271. The above-mentioned label may be used in the correct data 2272.

[0439] The method for acquiring each learning data set 2270 may also not be particularly limited and may be appropriately selected according to the implementation. For example, a sensor of the same type as the sensor S may be prepared and observations may be performed under various conditions using the prepared sensor to acquire training data 2271. Then, the correct data 2272 representing the features represented by the training data 2271 is associated with the acquired training data 2271. Thus, each learning data set 2270 may be generated.

[0440] Each learning data set 2270 can be automatically generated by the action of the computer or manually generated by the operation of the operator. In addition, the generation of each learning data set 2270 can be performed by the learning device 2F or by other computers other than the learning device 2F. In the case where each learning data set 2270 is generated by the learning device 2F, the control unit 21 automatically or manually performs the above series of processes through the operation of the operator via the input device 24, thereby collecting the local learning data 227 for inference composed of multiple learning data sets 2270. On the other hand, in the case where each learning data set 2270 is generated by other computers, the control unit 21 collects the local learning data 227 for inference composed of multiple learning data sets 227 generated by other computers, for example, via a network, a storage medium 92, etc.

[0441] In addition, at least a part of the inference local learning data 227 may use the local learning data 3. In this case, by appropriately assigning the correct data 2272 to each piece of data constituting the local learning data 3, each learning data set 2270 can be generated.

[0442] Furthermore, at least a part of the local learning data 227 for inference can use data generated by the generation model 41. The generation of data using the learned generation model 41 can be performed by each learning device 2 or by another computer. In the case where the generation of data using the learned generation model 41 is performed by the learning device 2F, the control unit 21 has the learned generation model 41 by retaining the learning result data 121. The control unit 21 can also obtain the learning result data 121 generated by the above-mentioned learning process via, for example, a network, a storage medium 92, etc. In this case, the control unit 21 sets the learned generation model 41 with reference to the learning result data 121. In addition, the control unit 21 extracts a plurality of noises from a predetermined probability distribution such as a Gaussian distribution. Then, the control unit 21 inputs the extracted noise into the input layer 411 of the generation model 41, and sequentially performs the firing judgment of each neuron contained in each layer 411 to 413 from the input side. Thus, the control unit 21 obtains the data generated corresponding to the noise from the output layer 413. By adding the acquired data as training data 2271 to the local learning data for inference 227, the control unit 21 can acquire the local learning data for inference 227 including data generated by the learned generation model 41. Alternatively, the control unit 21 can acquire data generated by another computer using the learned generation model 41 via a network, a storage medium 92, or the like.

[0443] In addition, the control unit 21 may also request the model generation device 1 to construct a generation model 41 for the local learning data 3 composed of the training data 2271 included in the local learning data 227 for inference, and / or the local learning data 3 prepared separately from the local learning data 227 for inference. Moreover, the control unit 21 may also use the generation model 41 thus constructed and completed to generate the same type of generated data 55 as the sensed data obtained by the sensor S, and use the generated generated data 55 as the training data 2271. The correct data 2272 may also be appropriately assigned to the generated data 55. Thus, the control unit 21 may also increase the number of learning data sets 2270 included in the local learning data 227 for inference.

[0444] The number of the collected learning data sets 2270 is not particularly limited and may be appropriately selected according to the embodiment. When the inference local learning data 227 is collected, the control unit 21 advances the process to the next step S192.

[0445] (Step S192)

[0446] In step S192, the control unit 21 operates as the learning processing unit 292, and performs machine learning of the inference unit 45 using the collected local learning data 227 for inference. In this machine learning, the control unit 21 trains the inference unit 45 in such a way that, when the training data 2271 is input to the input layer 451, the output value consistent with the correct data 2272 is output from the output layer 453 for each learning data set 2270. Thus, the control unit 21 constructs a learned inference unit 45 that has acquired the ability to infer the features represented by the data obtained by the sensor S.

[0447] Specifically, the control unit 21 prepares an inference unit 45 as a processing object of machine learning. The structure of the prepared inference unit 45, the initial value of the weight of the connection between each neuron, and the initial value of the threshold of each neuron can be provided based on a template or input by an operator. In addition, when relearning is performed, the control unit 21 can also prepare the inference unit 45 based on the learning result data obtained by performing past machine learning.

[0448] Next, the control unit 21 performs the learning process of the inference device 45 using the training data 2271 and the correct data 2272 included in each learning data set 2270 acquired in step S191.

[0449] For example, in the first step, the control unit 21 inputs the training data 2271 into the input layer 451 for each learning data set 2270, and performs firing judgments of each neuron contained in each layer 451 to 453 in sequence from the input side. Thus, the control unit 21 obtains an output value corresponding to the inference result of the feature represented by the training data 2271 from the output layer 453. In the second step, the control unit 21 calculates the error between the obtained output value and the value of the corresponding correct data 2272. In the third step, the control unit 21 uses the error back propagation method and uses the calculated output value error to calculate the weight of the connection between each neuron and the error of each threshold of each neuron. In the fourth step, the control unit 21 updates the weight of the connection between each neuron and the value of each threshold of each neuron according to the calculated errors.

[0450] The control unit 21 adjusts the value of the operation parameter of the inference unit 45 for each learning data set 2270 by repeating the first to fourth steps so that when the training data 2271 is input, an output value consistent with the corresponding correct data 2272 is output from the output layer 453. For example, the control unit 201 repeats the first to fourth steps for each learning data set 2270 until the sum of the errors between the output value obtained from the output layer 453 and the value of the correct data 2272 becomes less than the threshold. The value of the correct data 2272 is consistent with the output value of the output layer 453, and an error caused by such a threshold is generated between the value of the correct data 2272 and the output value of the output layer 453. The threshold can be appropriately set according to the embodiment. Thus, the control unit 21 can construct a learned inference unit 45 that is trained to output an output value consistent with the corresponding correct data 2272 with respect to the input of the training data 2271. That is, the control unit 21 can construct a learned inference unit 45 that has acquired the ability to infer the characteristics represented by the data obtained by the sensor S. The learned inference device 45 may also be referred to as a “classifier” etc. When the machine learning of the inference device 45 is completed, the control unit 21 advances the process to the next step S193.

[0451] (Step S193)

[0452] In step S193, the control unit 21 acts as a storage processing unit 293 to store information related to the learned inference unit 45 constructed by machine learning in a predetermined storage area. In this modification, the control unit 21 generates information representing the structure and operation parameters of the learned inference unit 45 constructed by machine learning in step S192 as inference learning result data 228. Then, the control unit 21 stores the generated inference learning result data 228 in a predetermined storage area. The predetermined storage area may be, for example, a RAM in the control unit 21, a storage unit 22, an external storage device, a storage medium, or a combination thereof.

[0453] <Inference Process>

[0454] Fig.33 An example of a software configuration related to the inference processing of the learning device 2F according to this modification is schematically illustrated. As in the above-mentioned embodiment, the software configuration related to the inference processing of the learning device 2F is implemented by the control unit 21 executing the inference program 83F. Fig.32B As shown, except for the difference in the inference method, the software configuration related to the inference processing of the learning device 2F is the same as the software configuration related to the inference processing of the above-mentioned learning devices 2. Therefore, the learning device 2F executes a series of processing related to the inference processing in the same manner as the above-mentioned learning devices 2.

[0455] That is, regarding steps S301 and S303, the control unit 21 of the learning device 2F performs the same operations as in the above-described embodiment. On the other hand, in step S302, the control unit 21 of the learning device 2F operates as the inference unit 217F, and infers the features represented by the object data 223 using the learned inference unit 45. In the present embodiment, the inference unit 217F includes the learned inference unit 45 by storing the inference learning result data 228.

[0456] Specifically, the control unit 21 sets the learned inference unit 45 with reference to the inference learning result data 228. Next, the control unit 21 inputs the acquired object data 223 into the learned inference unit 45, and performs the calculation processing of the learned inference unit 45. That is, the control unit 21 inputs the object data 223 into the input layer 451 of the learned inference unit 45, and sequentially performs the firing judgment of each neuron included in each layer 451 to 453 from the input side. Thus, the control unit 21 obtains the output value corresponding to the inference result of the feature included in the object data 223 from the output layer 453 of the learned inference unit 45.

[0457] In this variant, the learning device 2F is configured to use the learned inference device 45 to infer the features represented by the object data 223. In this case, the data (generated data 55) generated by the learned generation model 41 can be used to increase the number of local learning data 227 for inference used in the machine learning of the inference device 45. In particular, based on the generation model 41, data that is difficult for the learning device 2F to collect alone but can be obtained by other learning devices 2F can be generated. Therefore, the variation of the training data 2271 contained in the local learning data 227 for inference can be enriched, thereby improving the performance of the learned inference device 45 constructed by machine learning. That is, in step S302, the features represented by the object data 223 can be inferred with high accuracy.

[0458] In addition, as the learning device for which the model generation device 1 generates the generation model 41, there may be a mixture of a learning device that performs inference processing using the same method as the learning device 2 involved in the above-mentioned embodiment and a learning device that performs inference processing using the same method as the learning device 2F involved in this modification. In addition, the inspection device 2A, the monitoring device 2B, the monitoring device 2C, the prediction device 2D, and the diagnosis device 2E involved in the above-mentioned modification may be configured so that each inference is performed by a learned inference device in the same manner as in this modification.

[0459] <4.3>

[0460] In the above embodiment, each learning device 2 is composed of a computer that performs both learning processing and inference processing. However, the configuration of each learning device 2 may not be limited to the above example. At least one of the multiple learning devices 2 may be composed of multiple computers. In this case, the learning device 2 may be configured so that the learning processing and the inference processing are performed by different computers.

[0461] Fig.34 An example of the structure of the learning device 2G involved in this variant is schematically illustrated. In this variant, the learning device 2G includes a first computer 200 configured to perform the above-mentioned learning process and a second computer 201 configured to perform the above-mentioned inference process. The hardware structure of each of the first computer 200 and the second computer 201 can be the same as the hardware structure of each learning device 2 involved in the above-mentioned embodiment. The first computer 200 operates as a computer having a learning data collection unit 211, a learning processing unit 212, and a storage processing unit 213 in the form of a software module by executing the learning program 82. The second computer 201 operates as a computer having an object data acquisition unit 216, an inference unit 217, and an output unit 218 in the form of a software module by executing the inference program 83. In this case, the first computer 200 can also be used as a "learning device". In addition, the inspection device 2A, the monitoring device 2B, the monitoring device 2C, the prediction device 2D, and the diagnosis device 2E involved in the above-mentioned variant are also the same. In addition, when the learning device 2G is configured to perform inference processing by the same method as the learning device 2F according to the above-mentioned modification, the learning device 2G may further include a third computer (not shown). The third computer may also operate as a computer including the learning data collection unit 291, the learning processing unit 292, and the storage processing unit 293 in the form of a software module by executing the inference learning program 85.

[0462] <4.4>

[0463] In the above-mentioned embodiment, in the process of deriving the result 51 recognized by each recognition model 40, each learning device 2 uses the operation results of other learning devices 2 in the calculation of Formula 3 and Formula 4 to integrate the operation results, that is, calculate the sum. In addition, the model generation device 1 uses the operation results of each learning device 2 in the calculation of Formula 7 to integrate the results of the operation. The results of these operations are associated with the local learning data 3, so if the results of these operations are made public, the local learning data 3 maintained by each learning device 2 can be inferred. Therefore, in order to further improve the confidentiality of the local learning data 3 maintained by each learning device 2, the results 51 recognized by each recognition model 40 can be integrated through secret calculation. The method of secret calculation can also be not particularly limited and can be appropriately selected according to the implementation method. In this variant, a method using either secret distribution or homomorphic encryption can be adopted.

[0464] (A) Using secret distribution method

[0465] Fig.35A An example of a scenario in which integrated processing is performed using secret distribution is schematically illustrated. In the method using secret distribution, a first server 61 and a second server 62 are set in the network as respective reliable third-party organizations. The first server 61 and the second server 62 are computers having hardware processors and memories similar to the model generation device 1, etc.

[0466] In this method, first, the control unit 21 of each learning device 2 generates a random number when sending its own calculation result to other computers. In the above embodiment, the scenario of sending its own calculation result to other computers is to convert exp(ly i ) is sent to other learning devices 2, and y in formula 4 is i S(ly i ) is sent to another learning device 2, and V in equation 6 is converted to V in equation 7 for calculation i Scenarios in which the model generation device 1 is sent. In the scenarios of equations 3 and 4, the other computer is another learning device 2. In addition, in the scenario of equation 7, the other computer is the model generation device 1. The method for generating random numbers can be appropriately selected according to the implementation method. Next, the control unit 21 calculates the difference between the value of the calculation result and the generated random number. Then, the control unit 21 sends the calculated difference to the first server 61, and on the other hand, sends the generated random number to the second server 62.

[0467] Based on this, the first server 61 calculates the sum of the differences received from each learning device 2 as shown in the following equation 8. On the other hand, the second server 62 calculates the sum of the random numbers received from each learning device 2 as shown in the following equation 9.

[0468]

Mathematical formula 8

[0469] ∑ i (Y i -r i ) (Formula 8)

[0470]

Mathematical formula 9

[0471] ∑ i r i (Formula 9)

[0472] In addition, Y i represents the value of the calculation result of the i-th learning device 2. That is, in the scenario of formula 3, Y i is exp(ly i ), in the scenario of formula 4, Yi for y i S(ly i ), in the scenario of formula 7, Y i V i . r i represents a random number generated by the i-th learning device 2 .

[0473] The first server 61 and the second server 62 send the calculation results of the sum to other computers respectively. Other computers add up the sums received from the first server 61 and the second server 62 respectively. In this way, it is possible to prevent the calculation results held by each learning device 2 from being identified in other computers, and at the same time, other computers can integrate (i.e., calculate the sum) the calculation results of each learning device 2 related to the recognized result 51.

[0474] In addition, the secret distribution method is not particularly limited and can be appropriately selected according to the implementation method. The secret distribution method can use, for example, the method of the international standard (ISO / IEC19592-2: 2017). In addition, as long as the model generation device 1 is a reliable server, the model generation device 1 can also act as any one of the first server 61 and the second server 62.

[0475] (B) Using homomorphic encryption

[0476] Fig.35B An example of a scenario in which integration processing is performed using homomorphic encryption is schematically illustrated. In the method using homomorphic encryption, a server 65 is provided in the network as a reliable third party. The server 65 is a computer having a hardware processor and a memory similar to the model generation device 1 and the like.

[0477] In this method, first, the server 65 issues a public key and a secret key. The public key is generated in a homomorphic manner. That is, when two ciphertexts encrypted with the public key are provided, the public key is generated in a manner that can add the two ciphertexts in an encrypted state. The server 65 distributes the public key of the issued public key and the secret key to each learning device 2.

[0478] The control unit 21 of each learning device 2 encrypts its own calculation result using the received public key. Then, the control unit 21 sends the encrypted calculation result to other computers. The other computers calculate the sum of the values ​​of the calculation results received from each learning device 2 while maintaining the encrypted state as shown in the following formula 10.

[0479]

Mathematical formula 10

[0480] P(∑ i Y i) (Formula 10)

[0481] In addition, P indicates that encryption is performed using a public key.

[0482] The other computers send the encrypted sum to the server 65. The server 65 decrypts the encrypted sum received from the other computers using the secret key. Then, the server 65 returns the decrypted sum of the calculation results to the other computers. In this way, it is possible to prevent the calculation results held by each learning device 2 from being identified in other computers, and at the same time, the calculation results of each learning device 2 related to the identified result 51 can be integrated by other computers.

[0483] In addition, the homomorphic encryption method is not particularly limited and can be appropriately selected according to the implementation method. The homomorphic encryption method can use, for example, modified-ElGamal encryption, Paillier encryption, etc. In addition, as long as the model generation device 1 is a reliable server, the model generation device 1 can also act as a server 65.

[0484] As described above, according to this modification, the results 51 of recognition by each recognition model 40 can be integrated by secret calculation using any of the above two methods. This can further improve the confidentiality of the local learning data 3 held by each learning device 2.

[0485] <4.5>

[0486] In the above-mentioned embodiments and variations, the recognition model 40, the generation model 41 and the inference device 45 are composed of a three-layer fully connected neural network. However, the structure and type of the neural network that respectively constitutes the recognition model 40, the generation model 41 and the inference device 45 may not be limited to the above-mentioned examples, and may be appropriately selected according to the embodiment. For example, the recognition model 40, the generation model 41 and the inference device 45 may also be respectively composed of a convolutional neural network having a convolutional layer, a pooling layer and a fully connected layer. In addition, for example, in the case of using time series data, the recognition model 40, the generation model 41 and the inference device 45 may also be respectively composed of a recursive neural network. The types of the recognition model 40, the generation model 41 and the inference device 45 may be appropriately selected according to the embodiment.

[0487] In addition, in the above-mentioned machine learning, by using data to which additional conditions (such as labels) are assigned as local learning data 3, a conditional generation model that can generate data corresponding to the additional conditions can be constructed. The above-mentioned generation model 41 can also be such a conditional generation model. In this case, by assigning information representing each group as additional information, the generation model 41 can be constructed to generate data corresponding to multiple groups respectively. The additional conditions only need to be conditions related to the category of the data generated by the generation model 41. For example, they can also be assigned according to the attributes of the generated data, the attributes of the features represented by the generated data, etc. In the case where the generated data is image data, the attributes of the generated data can be, for example, the resolution of the image data, the number of pixels, the presence or absence of defects, etc. In addition, the attributes of the features represented by the generated data can be, for example, the attributes of the object that is the object of inference, the type of the object, etc.

[0488] <4.6>

[0489] In the above-mentioned embodiment, the number of recognition models 40 constructed by each learning device 2 may not be limited to one, but may be multiple. When multiple recognition models 40 are maintained, each learning device 2 may collect local learning data 3 for each recognition model 40 separately, or may collect local learning data 3 at least partially in common in at least a part of the recognition models 40.

[0490] In the above embodiment, each recognition model 40 is stored in each learning device 2 . However, the arrangement of each recognition model 40 is not limited to the above example. For example, at least a part of the plurality of recognition models 40 may be stored in the model generation device 1 .

[0491] In the above embodiment, the grouping process may be omitted. When the first grouping method is omitted, the group list 123 may be omitted. When the grouping process is omitted, the allocation information 124 may be omitted. In addition, the grouping unit 116 may be omitted from the software configuration of the model generation device 1.

[0492] In addition, in the above-mentioned embodiment, the data may be replaced by individual types of data such as image data, sound data, numerical data, text data, and measurement data obtained by a sensor. For example, by making the local learning data 3 include image data, an image generation system can be formed by the model generation device 1 and a plurality of learning devices 2. In addition, by making the local learning data 3 include sensory data obtained by a sensor, a sensory data generation system can be formed by the model generation device 1 and a plurality of learning devices 2.

[0493] Description of Reference Numerals

[0494] 1…Model generation device,

[0495] 11 ... control unit, 12 ... storage unit, 13 ... communication interface,

[0496] 14…input device, 15…output device, 16…driver,

[0497] 111 ... generating unit, 112 ... transmitting unit, 113 ... receiving unit,

[0498] 114 ... a learning processing unit, 115 ... a storage processing unit,

[0499] 116…Grouping Department,

[0500] 121…learning result data, 123…group list,

[0501] 124…allocation information,

[0502] 81…model generation program, 91…storage medium,

[0503] 2…Learning device,

[0504] 21 ... control unit, 22 ... storage unit, 23 ... communication interface,

[0505] 24…input device, 25…output device, 26…driver,

[0506] 27…External interface,

[0507] 211…Learning Data Collection Department, 212…Learning Processing Department,

[0508] 213…Storage Processing Department,

[0509] 216 ... object data acquisition unit, 217 ... inference unit,

[0510] 218…Output unit,

[0511] 221…Learning result data, 223…Object data,

[0512] 225…data group,

[0513] 82…Learning procedures, 83…Inference procedures,

[0514] 92… Storage media,

[0515] S…Sensor,

[0516] 3…Local learning data,

[0517] 40…Identification model,

[0518] 401…input layer, 402…middle (hidden) layer,

[0519] 403...Output layer,

[0520] 41…Generative Models,

[0521] 411…input layer, 412…middle (hidden) layer,

[0522] 413…output layer,

[0523] 50…data, 51…(recognition) result

Claims

1. A model generation device, comprising: Reliable servers; Multiple learning devices; Other computers; The generation department generates data using the generative model; A sending unit, which sends the generated data to a plurality of recognition models that have been learned, respectively, so that each recognition model performs recognition on the data, wherein the plurality of recognition models that have been learned respectively obtain the ability to recognize whether the provided data is the local learning data through machine learning using the local learning data; A receiving unit, receiving the recognition results of the sent data by each recognition model; as well as a learning processing unit that trains the generation model by machine learning using the received recognition result to generate data that causes recognition error by at least one of the plurality of recognition models, By integrating the recognition results performed by each of the recognition models using homomorphic encryption secret computing, The learning processing unit trains the generation model by machine learning using the integrated recognition results, The server issues a public key and a secret key, wherein the public key is generated in a homomorphic manner and distributed to each of the learning devices. Each of the learning devices is configured to encrypt its own calculation result using the received public key and send the encrypted calculation result to the other computer, and the other computer calculates the sum of the values ​​of the calculation results received from each of the learning devices while maintaining the encrypted state. The server decrypts the encrypted sum received from the other computer using the secret key, and returns the decrypted sum of calculation results to the other computer.

2. The model generation device according to claim 1, wherein: Each of the recognition models is stored in each learning device; The sending unit sends the generated data to each of the learning devices, so that each of the recognition models performs recognition on the data; The receiving unit receives the recognition results performed by each of the recognition models from each of the learning devices.

3. The model generation device according to claim 1 or 2, wherein: The model generation device further includes a grouping unit that assigns each of the learning devices to at least any one of a plurality of groups; maintaining the generated model according to the groups; The receiving unit receives the recognition results performed by each of the recognition models from each of the learning devices according to the group; The learning processing unit trains the generation model by machine learning using the received recognition result according to the group to generate data that causes recognition error by at least any one of the plurality of recognition models.

4. The model generation device according to claim 3, wherein: The grouping unit distributes a list indicating the plurality of groups to each of the learning devices, causes each of the learning devices to select one or more groups from the plurality of groups indicated in the list, and assigns each of the learning devices to the one or more selected groups.

5. The model generation device according to claim 3, wherein: The grouping unit acquires attribute data related to the local learning data from each of the learning devices; clustering the attribute data obtained from each of the learning devices; According to the clustering result, the plurality of learning devices are respectively assigned to at least any one of the plurality of groups.

6. A model generation system comprising: multiple learning devices; and Model generation device, with reliable servers and other computers, Each of the learning devices performs the following steps: Collect local learning data; and A learned recognition model is constructed by machine learning using local learning data, and the learned recognition model acquires the ability to identify whether the provided data is the local learning data; The model generation device performs the following steps: Generate data using generative models; By sending the generated data to each of the learning devices, the recognition model of each of the learning devices performs recognition on the data; receiving, from each of the learning devices, a result of recognition performed by the recognition model of each of the learning devices; as well as The generation model is trained by machine learning using the received recognition result to generate data that causes at least one of the plurality of recognition models to perform recognition errors, By integrating the recognition results performed by each of the recognition models using homomorphic encryption secret computing, training the generative model by machine learning using the integrated recognition results, The server issues a public key and a secret key, wherein the public key is generated in a homomorphic manner and distributed to each of the learning devices. Each of the learning devices is configured to encrypt its own calculation result using the received public key and send the encrypted calculation result to the other computer, and the other computer calculates the sum of the values ​​of the calculation results received from each of the learning devices while maintaining the encrypted state. The server decrypts the encrypted sum received from the other computer using the secret key, and returns the decrypted sum of calculation results to the other computer.

7. A model generating method of a model generating device, The model generation device comprises: Reliable servers; multiple learning devices; and Other computers, The computer performs the following steps: Generate data using generative models; The generated data are respectively sent to a plurality of recognition models that have been learned, so that each recognition model performs recognition on the data, wherein the plurality of recognition models that have been learned respectively obtain the ability to recognize whether the provided data is the local learning data through machine learning using the local learning data; receiving the recognition results of the sent data by each recognition model; as well as The generation model is trained by machine learning using the received recognition result to generate data that causes at least one of the plurality of recognition models to make a recognition error, By integrating the recognition results performed by each of the recognition models using homomorphic encryption secret computing, training the generative model by machine learning using the integrated recognition results, The server issues a public key and a secret key, wherein the public key is generated in a homomorphic manner and distributed to each of the learning devices. Each of the learning devices is configured to encrypt its own calculation result using the received public key and send the encrypted calculation result to the other computer, and the other computer calculates the sum of the values ​​of the calculation results received from each of the learning devices while maintaining the encrypted state. The server decrypts the encrypted sum received from the other computer using the secret key, and returns the decrypted sum of calculation results to the other computer.

8. A storage medium storing a learning device model generation program for a model generation device, The model generation device comprises: Reliable servers; multiple learning devices; and Other computers, The learning device model generation program is used to make the computer execute the following steps: Generate data using generative models; The generated data are respectively sent to a plurality of recognition models that have been learned, so that each recognition model performs recognition on the data, wherein the plurality of recognition models that have been learned respectively obtain the ability to recognize whether the provided data is the local learning data through machine learning using the local learning data; receiving the recognition results of the sent data by each recognition model; as well as The generation model is trained by machine learning using the received recognition result to generate data that causes at least one of the plurality of recognition models to make a recognition error, By integrating the recognition results performed by each of the recognition models using homomorphic encryption secret computing, training the generative model by machine learning using the integrated recognition results, The server issues a public key and a secret key, wherein the public key is generated in a homomorphic manner and distributed to each of the learning devices. Each of the learning devices is configured to encrypt its own calculation result using the received public key and send the encrypted calculation result to the other computer, and the other computer calculates the sum of the values ​​of the calculation results received from each of the learning devices while maintaining the encrypted state. The server decrypts the encrypted sum received from the other computer using the secret key, and returns the decrypted sum of calculation results to the other computer.

9. An inspection system comprising: multiple inspection devices; and Model generation device, with a reliable server, multiple learning devices and other computers, Each of the inspection devices performs the following steps: Collect local learning data including product image data of photographed products; Building a learned recognition model by machine learning using local learning data, wherein the learned recognition model acquires the ability to recognize whether the provided data is the product image data contained in the local learning data; The model generation device performs the following steps: Generate image data using generative models; By sending the generated image data to each of the inspection devices, the recognition model of each of the inspection devices performs recognition on the image data; receiving, from each of the inspection devices, a result of recognition performed by the recognition model of each of the inspection devices; as well as The generation model is trained by machine learning using the received recognition result to generate image data that causes at least one of the plurality of recognition models to make a recognition error, By integrating the recognition results performed by each of the recognition models using homomorphic encryption secret computing, training the generative model by machine learning using the integrated recognition results, The server issues a public key and a secret key, wherein the public key is generated in a homomorphic manner and distributed to each of the learning devices. Each of the learning devices is configured to encrypt its own calculation result using the received public key and send the encrypted calculation result to the other computer, and the other computer calculates the sum of the values ​​of the calculation results received from each of the learning devices while maintaining the encrypted state. The server decrypts the encrypted sum received from the other computer using the secret key, and returns the decrypted sum of calculation results to the other computer.

10. A monitoring system comprising: A plurality of monitoring devices for respectively monitoring the cultivation conditions of the plants; and Model generation device, with a reliable server, multiple learning devices and other computers; Each of the monitoring devices performs the following steps: collecting local learning data including condition data related to the cultivation condition of the plant; and Building a learned recognition model by machine learning using local learning data, wherein the learned recognition model acquires the ability to recognize whether the provided data is the condition data contained in the local learning data; The model generation device performs the following steps: Generate suspected condition data using generative models; By sending the generated suspected condition data to each of the monitoring devices, the recognition model of each of the monitoring devices performs recognition on the suspected condition data; receiving, from each of the monitoring devices, a result of recognition performed by the recognition model of each of the monitoring devices; as well as The generation model is trained by machine learning using the received recognition result to generate suspected condition data that causes at least one of the plurality of recognition models to perform recognition errors, By integrating the recognition results performed by each of the recognition models using homomorphic encryption secret computing, training the generative model by machine learning using the integrated recognition results, The server issues a public key and a secret key, wherein the public key is generated in a homomorphic manner and distributed to each of the learning devices. Each of the learning devices is configured to encrypt its own calculation result using the received public key and send the encrypted calculation result to the other computer, and the other computer calculates the sum of the values ​​of the calculation results received from each of the learning devices while maintaining the encrypted state. The server decrypts the encrypted sum received from the other computer using the secret key, and returns the decrypted sum of calculation results to the other computer.

Citation Information

Patent Citations

  • Inspection device

    JP2012026982A