Model integration device, model integration method, model integration program, estimation system, inspection system, and control system
By collecting learning data at multiple sites and performing integrated processing on a common part of the learning model, the problem of high data aggregation costs is solved, and a learning model with higher inspection capabilities is realized.
Patent Information
- Application Number
- CN201980082141.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2019-01-18
- Filing Date
- 2019-11-19
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2039-11-19
AI Technical Summary
Existing technology makes it difficult to collect a variety of valuable learning data in a short period of time, making it difficult to build a learning model with higher inspection capabilities. Data aggregation results in high communication and computing costs, which limits the model's inspection capabilities.
By collecting learning data in multiple sites, a learning model with a common structure is constructed, and machine learning integration processing is performed on the common parts of the model to reduce communication and computing costs, while allowing the integration of models with different structures to improve the inspection capabilities of the model.
It achieves learning models with higher building capabilities, reduces communication and computing costs, adapts to models of different structures, and improves model checking capabilities.
Smart Images

Figure CN113196313B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a model integration device, a model integration method, a model integration program, an inference system, an inspection system and a control system. Background Art
[0002] In the past, in the scenario of manufacturing products such as production lines, the following technology was used: the manufactured products were photographed by a photographing device, and the quality of the products was inspected based on the obtained image data. For example, in Patent Document 1, an inspection device is proposed, which determines whether the inspection object shown in the image is normal or abnormal based on a learned first neural network, and when the inspection object is determined to be abnormal, the type of the abnormality is classified based on a learned second neural network.
[0003] Patent Document 1: Japanese Patent Application Publication No. 2012-026982 Summary of the invention
[0004] The inventors of the present application have discovered the following problems in the above-mentioned conventional inspection method using a learning model such as a neural network.
[0005] That is, there is a limit to the collection of learning data at each site, so it is difficult to collect a large amount of valuable learning data (for example, data when a product has an abnormality) in a short period of time in order to improve the inspection capability. Therefore, in order to solve this problem, it is considered to build a learning model with higher inspection capability by aggregating learning data obtained at many sites and performing machine learning using the aggregated learning data.
[0006] However, each site operates independently based on each situation. Each site basically collects learning data independently of other sites. Therefore, inspections for the same purpose may not be implemented in each site. Therefore, there is a possibility that the image data obtained in each site cannot be directly used for common machine learning. In addition, the structure of the learning model used for machine learning may not be consistent in each site. In addition, if a large amount of learning data obtained in each site is aggregated on a server, the communication cost consumed by the server will be huge. In addition, the computational cost of machine learning using the large amount of gathered learning data increases. Therefore, it may cause insufficient memory for computational processing, resulting in longer computational processing time, and the occurrence of undesirable conditions such as the computational processing not being completed within the specified time.
[0007] Thus, there are various technical obstacles to gathering learning data for implementing machine learning. Therefore, it is unrealistic to construct a learning model with higher inspection capability by gathering the learning data. Therefore, there is a limit to the existing methods in improving the inspection capability obtained by the learning model. In other words, the inventors of the present application have found that it is difficult to construct a learning model with higher inspection capability. For this reason, it is difficult to realize high-precision appearance inspection of products using image data with the existing methods.
[0008] In addition, this problem is not unique to the scenario where the learning model learns the ability to determine the state (quality) of the product. The same problem occurs in all scenarios where the learning model learns the specified ability through machine learning using local learning data. The scenario where the learning model learns the specified ability is, for example, a scenario where the learning model learns the ability to determine the control instructions given to the plant cultivation device according to the cultivation status of the plant, a scenario where the learning model learns the ability to infer the driver's state based on the data obtained by observing the driver, a scenario where the learning model learns the ability to predict the power generation of the power generation device based on weather-related data, and a scenario where the learning model learns the ability to infer the health status of the subject based on the vital signs data of the subject. The local learning data used in these scenarios are, for example, image data, sound data, numerical data, text data, and measurement data obtained by other sensors. In these scenarios, it is difficult to collect a lot of valuable learning data in a short time in order to improve the ability at each site. In addition, in order to implement machine learning, there are various technical obstacles to gathering the learning data obtained in many sites. Therefore, for existing methods, there is a problem that it is difficult to build a learning model with higher ability.
[0009] One aspect of the present invention has been made in view of such actual circumstances, and an object of the present invention is to provide a technology for constructing a learned model with higher capability.
[0010] In order to solve the above-mentioned problems, the present invention adopts the following configuration.
[0011] That is, the model integration device involved in one aspect of the present invention comprises: a model collection unit, which is a model collection unit for collecting learned learning models from multiple learning devices, respectively, each of the above-mentioned learning devices collects local learning data, and constructs a learned learning model that has acquired specified capabilities through machine learning using the collected local learning data, each of the above-mentioned learned learning models includes a common part with a common structure, and a combination of any one of the above-mentioned learned learning models has a different structure in a part other than the above-mentioned common part; an integration processing unit, which performs integration processing on the above-mentioned learned learning models to integrate the results of the above-mentioned machine learning reflected in the integration range set in the above-mentioned common part; and a model updating unit, which distributes the results of the above-mentioned integration processing to the above-mentioned learning devices, and for each of the above-mentioned learning devices, uses the results of the above-mentioned integration processing in the above-mentioned integration range within the above-mentioned learned learning models, thereby updating the above-mentioned learned learning models maintained by the above-mentioned learning devices.
[0012] The model integration device involved in this structure does not collect the local learning data itself collected by each learning device from each learning device, but collects the completed learning models constructed by machine learning using the local learning data from each learning device. Each completed learning model is constructed to include a common part with a common structure. In other words, each completed learning model is constructed to have a structure with a common part. The model integration device involved in this structure performs integration processing on each completed learning model to integrate the results of machine learning reflected in the integration range set in the common part.
[0013] Therefore, in this structure, instead of aggregating the local learning data itself, the learning models constructed by each learning device are collected, and the collected learning models are integrated. Therefore, the communication cost and the calculation cost consumed by the model integration device can be suppressed. In addition, since the integration process is only performed on the integration range set for the common parts contained in each learning model, the structure of each learning model is allowed to be different. In other words, even if the structure of each learning model is inconsistent according to each situation, the integration process can be performed on each learning model, and through this integration process, the results reflected in the machine learning of each learning model can be appropriately reflected in other learning models. As a result, each learning model after the integration process can appropriately exert the prescribed ability for data that cannot be obtained by each learning device alone based on the results of the machine learning of other learning models. Therefore, according to this structure, various problems that may be caused by the above-mentioned method of aggregating learning data can be solved, and therefore, an environment for constructing a higher-capacity learning model can be realized.
[0014] In addition, a learning model is a model that can acquire a specified ability through machine learning, and its type is not particularly limited and can be appropriately selected according to the implementation method. For example, a learning model can use a neural network. The learned learning model can be called an inference device, an identifier, etc., and different names are used according to the purpose. The type of machine learning is not particularly limited and can be appropriately selected according to the implementation method. Local learning data is learning data of machine learning used for learning models in each learning device. The composition of local learning data can be appropriately selected according to the type of learning model, the ability acquired by the learning model, etc.
[0015] The prescribed capability is the ability to perform certain information processing on the given data. The prescribed capability may not be particularly limited and may be appropriately selected according to the implementation method. In one example, the prescribed capability is the ability to infer certain inferences (recursion or recognition) on unknown object data. The inference capability is, for example, the ability to infer certain features contained in the unknown object data. Features may include all elements that can be inferred based on the data. As such inference capabilities, for example, there can be cited: the ability to infer the state (quality) of the product reflected by the image data, the ability to determine the control instructions given to the cultivation device according to the cultivation conditions of the plant, the ability to infer the state of the driver based on the data obtained by observing the driver, the ability to predict the power generation of the power generation device based on the weather-related data, the ability to infer the health status of the subject based on the vital signs data of the subject, etc.
[0016] In addition, each learning model includes operation parameters used for operation processing to exert specified capabilities. When each learning model is composed of a neural network, the operation parameters are, for example, the weight of the coupling between neurons, the threshold of each neuron, etc. The results of machine learning are reflected in the values of the operation parameters. The integration processing integrates the results of machine learning reflected in the integration range of each learning model by integrating the values of the operation parameters contained in the integration range of each learning model. "Model update" only needs to distribute the results of the integration processing in order to complete the update of the learning model, and may not include instructing each learning device to perform the update processing.
[0017] Alternatively, the model integration device according to the first aspect may further include a range adjustment unit, which determines the integration range within the common portion contained in the collected learning models. According to this configuration, it is possible to set an appropriate integration range for each learning model having a different structure, thereby constructing a learning model with higher capabilities.
[0018] In the model integration device involved in the above-mentioned one aspect, the structure of each of the above-mentioned completed learning models can be given by a template, and the above-mentioned range adjustment unit can determine the above-mentioned integration range based on the above-mentioned template. According to this structure, it is possible to simply set an appropriate integration range for each learning model with a different structure. In addition, as long as the template includes information that gives a sample of the learning model, its data form may not be particularly limited and can be appropriately determined according to the implementation method. In addition, in addition to information related to the structure of the learning model, the template may also include information related to the initial values of the operation parameters of the learning model. In the case where the learning model is composed of a neural network, the number of layers of the neural network, the number of neurons (nodes) contained in each layer, and the coupling relationship between neurons in adjacent layers is an example of the structure of the learning model. In addition, the weight of the coupling between neurons and the threshold of each neuron are examples of operation parameters.
[0019] In the model integration device involved in the above-mentioned aspect, it is also possible that the common part of the above-mentioned each completed learning model has a plurality of operation modules. Moreover, it is also possible that determining the above-mentioned integration range in the above-mentioned common part includes: inputting evaluation samples to the above-mentioned each completed learning model, and obtaining outputs from the above-mentioned each operation module contained in the above-mentioned common part; calculating at least any one of the similarities and correlations of the above-mentioned outputs obtained between the corresponding above-mentioned operation modules of the above-mentioned each completed learning model; and specifying the above-mentioned operation module whose calculated similarity and correlation at least meets the prescribed conditions to the above-mentioned integration range. According to this configuration, it is possible to set an appropriate integration range for each learning model with a different structure. In addition, each operation module can be composed of one or more operation parameters. In the case where the learning model is composed of a neural network, each operation module can be composed of a network from the 1st layer to the Nth layer (N is a natural number greater than 1) closest to the input side.
[0020] In the model integration device involved in the above aspect, the range adjustment unit may optimize the integration range so that the specified capability of each of the learned models after the integration process is performed is improved compared with that before the integration process is performed. According to this configuration, it is possible to set an optimal integration range for each learning model with different structures, thereby constructing a higher capability learned learning model.
[0021] In the model integration device involved in the above-mentioned one aspect, the above-mentioned range adjustment unit can specify a temporary integration range in the above-mentioned common part, and the above-mentioned integration processing unit can perform integration processing on the above-mentioned machine learning results reflected in the specified above-mentioned temporary integration range for each of the above-mentioned completed learning models. In addition, it can also be that optimizing the above-mentioned integration range includes: obtaining a first result that the above-mentioned each completed learning model before performing the above-mentioned integration processing has exerted the above-mentioned prescribed ability relative to the evaluation sample; obtaining a second result that the above-mentioned each completed learning model after performing the above-mentioned integration processing has exerted the above-mentioned prescribed ability relative to the evaluation sample; by comparing the above-mentioned first result and the above-mentioned second result, it is determined whether the above-mentioned prescribed ability of the above-mentioned each completed learning model after performing the above-mentioned integration processing is improved than before performing the above-mentioned integration processing; and when it is determined that the above-mentioned prescribed ability of the above-mentioned each completed learning model after performing the above-mentioned integration processing is improved, the above-mentioned temporary integration range is determined as the above-mentioned integration range. According to this structure, it is possible to set the optimal integration range for each learning model with different structures, thereby, it is possible to construct a higher-capacity completed learning model.
[0022] In the model integration device involved in the above-mentioned one aspect, the above-mentioned range adjustment unit can specify a plurality of provisional integration ranges in the above-mentioned common part, and the above-mentioned integration processing unit can perform integration processing on the above-mentioned machine learning results reflected in the above-mentioned provisional integration ranges specified for each of the above-mentioned provisional integration ranges for each of the above-mentioned completed learning models. Moreover, it can also be that the above-mentioned integration range is optimized to include: according to each of the above-mentioned provisional integration ranges, obtaining the result that the above-mentioned each of the above-mentioned completed learning models after the above-mentioned integration processing has exerted the above-mentioned prescribed ability relative to the evaluation sample; based on the above-mentioned results obtained, determining the provisional integration range in which the above-mentioned each of the above-mentioned completed learning models after the above-mentioned integration processing has the highest prescribed ability; and determining the determined provisional integration range as the above-mentioned integration range. According to this configuration, it is possible to set the optimal integration range for each learning model with a different structure, thereby constructing a higher-capacity completed learning model.
[0023] Alternatively, the model integration device involved in the above aspect further includes a grouping unit, which allocates the above multiple learning devices to at least one of the multiple groups. Alternatively, the above model collection unit collects the above completed learning models from the multiple learning devices belonging to the same group. Alternatively, the above range adjustment unit determines the above integration range within the common part contained in the above each completed learning model collected in the same group. Alternatively, the above integration processing unit performs integration processing on the above each completed learning model in the same group to integrate the results of the above machine learning reflected in the determined integration range. Alternatively, the above model updating unit distributes the results of the above integration processing to the above each learning device in the same group, and uses the results of the above integration processing for the above each learning device in the above each completed learning model, thereby updating the above completed learning model maintained by the above each learning device. According to this structure, the learning devices can be grouped, and a higher-capacity completed learning model can be constructed for each group.
[0024] In the model integration device according to the first aspect, the grouping unit may distribute the list indicating the plurality of groups to each of the learning devices, select one or more groups from the plurality of groups indicated in the list for each of the learning devices, and assign 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.
[0025] In the model integration device according to the first aspect, the grouping unit may obtain attribute data related to the specified capability from each of the learning devices, cluster the attribute data obtained from each of the learning devices, and assign each of the plurality of learning devices to at least one of the plurality of groups based on the clustering result. According to this configuration, each learning device can be grouped according to the attribute of the learning model.
[0026] In addition, the attribute data may include all information related to the specified ability, for example, information indicating the type of the specified ability, information related to the specifications required by the learning model, etc. The information indicating the type of the specified ability may include, for example, information for identifying the ability acquired by the learning model for appearance inspection, control of the cultivation device, etc. In the case where the learning model is composed of a neural network, the more the number of layers of the neural network increases, the higher the accuracy of exerting the specified ability, while on the other hand, the calculation cost increases, and therefore the operation speed decreases. In other words, the structure of the learning model is related to the specifications of the learning model such as the accuracy and operation speed. Therefore, the information related to the specifications required by the learning model may include, for example, information related to the structure of the learning model such as the accuracy and operation speed.
[0027] In the model integration device involved in the above aspect, the grouping unit may optimize the allocation of the learning devices for the plurality of groups so that the specified capabilities of the learning models after the integration process are improved compared to those before the integration process. According to this configuration, the learning devices can be optimally grouped, thereby constructing a higher-capacity learning model for each group.
[0028] In the model integration device according to the first aspect, the grouping unit may perform a plurality of tentative groupings in which the allocation of the learning devices to the plurality of groups is different. The range adjustment unit may determine the integration range within the common portion contained in the collected learning models that have been learned in the same group according to each tentative grouping. The integration processing unit may perform integration processing for the learning models that have been learned in the same group according to each tentative grouping, integrating the results of the machine learning reflected in the determined integration range. Furthermore, the optimization of the allocation of the learning devices may include: obtaining, in the same group according to each tentative grouping, a result that the learning models that have been learned after the integration processing have exerted the prescribed ability with respect to the evaluation samples after the integration processing has been performed; determining, in the same group according to the obtained results, a tentative grouping in which the learning models that have been learned after the integration processing have the highest prescribed ability; and allocating the plurality of learning devices to at least one of the plurality of groups according to the determined tentative grouping. According to this configuration, the learning devices can be optimally grouped, thereby making it possible to construct a higher-capability completed learning model for each group.
[0029] In the model integration device involved in the above aspect, the integration of the results of the above machine learning reflected in the above integration range may include averaging or summing the values of the operation parameters contained in the above integration range. According to this structure, the integration ranges of the completed learning models can be appropriately integrated, thereby constructing a higher-capability completed learning model.
[0030] Alternatively, the model integration device involved in the above aspect further includes a weight setting unit, which is a weight setting unit for setting weights for the above-mentioned learned models, and the above-mentioned weights specify the priority of the above-mentioned learned models in the above-mentioned integration process. Moreover, integrating the results of the above-mentioned machine learning reflected in the above-mentioned integration range includes using the above-mentioned weights that are set to weight the values of the operation parameters contained in the above-mentioned integration range of the above-mentioned learned models, and then averaging or summing them. According to this structure, the integration range of each learned learning model can be appropriately integrated, thereby constructing a higher-capability learned learning model.
[0031] In the model integration device involved in the above aspect, the weight setting unit may set the weights in such a way that the weights become larger as the amount of the local learning data used for the machine learning increases. According to this configuration, the integration range of each learning model can be integrated in such a way that the results of the machine learning using a large amount of local learning data are more preferentially reflected, thereby constructing a learning model with higher learning capabilities.
[0032] In the model integration device involved in the above aspect, the local learning data may include specific learning data related to the specific elements of the specified capability, or the weight setting unit may set the weights in such a way that the higher the ratio of the specific learning data contained in the local learning data used for the machine learning, the larger the weight. According to this configuration, the integration range of each learning model can be integrated in such a way that the results of machine learning with a high ratio of specific learning data are more preferentially reflected, thereby constructing a learning model with higher capability for the specific elements.
[0033] In addition, the specific learning data is the learning data related to the specific elements of the specified capability in the local learning data. The specific elements may not be particularly limited and may be selected from all elements related to the specified capability. As an example, in a scenario where the learning model acquires the ability to perform appearance inspection of a product represented by image data, the specific elements may include defects such as stains, stains, and damage. In this case, the local learning data may be the image data of the existing product, and the specific learning data may be the image data of the existing product including defects in the local learning data.
[0034] In the model integration device involved in the above aspect, the integration of the results of the machine learning reflected in the above integration range may be performed by secret computing. According to this configuration, the integration range of each learning model can be integrated on the basis of ensuring the confidentiality of the results of the machine learning of each learning model. Therefore, in the case where the local learning data obtained by each learning device includes highly confidential learning data, the confidentiality of the local learning data can be guaranteed.
[0035] As other forms of the model integration device involved in the above-mentioned forms, one aspect of the present invention may be an information processing method for realizing the above-mentioned structures, a program, or a computer-readable storage medium storing such a program. Here, the computer-readable storage medium is a medium that stores information such as a program through electrical, magnetic, optical, mechanical or chemical effects. In addition, the inference system involved in one aspect of the present invention may be composed of the model integration device involved in any of the above-mentioned forms and a plurality of learning devices.
[0036] For example, an inference system according to one aspect of the present invention includes a plurality of learning devices and a model integration device. Each of the above-mentioned learning devices is configured to execute: a step of collecting local learning data; and a step of constructing a learned learning model that has obtained a specified inference ability through machine learning using the collected local learning data. Each of the above-mentioned learned learning models includes a common part having a common structure. A combination of any one of the above-mentioned learned learning models has a different structure in parts other than the above-mentioned common part. The above-mentioned model integration device is configured to execute: a step of collecting the above-mentioned learned learning models from the above-mentioned plurality of learning devices respectively; a step of performing an integration process on each of the above-mentioned learned learning models to integrate the results of the above-mentioned machine learning reflected in the integration range set in the above-mentioned common part; and a step of updating the above-mentioned learned learning models maintained by each of the above-mentioned learning devices by distributing the results of the above-mentioned integration process to each of the above-mentioned learning devices and using the results of the above-mentioned integration process for the above-mentioned integrated range in the above-mentioned learned learning models.
[0037] In addition, for example, one aspect of the present invention involves a model integration method that is an information processing method, which enables a computer to execute the following steps: a step of collecting completed learning models from multiple learning devices, in which each of the above-mentioned learning devices collects local learning data, and constructs a completed learning model that has acquired specified capabilities through machine learning using the collected local learning data, wherein each of the above-mentioned completed learning models includes a common part having a common structure, and a combination of any one of the above-mentioned completed learning models has a different structure in a part other than the above-mentioned common part; a step of performing an integration processing on each of the above-mentioned completed learning models to integrate the results of the above-mentioned machine learning reflected in an integration range set within the above-mentioned common part; and a step of updating the above-mentioned completed learning models maintained by each of the above-mentioned learning devices by distributing the results of the above-mentioned integration processing to each of the above-mentioned learning devices, and using the results of the above-mentioned integration processing for each of the above-mentioned learning devices within the above-mentioned integration range within the above-mentioned completed learning models.
[0038] In addition, for example, a model integration program involved in one aspect of the present invention is a program that causes a computer to execute the following steps: a step of collecting completed learning models from multiple learning devices, in which each of the above-mentioned learning devices collects local learning data, and constructs a completed learning model that has acquired specified capabilities through machine learning using the collected local learning data, wherein each of the above-mentioned completed learning models includes a common part having a common structure, and a combination of any one of the above-mentioned completed learning models has a different structure in a part other than the above-mentioned common part; a step of performing an integration processing on each of the above-mentioned completed learning models to integrate the results of the above-mentioned machine learning reflected in an integration range set within the above-mentioned common part; and a step of updating the above-mentioned completed learning models maintained by each of the above-mentioned learning devices by distributing the results of the above-mentioned integration processing to each of the above-mentioned learning devices, and using the results of the above-mentioned integration processing for each of the above-mentioned learning devices within the above-mentioned integration range within the above-mentioned completed learning models.
[0039] The above forms can be applied in all scenarios where a learning model learns a prescribed ability through machine learning. For example, the above forms can be applied to a scenario where a learning model learns to infer the state (quality) of a product represented by image data, a scenario where a learning model learns to determine control instructions for a plant cultivation device based on the plant cultivation status, a scenario where a learning model learns to infer the state of a driver based on data obtained by observing the driver, a scenario where a learning model learns to predict the power generation of a power generation device based on weather-related data, a scenario where a learning model learns to infer the health status of a subject based on the subject's vital sign data, etc. The prescribed data can be, for example, image data, sound data, numerical data, text data, measurement data obtained by other sensors, etc.
[0040] For example, an image system according to one aspect of the present invention includes a plurality of learning devices and a model integration device. Each of the above-mentioned learning devices is configured to execute: a step of collecting local learning data including image data; and a step of constructing a learned learning model that has acquired the ability to infer specified features from image data through machine learning using the collected local learning data. Each of the above-mentioned learned learning models includes a common part having a common structure. A combination of any one of the above-mentioned learned learning models has a different structure in parts other than the above-mentioned common part. The above-mentioned model integration device is configured to execute: a step of collecting the above-mentioned learned learning models from the above-mentioned plurality of learning devices respectively; a step of performing an integration process on each of the above-mentioned learned learning models to integrate the results of the above-mentioned machine learning reflected in the integration range set in the above-mentioned common part; and a step of updating the above-mentioned learned learning models maintained by the above-mentioned learning devices by distributing the results of the above-mentioned integration process to each of the above-mentioned learning devices and using the results of the above-mentioned integration process for the above-mentioned integrated range in the above-mentioned learned learning models for each of the above-mentioned learning devices.
[0041] For example, a sensor system according to one aspect of the present invention includes a plurality of learning devices and a model integration device. Each of the learning devices is configured to execute: a step of collecting local learning data including sensor detection data obtained by a sensor; and a step of constructing a learned learning model that has acquired the ability to infer a specified feature from the sensor detection data through machine learning using the collected local learning data. Each of the learned learning models includes a common part having a common structure. A combination of any one of the learned learning models has a different structure in parts other than the common part. The model integration device is configured to execute: a step of collecting the learned learning models from the plurality of learning devices; a step of performing an integration process on the learned learning models to integrate the results of the machine learning reflected in the integration range set in the common part; and a step of updating the learned learning models retained by each of the learning devices by distributing the results of the integration process to each of the learning devices and using the results of the integration process for the integrated range in each of the learned learning models.
[0042] For example, one aspect of the present invention involves an inspection system comprising a plurality of inspection devices and a model integration device, wherein each of the inspection devices is configured to execute: a step of collecting local learning data including image data reflecting an existing product; and a step of constructing a learned learning model that has acquired the ability to determine the state of the product reflected by the image data through machine learning using the collected local learning data, wherein each of the learned learning models includes a common part having a common structure, and a combination of any one of the learned learning models has a different structure in a part other than the common part, and the model integration device is configured to execute: a step of collecting the learned learning models from the plurality of inspection devices respectively; a step of performing an integration processing on each of the learned learning models to integrate the results of the machine learning reflected in an integration range set within the common part; and a step of updating the learned learning models maintained by each of the inspection devices by distributing the results of the integration processing to each of the inspection devices and using the results of the integration processing for each of the inspection devices within the integration range within the learned learning models.
[0043] In addition, for example, a control system involved in one aspect of the present invention comprises: a plurality of control devices, which control the cultivation environment of the plant and are respectively connected to the cultivation device for cultivating the plant; and a model integration device, wherein each of the above control devices is configured to perform the following steps: a step of collecting status data related to the cultivation status of the above plant and local learning data including control instructions for giving control instructions of the cultivation environment corresponding to the cultivation status to the above cultivation device; and a step of constructing a learned learning model that has acquired the ability to determine the control instructions to be given to the above cultivation device according to the cultivation status of the above plant through machine learning using the collected local learning data, wherein each of the above learned learning models includes a common structure. In the same part, a combination of any one of the above-mentioned completed learning models has a different structure in a part other than the above-mentioned common part, and the above-mentioned model integration device is configured to perform the following steps: a step of collecting the above-mentioned completed learning models from the above-mentioned multiple control devices respectively; a step of performing an integration processing on the above-mentioned machine learning results reflected in the integration range set in the above-mentioned common part for the above-mentioned each completed learning model; and a step of updating the above-mentioned completed learning model maintained by the above-mentioned each control device by distributing the result of the above-mentioned integration processing to the above-mentioned each control device and using the result of the above-mentioned integration processing for the above-mentioned each control device within the above-mentioned integration range within the above-mentioned each completed learning model.
[0044] According to the present invention, a higher-capability learning model can be constructed. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 An example of a scenario in which the present invention is applied is schematically illustrated.
[0046] Figure 2 An example of the hardware configuration of the model integration device according to the embodiment is schematically illustrated.
[0047] Figure 3 An example of the hardware configuration of the learning device according to the embodiment is schematically illustrated.
[0048] Figure 4 An example of the software configuration of the model integration device according to the embodiment is schematically illustrated.
[0049] Figure 5 An example of the configuration of the allocation information according to the embodiment is schematically illustrated.
[0050] Fig. 6A An example of a software configuration related to machine learning of a learning device in the embodiment is schematically illustrated.
[0051] Figure 6B An example of a software configuration related to the estimation process of the learning device in the embodiment is schematically illustrated.
[0052] Figure 7 An example of a process procedure of machine learning using a learning device according to an embodiment is illustrated.
[0053] Figure 8 An example of a processing procedure related to the exercise of a predetermined capability using a learning device according to an embodiment is illustrated.
[0054] Fig. 9 An example of a processing procedure of the model integration device according to the embodiment is illustrated.
[0055] Fig.10 An example of a method for determining the integration range according to the embodiment is schematically illustrated.
[0056] Fig.11 An example of a process procedure related to determination of an integration range using a model integration device according to an embodiment is illustrated.
[0057] Fig.12 An example of a method for determining the integration range according to the embodiment is schematically illustrated.
[0058] Fig.13 An example of a process procedure related to determination of an integration range using a model integration device according to an embodiment is illustrated.
[0059] Fig.14 An example of a method for determining the integration range according to the embodiment is schematically illustrated.
[0060] Fig.15 An example of a process procedure related to determination of an integration range using a model integration device according to an embodiment is illustrated.
[0061] Fig.16 The grouping process according to the embodiment is schematically illustrated.
[0062] Fig.17 An example of a processing procedure related to grouping of learning devices using a model integration device according to an embodiment is illustrated.
[0063] Fig.18 An example of a processing procedure related to grouping of learning devices using a model integration device according to an embodiment is illustrated.
[0064] Fig.19 An example of a processing procedure related to grouping of learning devices using a model integration device according to an embodiment is illustrated.
[0065] Fig. 20 An example of another scenario in which the present invention is applied is schematically illustrated.
[0066] Fig.21 An example of the hardware configuration of an inspection device according to another embodiment is schematically illustrated.
[0067] Fig.22A An example of a software configuration related to machine learning of an inspection device according to another embodiment is schematically illustrated.
[0068] Fig. 22B An example of a software configuration related to an inspection process of an inspection device according to another embodiment is schematically illustrated.
[0069] Fig.23 An example of another scenario in which the present invention is applied is schematically illustrated.
[0070] Fig.24 An example of the hardware configuration of a control device according to another embodiment is schematically illustrated.
[0071] Fig.25A An example of a software configuration related to machine learning of a control device according to another embodiment is schematically illustrated.
[0072] Fig.25B An example of a software configuration related to a process of determining a control instruction of a control device according to another embodiment is schematically illustrated.
[0073] Fig.26 An example of another scenario in which the present invention is applied is schematically illustrated.
[0074] Fig. 27 An example of the hardware configuration of a monitoring device according to another embodiment is schematically illustrated.
[0075] Fig.28A An example of a software configuration related to machine learning of a monitoring device according to another embodiment is schematically illustrated.
[0076] Fig.28B An example of a software configuration related to monitoring processing of a monitoring device according to another embodiment is schematically illustrated.
[0077] Fig.29 An example of another scenario in which the present invention is applied is schematically illustrated.
[0078] Fig.30 An example of the hardware configuration of a prediction device according to another embodiment is schematically illustrated.
[0079] Fig.31A An example of a software configuration related to machine learning of a prediction device according to another embodiment is schematically illustrated.
[0080] Fig.31B An example of a software configuration related to prediction processing of a prediction device according to another embodiment is schematically illustrated.
[0081] Fig.32 An example of another scenario in which the present invention is applied is schematically illustrated.
[0082] Fig.33 An example of the hardware configuration of a diagnostic device according to another embodiment is schematically illustrated.
[0083] Fig.34A An example of a software configuration related to machine learning of a diagnostic device according to another embodiment is schematically illustrated.
[0084] Fig.34B An example of a software configuration related to a diagnostic process of a diagnostic device according to another embodiment is schematically illustrated.
[0085] Fig.35 An example of the configuration of a learning device according to another embodiment is schematically illustrated.
[0086] Fig.36A An example of a scenario in which integrated processing is performed by secret computing in a modified example is schematically illustrated.
[0087] Fig.36B An example of a scenario in which integrated processing is performed by secret computing in a modified example is schematically illustrated. DETAILED DESCRIPTION
[0088] Hereinafter, an embodiment (hereinafter referred to as "this embodiment") according to one aspect of the present invention will be described based on the accompanying drawings. However, the present embodiment described below is merely an illustration of the present invention in all aspects. It goes without saying that various improvements and modifications can be made without departing from the scope of the present invention. In other words, when implementing the present invention, a specific configuration corresponding to the embodiment can be appropriately adopted. In addition, the data appearing in this embodiment is described using natural language, but more specifically, it is specified by an approximate language, instructions, parameters, and machine language that can be recognized by a computer.
[0089] §1 Application Examples
[0090] First, use Figure 1 , an example of a scenario in which the present invention is applied is described. Figure 1 An example of a scenario in which the present invention is applied is schematically illustrated. Figure 1As shown, the estimation system 100 according to the present embodiment includes a model integration device 1 and a plurality of learning devices 2. The model integration device 1 and each learning device 2 may be connected to each other via a network. The type of network may 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.
[0091] Each learning device 2 involved in the present embodiment is a computer configured to perform machine learning of a learning model 4 using local learning data 3. Specifically, each learning device 2 involved in the present embodiment collects local learning data 3. Furthermore, each learning device 2 involved in the present embodiment constructs a learning model 4 that has acquired a specified capability through machine learning using the collected local learning data 3.
[0092] The prescribed capability is the ability to perform certain information processing on the given data. The prescribed capability may not be particularly limited and may be appropriately selected according to the implementation method. In one example, the prescribed capability is the ability to infer certain inferences (recursion or recognition) on unknown object data. The inference capability is, for example, the ability to infer certain features contained in the unknown object data. Features may include all elements that can be inferred based on the data. As such inference capabilities, for example, there can be cited: the ability to infer the state (quality) of the product reflected in the image data, the ability to determine the control instructions given to the cultivation device according to the cultivation conditions of the plant, the ability to infer the state of the driver based on the data obtained by observing the driver, the ability to predict the power generation of the power generation device based on weather-related data, and the ability to infer the health status of the subject based on the vital signs data of the subject, etc.
[0093] In this embodiment, each learning device 2 enables each learning model 4 to learn the ability to infer a certain feature contained in the sensor detection data obtained by the sensor S as a prescribed ability. The sensor S may be, for example, a camera, a microphone, a photometer, a thermometer, a hygrometer, a vital sign sensor, etc. For example, a camera that takes a picture of the appearance of a product may be used as the sensor S. In this case, the sensor detection data may be image data reflecting the existing product, and the ability to infer a certain feature may be the ability to infer the state (quality) of the product reflected by the image data. Each learning device 2 uses the learning model 4 that has been learned to infer the features contained in the sensor detection data obtained by the sensor S.
[0094] Each learning model 4 is a model that can obtain a specified ability through machine learning, and its type is not particularly limited and can be appropriately selected according to the implementation method. The type of machine learning is not particularly limited and can be appropriately selected according to the implementation method. Figure 1As shown in the figure, in the present embodiment, each learning model 4 is constituted by a neural network. For each learned learning model 4, different names such as inference device and recognition device can be used according to the purpose. The local learning data 3 is the learning data used for machine learning of the learning model 4 in each learning device 2. The composition of the local learning data 3 can be appropriately selected according to the type of learning model 4, the ability acquired by the learning model 4, etc.
[0095] Each learning device 2 may be configured at a separate site and used by different users. Each learning device 2 may construct a learning model 4 that has been learned according to the estimated purpose corresponding to each situation. However, the configuration and user of each learning device 2 may not be particularly limited and may be appropriately selected according to the implementation method. For example, at least a part of the learning devices 2 may be configured at the same site and used by the same user.
[0096] In the present embodiment, each completed learning model 4 is configured to include a common portion 40 having a common structure. In other words, each completed learning model 4 is configured to have a structure that shares the common portion 40. Any combination of the completed learning models 4 has different structures in portions other than the common portion 40. The structure of each learning model 4 can be appropriately determined based on the type of prescribed capabilities that each learning model 4 acquires, the specifications required of each learning model 4, and the like. For example, in the case of improving performance at the expense of computational speed, the number of layers of the neural network that constitutes each learning model 4 can be set to a larger number. On the other hand, in the case of improving computational speed at the expense of performance, the number of layers of the neural network that constitutes each learning model 4 can be set to a smaller number.
[0097] Figure 1 In the example, there are three learning devices 2a to 2c. In the following, for convenience of explanation, when different learning devices are distinguished, further reference numerals such as a, b, and c are marked, and when not, these reference numerals are omitted, such as "learning device 2". Each learning device 2a to 2c collects each local learning data 3a to 3c, and constructs a learning model 4a to 4c through machine learning using the obtained local learning data 3a to 3c. Figure 1 In the example, each completed learning model 4a to 4c is composed of a 6-layer neural network. In the network from the 1st layer to the 3rd layer on the input side, the number of neurons (nodes) and the coupling relationship are the same. On the other hand, in the network from the 4th layer to the 6th layer, the number of neurons and the coupling relationship are different. Therefore, the network from the 1st layer to the 3rd layer is the common part 40.
[0098] However, the number of learning devices 2 and the configuration of each learning model 4 are not limited to such an example, and may be appropriately determined according to the implementation method. The number of learning devices 2 may be two or more than four. The structure of the neural network may not be limited to six layers. In addition, Figure 1 In the example, the overall structures of the learning models 4a to 4c are different. However, the relationship between the learning models 4 is not limited to such an example, and as long as any combination has a different structure in parts other than the common part 40, the overall structures of other combinations can be consistent.
[0099] In contrast, the model integration device 1 according to the present embodiment collects the completed learning models 4 from each learning device 2. Next, the model integration device 1 according to the present embodiment performs integration processing on the collected completed learning models 4, and the integration processing integrates the results of machine learning reflected in the integration range 41 set in the common part 40. The model integration device 1 according to the present embodiment distributes the results 43 of the integration processing to each learning device 2, and for each learning device 2, uses the results of the integration processing in the integration range 41 within each completed learning model 4, thereby updating the completed learning model 4 maintained by each learning device 2.
[0100] Figure 1 In the example, a scenario is illustrated in which the network from the first layer to the third layer is set in the integration range 41, and the integration processing of integrating the integration range 41 is performed on each of the completed learning models 4a to 4c. The result 43 of the integration processing is obtained by integrating the values of the operation parameters of each neuron included in the first layer to the third layer. The model integration device 1 updates each of the completed learning models 4a to 4c by using the result 43 of the integration processing for the operation parameters of each neuron included in the first layer to the third layer for each learning device 2a to 2c.
[0101] As described above, in this embodiment, instead of aggregating the local learning data 3 itself, the learning models 4 constructed by each learning device 2 are collected, and the collected learning models 4 are integrated. Therefore, the communication cost and the calculation cost consumed by the model integration device 1 can be suppressed. In addition, since the integration process is only performed on the integration range 41 set to the common part 40 contained in each learning model 4, it is allowed that the structure of each learning model 4 is different. For example, in Figure 1 In the example, each learning model 4a to 4c has a different structure in a portion other than the common portion 40. In other words, even if the format of the local learning data 3 and the structure of each learning model 4 are inconsistent, integration processing can be performed on each learned learning model 4.
[0102] Moreover, through this integrated processing, the results of machine learning reflected in each completed learning model 4 can be appropriately reflected in other completed learning models 4. Therefore, each completed learning model 4 after the integrated processing can appropriately exert the prescribed ability for data that cannot be obtained by each learning device 2 alone based on the results of machine learning of other completed learning models 4. For example, the completed learning model 4a after the integrated processing reflects the results of machine learning based on the local learning data 3b used when constructing other completed learning models 4b. Therefore, the completed learning model 4a after the integrated processing can appropriately exert the prescribed ability for data that is not included in the local learning data 3a but is included in the local learning data 3b. Therefore, according to this embodiment, an environment for constructing a higher-capability completed learning model 4 can be realized.
[0103] §2 Example of composition
[0104] [Hardware Configuration]
[0105] <Model integrated device>
[0106] Next, use Figure 2 , an example of the hardware configuration of the model integration device 1 according to the present embodiment is described. Figure 2 An example of the hardware configuration of the model integration device 1 according to the present embodiment is schematically illustrated.
[0107] like Figure 2 As shown, the model integration device 1 according to the present embodiment is a computer to which a control unit 11, a storage unit 12, a communication interface 13, an input device 14, an output device 15, and a driver 16 are electrically connected. Figure 2 In the communication interface, the communication interface is recorded as "communication I / F".
[0108] The control unit 11 includes a CPU (Central Processing Unit), a RAM (Random Access Memory), a ROM (Read Only Memory), etc. as a hardware processor, and is configured to perform information processing based on a program and various data. The storage unit 12 is an example of a memory, and is composed of, for example, a hard disk drive, a solid state drive, etc. In the present embodiment, the storage unit 12 stores various information such as a model integration program 81, a plurality of learning result data 221, integration result data 121, a group list 123, allocation information 124, a template 126, and an evaluation sample 129.
[0109] The model integration program 81 is used to cause the model integration device 1 to execute the information processing (described later) related to the integration of each learning model 4. Fig. 9 , Fig.11 , Fig.13 , Fig.15 , Figure 17 to Figure 19 ) program. The model integration program 81 includes a series of commands for processing the information. Each learning result data 221 represents information related to each completed learning model 4 constructed by machine learning. The integrated result data 121 represents the result 43 of the integration processing. The integrated result data 121 can be used as the result of executing the model integration 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. The template 126 gives a template of the structure of the learning model 4. Each learning device 2 can use the template 126 when determining the structure of each learning model 4. The evaluation sample 129 is used to evaluate the capabilities of each completed learning model 4 after the integration processing. Details will be described later.
[0110] The communication interface 13 is, for example, a wired LAN (Local Area Network) module, a wireless LAN module, etc., and is an interface for wired or wireless communication via a network. By using the communication interface 13, the model integration device 1 can communicate data with other information processing devices (such as the learning device 2) via a network.
[0111] The input device 14 is a device for inputting, such as a mouse and a keyboard. The output device 15 is a device for outputting, such as a display and a speaker. The operator can operate the model integration device 1 by using the input device 14 and the output device 15 .
[0112] The drive 16 is, for example, a CD drive, a DVD drive, etc., and is a drive device for reading a 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 integration program 81, the plurality of learning result data 221, the group list 123, the allocation information 124, the template 126, and the evaluation sample 129 can be stored in the storage medium 91.
[0113] The storage medium 91 is a medium that stores information such as a program recorded therein by electrical, magnetic, optical, mechanical or chemical action in a manner that enables a computer or other device or machine to read the information. The model integration device 1 can obtain at least one of the above-mentioned model integration program 81, the plurality of learning result data 221, the group list 123, the allocation information 124, the template 126 and the evaluation sample 129 from the storage medium 91.
[0114] Here, Figure 2In the embodiment, as an example of the storage medium 91, a disk-type storage medium such as a CD or a DVD is illustrated. 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.
[0115] In addition, regarding the specific hardware structure of the model integration device 1, it is possible to appropriately omit, replace and add components according to the implementation method. For example, the control unit 11 may 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 be composed of a RAM and a ROM contained 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 integration device 1 may be composed of multiple computers. In this case, the hardware structure of each computer may be consistent or inconsistent. In addition, in addition to being designed as an information processing device dedicated to the services provided, the model integration device 1 may also be a general-purpose server device, a PC (Personal Computer), etc.
[0116] <Learning equipment>
[0117] Next, use Figure 3 , an example of the hardware configuration of each learning device 2 involved in this embodiment is described. Figure 3 An example of the hardware configuration of each learning device 2 according to the present embodiment is schematically illustrated.
[0118] like Figure 3 As shown, each learning device 2 according to the present embodiment is a computer to which 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 are electrically connected. Figure 3 In the specification, the communication interface and the external interface are respectively described as “communication I / F” and “external I / F”.
[0119] The control unit 21 to the driver 26 of each learning device 2 may be respectively the same as the control unit 11 to the driver 16 of the above-mentioned model integration device 1. That is, the control unit 21 includes a CPU, a RAM, a ROM, etc. as a hardware processor, and is configured to perform various information processing based on 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 estimation program 83, the local learning data 3, and the learning result data 221.
[0120] The learning program 82 is used to cause the learning device 2 to execute information processing (described later) related to machine learning of the learning model 4. Figure 7 ) program. The learning program 82 includes a series of instructions for the information processing. The learning result data 221 can be obtained as a result of executing the learning program 82. In addition, the estimation program 83 is used to make the learning device 2 perform the information processing (described later) related to the predetermined estimation using the learning model 4 that has been learned. Figure 8 ) program. The estimation program 83 includes a series of instructions for the information processing. The local learning data 3 is used for machine learning, and the machine learning is used to enable the learning model 4 to acquire a predetermined ability. The details will be described later.
[0121] 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 perform data communication via a network with other information processing devices (eg, the model integration device 1) by using the communication interface 23.
[0122] The input device 24 is a device for performing input, such as a mouse or a keyboard. The output device 25 is a device for performing output, such as a display or a speaker. The operator can operate each learning device 2 by using the input device 24 and the output device 25 .
[0123] 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 any one of the learning program 82, the estimation program 83, and the local learning data 3 can be stored in the storage medium 92. In addition, each learning device 2 can obtain at least any one of the learning program 82, the estimation program 83, and the local learning data 3 from the storage medium 92.
[0124] 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 sensor detection data that is an object for performing a prescribed inference from the sensor S. However, the configuration for obtaining the sensor detection data may not be limited to such an example, and may be appropriately determined according to the embodiment. For example, it may also be that, in the case where the sensor S has a communication interface, each learning device 2 is connected to the sensor S via the communication interface 23 instead of the external interface 27.
[0125] In addition, regarding the specific hardware configuration of each learning device 2, it is possible to appropriately omit, replace, and add components according to the implementation method. For example, the control unit 21 may include multiple hardware processors. The hardware processor may be composed of a microprocessor, an FPGA, a DSP, etc. The storage unit 22 may be composed of a RAM and a ROM contained in the control unit 21. At least one of the communication interface 23, the input device 24, the output device 25, the drive 26, and the external interface 27 may be omitted. Each learning device 2 may be composed of multiple 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 common. However, the relationship between the hardware configuration of each learning device 2 may not be limited to such an example. It is also possible that the hardware configuration of one learning device 2 is different from that of other learning devices 2. 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, etc.
[0126] [Software composition]
[0127] <Model integrated device>
[0128] Next, use Figure 4 , an example of the software structure of the model integration device 1 involved in this embodiment is described. Figure 4 An example of the software configuration of the model integration device 1 according to the present embodiment is schematically illustrated.
[0129] The control unit 11 of the model integration device 1 expands the model integration program 81 stored in the storage unit 12 in the RAM. Then, the control unit 11 interprets and executes the model integration program 81 expanded in the RAM through the CPU, and controls each component. Figure 4 As shown, the model integration device 1 according to the present embodiment operates as a computer having a model collection unit 111, a range adjustment unit 112, an integration processing unit 113, a model updating unit 114, a weight setting unit 115, and a grouping unit 116 as software modules. That is, in the present embodiment, each software module of the model integration device 1 is implemented by the control unit 11 (CPU).
[0130] The model collection unit 111 collects the learned learning models 4 from each learning device 2. The range adjustment unit 112 determines the integration range 41 within the common part 40 contained in each learned learning model 4 collected. The integration processing unit 113 performs integration processing on each learned learning model 4 to integrate the results of machine learning reflected in the integration range 41 set in the common part 40. The model update unit 114 distributes the integration result data 121 representing the result 43 of the integration processing to each learning device 2, and uses the result 43 of the integration processing for the integration range 41 within each learned learning model 4 for each learning device 2, thereby updating the learned learning model 4 maintained by each learning device 2. In addition, "model update" only needs to distribute the result 43 of the integration processing for the update of the learned learning model 4, and may not include instructing each learning device 2 to perform the update processing.
[0131] The weight setting unit 115 sets weights for each completed learning model 4. Each weight specifies the priority of each completed learning model 4 for integration processing. Correspondingly, integrating the results of machine learning reflected in the integration range 41 may include using the set weights to weight the values of the operation parameters contained in the integration range 41 of each completed learning model 4 and then averaging or summing them.
[0132] The grouping unit 116 assigns each learning device 2 to at least one of a plurality of groups. Correspondingly, the model collecting unit 111 may collect the completed learning models 4 from the plurality of learning devices 2 belonging to the same group. The range adjusting unit 112 may determine the integration range 41 within the common portion 40 contained in the collected completed learning models 4 within the same group. The integration processing unit 113 may also perform integration processing on the completed learning models 4 within the same group to integrate the results of machine learning reflected in the determined integration range 41. The model updating unit 114 may distribute the results 43 of the integration processing to each learning device 2 within the same group, and use the results 43 of the integration processing for the integration range 41 within each completed learning model 4 for each learning device 2, thereby updating the completed learning models 4 maintained by each learning device 2. In addition, the integration processing within the group may be performed in a manner repeated for a plurality of groups. That is, after the integration processing unit 113 performs integration processing on the learning models 4 that have been learned in one group, it can use the result 43 of the integration processing to perform integration processing on the learning models 4 that have been learned in other groups to which the learning devices 2 belonging to the one group belong. In this case, different ranges can be set as the integration range 41 in one group and the other group. Correspondingly, the integration range 41 in which the integration processing is performed in one group can also be different from the integration range 41 in which the integration processing is performed in other groups. In this embodiment, the grouping unit 116 stores the result of group assignment of each learning device 2 in the assignment information 124.
[0133] Figure 5 An example of the data structure of the allocation information 124 involved in this embodiment is schematically illustrated. In this embodiment, the allocation information 124 has a tabular structure, and each record (row data) has a "user ID" field and a "group ID" field. The "user ID" field stores information for identifying each learning device 2, and the "group ID" field 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 such an example, and can be appropriately determined according to the embodiment.
[0134] (Learning Model)
[0135] Next, an example of each learning model 4 is described. Figure 4As shown in the figure, in the present embodiment, each learning model 4 is composed of a neural network. Specifically, each learning model 4 is composed of a 6-layer neural network, which has an input layer 51, intermediate (hidden) layers 52 to 55, and an output layer 56 in order from the input side. However, the structure of each learning model 4 is not limited to such an example, and can be appropriately determined in each learning device 2. For example, the number of intermediate layers of each learning model 4 is not limited to 4, and can be 3 or less, or 5 or more.
[0136] The number of neurons contained in each layer 51 to 56 can be appropriately selected according to the implementation method. The neurons of adjacent layers are appropriately coupled to each other, and each coupling is set with a weight (coupling load). Each neuron is set with a threshold, and the output of each neuron is basically determined by whether the sum of the products of each input and each weight exceeds the threshold. The weight of the coupling between each neuron contained in each layer 51 to 56 and the threshold of each neuron are examples of the calculation parameters of the learning model. In addition, Figure 4 The number of neurons included in each layer 51 to 56 and the coupling relationship with the adjacent layers are merely examples for convenience of description and do not limit the present invention and the present embodiment.
[0137] Figure 4 In the example, it is assumed that the model collection unit 111 collects scenes of the learned learning models 4a~4c from three learning devices 2a~2c respectively. For each learned learning model 4a~4c, in the network from the input layer 51 (1st layer) to the middle layer 53 (3rd layer), the number of neurons and the coupling relationship with the adjacent layers are the same. On the other hand, in the network from the middle layer 54 (4th layer) to the output layer 56 (6th layer), the number of neurons and the coupling relationship are different. Therefore, the network from the input layer 51 to the middle layer 53 is the common part 40.
[0138] The range adjustment unit 112 can determine the range (integration range 41 ) to which the integration process is applied within the range (common portion 40 ) from the input layer 51 to the intermediate layer 53 . Figure 4 In the example of FIG. 4 , it is assumed that the range adjustment unit 112 determines the range from the input layer 51 to the intermediate layer 53 as the integration range 41. The result of machine learning is reflected in the value of the operation parameter included in each learning model 4. Therefore, the integration processing unit 113 integrates the results of machine learning reflected in the integration range 41 of each learning model 4 by integrating the values of the operation parameters included in the integration range 41 of each learning model 4.
[0139] The model updating unit 114 distributes the integration result data 121 indicating the result 43 of the integration process to each of the learning devices 2a to 2c, and uses the result 43 of the integration process for the integration range 41 in each of the learning models 4a to 4c that have been learned. That is, for each of the learning devices 2a to 2c, the model updating unit 114 replaces the value of each parameter in the integration range 41 with the value of each parameter obtained by the integration process. Thus, the model updating unit 114 updates each of the learning models 4a to 4c that have been learned and held by each of the learning devices 2a to 2c.
[0140] <Learning equipment>
[0141] (A) Learning Process
[0142] Next, use Fig. 6A , an example of a software configuration related to a learning process of each learning device 2 according to the present embodiment is described. Fig. 6A An example of a software configuration related to a learning process of each learning device 2 according to the present embodiment is schematically illustrated.
[0143] The control unit 21 of each learning device 2 expands the learning program 82 stored in the storage unit 22 in the RAM. The control unit 21 interprets and executes the learning program 82 expanded in the RAM through the CPU, and controls each component. Fig. 6A As shown, each learning device 2 involved in this embodiment operates as a computer having a learning data collection unit 211, a structure determination unit 212, a learning processing unit 213, and a storage processing unit 214 as software modules. 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).
[0144] The learning data collection unit 211 collects local learning data 3 used for machine learning of the learning model 4. In the present embodiment, the learning model 4 is composed of a neural network, and therefore, the local learning data 3 is composed of a plurality of learning data sets 30 each including a combination of training data 31 and correct data 32. The training data 31 (input data) is data that is an object for exerting a prescribed ability. The correct data 32 (teacher data) is data that indicates a result (correct) of exerting a prescribed ability relative to the training data 31. The correct data 32 can be called a label.
[0145] The training data 31 and the correct data 32 can be appropriately selected according to the prescribed ability that the learning model 4 is taught to learn. For example, in the case where the learning model 4 is taught to learn the ability to infer the state (quality) of the product represented by the image data as the prescribed ability, the training data 31 can be composed of image data that represents the product, and the correct data 32 can be composed of data that represents the state (quality) of the product. In this embodiment, the learning model 4 learns the ability to infer a certain feature contained in the sensor detection data obtained by the sensor S as the prescribed ability. Therefore, the training data 31 is the same type of data as the sensor detection data obtained by the sensor S, and the correct data 32 is data that represents the correct answer to the inference of the feature contained in the training data 31.
[0146] The structure determination unit 212 determines the structure of the learning model 4. The structure of the learning model 4 defines the operation processing based on the operation parameters. The structure of the learning model 4 can be appropriately specified according to the type of the learning model 4. In the present embodiment, the learning model 4 is composed of a neural network. Therefore, the structure of the learning model 4 can be specified, for example, based on the number of layers of the neural network, the number of neurons contained in each layer, the coupling relationship between each layer, etc. In each learning device 2, the structure of each learning model 4 can be appropriately determined. As a result, each learning model 4 can be configured to include a common part 40 having a common structure. In addition, a combination of any of the learning models 4 can be configured to have different structures in parts other than the common part 40.
[0147] The learning processing unit 213 constructs a learning model 4 that has been learned and has acquired a predetermined capability through machine learning using the collected local learning data 3. In the present embodiment, the learning processing unit 213 trains the learning model 4 through machine learning so that when the training data 31 is input, an output value corresponding to the correct data 32 is output. Thus, a learning model 4 that has been learned and has acquired a predetermined capability is constructed.
[0148] The storage processing unit 214 stores information related to the constructed learning model 4 in a specified storage area. In the present embodiment, the storage processing unit 214 generates information representing the structure and operation parameters of the learning model 4 (neural network) constructed by machine learning as learning result data 221, and stores the generated learning result data 221 in a specified storage area.
[0149] (B) Presumptive treatment
[0150] Next, use Figure 6B , an example of a software configuration related to the estimation process of each learning device 2 involved in this embodiment is described. Figure 6BAn example of a software configuration related to the estimation process of each learning device 2 according to the present embodiment is schematically illustrated.
[0151] The control unit 21 of each learning device 2 expands the estimation program 83 stored in the storage unit 22 in the RAM. The control unit 21 interprets and executes the estimation program 83 expanded in the RAM through the CPU, and controls each component. Figure 6B As shown, each learning device 2 according to the present embodiment operates as a computer having a target data acquisition unit 216, an estimation unit 217, and an output unit 218 as software modules. That is, in the present embodiment, each software module of each learning device 2 related to the estimation process is implemented by the control unit 21 (CPU).
[0152] The object data acquisition unit 216 acquires the object data 225 that is the object for exerting the prescribed ability learned by the learning model 4 that has been learned. In the present embodiment, the object data acquisition unit 216 acquires the object data 225 from the sensor S. The estimation unit 217 includes the learned learning model 4 by holding the learning result data 221. The estimation unit 217 estimates the features included in the object data 225 using the learned learning model 4. Specifically, the estimation unit 217 sets the learned learning model 4 with reference to the learning result data 221. Next, the estimation unit 217 inputs the acquired object data 225 into the input layer 51 of the learned learning model 4, and performs the calculation processing of the learned learning model 4. Thus, the estimation unit 217 acquires the output value corresponding to the result of estimating the features included in the object data 225 from the output layer 56 of the learned learning model 4. In the present embodiment, the output value obtained corresponds to exerting the prescribed ability. In addition, the “estimation” may be, for example, deriving a discrete value (e.g., a category corresponding to a specific feature) by grouping (classification, identification) or deriving a continuous value (e.g., the probability of a specific feature appearing) by recursion. The output unit 218 outputs information related to the result of estimating the feature.
[0153] <Other>
[0154] The software modules of the model integration device 1 and each learning device 2 are described in detail through the action examples described later. In addition, in the present embodiment, an example is described in which each software module of the model integration device 1 and each learning device 2 is implemented by a general-purpose CPU. However, part or all of the above software modules can be implemented by one or more dedicated processors. In addition, regarding the software configuration of the model integration device 1 and each learning device 2, software modules can be appropriately omitted, replaced, and added according to the implementation method.
[0155] §3 Action Examples
[0156] [Learning device]
[0157] (A) Learning Process
[0158] Next, use Figure 7 , an example of the operation of each learning device 2 related to machine learning is explained. Figure 7 1 is a flowchart showing an example of a process related to machine learning based on each learning device 2. However, each process described below is only an example, and each step can be changed as long as possible. Moreover, for each process described below, steps can be appropriately omitted, replaced, and added according to the implementation method.
[0159] (Step S101)
[0160] In step S101, the control unit 21 operates as a learning data collection unit 211 and collects local learning data 3 for machine learning of the learning model 4. In this embodiment, the control unit 21 collects a plurality of learning data sets 30 each including a combination of training data 31 and correct data 32 as the local learning data 3.
[0161] The method of obtaining each learning data set 30 may not be particularly limited and may be appropriately selected according to the embodiment. For example, by preparing a sensor of the same type as the sensor S and observing under various conditions using the prepared sensor, training data 31 can be obtained. Furthermore, correct data 32 representing the features appearing in the training data 31 is associated with the acquired training data 31. Thus, each learning data set 30 can be generated.
[0162] Each learning data set 30 may be automatically generated by the operation of a computer or manually generated by an operator. In addition, the generation of each learning data set 30 may be performed by each learning device 2 or by another computer other than each learning device 2. When each learning device 2 generates each learning data set 30, the control unit 21 collects local learning data 3 consisting of a plurality of learning data sets 30 by automatically or manually performing the above series of processes by an operator through the input device 24. On the other hand, when other computers generate each learning data set 30, the control unit 21 collects local learning data 3 consisting of a plurality of learning data sets 30 generated by other computers, for example, via a network, a storage medium 92, etc.
[0163] The number of the collected learning data sets 30 is not particularly limited and may be appropriately selected according to the embodiment. After the local learning data 3 are collected, the control unit 21 proceeds to the next step S102.
[0164] (Step S102)
[0165] In step S102, the control unit 21 acts as the structure determination unit 212 to determine the structure of the learning model 4. In the present embodiment, the learning model 4 is composed of a neural network. Therefore, in this step S102, the control unit 21 determines the structure of the neural network that constitutes the learning model 4. The structure of the neural network is defined by, for example, the number of layers of the neural network, the number of neurons contained in each layer, the coupling relationship between neurons, and the like.
[0166] The method for determining the structure of the learning model 4 may not be particularly limited and may be appropriately selected according to the embodiment. For example, the control unit 21 may determine the structure of the neural network, the initial value of the weight of the coupling between each neuron, and the initial value of the threshold of each neuron by accepting the designation of the operator via the input device 24. In addition, for example, the control unit 21 may determine the structure of the neural network, the initial value of the weight of the coupling between each neuron, and the initial value of the threshold of each neuron based on the template. In this case, the control unit 21 may obtain the template 126 from the model integration device 1 based on the response to the processing of steps S701 to S703 described later. As long as the template 126 includes information that gives a template of the learning model 4, its data format may not be particularly limited and may be appropriately determined according to the embodiment. In addition to information related to the structure of the learning model 4, the template 126 may also include information related to the initial value of the operation parameter of the learning model 4. In this embodiment, the template 126 may include information representing the number of layers of the neural network, the number of neurons (nodes) contained in each layer, and the coupling relationship between neurons in adjacent layers as information related to the structure of the learning model 4. In addition, the template 126 may include information such as the initial value of the weight representing the coupling between neurons, the initial value of the threshold of each neuron, etc. as information related to the initial value of the operation parameter. The control unit 21 may determine the structure of the neural network constituting the learning model 4, the initial value of the weight representing the coupling between neurons, and the initial value of the threshold of each neuron based on the acquired template 126.
[0167] As a result of appropriately determining the structure of each learning model 4 in each learning device 2, each learned learning model 4 is configured to include a common portion 40 having a common structure. In addition, any combination of each learned learning model 4 is configured to have a different structure in a portion other than the common portion 40. When the structure of the learning model 4 is determined, the control unit 21 advances the process to the next step S103.
[0168] (Step S103)
[0169] In step S103, the control unit 21 acts as a learning processing unit 213, and constructs a learning model 4 that has been learned and has acquired a predetermined capability through machine learning using the collected local learning data 3. In this embodiment, the control unit 21 uses the training data 31 and the correct data 32 contained in each learning data set 30 to perform a learning process of the neural network constituting the learning model 4. The learning process can use a stochastic gradient descent method or the like.
[0170] For example, in the first step, the control unit 21 inputs the training data 31 into the input layer 51 for each learning data set 30, and performs trigger judgments of each neuron contained in each layer 51 to 56 from the input side in sequence. Thus, the control unit 21 obtains an output value corresponding to the result of exerting a prescribed ability relative to the training data 31 from the output layer 56. In the second step, the control unit 21 calculates the error between the obtained output value and the corresponding correct data 32. In the third step, the control unit 21 calculates the error of the coupling weights between each neuron and the respective errors of the thresholds of each neuron by using the error back propagation method, using the calculated output value errors. In the fourth step, the control unit 21 updates the respective values of the coupling weights between each neuron and the thresholds of each neuron based on the calculated errors.
[0171] The control unit 21 adjusts the values of the operation parameters of the neural network constituting the learning model 4 for each learning data set 30 by repeating the above-mentioned steps 1 to 4, so that if the training data 31 is input, an output value consistent with the corresponding correct data 32 is output from the output layer 56. For example, for each learning data set 30, the control unit 21 repeats the above-mentioned steps 1 to 4 until the sum of the errors between the output value obtained from the output layer 56 and the value corresponding to the correct data 32 is less than the threshold value. The consistency between the value of the correct data 32 and the output value of the output layer 56 may include the case where such a threshold-based error occurs between the value of the correct data 32 and the output value of the output layer 56. The threshold value can be appropriately set according to the embodiment. Thus, the control unit 21 can construct a trained learning model 4 that has been learned so that an output value consistent with the corresponding correct data 32 is output relative to the input of the training data 31. If the machine learning using the local learning data 3 is completed, the control unit 21 advances the processing to the next step S104.
[0172] (Step S104)
[0173] In step S104, the control unit 21 operates as a storage processing unit 214, and stores information related to the learning model 4 constructed by machine learning in a predetermined storage area. In the present embodiment, the control unit 21 generates information indicating the structure and operation parameters of the neural network (learning model 4) constructed by machine learning in step S103 as learning result data 221. In addition, the control unit 21 stores the generated learning result data 221 in a predetermined storage area.
[0174] The prescribed storage area may be, for example, a RAM in the control unit 21, the 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 NAS (Network Attached Storage). In this case, the control unit 21 may store the learning result data 221 in the data server via the network using the communication interface 23. In addition, the external storage device may be, for example, a storage device of an external device connected to the learning device 2.
[0175] In addition, the learning result data 221 may include additional information indicating the number of learning data sets 30 used for machine learning, the ratio of specific learning data described later, etc. Thus, when the storage of the learning result data 221 is completed, the control unit 21 ends a series of processes related to machine learning of the learning model 4.
[0176] (B) Presumptive treatment
[0177] Next, use Figure 8 , an operation example of each learning device 2 related to the estimation process is described. Figure 8 1 is a flowchart showing an example of a process related to the estimation process based on each learning device 2. However, each process described below is only an example, and each step can be changed as long as possible. Moreover, for each process described below, steps can be appropriately omitted, replaced, and added according to the implementation method.
[0178] (Step S201)
[0179] In step S201, the control unit 21 operates as the object data acquisition unit 216 to acquire the object data 225 of the object that has become the specified ability learned by the learning model 4. 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 225 from the sensor S via the external interface 27.
[0180] However, the path for acquiring the object data 225 is not limited to such an example, and may be appropriately determined according to the implementation. For example, another computer different from each learning device 2 may be connected to the sensor S. In this case, the control unit 21 may acquire the object data 225 by receiving the transmission of the object data 225 from the other computer. If the object data 225 is acquired, the control unit 21 advances the processing to the next step S202.
[0181] (Step S202)
[0182] In step S202, the control unit 21 acts as the estimation unit 217, and estimates the features contained in the object data 225 using the learned learning model 4. In the present embodiment, the control unit 21 sets the learned learning model 4 with reference to the learning result data 221. Next, the control unit 21 inputs the acquired object data 225 into the learned learning model 4, and performs the calculation processing of the learned learning model 4. That is, the control unit 21 inputs the object data 225 into the input layer 51 of the learned learning model 4, and sequentially performs the triggering judgment of each neuron contained in each layer 51 to 56 from the input side. Thus, the control unit 21 obtains the output value corresponding to the result of estimating the features contained in the object data 225 from the output layer 56 of the learned learning model 4.
[0183] In the present embodiment, the output value obtained corresponds to the performance of a specified capability, and in the present embodiment, corresponds to the feature contained in the estimated object data 225. The content of the estimation may not be particularly limited, and may be appropriately selected according to the embodiment. For example, in the case where the learning model 4 that has completed learning has learned the ability to infer the state of the product reflected by the image data through the above-mentioned machine learning, the feature contained in the estimated object data 225 may refer to the state of the product reflected by the object data 225, that is, the image data. If the estimation of the feature contained in the object data 225 is completed, the control unit 21 advances the processing to the next step S203.
[0184] (Step S203)
[0185] In step S203 , the control unit 21 operates as the output unit 218 and outputs information on the result of estimating the feature.
[0186] 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 output the result of inferring the features contained in the object data 225 through step S202 directly to the output device 25. In addition, for example, the control unit 21 can perform a certain information processing based on the result of inferring the features. Moreover, the control unit 21 can output the result of executing the information processing as information related to the inferred result. The output of the result of executing the information processing may include outputting specific messages such as warnings based on the inferred result, controlling the action of the controlled object device based on the inferred result, etc. The output destination may be, for example, the output device 25, the controlled object device, etc. If the output of the information related to the inferred result is completed, the control unit 21 ends a series of processing related to the prescribed inference processing using the learning model 4 that has been learned.
[0187] [Model integration device]
[0188] Next, use Fig. 9 , an operation example of the model integration device 1 is explained. Fig. 9 It is a flowchart showing an example of a process related to model integration based on the model integration device 1. The process described below is an example of the "model integration method" of the present invention. However, each process described below is only an example, and each step can be changed as long as possible. Moreover, for each process described below, steps can be appropriately omitted, replaced, and added according to the implementation method.
[0189] (Step S301)
[0190] In step S301, the control unit 11 operates as the model collecting unit 111 to collect the learned learning models 4 from the learning devices 2. In the present embodiment, the learned learning models 4 are collected by collecting the learning result data 221 generated by the learning devices 2.
[0191] The method of collecting the learning result data 221 can be appropriately determined according to the implementation method. For example, the control unit 11 can directly collect the learning result data 221 from each learning device 2 by accessing each learning device 2 via a network. In addition, for example, the learning result data 221 generated by each learning device 2 can be stored in an external storage device such as a data server. In this case, the control unit 11 can indirectly collect the learning result data 221 from each learning device 2 by acquiring each learning result data 221 from the external storage device. If the learning model 4 that has been learned is collected from each learning device 2, the control unit 11 advances the processing to the next step S302.
[0192] (Step S302)
[0193] In step S302, the control unit 11 operates as the range adjustment unit 112 to determine the integration range 41 in the common parts 40 included in the collected learned models 4. The details of the method for determining the integration range 41 will be described later. After determining the integration range 41, the control unit 11 advances the process to the next step S303.
[0194] In addition, this step S302 may be performed before step S301. In this case, the control unit 11 may retain information related to the structure of each learning model 4 used in each learning device 2. In the case where the structure of each learning model 4 is given by the template 126, the information related to the structure of each learning model 4 may be composed of the template 126. The control unit 11 may determine the integration range 41 within the common part 40 of each learning model 4 based on the information related to the structure of each learning model 4. Moreover, in step S301, the control unit 11 may obtain only the data related to the integration range 41 in the learning result data 221.
[0195] (Step S303)
[0196] In step S303 , the control unit 11 operates as the integration processing unit 113 to perform an integration process of integrating the results of the machine learning reflected in the integration range 41 set in the common part 40 for each learned learning model 4 .
[0197] The results of machine learning are reflected in the values of the operation parameters (e.g., the weight of the coupling between neurons, the threshold of each neuron, etc.) contained in each learning model 4. Therefore, in the present embodiment, the results of machine learning reflected in the integration range 41 of each learning model 4 are integrated by integrating the values of the operation parameters contained in the integration range 41 of each completed learning model 4. The method of integrating the values of the operation parameters can be appropriately determined according to the embodiment. In the present embodiment, the control unit 11 integrates the values of the operation parameters contained in the integration range 41 by any one of the following two methods.
[0198] (A) Method 1
[0199] In the first method, the control unit 11 integrates the values of the operation parameters included in the integration range 41 by averaging or summing the values of the operation parameters included in the integration range 41. According to the first method, the integration processing result 43 that evenly reflects the values of the operation parameters included in the integration range 41 of each learned learning model 4 can be obtained.
[0200] (B) Method 2
[0201] In the second method, the control unit 11 weights the values of the operation parameters contained in the integration range 41 of each completed learning model 4 in the integration process. In this case, before executing this step S303, the control unit 11 acts as a weight setting unit 115 and sets weights for each completed learning model 4. Each weight specifies the priority of each completed learning model 4 in the integration process of this step S303. In this embodiment, the control unit 11 sets the weight for each completed learning model 4 by any of the following two setting methods.
[0202] (I) First Weight Setting Method
[0203] The greater the number of local learning data 3 used for machine learning (i.e., the number of learning data sets 30), the higher the accuracy of the specified ability of the learned learning model 4. Therefore, in the first setting method, the control unit 11 sets each weight so that the greater the number of local learning data 3 used for machine learning, the greater the weight. As a result, the integration range 41 of each learned learning model 4 can be integrated in a manner that more preferentially reflects the results of machine learning using a large number of local learning data 3.
[0204] In addition, information indicating the amount of local learning data 3 used for machine learning can be appropriately obtained. For example, each learning result data 221 may include information indicating the amount of local learning data 3 used for machine learning of each learning device 2. In this case, the control unit 11 can determine the amount of local learning data 3 used for the construction of each completed learning model 4 by referring to the information contained in each learning result data 221, and set each weight according to the determined result. The correspondence between the amount of local learning data 3 used for machine learning of each learning device 2 and the set weights can be appropriately determined according to the implementation method. For example, each weight can be set to be proportional to the amount of local learning data 3.
[0205] (II) Second Weight Setting Method
[0206] For example, assume a scenario in which each learning model 4 acquires the ability to perform appearance inspection of a product represented by image data. In this scenario, the higher the ratio of image data of a product represented by defects such as stains, smudges, and damages included in the local learning data 3, the higher the accuracy of the defects inferred by the learning model 4 constructed by machine learning using the local learning data 3. Therefore, in the second setting method, when the local learning data 3 includes specific learning data related to specific elements of the specified ability, the control unit 11 sets each weight so that the higher the ratio of specific learning data included in the local learning data 3 used for machine learning, the larger the weight.
[0207] Here, the specific learning data is the learning data related to the specific elements of the prescribed capability in the local learning data 3. The specific elements may not be particularly limited and may be selected from all elements related to the prescribed capability. As in the above example, in the scenario where the learning model acquires the ability to perform appearance inspection of the product represented by the image data, the specific elements may include defects such as stains, stains, and damage. In this case, the training data 31 contained in each learning data set 30 constituting the local learning data 3 may be image data of the existing product. In addition, the training data 31 contained in each learning data set 30 constituting the specific learning data may be image data of the existing product containing defects (hereinafter also referred to as "image data of defective products"). In this case, the ratio of the specific learning data corresponds to the ratio of the image data of the defective product contained in the local learning data 3. According to the second setting method, the integration range 41 of each completed learning model 4 can be integrated in a manner that more preferentially reflects the results of machine learning with a high ratio of specific learning data.
[0208] In addition, information indicating the ratio of specific learning data contained in the local learning data 3 can be appropriately obtained. Similar to the first setting method described above, for example, each learning result data 221 may include information indicating the ratio of specific learning data contained in the local learning data 3 used for machine learning of each learning device 2. In this case, the control unit 11 can determine the ratio of specific learning data contained in the local learning data 3 used for the construction of each completed learning model 4 by referring to the information contained in each learning result data 221, and set each weight according to the determined result. The correspondence between the ratio of specific learning data contained in the local learning data 3 used for machine learning of each learning device 2 and the set weights can be appropriately determined according to the implementation method. For example, each weight can be set to be proportional to the ratio of specific learning data.
[0209] In this embodiment, the control unit 11 sets weights for each completed learning model 4 by any of the above two setting methods. However, the method of setting each weight is not limited to such an example and can be appropriately determined according to the embodiment. For example, each weight can be specified by an operator. In this case, the control unit 11 can accept the designation of each weight by the operator via the input device 14, etc., and set each weight according to the input content.
[0210] Furthermore, in this step S303, the control unit 11 weights the values of the operation parameters included in the integration range 41 of each completed learning model 4 by using the set weights, and then averages or sums them, thereby integrating the values of the operation parameters included in the integration range 41. According to this second method, it is possible to obtain an integration processing result 43 in which the values of the operation parameters included in the integration range 41 are reflected more preferentially for the learned learning model 4 with a larger set weight.
[0211] When the results of the machine learning reflected in the integration range 41 are integrated by any of the above two methods, the control unit 11 advances the processing to the next step S304.
[0212] (Step S304)
[0213] In step S304, the control unit 11 operates as the model updating unit 114, and distributes the integration result data 121 indicating the result 43 of the integration process to each learning device 2. Thus, the control unit 11 updates the learned learning model 4 held by each learning device 2 by using the result 43 of the integration process for the integration range 41 in each learned learning model 4. At this time, the control unit 11 can appropriately select whether to send an instruction to update the learned learning model 4 based on the distributed result 43 of the integration process to each learning device 2 according to the implementation method.
[0214] The method of distributing the integrated result data 121 can be appropriately determined according to the implementation method. For example, the control unit 11 can directly distribute the integrated result data 121 to each learning device 2 via the network according to its own processing or a request from each learning device 2. In addition, for example, the control unit 11 can send the integrated result data 121 to an external storage device such as a data server so that each learning device 2 obtains the integrated result data 121 stored in the external storage device. In this way, the control unit 11 can indirectly distribute the integrated result data 121 to each learning device 2.
[0215] When the control unit 21 of each learning device 2 obtains the integration result data 121, it replaces the value of each parameter in the integration range 41 with the value of each parameter obtained by the integration process with reference to the obtained integration result data 121. Thus, the control unit 11 updates each completed learning model 4 held by each learning device 2 by using the result 43 of the integration process for the integration range 41 in each completed learning model 4. When the update of each completed learning model 4 is completed, the control unit 11 ends a series of processes related to model integration.
[0216] In addition, the data structure of the integrated result data 121 may not be particularly limited and may be appropriately determined according to the implementation. The integrated result data 121 may be composed only of the values of the operation parameters included in the integrated range 41, or may be composed to include the values of the operation parameters other than the integrated range 41. In the case of being composed to include the values of the operation parameters other than the integrated range 41, the control unit 11 may generate the integrated result data 121 for each learning device 2, and may distribute the generated integrated result data 121 to each learning device 2.
[0217] <How to determine the integration scope>
[0218] Next, a specific example of the method of determining the integration range 41 in step S302 will be described. In the present embodiment, the control unit 11 determines the integration range 41 in the common portion 40 by at least one of the following three methods.
[0219] (A) Method 1
[0220] The structure of each learned model 4 of each learning device 2 can be given by the template 126 (step S102 ). In response to this, in the first method, the control unit 11 determines the integration range 41 based on the template 126 .
[0221] For example, a plurality of templates 126 may be prepared that specify the structure of the learning model 4 having different structures but a common part 40. The common part 40 specified in each template 126 may be pre-set with an integration range 41. In the above step S102, each learning device 2 may use any one of the plurality of templates 126 to determine the structure of the learning model 4 to be used.
[0222] In this case, the control unit 11 can determine the set integration range 41 by referring to each template 126 used by each learning device 2, thereby determining the integration range 41 to be processed in step S303. According to the first method, the control unit 11 can determine the integration range 41 by a simple method.
[0223] (B) Method 2
[0224] Next, use Fig.10 , an example of the second method for determining the integration range 41 is described. Fig.10 An example of a scenario in which the integration range 41 is determined by the second method is schematically illustrated. The configuration of each learning model 4 is not limited to being determined after the integration range 41 is set in advance. Therefore, in the second method, the control unit 11 determines the similar portion of the calculation processing in the common portion 40 of each learned learning model 4 as the integration range 41.
[0225] Specifically, the common part 40 of each completed learning model 4 has a plurality of operation modules. The operation module is composed of one or more operation parameters. In other words, the operation module forms a unit for executing the operation processing of the learning model 4. In this embodiment, the operation module is composed of, for example, each layer of a neural network. Figure 4 as well as Fig.10 In the example of , the common part 40 includes from the input layer 51 to the intermediate layer 53. In this case, for example, the first network consisting of only the input layer 51, the second network consisting of the input layer 51 and the intermediate layer 52, and the third network consisting of the input layer 51 and two intermediate layers (52, 53) correspond to the operation modules respectively. Each operation module becomes a candidate for the integration range 41.
[0226] In the second method, the control unit 11 determines whether the outputs obtained by giving the evaluation samples 129 to the operation modules of the candidates for the integration range 41 are similar. The fact that the outputs of the corresponding operation modules, that is, the same parts in the common part 40 are similar corresponds to the fact that the same parts perform similar purposeful operation processing on the input data. Therefore, the control unit 11 determines the candidates whose outputs are determined to be similar as the integration range 41.
[0227] Here, further use Fig.11 , an example of the processing process of the second method is described. Fig.11 This is a flowchart showing an example of a processing procedure related to determining the integration range 41 by the second method. When the second method is used as the method for determining the integration range 41, the processing of step S302 includes the following processing of steps S401 to S404. However, the processing procedure described below is only an example, and each processing can be changed as long as possible. In addition, for the processing procedure described below, steps can be appropriately omitted, replaced, and added according to the implementation method.
[0228] First, before executing step S401, the control unit 11 obtains the evaluation sample 129. In the present embodiment, the evaluation sample 129 is stored in the storage unit 12, and therefore, the control unit 11 obtains the evaluation sample 129 from the storage unit 12. However, the path for obtaining the evaluation sample 129 may not be limited to such an example. For example, the evaluation sample 129 may be stored in the storage medium 91, an external storage device, etc. In this case, the control unit 11 may obtain the evaluation sample 129 from the storage medium 91, an external storage device, etc.
[0229] like Fig.10As described above, the evaluation samples 129 are used to evaluate the output of each operation module and are constructed in the same manner as the local learning data 3. In the present embodiment, the evaluation samples 129 are composed of a combination of input data 1291 and correct data 1292, as in each learning data set 30. The input data 1291 is data of the same type as the above-mentioned training data 31 and the object data 225. Like the above-mentioned correct data 32, the correct data 1292 is data indicating a result (correct) of exerting a prescribed capability relative to the input data 1291. The number of evaluation samples 129 used can be appropriately determined according to the implementation method. If one or more evaluation samples 129 are obtained, the control unit 11 advances the processing to step S401.
[0230] (Step S401)
[0231] In step S401, the control unit 11 inputs the evaluation sample 129 to each completed learning model 4, and obtains the output from each operation module included in the common part 40. In this embodiment, the control unit 11 inputs the input data included in the evaluation sample 129 to the input layer 51, and sequentially performs the triggering judgment of each neuron from the input side. Thus, the control unit 11 obtains the output value from each layer 51 to 53 corresponding to the output layer of each operation module.
[0232] Fig.10 In the example, a scenario is shown in which an output is obtained from a calculation module composed of an input layer 51 and an intermediate layer 52 for the common part 40 of each completed learning model (4a, 4b) obtained from each learning device (2a, 2b). The control unit 11 can also obtain outputs for other calculation modules in the same manner. When the output is obtained from each calculation module, the control unit 11 advances the processing to the next step S402.
[0233] (Step S402)
[0234] In step S402, the control unit 11 calculates at least one of the similarity and correlation of the outputs obtained between the operation modules corresponding to each completed learning model 4. The similarity and the correlation can be calculated by known methods. The similarity can be calculated, for example, by a norm (distance), etc. The correlation can be calculated, for example, by a correlation coefficient, a partial correlation coefficient, etc. Fig.10 In the example of , input data 1291 is input to the input layer 51 of each completed learning model (4a, 4b), thereby calculating the similarity and correlation between the outputs obtained from the intermediate layer 52. If at least one of the similarity and correlation is calculated, the process proceeds to the next step S403.
[0235] (Step S403)
[0236] In step S403, the control unit 11 determines whether at least any one of the calculated similarity and correlation satisfies the prescribed condition. The prescribed condition is appropriately set to evaluate whether the outputs of the operation modules corresponding to each completed learning model 4 are similar. For example, the prescribed condition can be specified by threshold values for the similarity and correlation, respectively. In this case, the control unit 11 determines whether at least any one of the calculated similarity and correlation satisfies the prescribed condition by comparing at least any one of the similarity and correlation calculated by step S402 with the threshold value. If the determination is completed for each operation module, the control unit 11 advances the processing to the next step S404.
[0237] (Step S404)
[0238] In step S404, the control unit 11 designates, based on the result of the above determination, a calculation module for which at least any one of the calculated similarity and correlation satisfies the prescribed condition as the integration range 41. When there are multiple candidates that satisfy the prescribed condition, the control unit 11 may appropriately select a candidate designated as the integration range 41 from the multiple candidates. For example, the control unit 11 may designate the candidate with the largest range, the candidate with the smallest range, or the candidate with at least the highest calculated similarity and correlation as the integration range 41. In addition, for example, the control unit 11 may output the multiple candidates to the output device 15, receive the selection of the candidate designated as the integration range 41 from the multiple candidates via the input device 14, and designate the candidate selected by the operator or the like as the integration range 41. In addition, for example, the control unit 11 may randomly select the candidate designated as the integration range 41 from the multiple candidates. When the designation of the integration range 41 is completed, the control unit 11 ends a series of processing related to the determination of the integration range 41. In addition, when the similarity and correlation calculated between the outputs of any calculation modules do not satisfy the prescribed condition, the integration range 41 may be determined by other methods. Alternatively, the integration processing after step S303 may be omitted.
[0239] Thus, the control unit 11 can determine the similar parts of the calculation processing as the integration range 41. According to the second method, even when the integration range 41 is not set in advance, it is possible to determine an appropriate integration range 41 for each learned learning model 4. In addition, when the second method is adopted, the correct data 1292 can be omitted from the evaluation sample 129.
[0240] (C) Method 3
[0241] The purpose of performing the integration process of step S303 is to improve the capabilities of each completed learning model by making the machine learning results reflected in one completed learning model reflect in other completed learning models. Therefore, in the third method, the control unit 11 improves the specified capabilities of each completed learning model 4 after performing the integration process compared to before performing the integration process of step S303. In other words, the integration range 41 is optimized so that the accuracy of exerting the specified capabilities is improved.
[0242] Specifically, the control unit 11 specifies a tentative integration range (hereinafter also referred to as "tentative integration range") in the common part 40. Next, the control unit 11 performs the same tentative integration processing as step S303 on the specified tentative integration range (hereinafter also referred to as "tentative integration processing"). Moreover, the control unit 11 uses the evaluation samples 129 to evaluate the capabilities of each learning model 4 after the integration processing, and optimizes the integration range 41 based on the evaluation results. The optimization method can be appropriately determined according to the implementation method. In the present embodiment, the control unit 11 optimizes the integration range 41 by at least one of the following two methods.
[0243] (C-1) First Optimization Method
[0244] First, use Fig.12 as well as Fig.13 , an example of the first optimization method is described. Fig.12 An example of a scenario in which the integration range 41 is optimized by the first optimization method is schematically illustrated. Fig.13 1 is a flowchart showing an example of a process related to determining the integration range 41 by the first optimization method. In the first optimization method, the control unit 11 optimizes the integration range 41 by comparing the capabilities of each learning model 4 that has been learned before the tentative integration process with the capabilities of each learning model 4 that has been learned after the tentative integration process.
[0245] In addition, when the first optimization method is used as a method for determining the integration range 41, the processing of the above-mentioned step S302 and step S303 includes the processing of the following steps S501 to S507. In particular, the optimization of the integration range 41 is constituted by the processing of the following steps S503 to S507. However, the processing procedure described below is only an example, and each processing can be changed as long as possible. In addition, for the processing procedure described below, steps can be appropriately omitted, replaced, and added according to the implementation method.
[0246] (Step S501)
[0247] In step S501, the control unit 11 operates as the range adjustment unit 112 to designate a provisional integration range in the common part 40 of each learned learning model 4. For example, the control unit 11 selects a candidate designated as the provisional integration range from a plurality of candidates (operation modules) of the integration range 41 that can be set in the common part 40. Fig.12 In FIG. 5 , a scenario is illustrated in which the second network composed of the input layer 51 and the intermediate layer 52 is designated as the provisional integration range among the three candidates that can be designated in the common part 40. When the provisional integration range is designated, the control unit 11 advances the processing to the next step S502.
[0248] (Step S502)
[0249] In step S502, the control unit 11 acts as the integration processing unit 113 to perform a provisional integration process for integrating the results of machine learning reflected in the designated provisional integration range for each completed learning model 4. The provisional integration process is performed in the same manner as the above-mentioned integration process. In the provisional integration process, as a method for integrating the values of the operation parameters contained in the provisional integration range, any one of the above-mentioned two methods can be used. Thus, the control unit 11 can obtain the result of the provisional integration process for the provisional integration range. Moreover, as Fig.12 As described above, the control unit 11 uses the result of the provisional integration process for the provisional integration range of each completed learning model 4, thereby obtaining each completed learning model 4 after the integration process. The method of applying the result of the provisional integration process is the same as the method of applying the result 43 of the above-mentioned integration process. If the provisional integration process is executed, the control unit 11 advances the process to the next step S503.
[0250] (Step S503 and Step S504)
[0251] In step S503, the control unit 11 operates as the range adjustment unit 112, and obtains the first result that each learned learning model 4 before the provisional integration process, that is, each learned learning model 4 without the result of the provisional integration process, has exerted a predetermined ability with respect to the evaluation sample 129. Step S503 can be performed in the same manner as the above-mentioned step S202. That is, the control unit 11 inputs the input data 1291 to the input layer 51 of each learned learning model 4 before the provisional integration process, and sequentially performs trigger determination of each neuron included in each layer 51 to 56 from the input side. As a result, the control unit 11 obtains an output value corresponding to the result of exerting a predetermined ability with respect to the input data 1291 (in this embodiment, the result of estimating the characteristics included in the input data 1291) from the output layer 56 of each learned learning model 4 before the provisional integration process. In addition, for each process below step S504, the control unit 11 also operates as the range adjustment unit 112 and executes each process.
[0252] In step S504, the control unit 11 obtains the second result that each completed learning model 4 after the provisional integration process, that is, each completed learning model 4 after the result of the provisional integration process is applied has exerted a prescribed ability with respect to the evaluation sample 129. The method of obtaining the second result is the same as the method of obtaining the first result in the above-mentioned step S503. The control unit 11 inputs the input data 1291 to the input layer 51 of each completed learning model 4 after the provisional integration process, and sequentially performs triggering judgments of each neuron contained in each layer 51 to 56 from the input side. Thus, the control unit 11 obtains an output value corresponding to the result of exerting a prescribed ability with respect to the input data 1291 from the output layer 56 of each completed learning model 4 after the provisional integration process.
[0253] If the first result and the second result are obtained, the control unit 11 advances the processing to the next step S505. In addition, the processing order of step S503 and step S504 may not be limited to this example. For example, the processing order of step S503 and step S504 may be interchangeable. In addition, the number of evaluation samples 129 used in step S503 and step S504 may not be particularly limited and may be appropriately determined according to the embodiment.
[0254] (Step S505)
[0255] In step S505 , the control unit 11 compares the first result and the second result to determine whether the predetermined capability of each of the learned learning models 4 after the provisional integration process is executed is improved compared to before the provisional integration process is executed.
[0256] The method of this determination can be appropriately determined according to the implementation method. In the present implementation method, the fact that the output value obtained from each completed learning model 4 is consistent with the correct data 1292 means that each completed learning model 4 can appropriately exert the prescribed ability with respect to the input data 1291. On the other hand, the fact that the obtained output value is inconsistent with the correct data 1292 means that each completed learning model 4 fails to appropriately exert the prescribed ability with respect to the input data 1291. In other words, by comparing the output value with the correct data 1292, the correct answer rate of the result of exerting the prescribed ability with respect to the input data 1291 of each evaluation sample 129 is calculated, so that the control unit 11 can evaluate the prescribed ability of each completed learning model 4.
[0257] Therefore, the control unit 11 calculates the correct answer rate of each completed learning model 4 with respect to the input data 1291 based on each result before and after the execution of the provisional integration process, and compares the calculated correct answer rates, thereby determining whether the prescribed capabilities of each completed learning model 4 have been improved by the provisional integration process. In the case where the correct answer rate of each completed learning model 4 after the provisional integration process is higher than the correct answer rate of each completed learning model 4 before the provisional integration process, the control unit 11 determines that the prescribed capabilities of each completed learning model 4 after the provisional integration process are improved compared to those before the provisional integration process. On the other hand, in the case where this is not the case, the control unit 11 determines that the prescribed capabilities of each completed learning model 4 after the provisional integration process are not improved compared to those before the provisional integration process. If this determination is completed, the control unit 11 proceeds to the next step S506.
[0258] (Step S506)
[0259] In step S506, the control unit 11 determines the branch destination of the processing based on the judgment result of step S505. In step S505, when it is judged that the specified ability of each learning model 4 that has been learned before the execution of the tentative integration processing is improved after the execution of the tentative integration processing, the control unit 11 advances the processing to the next step S507. On the other hand, if this is not the case, the control unit 11 returns the processing to step S501 and repeats the processing below step S501. For this repetition, the control unit 11 specifies a different tentative integration range in step S501, thereby changing the tentative integration range and executing the processing below step S502.
[0260] (Step S507)
[0261] In step S507, the control unit 11 determines (adopts) the provisional integration range specified in step S501 as the integration range 41. When the determination of the integration range 41 is completed, the control unit 11 ends a series of processes related to the determination of the integration range 41 by the first optimization method. In addition, when the first optimization method is adopted, the control unit 11 uses the result of the provisional integration process obtained in step S502 as the result 43 of the integration process in step S303 in a series of processes up to step S507.
[0262] Thus, the control unit 11 can determine the integration range 41 in such a way that the specified capability of each completed learning model 4 is improved after the integration process. Therefore, according to the first optimization method, even if the integration range 41 is not set in advance, it is possible to determine the optimal integration range 41 for each completed learning model 4 so that the specified capability is improved after the integration process.
[0263] (C-2) Second Optimization Method
[0264] Next, use Fig.14 as well as Fig.15 , an example of the second optimization method is described. Fig.14 An example of a scenario in which the integration range 41 is optimized by the second optimization method is schematically illustrated. Fig.15 1 is a flowchart showing an example of a process related to determining the integration range 41 by the second optimization method. In the second optimization method, the control unit 11 specifies a plurality of tentative integration ranges, and determines a tentative integration range that can maximize the specified capability through integration processing from the plurality of specified tentative integration ranges, thereby optimizing the integration range 41.
[0265] In addition, when the second optimization method is adopted as the method for determining the integration range 41, the processing of the above-mentioned step S302 and step S303 includes the processing of the following steps S601 to S605. In particular, the optimization of the integration range 41 is constituted by the processing of the following steps S603 to S605. However, the processing procedure described below is only an example, and each processing can be changed as long as possible. In addition, for the processing procedure described below, steps can be appropriately omitted, replaced, and added according to the implementation method.
[0266] (Step S601)
[0267] In step S601, the control unit 11 acts as the range adjustment unit 112 to specify a plurality of provisional integration ranges in the common portion 40 of each of the learned learning models 4. The method of specifying the provisional integration ranges may be the same as that of the above-mentioned step S501. The number of the provisional integration ranges specified may not be particularly limited and may be appropriately determined according to the implementation method. Fig.14 , the diagram shows a scenario in which two candidates, namely, a second network consisting of an input layer 51 and an intermediate layer 52 and a third network consisting of an input layer 51 and two intermediate layers (52, 53), are designated as multiple tentative integration ranges. If multiple tentative integration ranges are designated, the control unit 11 advances the processing to the next step S602.
[0268] (Step S602)
[0269] In step S602, the control unit 11 acts as the integration processing unit 113, and performs a provisional integration process for each learning model 4 that has been learned, for each designated provisional integration range, to integrate the results of machine learning reflected in each designated provisional integration range. The provisional integration process for each provisional integration range can be performed in the same manner as in step S502. Thus, the control unit 11 can obtain the result of the provisional integration process for each provisional integration range. Moreover, Fig.14 As described above, the control unit 11 applies the result of the tentative integration process to each learned learning model 4 for each tentative integration range, thereby obtaining each learned learning model 4 after the tentative integration process. The method of applying the result of the tentative integration process is the same as the method of applying the result 43 of the above-mentioned integration process. If the tentative integration process is performed for each designated tentative integration range, the control unit 11 advances the process to the next step S603.
[0270] (Step S603)
[0271] In step S603, the control unit 11 operates as the range adjustment unit 112, and obtains the result that each learning model 4 after the tentative integration process has exerted the prescribed ability with respect to the evaluation sample 129 according to each designated tentative integration range. The method of obtaining each result can be the same as the above-mentioned step S504. That is, the control unit 11 inputs the input data 1291 to the input layer 51 of each learning model 4 after the tentative integration process according to each designated tentative integration range, and sequentially performs the triggering judgment of each neuron contained in each layer 51 to 56 from the input side. Thus, the control unit 11 obtains the output value corresponding to the result that the prescribed ability has been exerted with respect to the input data 1291 from the output layer 56 of each learning model 4 after the tentative integration process according to each designated tentative integration range. If each result is obtained, the control unit 11 advances the processing to the next step S604. In addition, for each processing below step S604, the control unit 11 also operates as the range adjustment unit 112 and executes each processing.
[0272] (Step S604)
[0273] In step S604, the control unit 11 determines the provisional integration range in which the prescribed capabilities of each completed learning model 4 after the provisional integration process are the highest based on the obtained results. The method of comparing the prescribed capabilities of each completed learning model 4 obtained by the provisional integration process for each designated provisional integration range may be the same as the above-mentioned step S505. That is, the control unit 11 may compare the output value obtained from each completed learning model 4 with the correct data 1292 for each designated provisional integration range, thereby calculating the correct answer rate of each completed learning model 4 after the provisional integration process relative to the input data 1291 based on each result. Next, the control unit 11 may compare the correct answer rates of each completed learning model 4 calculated for each provisional integration range. Moreover, based on the result of the comparison, the control unit 11 may determine the provisional integration range of each completed learning model 4 that gives the highest correct answer rate. Thus, the control unit 11 can determine the provisional integration range in which the prescribed capabilities of each completed learning model 4 after the provisional integration process are the highest. When the provisional integration range of each of the learned learning models 4 that has been subjected to the provisional integration processing that provides the highest predetermined capability is determined, the control unit 11 advances the processing to the next step S605.
[0274] (Step S605)
[0275] In step S605, the control unit 11 determines (adopts) the provisional integration range determined in step S604 as the integration range 41. When the determination of the integration range 41 is completed, the control unit 11 ends a series of processes related to the determination of the integration range 41 by the second optimization method. In addition, when the second optimization method is adopted, the control unit 11 uses the result of performing provisional integration processing on the provisional integration range of each learning-completed learning model 4 after provisional integration processing that gives the highest specified ability in step S602 as the result 43 of the integration processing in step S303.
[0276] Thus, the control unit 11 can determine the candidate that can improve the specified ability most through the integration process from among the multiple integration range candidates as the integration range 41. Therefore, according to the second optimization method, even if the integration range 41 is not set in advance, it is possible to determine the optimal integration range 41 for each completed learning model 4 so that the specified ability is improved most after the integration process. The control unit 11 can use both the second optimization method and the above-mentioned first optimization method as a method for determining the integration range 41. In addition, it is also possible that the control unit 11 performs the determination process of the integration range 41 based on at least one of the first optimization method and the second optimization method multiple times, and determines the integration range 41 that can improve the specified ability most after the integration process. The number of times the determination process of the integration range 41 is repeated can be appropriately set according to a threshold value or the like.
[0277] By adopting at least any one of the above three methods, the control unit 11 can appropriately determine the integration range 41 within the common part 40 of each completed learning model 4. The control unit 11 can use a combination of the above three methods to determine the integration range 41. However, the method for determining the integration range 41 is not limited to these examples and can be appropriately determined according to the implementation method. For example, the control unit 11 can accept the operator's designation of the integration range 41 via the input device 14. In this case, the control unit 11 can determine the integration range 41 according to the operator's designation.
[0278] <Grouping of learning devices>
[0279] Next, use Fig.16 , an example of grouping of each learning device 2 is described. Fig.16 An example of a scenario in which the learning devices 2 are grouped is schematically illustrated.
[0280] The purpose of executing the integration processing of step S303 is to improve the capabilities of each completed learning model by reflecting the results of machine learning reflected in a completed learning model in other completed learning models. For example, it is assumed that the calculation processing of a completed learning model and other completed learning models can be similar due to the common prescribed capabilities learned by each learning model. At this time, through the integration processing of the above-mentioned step S303, the results of machine learning reflected in a completed learning model can be appropriately reflected in other completed learning models. On the other hand, for example, it is assumed that the calculation processing of a completed learning model and other completed learning models is extremely different due to the completely different prescribed capabilities learned by each learning model. At this time, through the integration processing of the above-mentioned step S303, it is difficult to judge the results of machine learning reflected in a completed learning model as other completed learning models.
[0281] Therefore, in this embodiment, the control unit 11 may operate as the grouping unit 116 to assign each learning device 2 to at least one of the plurality of groups. Each group may be appropriately set. For example, each group may be appropriately set according to the type of specified capability, the specification required by the learning model, etc. Fig.16 , a scenario is exemplified in which the learning devices 2 are assigned to two groups, group A and group B. The control unit 11 stores the assignment results of the learning devices 2 to the groups in the assignment information 124 .
[0282] When executing the grouping process, the control unit 11 executes the processes of steps S301 to S304 in the same group, in other words, for each group. That is, in step S301, the control unit 11 collects the learned learning models 4 from the plurality of learning devices 2 belonging to the same group. In step S302, the control unit 11 determines the integration range 41 in the common part 40 included in each learned learning model 4 collected from each learning device 2 belonging to the same group. In step S303, the control unit 11 performs an integration process of integrating the results of machine learning reflected in the determined integration range 41 for each learned learning model 4 collected from each learning device 2 belonging to the same group. Furthermore, in step S304, the control unit 11 distributes the result 43 of the integration process to each learning device 2 belonging to the same group, and uses the result 43 of the integration process for each learning device 2 in the integration range 41 in each learned learning model 4, thereby updating the learned learning model 4 held by each learning device 2. In addition, the integration process within the same group may be performed in a manner of repeating multiple groups. That is, after the control unit 11 performs the integration process on the learning model 4 that has been learned in one group, it may use the result 43 of the integration process to perform the integration process on the learning model 4 that has been learned in other groups to which the learning device 2 belonging to the one group belongs. In this case, different ranges may be set as the integration range 41 in one group and in other groups. Correspondingly, the integration range 41 in which the integration process is performed in one group may be different from the integration range 41 in which the integration process is performed in other groups.
[0283] 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 a plurality of groups by at least one of the following three methods.
[0284] (A) 1st grouping method
[0285] First, use Fig.17 , an example of the first grouping method is described. Fig.17 This is a flowchart showing an example of a process related to group assignment for each learning device 2 based on the first grouping method. With 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.
[0286] In addition, when the first grouping method is adopted as a method for 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 S701 to S703. However, the processing procedure described below is only an example, and each processing can be changed as long as possible. In addition, for the processing procedure described below, steps can be appropriately omitted, replaced, and added according to the embodiment.
[0287] In step S701, the control unit 11 distributes a group list 123 representing a plurality of groups to each learning device 2. Thus, for each learning device 2, the control unit 11 selects one or more groups from the plurality of groups shown in the group list 123. Each group contained in the group list 123 can 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 can be set according to the attributes such as the production line number, the factory name, and the company name. In addition, a new group can be set in the group list 123 according to the request from each learning device 2. The operator of each learning device 2 can refer to the group list 123 output to the output device 25, operate the input device 24, and select one or more groups from the group list 123. In addition, the operator can operate the input device 24 to add a new group to the group list 123. The control unit 21 of each learning device 2 returns the answer to the group selection to the model integration device 1 based on the operation.
[0288] In step S702, the control unit 11 obtains the selected answer from each learning device 2. Then, in step S703, the control unit 11 assigns each learning device 2 to one or more selected groups based on the acquired answer. When the assignment of one or more groups is completed, the control unit 11 ends a series of processes related to group assignment based on the first grouping method. According to the first grouping method, the control unit 11 can group each learning device 2 by a simple method.
[0289] In this case, the model integration device 1 can control the structure of the learning model 4 used by each learning device 2 based on the answer from each learning device 2. Therefore, the control unit 11 may select a template 126 for each learning device 2 from a plurality of templates 126 based on the answer obtained in step S702, and send the selected template 126 to each learning device 2. Thus, for each learning device 2, the control unit 11 may determine the structure of each learning model 4 using the selected template 126 in step S102.
[0290] (B) Second grouping method
[0291] Next, use Fig.18 , an example of the second grouping method is described. Fig.18This is a flowchart showing an example of a process procedure related to group assignment of each learning device 2 based on the second grouping method. In the second grouping method, the control unit 11 assigns each learning device 2 to an appropriate group based on the attribute of each learning model 4.
[0292] In addition, when the second grouping method is adopted as a method for 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 procedure described below is only an example, and each processing can be changed as long as possible. In addition, for the processing procedure described below, steps can be omitted, replaced, and added as appropriate according to the embodiment.
[0293] (Step S801)
[0294] In step S801, the control unit 11 obtains attribute data related to the prescribed ability to be learned by each learning model 4 from each learning device 2. The method of obtaining the attribute data may be the same as the method of collecting the learning result data 221 in the above step S301. The control unit 11 may obtain the attribute data directly or indirectly from each learning device 2. In addition, the control unit 11 may obtain the attribute data in addition to the learning result data 221 in the above step S301.
[0295] The attribute data may include all information related to the prescribed capability, for example, information indicating the type of the prescribed capability, information related to the specifications required by the learning model 4, etc. The information indicating the type of the prescribed capability may include, for example, information for identifying the capability acquired by the learning model 4 such as appearance inspection and control of the cultivation device. In addition, the information related to the specifications required by the learning model 4 may include, for example, information related to the structure of the learning model 4 such as accuracy and operation speed. In each learning device 2, the attribute data may be generated when the structure of the learning model 4 is determined in step S102. When the attribute data is acquired, the control unit 11 advances the processing to the next step S802.
[0296] (Step S802 and Step S803)
[0297] 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 example, the clustering can adopt a well-known method such as k-means clustering.
[0298] In step S803, the control unit 11 allocates 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 allocates a plurality of learning devices 2 whose attribute data acquired respectively are allocated to the same category to the same group. In this case, each group may be set according to the category of the attribute data. In addition, the control unit 11 may allocate each learning device 2 to two or more groups based on the clustering result.
[0299] When the group assignment based on the clustering result is completed, the control unit 11 ends a series of processes related to the group assignment based on the second grouping method. According to the second grouping method, the control unit 11 can assign each learning device 2 to an appropriate group according to the attribute of each learning model 4.
[0300] (C) The third grouping method
[0301] If the grouping of each learning device 2 is changed, the learning model 4 to which the integration process is applied is also changed. Thus, by performing the integration process, the degree of improvement in the ability of each learning model 4 that has been learned can be different. Therefore, for the third grouping method, similar to the third method for determining the above-mentioned integration range 41, the control unit 11 optimizes the allocation of each learning device 2 to multiple groups so that after performing the integration process, the prescribed ability of each learning model 4 that has been learned is improved compared to before performing the integration process of step S303. Similar to the third method for determining the above-mentioned integration range 41, the optimization method can be appropriately determined according to the implementation method.
[0302] Fig.19 This is a flowchart showing an example of a process related to group assignment for each learning device 2 based on the third grouping method. In addition, the optimization of group assignment for each learning device 2 is constituted by the following steps S904 to S906. However, the process described below is only an example, and each process can be changed as long as possible. In addition, for the process described below, steps can be appropriately omitted, replaced, and added according to the embodiment.
[0303] (Step S901)
[0304] In step S901, the control unit 11 acts as the grouping unit 116 to perform a plurality of tentative groupings (hereinafter also referred to as "tentative groupings") in which each learning device 2 is assigned to a plurality of groups in different ways. Each tentative grouping can be appropriately determined. For example, the control unit 11 may perform a plurality of tentative groupings by randomly assigning each learning device 2 to any one of the plurality of groups. In addition, for example, the control unit 11 may perform tentative groupings by at least one of the first grouping method and the second grouping method described above. If a plurality of tentative groupings are assigned differently, the control unit 11 proceeds to the next step S902. In addition, the control unit 11 collects each completed learning model 4 from each learning device 2 by executing the above step S301 before or after step S901.
[0305] (Step S902)
[0306] In step S902, the control unit 11 operates as the range adjustment unit 112, and determines the integration range 41 in the common part 40 included in each learned learning model 4 collected in the same group for each tentative group. The method of determining the integration range 41 in step S902 can be the same as that in the above-mentioned step S302. If the integration range 41 is determined in the same group for each tentative group, the control unit 11 advances the processing to the next step S903.
[0307] (Step S903)
[0308] In step S903, the control unit 11 operates as the integration processing unit 113, and performs integration processing for integrating the results of machine learning reflected in the determined integration range 41 for each learning model 4 that has been learned in the same group for each tentative group. The integration processing of step S903 may be the same as the above-mentioned step S303. If the integration processing is performed in the same group for each tentative group, the control unit 11 advances the processing to the next step S904.
[0309] (Step S904)
[0310] In step S904, the control unit 11 operates as the grouping unit 116, and obtains the result that each learned learning model 4 after performing the integration process in the same group according to each tentative group has exerted the prescribed ability with respect to the evaluation sample 129. The method of obtaining each result in step S904 can be the same as the above-mentioned step S603. That is, the control unit 11 inputs the input data 1291 to the input layer 51 of each learned learning model 4 after the integration process in the same group according to each tentative group, and sequentially performs the triggering judgment of each neuron contained in each layer 51 to 56 from the input side. Thus, the control unit 11 obtains the output value corresponding to the result that the prescribed ability is exerted with respect to the input data 1291 from the output layer 56 of each learned learning model 4 after the integration process in the same group according to each tentative group. After obtaining each result, the control unit 11 advances the process to the next step S905. In addition, for each process below step 905, the control unit 11 also operates as the grouping unit 116 and executes each process.
[0311] (Step S905)
[0312] In step S905, the control unit 11 determines the provisional grouping in which the prescribed capabilities of the learning models 4 after the integration processing are the highest in the same group based on the obtained results. The method of comparing the prescribed capabilities of the learning models 4 obtained in each group through the integration processing for each provisional grouping may be the same as the above-mentioned step S604. That is, the control unit 11 may compare the output values obtained from the learning models 4 after the integration processing with the correct data 1292 in the same group according to each provisional grouping, thereby calculating the correct answer rate of the learning models 4 after the integration processing relative to the input data 1291 according to each result. Next, the control unit 11 may compare the correct answer rates of the learning models 4 after the integration processing calculated in each group according to each provisional grouping. Then, based on the result of the comparison, the control unit 11 may determine the provisional grouping of the learning models 4 after the integration processing that gives the highest correct answer rate. Thus, the control unit 11 can determine the provisional grouping with the highest specified capability of each learning model 4 after the integration process within the same group. If the provisional grouping of each learning model 4 after the integration process that has given the highest specified capability is determined, the control unit 11 proceeds to the next step S906.
[0313] (Step S906)
[0314] In step S906, the control unit 11 adopts the determined tentative grouping as the grouping of each learning device 2. That is, the control unit 11 assigns each learning device 2 to at least one of the plurality of groups based on the determined tentative grouping. When the assignment of each learning device 2 is completed, the control unit 11 ends a series of processes related to the group assignment based on the third grouping method.
[0315] Furthermore, when the third grouping method is adopted, the control unit 11 uses the result of executing step S902 on the provisional grouping of the learning models 4 that have been learned after the integration process that gives the highest specified ability as the execution result of step S302. In addition, the control unit 11 uses the result of executing step S903 on the provisional grouping as the execution result of step S303.
[0316] Thus, the control unit 11 can adopt a candidate that improves the predetermined capability through integration processing from among a plurality of grouping candidates (tentative grouping) as the grouping of each learning device 2. Therefore, according to the third grouping method, it is possible to perform the optimal grouping that improves the predetermined capability most through integration processing.
[0317] In addition, when there are a mixture of learning devices 2 whose prescribed capabilities are improved after the integration process and learning devices 2 whose prescribed capabilities are reduced among the learning devices 2 included in the tentative grouping, the operation of the tentative grouping can be appropriately selected according to the implementation. For example, the control unit 11 may not adopt the tentative grouping, but may adopt a different tentative grouping as the grouping of each learning device 2. In addition, for example, the control unit 11 may adopt the tentative grouping as the grouping of each learning device 2, and distribute the result 43 of the integration process to the learning device 2 whose prescribed capabilities are improved after the integration process, and not distribute the result 43 of the integration process to the learning device 2 whose prescribed capabilities are reduced.
[0318] By adopting at least one of the above three 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 accept the operator's designation of the grouping via the input device 14. In this case, the control unit 11 can group the learning devices 2 according to the operator's designation.
[0319] In addition, each learning device 2 may be assigned to more than two groups. In this case, the learning device 2 assigned to more than two groups may selectively use the result 43 of the integrated processing performed in any one group for the integrated range 41 of the learning model 4 that has been learned and maintained by itself. For example, the learning device 2 may select the result of the integrated processing that has the most improved specified capability from the results of the integrated processing obtained in each group, and use the selected result of the integrated processing for the integrated range 41 of the learning model 4 that has been learned and maintained by itself.
[0320] [feature]
[0321] As described above, the model integration device 1 involved in this embodiment does not aggregate the local learning data 3 itself, but collects the learning models 4 constructed by each learning device 2 through the processing of step S301 and step S303, and performs integration processing on the collected learning models 4. Therefore, the communication cost and calculation cost consumed by the model integration device 1 can be suppressed. In addition, the integration processing of step S303 is only performed on the integration range 41 set in the common part 40 contained in each learning model 4 that has been learned, so the structure of each learning model 4 is allowed to be different. In other words, even if the format of the local learning data 3 and the structure of each learning model 4 are inconsistent, the integration processing of step S303 for each learning model 4 that has been learned can be performed.
[0322] Moreover, through this integration processing, the results of machine learning reflected in each completed learning model 4 can be appropriately reflected in other completed learning models 4. Therefore, each completed learning model 4 after the integration processing can appropriately exert the specified ability for data that cannot be obtained by each learning device 2 alone, based on the results of machine learning of other completed learning models 4. Therefore, according to the model integration device 1 involved in this embodiment, it is possible to achieve an environment for constructing a completed learning model 4 with a higher specified ability. Moreover, according to the model integration device 1 involved in this embodiment, by determining the optimal integration range 41 and the optimal grouping according to step S302 and grouping, it is possible to obtain a completed learning model 4 with a higher specified ability.
[0323] §4 Variations
[0324] The embodiments of the present invention have been described in detail above, but the aforementioned description is merely an illustration of the present invention in all aspects. It is self-evident that various improvements and modifications 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 those in the above-mentioned embodiments, and the description is appropriately omitted for the same aspects as those in the above-mentioned embodiments. The following modifications can be appropriately combined.
[0325] <4.1>
[0326] The model integration device 1 involved in the above-mentioned embodiment is used for estimating the scenario of the features contained in the sensor detection data obtained by the sensor S. However, the scope of application of the above-mentioned embodiment is not limited to such an example. The model integration device 1 involved in the above-mentioned embodiment can be used in all scenarios in which the learning model learns the specified ability through machine learning. Below, 5 modified examples with limited application scenarios are illustrated.
[0327] (A) Appearance inspection scenario
[0328] Fig. 20 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 integration device 1 involved in the above embodiment in a scenario of performing appearance inspection of products RA produced in a production line. Fig. 20 As described above, the inspection system 100A according to the present modification includes the model integration device 1 and the plurality of inspection devices 2A. As in the above-described embodiment, the model integration device 1 and the inspection devices 2A can be connected to each other via a network.
[0329] Alternatively, 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 is configured in the same manner as each of the above-mentioned learning devices 2. In this modification, each inspection device 2A is connected to a camera SA. Each inspection device 2A obtains image data showing the product RA by photographing the product RA using the camera SA. The type of camera SA may not be particularly limited. The camera SA may 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 based on the obtained image data (in other words, determines the quality of the product RA).
[0330] <Hardware configuration of inspection equipment>
[0331] Fig.21 An example of the hardware configuration of each inspection device 2A according to this modification is schematically illustrated. Fig.21As described above, similar to the above-mentioned learning devices 2, each inspection device 2A involved in this modification 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 drive 26 and an external interface 27. 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 such an example. Regarding the specific hardware structure of each inspection device 2A, it is possible to appropriately omit, replace and add constituent elements 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.
[0332] 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 estimation 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 can be stored in the storage medium 92. In addition, each inspection device 2A can 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.
[0333] <Learning Process>
[0334] Fig.22A 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 executing the learning program 82A based on the control unit 21. Fig.22A As described above, except that the processed data is replaced from sensor detection data to image 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. Therefore, each inspection device 2A performs a series of processes related to machine learning, similar to each learning device 2.
[0335] 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 for machine learning of the learning model 4A. In this modification, the learning model 4A is formed by a neural network, similar to the learning model 4 involved in the above-mentioned embodiment. In addition, the local learning data 3A is composed of a plurality of learning data sets 30A each including a combination of image data 31A and correct data 32A. The image data 31A corresponds to the training data 31.
[0336] As in the above-mentioned embodiment, the method of obtaining each learning data set 30A can be appropriately determined according to the embodiment. For example, for the image data 31A, the image data 31A is obtained by photographing the product RA including or not including defects such as stains, stains, and damages under various conditions using a camera. In addition, the correct data 32A indicating the state (correctness) of the product RA reflected by the image data 31A is associated with the obtained image data 31A. In this way, each learning data set 30A can be generated.
[0337] In step S102, the control unit 21 acts as a structure determination unit 212 to determine the structure of the learning model 4A. In step S103, the control unit 21 acts as a learning processing unit 213 to perform machine learning using the collected local learning data 3A. That is, the control unit 11 trains the learning model 4A so that if the image data 31A is input for each learning data set 30A, an output value consistent with the corresponding correct data 32A is output. As a result, the control unit 11 can construct a learning model 4A that has acquired the ability to determine the state of the product RA reflected by the image data 31A. In step S104, the control unit 21 acts as a storage processing unit 214 to generate information representing the structure of the learning model 4A constructed by machine learning and the operation parameters as learning result data 221A. In addition, the control unit 21 saves the generated learning result data 221A in a specified storage area.
[0338] <Inspection and processing>
[0339] Fig. 22B This is a schematic illustration of an example of the software configuration related to the inspection process of each inspection device 2A involved in this modification. As in the above-mentioned embodiment, the software configuration related to the inspection process of each inspection device 2A is implemented by executing the inspection program 83A based on the control unit 21. Fig. 22BAs described above, except that the processed data is replaced from sensor detection data to image data, the software configuration related to the inspection process of each inspection device 2A is the same as the software configuration related to the estimation process of each learning device 2. Therefore, each inspection device 2A executes a series of processes related to the inspection process, similar to each learning device 2.
[0340] That is, in step S201, the control unit 21 operates as the object data acquisition unit 216, and acquires the object image data 225A showing the product RA to be inspected from the camera SA. In step S202, the control unit 21 operates as the inspection unit 217A, and uses the learned learning model 4A to determine the state (quality) of the product RA shown in the object image data 225A. Specifically, the control unit 21 sets the learned learning model 4A with reference to the learning result data 221A. Next, the control unit 21 inputs the acquired object image data 225A into the learned learning model 4A, and sequentially determines the triggering of each neuron included in each layer from the input side. Thus, the control unit 21 acquires an output value corresponding to the result of inferring the state of the product RA shown in the object image data 225A from the learned learning model 4A. In addition, the inspection unit 217A corresponds to the above-mentioned estimation unit 217. The inspection unit 217A includes the learned learning model 4A by retaining the learning result data 221A.
[0341] In step S203, the control unit 21 acts as the output unit 218 to output information related to the result of inferring the state of the product RA. The output destination and the output information are respectively the same as those in the above-mentioned embodiment and can be appropriately determined according to the embodiment. For example, the control unit 21 can output the result of determining the state of the product RA directly to the output device 25. In addition, for example, when the product RA includes a defect, the control unit 21 can output a warning for notifying the situation to the output device 25. In addition, for example, when each inspection device 2A is connected to a conveyor device (not shown) that conveys the product RA, the conveyor device is controlled based on the result of determining the state of the product RA so that the product RA without defects and the product RA with defects are conveyed on different production lines.
[0342] <Model Integration>
[0343] Similar to the above-mentioned learning model 4, each completed learning model 4A is configured to include a common part having a common structure. In addition, any combination of each completed learning model 4A has a different structure in parts other than the common part. For each such completed learning model 4A, the model integration device 1 performs the processing of the above-mentioned steps S301 to S304 in the same manner as in the above-mentioned embodiment.
[0344] That is, in step S301, the model integration device 1 collects each completed learning model 4A from each inspection device 2A. In step S302, the model integration device 1 determines the integration range within the common part contained in each collected completed learning model 4A. In step S303, the model integration device 1 performs an integration process on each completed learning model 4A to integrate the results of machine learning reflected in the integration range set in the common part. In step S304, the model integration device 1 distributes the results of the integration process to each inspection device 2A, and for each inspection device 2A, uses the results of the integration process in the integration range within each completed learning model 4A, thereby updating the completed learning model 4A maintained by each inspection device 2A.
[0345] According to this modification, in the scene of the state of the product reflected by the inspection image data, the results of machine learning reflected in each learned learning model 4A can be appropriately reflected in other learned learning models 4A. Thus, each learned learning model 4A after the integration process can also appropriately infer the state of the product RA based on the results of machine learning of other learned learning models 4A, even for object image data 225A that each inspection device 2A cannot obtain alone. For example, assume a scene where a defect that has no experience occurs in a certain inspection device 2A. In this scene, if there is experience of the defect in other inspection devices 2A, the experience can be reflected in the learned learning model 4A of the inspection device 2A through the learned learning model 4A constructed in the other inspection device 2A. Therefore, the inspection device 2A can infer that the product RA includes the defect that has no experience by using the learned learning model 4A after the integration process. Therefore, according to this modification, a learned learning model 4A with a higher ability to infer the state of the product RA can be constructed.
[0346] In this modification, the data used to determine the state of the product RA is not limited to the image data, and for example, sound data obtained by a microphone, measurement data obtained by an encoder, etc. may be used together with or instead of the image data.
[0347] (B) Scene of controlling cultivation device
[0348] Fig.23 An example of an application scenario of the control system 100B according to the second modification is schematically illustrated. This modification is an example in which the model integration device 1 according to the above embodiment is applied to a scenario in which the operation of the cultivation device RB is controlled according to the cultivation conditions. Fig.23As described above, the control system 100B according to the present modification includes the model integration device 1 and a plurality of control devices 2B. As in the above embodiment, the model integration device 1 and the control devices 2B may be connected to each other via a network.
[0349] Each control device 2B corresponds to each of the above-mentioned learning devices 2. Except for the point that the data to be processed is different, each control device 2B may be configured in the same manner as each of the above-mentioned learning devices 2. In this modification, each control device 2B is connected to a cultivation device RB and a sensor SB.
[0350] The cultivation device RB is configured to control the cultivation environment of the plant GB to cultivate the plant GB. As long as the cultivation device RB can control the cultivation environment of the plant GB, its type is not particularly limited and can be appropriately selected according to the implementation method. The cultivation environment is related to the conditions of the cultivation of the plant GB, for example, the time of irradiating light to the plant GB, the temperature around the plant GB, the amount of water given 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, etc. The curtain device is configured to open and close the curtain installed on the window of the building. The lighting device is, for example, LED (light emitting diode) lighting, fluorescent lamps, 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 is used to control the amount of water given to the plant GB.
[0351] Each control device 2B senses the cultivation status of the plant GB using the sensor SB, and obtains the sensing data from the sensor SB as status data related to the cultivation status of the plant GB. The cultivation status can be determined by all factors related to the cultivated plant GB, such as the cultivation environment and cultivation status until the cultivation time. The cultivation status can also be specified by the cultivation degree of the plant GB, for example. As long as the sensor SB can sense the cultivation status of the plant GB, its type is not particularly limited and can be appropriately selected according to the implementation method. 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. Based on the obtained status data, each control device 2B determines the cultivation status of the plant GB and controls the operation of the cultivation device RB in a manner to achieve a cultivation environment suitable for the determined cultivation status.
[0352] <Hardware configuration of the control device>
[0353] Fig.24 An example of the hardware configuration of each control device 2B involved in this modification is schematically illustrated. Fig.24As described above, similar to the above-mentioned learning devices 2, each control device 2B involved in this modification is a computer that electrically connects 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. Each control device 2B is connected to a cultivation device RB and a sensor SB via an external interface 27. However, the hardware configuration of each control device 2B may not be limited to such an example. Regarding the specific hardware configuration of each control device 2B, it is possible to appropriately omit, replace, and add constituent elements according to the implementation method. In addition to being designed as an information processing device dedicated to the service provided, each control device 2B is a general-purpose server device, a general-purpose PC, a PLC, etc.
[0354] The storage unit 22 of each control device 2B involved in this modification stores various information such as the learning program 82B, the control program 83B, the local learning data 3B, and the learning result data 221B. The learning program 82B, the control program 83B, the local learning data 3B, and the learning result data 221B correspond to the learning program 82, the estimation 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 control program 83B, and the local learning data 3B can be stored in the storage medium 92. In addition, each control device 2B can obtain at least any one of the learning program 82B, the control program 83B, and the local learning data 3B from the storage medium 92.
[0355] <Learning Process>
[0356] Fig.25A An example of the software configuration related to the learning process of each control device 2B involved in this modification is schematically illustrated. As in the above-mentioned embodiment, the software configuration related to the learning process of each control device 2B is implemented by executing the learning program 82B based on the control unit 21. Fig.25A As described above, except that the processed data is replaced from the sensor detection data with the status data related to the cultivation status of the plant GB, the software configuration related to the learning processing of each control device 2B is the same as the software configuration related to the learning processing of the above-mentioned learning devices 2. Therefore, each control device 2B performs a series of processing related to machine learning, similar to the above-mentioned learning devices 2.
[0357] That is, in step S101, the control unit 21 of each control device 2B operates as a learning data collection unit 211B to collect local learning data 3B used for machine learning of the learning model 4B. In this modification, the learning model 4B is composed of a neural network, similar to the learning model 4 involved in the above-mentioned embodiment. In addition, the local learning data 3B is composed of a plurality of learning data sets 30B each including a combination of status data 31B and correct data 32B. The status data 31B corresponds to the training data 31.
[0358] Similar to the above-mentioned embodiment, the method of obtaining each learning data set 30B can be appropriately determined according to the embodiment. For example, the condition data 31B can be obtained by using a sensor to sense the cultivation condition of the plant GB under various conditions. In addition, the correct data 32B representing the control instruction (correct) is associated with the obtained condition data 31B, and the control instruction instructs the cultivation device RB to control the cultivation environment corresponding to the cultivation condition represented by the condition data 31B. The control instruction (correct) can be given by, for example, the actual performance of the cultivated plant GB, the input of the operator, etc. In this way, each learning data set 30B can be generated.
[0359] In step S102, the control unit 21 operates as a structure determination unit 212 to determine the structure of the learning model 4B. In step S103, the control unit 21 operates as a learning processing unit 213 to perform machine learning using the collected local learning data 3B. That is, the control unit 11 trains the learning model 4B so that if the status data 31B is input for each learning data set 30B, an output value consistent with the corresponding correct data 32B is output. In this way, the control unit 11 can construct a learning model 4B that has acquired the ability to determine the control instructions given to the cultivation device RB according to the cultivation status of the plant GB. In step S104, the control unit 21 operates as a storage processing unit 214 to generate information indicating the structure of the learning model 4B constructed by machine learning and the operation parameters as learning result data 221B. In addition, the control unit 21 saves the generated learning result data 221B in a predetermined storage area.
[0360] <Control Process>
[0361] Fig.25B An example of the software configuration related to the control process of each control device 2B involved in this modification is schematically illustrated. As in the above-mentioned embodiment, the software configuration related to the control process of each control device 2B is implemented by executing the control program 83B based on the control unit 21. Fig.25BAs described above, except that the processed data is replaced from the sensor detection data to the status data, the software configuration related to the control processing of each control device 2B is the same as the software configuration related to the estimation processing of each learning device 2. Therefore, each control device 2B executes a series of processing related to the control processing, similar to each learning device 2.
[0362] That is, in step S201, the control unit 21 operates as the object data acquisition unit 216, and acquires the object status data 225B related to the cultivation status of the plant GB that is the object of controlling the cultivation environment from the sensor SB. In step S202, the control unit 21 operates as the instruction determination unit 217B, and uses the learned learning model 4B to determine the control instruction given to the cultivation device RB according to the cultivation status of the plant GB determined by the object status data 225B. Specifically, the control unit 21 sets the learned learning model 4B with reference to the learning result data 221B. Next, the control unit 21 inputs the acquired object status data 225B into the learned learning model 4B, and sequentially performs the trigger judgment of each neuron included in each layer from the input side. As a result, the control unit 21 obtains an output value from the learned learning model 4B, and the above-mentioned output value corresponds to the result of determining the control instruction given to the cultivation device RB according to the cultivation status of the plant GB determined by the object status data 225B. The instruction determination unit 217B corresponds to the above-mentioned estimation unit 217. The instruction determination unit 217B includes the learned learning model 4B by holding the learning result data 221B.
[0363] In step S203, the control unit 21 operates as the output unit 218, and outputs information related to the result of the control instruction determined to be given to the cultivation device RB. 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 may give the determined control instruction to the cultivation device RB and control the operation of the cultivation device RB. In addition, for example, the control unit 21 may output information indicating the determined control instruction to the output device 25, and urge the manager of the plant GB to control the operation of the cultivation device RB. In this case, the control device 2B may not be connected to the cultivation device RB.
[0364] <Model Integration>
[0365] Similar to the above-mentioned learning model 4, each completed learning model 4B is configured to include a common part having a common structure. In addition, any combination of each completed learning model 4B has a different structure in parts other than the common part. For each such completed learning model 4B, the model integration device 1 performs the processing of the above-mentioned steps S301 to S304 in the same manner as in the above-mentioned embodiment.
[0366] That is, in step S301, the model integration device 1 collects each completed learning model 4B from each control device 2B. In step S302, the model integration device 1 determines the integration range within the common part contained in each collected completed learning model 4B. In step S303, the model integration device 1 performs an integration process on each completed learning model 4B to integrate the results of machine learning reflected in the integration range set in the common part. In step S304, the model integration device 1 distributes the results of the integration process to each control device 2B, and for each control device 2B, uses the results of the integration process in the integration range within each completed learning model 4B, thereby updating the completed learning model 4B maintained by each control device 2B.
[0367] According to this modification, in the scenario of controlling the operation of the cultivation device, the results of machine learning reflected in each completed learning model 4B can be appropriately reflected in other completed learning models 4B. Thus, each completed learning model 4B after integration can appropriately control the operation of the cultivation device RB even for the cultivation conditions that cannot be obtained by each control device 2B alone, based on the results of machine learning of other completed learning models 4B. For example, it is assumed that there are control devices 2B that cultivate plants GB in a warm climate region and other control devices 2B that cultivate plants GB in a cold climate region. In this scenario, it is assumed that the control device 2B in the warm climate region has almost no experience in controlling the operation of the cultivation device RB to cultivate plants GB according to the cultivation conditions that can occur in the cold climate region. Therefore, the control device 2B alone has almost no such experience, and therefore, when the cultivation conditions that occur in the warm climate region and the cold climate region due to abnormal weather or the like are such, the control device 2B may not be able to appropriately control the cultivation device RB. In contrast, according to this modification, if the other control device 2B has experience, the experience can be reflected in the learned model 4B of the control device 2B through the learned model 4B constructed in the other control device 2B. Therefore, the control device 2B can appropriately control the cultivation device RB even in the cultivation conditions where there is almost no experience in the area by using the learned model 4B after the integration process. Therefore, according to this modification, a learned model 4B with a higher ability to appropriately control the cultivation device RB can be constructed.
[0368] (C) Driver monitoring scenario
[0369] Fig.26An example of an application scenario of the monitoring system 100C according to the third modification is schematically illustrated. This modification is an example of applying the model integration device 1 according to the above embodiment to a scenario of monitoring the state of the driver RC driving a vehicle. Fig.26 As described above, the monitoring system 100C according to the present modification includes the model integration device 1 and a plurality of monitoring devices 2C. As in the above embodiment, the model integration device 1 and the monitoring devices 2C can be connected to each other via a network.
[0370] Each monitoring device 2C corresponds to each of the above-mentioned learning devices 2. Except for the difference in the data processed, each monitoring device 2C can be configured in the same manner as each of the above-mentioned learning devices 2. Each monitoring device 2C infers the state of the driver RC based on the data obtained by observing the driver RC. The data used for 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 for inference can be, for example, vital sign data of the driver RC, image data that can be projected of the driver RC, etc. In this variant, each monitoring device 2C is connected to a camera SC configured in a manner that can photograph the driver RC. The camera SC can be, for example, a general 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 that becomes the object of inference can be appropriately determined according to the implementation. The state of the driver RC that becomes the object of inference can be appropriately determined according to the implementation, for example, it can include a drowsiness indicating the degree of drowsiness of the driver RC, a fatigue indicating the degree of fatigue of the driver RC, a calmness indicating the degree of calmness of the driver RC relative to driving, or a combination of these.
[0371] <Hardware configuration of monitoring device>
[0372] Fig. 27 An example of the hardware configuration of each monitoring device 2C according to this modification is schematically illustrated. Fig. 27 As described above, similar to the above-mentioned learning devices 2, each monitoring device 2C involved in this modification 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. Each monitoring device 2C is connected to the camera SC via the external interface 27. However, the hardware configuration of each monitoring device 2C may not be limited to such an example. Regarding the specific hardware configuration of each monitoring device 2C, it is possible to appropriately omit, replace, and add constituent elements according to the implementation method. In addition to being designed as an information processing device dedicated to the service provided, each monitoring device 2C can be a general-purpose computer, a mobile phone including a smartphone, a vehicle-mounted device, etc.
[0373] The storage unit 22 of each monitoring device 2C involved in this variant stores various information such as the learning program 82C, the monitoring program 83C, the local learning data 3C, and the 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 estimation 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 can be stored in the storage medium 92. In addition, each monitoring device 2C can 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.
[0374] <Learning Process>
[0375] Fig.28A 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 executing the learning program 82C based on the control unit 21. Fig.28A As described above, except that the processed data is replaced by image data that can be projected from the sensor detection data to the driver RC, the software configuration related to the learning process of each monitoring device 2C is the same as the software configuration related to the learning process of the above-mentioned learning devices 2. Therefore, each monitoring device 2C performs a series of processes related to machine learning, similar to the above-mentioned learning devices 2.
[0376] 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 for machine learning of the learning model 4C. In this modification, the learning model 4C is composed of a neural network, similar to the learning model 4 involved in the above-mentioned embodiment. In addition, the local learning data 3C is composed of a plurality of learning data sets 30C each including a combination of image data 31C and correct data 32C. The image data 31C corresponds to the training data 31.
[0377] Similar to the above-mentioned embodiment, the method of obtaining each learning data set 30C can be appropriately determined according to the embodiment. For example, the image data 31C can be obtained by photographing the subject (driver) driving the vehicle under various conditions using a camera. Moreover, the correct data 32C representing the state (correct) of the subject in the condition is associated with the obtained image data 31C. The state (correct) of the subject can be given, for example, by data obtained by other sensors other than the camera, input by the operator, etc. In this way, each learning data set 30C can be generated.
[0378] In step S102, the control unit 21 acts as a structure determination unit 212 to determine the structure of the learning model 4C. In step S103, the control unit 21 acts as a learning processing unit 213 to perform machine learning using the collected local learning data 3C. That is, the control unit 11 trains the learning model 4C so that if the image data 31C is input for each learning data set 30C, an output value consistent with the corresponding correct data 32C is output. As a result, the control unit 11 can construct a learning model 4C that has acquired the ability to infer the state of the driver reflected by the image data 31C. In step S104, the control unit 21 acts as a storage processing unit 214 and generates information representing the structure of the learning model 4C constructed by machine learning and the operation parameters as learning result data 221C. In addition, the control unit 21 saves the generated learning result data 221C in a specified storage area.
[0379] <Monitoring Process>
[0380] Fig.28B 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 execution of the monitoring program 83C based on the control unit 21. Fig.28B As described above, except for replacing the processed data from the sensor detection data with the image data, the software configuration related to the monitoring process of each monitoring device 2C is the same as the software configuration related to the estimation process of each learning device 2. Therefore, each monitoring device 2C executes a series of processes related to the monitoring process, similar to each learning device 2.
[0381] That is, in step S201, the control unit 21 operates as the object data acquisition unit 216, and acquires the object image data 225C that can be reflected of the driver RC from the camera SC. In step S202, the control unit 21 operates as the monitoring unit 217C, and infers the state of the driver RC reflected by the object image data 225C using the learned learning model 4C. Specifically, the control unit 21 sets the learned learning model 4C with reference to the learning result data 221C. Next, the control unit 21 inputs the acquired object image data 225C into the learned learning model 4C, and sequentially performs trigger determination of each neuron included in each layer from the input side. Thus, the control unit 21 acquires an output value corresponding to the result of inferring the state of the driver RC reflected by the object image data 225C from the learned learning model 4C. In addition, the monitoring unit 217C corresponds to the above-mentioned estimation unit 217. The monitoring unit 217C includes the learned learning model 4C by retaining the learning result data 221C.
[0382] In step S203, the control unit 21 operates as the output unit 218 and outputs information related to the result of estimating the state of the driver RC. The output destination and the output information are the same as those in the above-mentioned embodiment and can be appropriately determined according to the embodiment. For example, the control unit 21 can output the result of estimating the state of the driver RC directly to the output device 25 as it is.
[0383] In addition, for example, the control unit 21 may 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 inferred as the state of the driver RC, the control unit 21 may determine whether at least one of the sleepiness and fatigue exceeds a threshold. The threshold may be set appropriately. Furthermore, when at least one of the sleepiness and fatigue exceeds a threshold, the control unit 21 may output a warning to the output device 25 urging the driver RC to stop the car in a parking lot or the like and take a rest.
[0384] In addition, for example, when the vehicle is configured to be capable of automatic driving, the control unit 21 may control the automatic driving of the vehicle based on the result of inferring 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 steering of the driver RC.
[0385] In this case, it is also possible that 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 determines whether the inferred composure of the driver RC exceeds the threshold. Furthermore, it is also possible that when the composure of the driver RC exceeds the threshold, the control unit 21 allows the switch from the automatic driving mode to the manual driving mode. On the other hand, it is also possible that when the composure of the driver RC is below the threshold, the control unit 21 does not allow the switch from the automatic driving mode to the manual driving mode and maintains the driving in the automatic driving mode.
[0386] Alternatively, when the vehicle is traveling in the manual driving mode, the control unit 21 may determine whether at least one of the sleepiness and fatigue exceeds a threshold value. Furthermore, when at least one of the sleepiness and fatigue exceeds a threshold value, the control unit 21 may send an instruction to the vehicle system to switch from the manual driving mode to the automatic driving mode and park the vehicle in a safe place such as a parking lot. On the other hand, when this is not the case, the control unit 21 may maintain the vehicle traveling in the manual driving mode.
[0387] In addition, when the vehicle is traveling in the manual driving mode, the control unit 21 may determine whether the degree of ease is below a threshold value. Furthermore, when the degree of ease is below a threshold value, the control unit 21 may send a deceleration instruction to the vehicle system. On the other hand, when this is not the case, the control unit 21 may maintain the vehicle traveling based on the operation of the driver RC.
[0388] <Model Integration>
[0389] Similar to the above-mentioned learning model 4, each completed learning model 4C is configured to include a common part having a common structure. In addition, any combination of each completed learning model 4C has a different structure in parts other than the common part. For each such completed learning model 4C, the model integration device 1 performs the processing of the above-mentioned steps S301 to S304 in the same manner as in the above-mentioned embodiment.
[0390] That is, in step S301, the model integration device 1 collects each completed learning model 4C from each monitoring device 2C. In step S302, the model integration device 1 determines the integration range within the common part contained in each collected completed learning model 4C. In step S303, the model integration device 1 performs an integration process on each completed learning model 4C to integrate the results of machine learning reflected in the integration range set in the common part. In step S304, the model integration device 1 distributes the results of the integration process to each monitoring device 2C, and for each monitoring device 2C, uses the results of the integration process for the integration range within each completed learning model 4C, thereby updating the completed learning model 4C maintained by each monitoring device 2C.
[0391] According to this modification, in the scenario of monitoring the state of the driver, the results of machine learning reflected in each completed learning model 4C can be appropriately reflected in other completed learning models 4C. Thus, each completed learning model 4C after integration can appropriately infer the state of the driver RC based on the results of machine learning of other completed learning models 4C, even for the attributes and operating environment of the driver RC that cannot be obtained by each monitoring device 2C alone. Therefore, according to this modification, a completed learning model 4C with a higher ability to appropriately infer the state of the driver RC can be constructed.
[0392] (D) Power generation forecast scenario
[0393] Fig.29 An example of an application scenario of the prediction system 100D according to the fourth modification is schematically illustrated. This modification is an example of applying the model integration device 1 according to the above embodiment to a scenario of predicting the power generation of a power generation device RD. Fig.29 As described above, the prediction system 100D according to the present modification includes the model integration device 1 and a plurality of prediction devices 2D. As in the above embodiment, the model integration device 1 and the prediction devices 2D may be connected to each other via a network.
[0394] Each prediction device 2D corresponds to each of the above-mentioned learning devices 2. Alternatively, each prediction device 2D may be configured identically to each of the above-mentioned learning devices 2, except that the data processed is different. Each prediction device 2D predicts the amount of power generated by the power generation device RD based on data related to the power generation of the power generation device RD. The type of the power generation device RD may not be particularly limited, and may be, for example, a solar power generation device. The data used for predicting the amount of power generated may not be particularly limited as long as it is related to the power generation of the power generation device RD, and may 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 amount of power generated by the power generation device RD based on meteorological data.
[0395] <Hardware configuration of prediction device>
[0396] Fig.30 An example of the hardware configuration of each prediction device 2D according to this modification is schematically illustrated. Fig.30 As described above, similar to the above-mentioned learning devices 2, each prediction device 2D involved in this modification 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. However, the hardware configuration of each prediction device 2D may not be limited to such an example. Regarding the specific hardware configuration of each prediction device 2D, it is possible to appropriately omit, replace, and add constituent elements 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.
[0397] The storage unit 22 of each prediction device 2D involved in this modification stores various information such as the learning program 82D, the prediction program 83D, the local learning data 3D, and the 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 estimation 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 can be stored in the storage medium 92. In addition, each prediction device 2D can 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.
[0398] <Learning Process>
[0399] Fig.31A 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 executing the learning program 82D based on the control unit 21. Fig.31A As described above, except for replacing the processed data from sensor detection data with meteorological 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 the above-mentioned learning devices 2. Therefore, like the above-mentioned learning devices 2, each prediction device 2D performs a series of processes related to machine learning.
[0400] That is, in step S101, the control unit 21 of each prediction device 2D operates as a learning data collection unit 211D, and collects local learning data 3D used for machine learning of the learning model 4D. In this variant, the learning model 4D is composed of a neural network, similar to the learning model 4 involved in the above-mentioned embodiment. In addition, the local learning data 3D is composed of a plurality of learning data sets 30D each including a combination of meteorological data 31D and correct data 32D. The meteorological data 31D corresponds to the training data 31. The meteorological data 31D may include, for example, data indicating weather, temperature, precipitation, humidity, wind volume, etc.
[0401] Similar to the above-mentioned embodiment, the method of obtaining each learning data set 30D can be appropriately determined according to the embodiment. For example, the meteorological data 31D can be obtained under various meteorological conditions. Moreover, the correct data 32D representing the power generation (correct) of the power generation equipment RD under the meteorological conditions is associated with the obtained meteorological data 31D. The power generation (correct) can be given, for example, by the sensor of the power generation equipment RD, the input of the operator, etc. In this way, each learning data set 30D can be generated.
[0402] In step S102, the control unit 21 acts as a structure determination unit 212 to determine the structure of the learning model 4D. In step S103, the control unit 21 acts as a learning processing unit 213 to perform machine learning using the collected local learning data 3D. That is, the control unit 11 trains the learning model 4D so that if the meteorological data 31D is input for each learning data set 30D, an output value consistent with the corresponding correct data 32D is output. As a result, the control unit 11 can construct a learning model 4D that has acquired the ability to predict the power generation of the power generation equipment RD based on the meteorological conditions shown in the meteorological data 31D. In step S104, the control unit 21 acts as a storage processing unit 214 to generate information representing the structure of the learning model 4D constructed by machine learning and the operation parameters as learning result data 221D. In addition, the control unit 21 saves the generated learning result data 221D in a specified storage area.
[0403] <Prediction Process>
[0404] Fig.31B 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 executing the prediction program 83D based on the control unit 21. Fig.31B As described above, except that the processed data is replaced by meteorological data from sensor detection data, the software configuration related to the prediction process of each prediction device 2D is the same as the software configuration related to the estimation process of each learning device 2. Therefore, each prediction device 2D performs a series of processes related to the prediction process, similar to each learning device 2.
[0405] That is, in step S201, the control unit 21 operates as the object data acquisition unit 216, and acquires the object meteorological data 225D related to the meteorological conditions of the power generation equipment RD that is the object of the power generation amount prediction. The acquisition destination of the object meteorological data 225D may not be particularly limited, and may be appropriately selected according to the implementation method. For example, the control unit 21 may acquire the object meteorological data 225D 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 21 may acquire the object meteorological data 225D from the sensor.
[0406] In step S202, the control unit 21 operates as a prediction unit 217D, and uses the learned learning model 4D to predict the power generation of the power generation device RD according to the meteorological conditions shown in the target meteorological data 225D. Specifically, the control unit 21 sets the learned learning model 4D with reference to the learning result data 221D. Next, the control unit 21 inputs the acquired target meteorological data 225D into the learned learning model 4D, and sequentially performs trigger determination of each neuron contained in each layer from the input side. As a result, the control unit 21 obtains an output value from the learned learning model 4D, and the output value corresponds to the result of predicting the power generation of the power generation device RD according to the meteorological conditions shown in the target meteorological data 225D. In addition, the prediction unit 217D corresponds to the above-mentioned estimation unit 217. The prediction unit 217D includes the learned learning model 4D by retaining the learning result data 221D.
[0407] In step S203, the control unit 21 operates as the output unit 218, and outputs information related to the result of predicting the power generation of the power generation device RD. The output destination and the output information are the same as those in the above-mentioned embodiment, and can be appropriately determined according to the embodiment. For example, the control unit 21 can output the result of predicting the power generation of the power generation device RD to the output device 25 as it is. In addition, for example, when the power generation of the power generation device RD is compared with the threshold value and the power generation of the power generation device RD is less than the threshold value, the control unit 21 can output a message urging other power generation devices to generate power to the output device 25. The threshold value can be set appropriately.
[0408] <Model Integration>
[0409] Similar to the above-mentioned learning model 4, each completed learning model 4D is configured to include a common part having a common structure. In addition, any combination of each completed learning model 4D has a different structure in parts other than the common part. For each such completed learning model 4D, the model integration device 1 performs the processing of the above-mentioned steps S301 to S304 in the same manner as in the above-mentioned embodiment.
[0410] That is, in step S301, the model integration device 1 collects each completed learning model 4D from each prediction device 2D. In step S302, the model integration device 1 determines the integration range within the common part contained in each collected completed learning model 4D. In step S303, the model integration device 1 performs an integration process on each completed learning model 4D to integrate the results of machine learning reflected in the integration range set in the common part. In step S304, the model integration device 1 distributes the results of the integration process to each prediction device 2D, and for each prediction device 2D, uses the results of the integration process in the integration range within each completed learning model 4D, thereby updating the completed learning model 4D maintained by each prediction device 2D.
[0411] According to this modification, in the scenario of predicting the power generation of a power generation facility, the results of machine learning reflected in each completed learning model 4D can be appropriately reflected in other completed learning models 4D. Thus, each completed learning model 4D after integration can appropriately estimate the power generation of the power generation facility RD based on the results of machine learning of other completed learning models 4D, even for meteorological conditions that cannot be obtained by each prediction device 2D alone. Therefore, according to this modification, a completed learning model 4D with a higher ability to appropriately predict the power generation of the power generation facility RD can be constructed.
[0412] (E) Scenario for diagnosing health status
[0413] Fig.32 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 integration device 1 involved in the above-mentioned embodiment to a scenario of estimating (diagnosing) the health status of the subject RE. Fig.32 As described above, the diagnostic system 100E according to the present modification includes the model integration device 1 and a plurality of diagnostic devices 2E. As in the above embodiment, the model integration device 1 and the diagnostic devices 2E can be connected to each other via a network.
[0414] Each diagnostic device 2E corresponds to each of the above-mentioned learning devices 2. Except for the fact that the processed data is different, each diagnostic device 2E can be configured in the same manner 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 for diagnosis is not particularly limited as long as it is data related to the health status of the subject person RE, and can be appropriately selected according to the implementation method. The data used for diagnosis can be, for example, image data, vital sign data, etc. The vital sign data is related to the vital signs, 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 vital sign sensor SE. Each diagnostic device 2E diagnoses the health status of the subject person RE based on the vital sign data obtained from the vital sign sensor SE. The health status of the object to be inferred 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.
[0415] <Hardware configuration of diagnostic device>
[0416] Fig.33 An example of the hardware configuration of each diagnostic device 2E according to this modification is schematically illustrated. Fig.33 As described above, similar to the above-mentioned learning devices 2, each diagnostic device 2E involved in this variation 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. Each diagnostic device 2E is connected to a vital sign sensor SE via an external interface 27. The vital sign sensor SE is, for example, a thermometer, a sphygmomanometer, a pulse meter, etc. However, the hardware configuration of each diagnostic device 2E may not be limited to such an example. Regarding the specific hardware configuration of each diagnostic device 2E, it is possible to appropriately omit, replace and add constituent elements 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.
[0417] The storage unit 22 of each diagnostic device 2E involved in this variant stores various information such as the learning program 82E, the diagnostic program 83E, the local learning data 3E, and the 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 estimation 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 can be stored in the storage medium 92. In addition, each diagnostic device 2E can 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.
[0418] <Learning Process>
[0419] Fig.34A 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 executing the learning program 82E based on the control unit 21. Fig.34A As described above, except for replacing the processed data from the sensor detection data with the vital sign data, the software configuration related to the learning processing of each diagnostic device 2E is the same as the software configuration related to the learning processing of the above-mentioned learning devices 2. Therefore, like the above-mentioned learning devices 2, each diagnostic device 2E performs a series of processing related to machine learning.
[0420] 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 for machine learning of the learning model 4E. In this variant, the learning model 4E is composed of a neural network, similar to the learning model 4 involved in the above-mentioned embodiment. In addition, the local learning data 3E is composed of a plurality of learning data sets 30E each including a combination of vital sign data 31E and correct data 32E. The vital sign data 31E corresponds to the training data 31.
[0421] Similar to the above-mentioned embodiment, the method of obtaining each learning data set 30E can be appropriately determined according to the embodiment. For example, the vital signs data 31E can be obtained by measuring the vital signs of subjects in various health states using a vital signs sensor. Moreover, the correct data 32E representing the health state (correct) of the subject is associated with the obtained vital signs data 31E. The health state (correct) of the subject can be given, for example, by performance data, operator input, etc. In this way, each learning data set 30E can be generated.
[0422] In step S102, the control unit 21 acts as a structure determination unit 212 to determine the structure of the learning model 4E. In step S103, the control unit 21 acts as a learning processing unit 213 to perform machine learning using the collected local learning data 3E. That is, the control unit 11 trains the learning model 4E so that if the vital sign data 31E is input for each learning data set 30E, an output value consistent with the corresponding correct data 32E is output. As a result, the control unit 11 can construct a learning model 4E that has acquired the ability to diagnose the health status of the subject based on the vital sign data 31E. In step S104, the control unit 21 acts as a storage processing unit 214 and generates information representing the structure of the learning model 4E constructed by machine learning and the operation parameters as learning result data 221E. Moreover, the control unit 21 saves the generated learning result data 221E in a specified storage area.
[0423] <Diagnosis and treatment>
[0424] Fig.34B 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 executing the diagnostic program 83E based on the control unit 21. Fig.34B As described above, except for replacing the processed data from the sensor detection data with the vital sign data, the software configuration related to the diagnosis processing of each diagnosis device 2E is the same as the software configuration related to the estimation processing of each learning device 2. Therefore, each diagnosis device 2E performs a series of processing related to the diagnosis processing, similar to each learning device 2.
[0425] That is, in step S201, the control unit 21 operates as the object data acquisition unit 216, and acquires the object vital sign data 225E indicating the result of measuring the vital sign of the object person RE from the vital sign sensor SE. In step S202, the control unit 21 operates as the diagnosis unit 217E, and uses the learned model 4E to diagnose the health state of the object person RE based on the object vital sign data 225E. Specifically, the control unit 21 sets the learned learning model 4E with reference to the learning result data 221E. Next, the control unit 21 inputs the acquired object vital sign data 225E into the learned learning model 4E, and sequentially performs trigger determination of each neuron included in each layer from the input side. Thus, the control unit 21 acquires an output value corresponding to the result of diagnosing the health state of the object person RE based on the object vital sign data 225E from the learned learning model 4E. In addition, the diagnosis unit 217E corresponds to the above-mentioned estimation unit 217. The diagnosis unit 217E stores the learning result data 221E, thereby including the learned model 4E.
[0426] In step S203, the control unit 21 operates as the output unit 218, and outputs information related to the result of diagnosing the health status of the subject person RE. The output destination and the output information are the same as those in the above-mentioned embodiment, and can be appropriately determined according to the embodiment. For example, the control unit 21 can output the result of diagnosing the health status of the subject person RE directly to the output device 25 as it is. In addition, for example, when the diagnosed health status of the subject person RE indicates a sign of a predetermined disease, the control unit 21 can output a message urging to go to the hospital for a checkup to the output device 25.
[0427] <Model Integration>
[0428] Similar to the above-mentioned learning model 4, each completed learning model 4E is configured to include a common part having a common structure. In addition, any combination of each completed learning model 4E has a different structure in parts other than the common part. For each such completed learning model 4E, the model integration device 1 performs the processing of the above-mentioned steps S301 to S304 in the same manner as in the above-mentioned embodiment.
[0429] That is, in step S301, the model integration device 1 collects each completed learning model 4E from each diagnostic device 2E. In step S302, the model integration device 1 determines the integration range within the common part contained in each collected completed learning model 4E. In step S303, the model integration device 1 performs an integration process on each completed learning model 4E to integrate the results of machine learning reflected in the integration range set in the common part. In step S304, the model integration device 1 distributes the results of the integration process to each diagnostic device 2E, and for each diagnostic device 2E, uses the results of the integration process for the integration range within each completed learning model 4E, thereby updating the completed learning model 4E maintained by each diagnostic device 2E.
[0430] According to this variation, in the scenario of diagnosing the health status of the subject, the results of machine learning reflected in each completed learning model 4E can be appropriately reflected in other completed learning models 4E. Thus, each completed learning model 4E after integration can appropriately infer the health status of the subject based on the results of machine learning of other completed learning models 4E, for attributes and vital signs of the subject that cannot be obtained by each diagnostic device 2E alone. Therefore, according to this variation, a completed learning model 4E with a higher ability to appropriately diagnose the health status of the subject RE can be constructed.
[0431] (F) Others
[0432] As described above, the model integration device 1 involved in the above-mentioned embodiment can be applied in all scenarios in which the learning model learns the specified ability through machine learning. In addition, the model integration device 1 can be grouped according to each modification example, and can also be grouped within each modification example. For example, the model integration device 1 can assign each inspection device 2A and control device 2B to different groups. In addition, for example, the model integration device 1 can also assign an inspection device 2A that performs an inspection of the first product and other inspection devices 2A that perform an inspection of the second product different from the first product to different groups. Thus, the model integration device 1 can realize the integrated processing of the learned learning model (4, 4A~4E) by performing the above-mentioned processing according to each group even if the above-mentioned modifications coexist.
[0433] <4.2>
[0434] In the above-mentioned embodiment, each learning device 2 is composed of a computer that performs both the learning process and the estimation process. However, the configuration of each learning device 2 may not be limited to such an example. At least one of the plurality of learning devices 2 may be composed of a plurality of computers. In this case, the learning device 2 may be configured so that the learning process and the estimation process are performed by different computers.
[0435] Fig.35 An example of the configuration of the learning device 2F involved in this variant is schematically illustrated. In this variant, the learning device 2F includes: a model generation device 200 configured to perform the above-mentioned learning process and a model utilization device 201 configured to perform the above-mentioned estimation process. The hardware configuration of each of the model generation device 200 and the model utilization device 201 can be the same as the hardware configuration of each learning device 2 involved in the above-mentioned embodiment. The model generation device 200 operates as a computer having a learning data collection unit 211, a structure determination unit 212, a learning processing unit 213, and a storage processing unit 214 as software modules by executing the learning program 82. The model utilization device 201 operates as a computer having an object data acquisition unit 216, an estimation unit 217, and an output unit 218 as software modules by executing the estimation program 83. In this case, the model generation device 200 can be treated as a "learning device". The same also applies to the inspection device 2A, the control device 2B, the monitoring device 2C, the prediction device 2D, and the diagnosis device 2E according to the above-mentioned modification.
[0436] <4.3>
[0437] In the above-mentioned embodiment, data communication between each learning device 2 and the model integration device 1 is performed via a network. The model integration device 1 performs integration processing on the completed learning model 4 (learning result data 221) collected from each learning device 2. In this process, if the completed learning model 4 is made public, the confidentiality of the inferred processing of each learning device 2 and the content of the local learning data 3 may be damaged. Therefore, in order to improve the security of data communication, in the above-mentioned embodiment, the integration processing of integrating the results of machine learning reflected in the integration range 41 can be performed by secret computing. The method of secret computing may not be particularly limited and may be appropriately selected according to the implementation method. In this variant, any method utilizing secret distribution and homomorphic encryption may be adopted.
[0438] (A) Using secret distribution method
[0439] Fig.36A An example of a scenario in which integration 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 installed in the network as reliable third-party organizations. The first server 61 and the second server 62 are computers with hardware processors and memories, similar to the model integration device 1, etc.
[0440] In this method, first, the control unit 21 of each learning device 2 generates a random number when sending its own completed learning model 4. The method of generating the random number can be appropriately selected according to the implementation method. Next, the control unit 21 performs a difference between the value of the operation parameter of the completed learning model 4 and the generated random number. In addition, 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.
[0441] Correspondingly, the first server 61 calculates the sum of the differences received from each learning device 2 as shown in the following equation 1. 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 2.
[0442] Mathematical formula 1
[0443] ∑ i (Y i -r i )···(Formula 1)
[0444] Mathematical formula 2
[0445] ∑ i r i ···(Formula 2)
[0446] In addition, Y j represents the value of the calculation parameter of the learning model 4 constructed by the i-th learning device 2 after learning. i represents a random number generated by the i-th learning device 2 .
[0447] The first server 61 and the second server 62 respectively send the calculation results of the sum to the model integration device 1. The control unit 11 of the model integration device 1 adds the sums received from the first server 61 and the second server 62. In this way, the values of the operation parameters of each completed learning model 4 held by each learning device 2 can be prevented from being specified, and the control unit 11 can obtain the sum of the values of the operation parameters of each completed learning model 4. The control unit 11 performs integration processing using the sum of the values of the operation parameters.
[0448] 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 / IEC 19592-2: 2017). In addition, if the model integration device 1 is a reliable server, the model integration device 1 can act as either the first server 61 or the second server 62.
[0449] (B) Using homomorphic encryption
[0450] Fig.36B An example of a scenario in which integration processing is performed using homomorphic encryption is schematically illustrated. For a method using homomorphic encryption, a server 65 is installed in the network as a reliable third party organization. The server 65 is a computer having a hardware processor and a memory, similar to the model integration device 1 and the like.
[0451] In this method, first, the server 65 issues a public key and a secret key. The public key is generated to have homomorphism. In other words, the public key is generated so that when two ciphertexts encrypted by the public key are given, the two ciphertexts can be added while maintaining the encrypted state. The server 65 distributes the public key and the public key of the secret key issued to each learning device 2.
[0452] The control unit 21 of each learning device 2 encrypts the value of the operation parameter of the learning model 4 that has been learned by itself using the received public key. Then, the control unit 21 sends the encrypted value of the operation parameter to the model integration device 1. The control unit 11 of the model integration device 1 calculates the sum while keeping the value of the operation parameter received from each learning device 2 encrypted as shown in the following formula 3.
[0453] Mathematical formula 3
[0454] P(E i Y i )···(Formula 3)
[0455] In addition, P indicates encryption using a public key.
[0456] The control unit 11 sends the encrypted sum to the server 65. The server 65 decrypts the encrypted sum received from the model integration device 1 using the key. Furthermore, the server 65 returns the sum of the decrypted operation parameter values to the model integration device 1. Thus, it is possible to prevent the values of the operation parameters of each completed learning model 4 held by each learning device 2 from being specified, and the control unit 11 can obtain the sum of the values of the operation parameters of each completed learning model 4. The control unit 11 performs integration processing using the sum of the values of the operation parameters.
[0457] 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 modified-E1Gamal encryption, Paillier encryption, etc. In addition, if the model integration device 1 is a reliable server, the model integration device 1 can act as a server 65.
[0458] As described above, according to this variation, by any of the above two methods, it is possible to perform integration processing of the results of machine learning reflected in the integration range 41 by secret computing. This prevents the confidentiality of each completed learning model 4 constructed by each learning device 2 from being compromised.
[0459] <4.4>
[0460] In the above-mentioned embodiment, each learning model 4 is composed of a neural network with a multi-layer structure. However, the structure and type of the neural network constituting each learning model 4 may not be limited to such an example, and may be appropriately selected according to the embodiment. For example, each learning model 4 may be composed of a convolutional neural network having a convolutional layer, a pooling layer, and a fully connected layer. In addition, when using time series data, each learning model 4 may be composed of a recursive neural network. In addition, the type of each learning model 4 may not be limited to a neural network, and may be appropriately selected according to the embodiment. Each learning model 4 that is the object of integration processing may also be a generative model configured to generate certain data.
[0461] <4.5>
[0462] In the above embodiment, the number of learning models 4 constructed by each learning device 2 is not limited to one, but may be multiple. In addition, each learning device 2 may determine the structure of the learning model 4 without using the template 126. In this case, the template 126 may be omitted.
[0463] In the above embodiment, if the model integration device 1 does not determine the integration range 41, such as the integration range 41 is fixed in advance, the processing of step S302 may be omitted. In this case, the range adjustment unit 112 may be omitted from the software configuration of the model integration device 1.
[0464] 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 integration device 1.
[0465] In the above embodiment, the method related to optimization may be omitted from the method of determining the integration range 41 and the method of grouping. The second method may be omitted from the method of determining the integration range 41. In this case, the evaluation sample 129 may be omitted.
[0466] In addition, in the above-mentioned embodiment, the process of setting weights for each completed learning model 4 can be omitted. Each weight can be set in advance. In this case, the weight setting unit 115 can be omitted from the software configuration of the model integration device 1. Moreover, the control unit 11 can set each weight randomly. In this case, it is also possible to optimize each weight in the same way as the above-mentioned optimization of the integration range 41 and the grouping, so that the specified capabilities of each completed learning model 4 after the integration processing are improved. For example, the control unit 11 can optimize each weight by randomly adjusting each weight while trying the integration processing, so that the specified capabilities of each completed learning model 4 after the integration processing are improved.
[0467] In addition, in the above-mentioned embodiment, the data can be replaced by various types of data such as image data, sound data, numerical data, text data, and measurement data obtained by other sensors. For example, the local learning data 3 includes image data, so that an image system can be formed by the model integration device 1 and multiple learning devices 2. In this case, each learning device 2 constructs a learning model 4 that has been learned and has acquired the ability to infer specified features based on image data through machine learning using the collected local learning data 3. In addition, for example, the local learning data 3 includes sensor detection data obtained by sensors, so that a sensor system can be formed by the model integration device 1 and multiple learning devices 2. In this case, each learning device 2 constructs a learning model 4 that has been learned and has acquired the ability to infer specified features based on sensor detection data through machine learning using the collected local learning data 3.
[0468] Description of Reference Numerals
[0469] 1…model integration device; 11…control unit; 12…storage unit; 13…communication interface; 14…input device; 15…output device; 16…driver; 111…model collection unit; 112…range adjustment unit; 113…integration processing unit; 114…model updating unit; 115…weight setting unit; 116…grouping unit; 121…integration result data; 123…group list; 124…assignment information; 126…template; 129…evaluation sample; 1291…input data; 1292…correct data; 81…model integration program; 91…storage medium; 2…learning device; 21…control unit; 22…storage unit; 23…communication interface; 24…input device 1… device; 25… output device; 26… driver; 27… external interface; 211… learning data collection unit; 212… structure determination unit; 213… learning processing unit; 214… storage processing unit; 216… object data acquisition unit; 217… estimation unit; 218… output unit; 221… learning result data; 225… object data; 82… learning program; 83… estimation program; 92… storage medium; S… sensor; 3… local learning data; 30… learning data set; 31… training data; 32… correct data; 4… learning model; 40… common part; 41… integration range; 51… input layer; 52~55… middle (hidden) layer; 56… output layer.
Claims
1. A model integration device, comprising: A model collection unit, which collects completed learning models from a plurality of learning devices, each of which collects local learning data, and constructs a completed learning model that has acquired a specified capability through machine learning using the collected local learning data, each of which includes a common part having a common structure, and a combination of any of the completed learning models has a different structure in a part other than the common part; an integration processing unit that performs integration processing on each of the learned learning models, wherein the integration processing integrates the results of the machine learning reflected in the integration range set in the common part; as well as The model updating unit distributes the result of the integration processing to each of the learning devices, and uses the result of the integration processing for the integration range within each of the completed learning models for each of the learning devices, thereby updating the completed learning models maintained by each of the learning devices. The model integration device further includes a range adjustment unit that determines the integration range within the common portion included in the collected learned models.
2. The model integration device according to claim 1, in, The structure of each of the learned models is given by a template. The range adjustment unit determines the integration range based on the template.
3. The model integration device according to claim 1, in, The common part of each of the learned models has a plurality of operation modules. Determining the scope of integration within the common part includes: Inputting evaluation samples to each of the learned models, and obtaining outputs from each of the operation modules included in the common part; Calculating at least one of the similarity and correlation of the outputs obtained between the computing modules corresponding to the completed learning models; and The operation module for which at least either the calculated similarity or the calculated correlation satisfies a predetermined condition is assigned to the integration range.
4. The model integration device according to claim 1, in, The range adjustment unit optimizes the integration range so that the predetermined capability of each of the learned learning models after the integration process is executed is improved compared to before the integration process is executed.
5. The model integration device according to claim 4, in, The range adjustment unit specifies a tentative integration range within the common portion, The integration processing unit performs integration processing on each of the learned learning models, wherein the integration processing integrates the results of the machine learning reflected in the designated provisional integration range. Optimizing the integration scope includes: acquiring a first result indicating that each of the learned models before the integration process is performed has exerted the predetermined capability with respect to the evaluation sample; acquiring a second result indicating that each of the learned models after the integration process has been executed has exerted the predetermined capability with respect to the evaluation sample; By comparing the first result and the second result, it is determined whether the prescribed capability of each of the learned models after the integration process is performed is improved compared to before the integration process is performed; and When it is determined that the predetermined capability of each of the learned models has improved after the integration process is executed, the provisional integration range is determined as the integration range.
6. The model integration device according to claim 4, in, The range adjustment unit specifies a plurality of tentative integration ranges within the common portion, The integration processing unit performs integration processing on each of the learned learning models according to each of the tentative integration ranges, and the integration processing integrates the results of the machine learning reflected in each of the designated tentative integration ranges. Optimizing the integration scope includes: acquiring, for each of the tentative integration ranges, a result showing that each of the learned learning models after the integration process has been executed has exerted the prescribed capability with respect to the evaluation sample; Based on the obtained results, determining a provisional integration range in which the prescribed capability of each of the learning models that have completed the integration process is the highest; and The determined tentative integration range is determined as the integration range.
7. The model integration device according to any one of claims 1 to 6, in, further comprising a grouping unit that assigns the plurality of learning devices to at least one of a plurality of groups, The model collecting unit collects the learned models from a plurality of learning devices belonging to the same group. The range adjustment unit determines the integration range within the common portion included in the collected learned models within the same group. The integration processing unit performs integration processing on each of the learned learning models in the same group, wherein the integration processing integrates the results of the machine learning reflected in the determined integration range. The model updating unit distributes the result of the integration processing to each of the learning devices within the same group, and uses the result of the integration processing for the integration range within each of the completed learning models for each of the learning devices, thereby updating the completed learning models maintained by each of the learning devices.
8. The model integration device according to claim 7, in, The grouping unit distributes a list indicating the plurality of groups to each of the learning devices, selects one or more groups from the plurality of groups indicated in the list for each of the learning devices, and assigns each of the learning devices to the one or more selected groups.
9. The model integration device according to claim 7, in, The grouping unit acquires attribute data related to the specified capability from each of the learning devices, clusters the attribute data acquired from each of the learning devices, and assigns the plurality of learning devices to at least one of the plurality of groups based on a result of the clustering.
10. The model integration device according to claim 7, in, The grouping unit optimizes the allocation of each of the learning devices to the plurality of groups so that the predetermined capability of each of the learned learning models after the integration process is performed is improved compared to before the integration process is performed.
11. The model integration device according to claim 10, in, The grouping unit performs a plurality of tentative groupings in which each of the learning devices allocates different amounts to the plurality of groups. The range adjustment unit determines the integration range within the common parts included in the collected learned models within the same group for each of the tentative groups. The integration processing unit performs integration processing on each of the learned learning models in the same group according to each of the tentative groups, and the integration processing integrates the results of the machine learning reflected in the determined integration range. Optimizing the allocation of each of the learning devices comprises: For each of the tentative groups, within the same group, obtaining a result showing that each of the learned models after the integration process has been executed has exerted the prescribed capability with respect to the evaluation sample; Based on the obtained results, determining, within the same group, a provisional grouping in which the prescribed capabilities of the learning models that have completed the learning after the integration process are the highest; and The plurality of learning devices are respectively assigned to at least any one of a plurality of groups based on the determined tentative grouping.
12. The model integration device according to any one of claims 1 to 6, in, Integrating the results of the machine learning reflected in the integration range includes averaging or summing the values of the operation parameters contained in the integration range.
13. The model integration device according to any one of claims 1 to 6, in, The method further comprises a weight setting unit for setting weights for each of the learned models, wherein each of the weights specifies a priority of each of the learned models in the ensemble processing. Integrating the results of the machine learning reflected in the integration range includes using the set weights to weight the values of the operation parameters contained in the integration range of each of the completed learning models and then averaging or summing them.
14. The model integration device according to claim 13, in, The weight setting unit sets each of the weights so that the weight becomes larger as the amount of the local learning data used for the machine learning increases.
15. The model integration device according to claim 13, in, The local learning data includes specific learning data related to specific elements of the prescribed capability, The weight setting unit sets each of the weights so that the higher the ratio of the specific learning data included in the local learning data used for the machine learning, the larger the weight.
16. The model integration device according to any one of claims 1 to 6, in, The integration of the results of the machine learning reflected in the integration scope is performed through secret computing.
17. A presumption system comprising: Multiple learning devices and model integration devices, Each of the learning devices performs: Steps to collect local learning data; and A step of constructing a learning model that has been learned to obtain a predetermined estimated ability through machine learning using the collected local learning data, Each of the learned models includes a common part having a common structure. A combination of any of the learned models has a different structure in parts other than the common part. The model integration device performs: A step of collecting the learned learning models from the plurality of learning devices respectively; A step of determining an integration range within the common parts included in the collected learning models that have been learned; A step of performing an integration process on each of the learned learning models, wherein the integration process integrates the results of the machine learning reflected in the integration range set in the common part; and The step of distributing the result of the integration processing to each of the learning devices, and for each of the learning devices, using the result of the integration processing in the integration range within each of the completed learning models, thereby updating the completed learning models maintained by each of the learning devices.
18. A model integration method, causing a computer to execute the following steps: A step of collecting completed learning models from a plurality of learning devices, respectively, in which each of the learning devices collects local learning data, and constructs a completed learning model that has acquired a specified capability through machine learning using the collected local learning data, each of the completed learning models includes a common part having a common structure, and a combination of any of the completed learning models has a different structure in a part other than the common part; A step of determining an integration range within the common parts included in the collected learning models that have been learned; A step of performing an integration process on each of the learned learning models, wherein the integration process integrates the results of the machine learning reflected in the integration range set in the common part; and The step of updating the completed learning model maintained by each learning device by distributing the result of the integration processing to each learning device and using the result of the integration processing for the integration range within each completed learning model for each learning device.
19. A computer program product, comprising a computer program, which, when executed by a computer, implements the following steps: A step of collecting completed learning models from a plurality of learning devices, respectively, in which each of the learning devices collects local learning data, and constructs a completed learning model that has acquired a specified capability through machine learning using the collected local learning data, each of the completed learning models includes a common part having a common structure, and a combination of any of the completed learning models has a different structure in a part other than the common part; A step of determining an integration range within the common parts included in the collected learning models that have been learned; A step of performing an integration process on each of the learned learning models, wherein the integration process integrates the results of the machine learning reflected in the integration range set in the common part; and The step of distributing the result of the integration processing to each of the learning devices, and for each of the learning devices, using the result of the integration processing in the integration range within each of the completed learning models, thereby updating the completed learning models maintained by each of the learning devices.
20. An inspection system comprising: Multiple inspection devices and model integration devices, Each of the inspection devices performs: a step of collecting local learning data including image data reflecting existing products; and A step of constructing a learned learning model by machine learning using the collected local learning data, wherein the learned learning model has acquired the ability to determine the state of the product represented by the image data, Each of the learned models includes a common part having a common structure. A combination of any of the learned models has a different structure in parts other than the common part. The model integration device performs: A step of collecting the learned learning models from the plurality of inspection devices respectively; A step of determining an integration range within the common parts included in the collected learning models that have been learned; A step of performing integration processing on each of the learned learning models, wherein the integration processing integrates the results of the machine learning reflected in the integration range set in the common part; The step of distributing the result of the integration processing to each of the inspection devices, and for each of the inspection devices, using the result of the integration processing in the integration range within each of the learned learning models, thereby updating the learned learning models maintained by each of the inspection devices.
21. A control system comprising: A plurality of control devices for controlling the cultivation environment of the plants and respectively connected to the cultivation devices for cultivating the plants; and Model integration device, Each of the control devices performs the following steps: a step of collecting local learning data, the local learning data including status data related to the cultivation status of the plant and a control instruction for instructing the cultivation device to control a cultivation environment corresponding to the cultivation status; and A step of constructing a learning model by machine learning using the collected local learning data, wherein the learning model has acquired the ability to determine control instructions to be given to the cultivation device according to the cultivation status of the plant, Each of the learned models includes a common part having a common structure. A combination of any of the learned models has a different structure in parts other than the common part. The model integration device performs the following steps: A step of collecting the learned learning models from the plurality of control devices respectively; A step of determining an integration range within the common parts included in the collected learning models that have been learned; A step of performing integration processing on each of the learned learning models, wherein the integration processing integrates the results of the machine learning reflected in the integration range set in the common part; as well as The step of distributing the result of the integration processing to each of the control devices, and for each of the control devices, using the result of the integration processing in the integration range within each of the learned learning models, thereby updating the learned learning models maintained by each of the control devices.
