MODEL GENERATION DEVICE, ESTIMATION DEVICE, MODEL GENERATION METHOD, AND MODEL GENERATION PROGRAM

The model generation device uses adversarial learning to separate target features from background features, enhancing defect detection accuracy by reducing the impact of background variations in training data, thus improving the robustness and reliability of defect detection.

JP7564616B2Active Publication Date: 2024-10-09OMRON CORP
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
JP2019210873
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2019-11-21
Publication Date
2024-10-09
Estimated Expiration
2039-11-21

AI Technical Summary

Technical Problem

Conventional machine learning models for defect detection in products are prone to reduced accuracy due to biased training data, which leads to the model focusing on background information rather than defect detection, especially when background types and defect types increase, leading to poor robustness against background variations.

Method used

A model generation device that employs adversarial learning through an encoder and two estimators to separate target features from irrelevant background features, using three training steps to enhance the model's ability to accurately detect defects while ignoring background variations.

Benefits of technology

The proposed method generates a trained estimator that can robustly perform defect detection tasks by minimizing the influence of background features, thereby improving accuracy and reliability in defect identification.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007564616000001
    Figure 0007564616000001
  • Figure 0007564616000002
    Figure 0007564616000002
  • Figure 0007564616000003
    Figure 0007564616000003
Patent Text Reader

Abstract

To generate a trained estimator that is robust against the difference in a feature other than a feature of a target of an estimation task.SOLUTION: A model generating device according to one side of the present invention executes, for every learning data set, a first training step of training a second estimator such that an estimation result obtained from the second estimator applies to second correct answer data, a second training step of training an encoder such that the estimation result obtained from the second estimator does not apply to the second correct answer data, and a third training step of training the encoder and a first estimator such that an estimation result obtained from the first estimator applies to first correct answer data. The model generating device executes the first training step and the second training step alternately in a repeated manner.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a model generation device, an estimation device, a model generation method, and a model generation program. [Background technology]

[0002] Conventionally, in the field of product manufacturing such as a production line, a technology is used in which the product being manufactured is photographed by an imaging device and the quality of the product is inspected based on the obtained image data. For example, Patent Document 1 proposes an inspection device that judges whether an object to be inspected shown in an image is normal or abnormal based on a trained first neural network, and if the object to be inspected is judged to be abnormal, classifies the type of the abnormality based on a trained second neural network. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2012-026982 A [Patent Document 2] JP 2017-111806 A [Patent Document 3] JP 2014-049118 A [Patent Document 4] JP 2019-071050 A [Patent Document 5] Patent No. 6264492 [Patent Document 6] JP 2017-194948 A [Patent Document 7] JP 2018-175343 A [Patent Document 8] JP 2019-083746 A [Patent Document 9] JP 2018-189522 A Summary of the Invention [Problem to be solved by the invention]

[0004] An estimator configured with a trained machine learning model constructed by machine learning can execute estimation (including prediction) tasks such as regression and classification for unknown data of the same type as given training data. Therefore, according to a method using a machine learning model such as a neural network as in Patent Document 1, it is possible to perform visual inspection of a product based on the output of a trained estimator. However, the inventors of the present invention have found that the above-mentioned conventional methods have the following problems.

[0005] That is, in the conventional method, images of products including defects are collected in advance as learning data in order to perform machine learning to train a machine learning model to detect defects in given images. The detection of defects may be identification of the type of defect. Basically, the more diverse the collected learning data is, in other words, the more diverse the situations of defects appearing in the learning data are, the more the accuracy of the appearance inspection can be improved.

[0006] However, the more defect types and background types including the appearance of the product, the more combinations of defect types and background types there are, and the more samples (and types) are desired to be collected as learning data. In addition, the background may be changed when the trained estimator is operated. In order to generate a trained estimator capable of performing appearance inspection with high accuracy, it is desirable to collect samples for all combinations of defect types and background types, but collecting samples for all combinations is costly. Therefore, it is possible to perform machine learning of the machine learning model at a stage where a certain amount of learning data has been collected, such as when samples for all combinations have not been obtained but samples have been obtained for all types of defects to be detected.

[0007] However, when there is a combination for which no sample is available in the learning data, the following problem may occur. That is, through machine learning, a machine learning model is trained to perform a desired estimation task using any information contained in the training data (samples). Therefore, when machine learning of an estimator is performed using training data including defects and background, the generated trained estimator may have acquired the ability to perform an estimation task related to defect detection using not only information about defects contained in the data but also information about the background. In such a case, since a combination of defect types and background types for which no sample is available cannot be reflected in the machine learning, the accuracy of estimation related to defect detection by the trained estimator for that combination may decrease.

[0008] In addition, when the combination of defect types and background types appearing in the samples is biased, especially when the defect types and background types appear in the samples with the same distribution, this sample bias can adversely affect the ability of the machine learning model to learn through machine learning. Specifically, machine learning using biased samples can cause the estimator to learn to distinguish background types instead of to detect defects according to their types.

[0009] As an example, assume that two types of defects, a first defect and a second defect, occur in two types of products, a first product and a second product. In addition, in this example, assume that the first defect is likely to occur in the first product, and the second defect is likely to occur in the second product. Furthermore, assume that the obtained samples are biased toward images of the first product including the first defect and images of the second product including the second defect. In other words, assume that images of the first product including the second defect and images of the second product including the first defect are not obtained as machine learning samples. Assume that machine learning of a machine learning model is performed using samples obtained under this assumption with the intention of acquiring the ability to detect defects according to type. In this case, due to the above-mentioned bias occurring in the obtained samples, the machine learning model may acquire the ability to identify background types, rather than the ability to detect and identify defects according to type, through the machine learning. In other words, due to the bias in the samples, there is a possibility that the machine learning model may acquire a different ability from the intended ability. If the trained estimator acquires the ability to distinguish between different background types, when presented with an image of a first product containing a second defect, the trained estimator will erroneously detect that the first product has the first defect.

[0010] Therefore, in the conventional method, a trained estimator may be constructed by machine learning to perform an estimation task related to defect detection by taking into account background information contained in image data. This causes a problem that the accuracy of estimation related to defect detection by the trained estimator deteriorates when the background during operation is different from the background during learning. In other words, it is difficult to generate a trained estimator that is robust to differences in background.

[0011] It should be noted that such a problem is not specific to a situation where a trained estimator that can be used for visual inspection of a product is generated. This problem may occur in any situation where a trained estimator that can be used to perform an estimation task regarding the characteristics of an object is constructed for a predetermined type of data. The predetermined type of data is, for example, image data, sound data, numerical data, text data, and other measurement data obtained by a sensor. A situation where an estimation task regarding the characteristics of an object is performed for a predetermined type of data is, for example, a situation where an estimation is performed regarding the foreground of the image data. The estimation regarding the foreground may be, for example, estimating the attributes of an object depicted in the image data. In this case, the features regarding the background may be features other than the attributes of the object. The object may be, in addition to the above-mentioned product, for example, a product packaging, a license plate, a moving body that can move within the shooting range (for example, a vehicle, a person, etc.), a driver driving a vehicle, etc. Another situation where an estimation task regarding the characteristics of an object is performed for a predetermined type of data is, for example, a situation where an attribute of an object is estimated from sensing data obtained by a sensor, etc. Examples of situations in which attributes of a subject are estimated from sensing data obtained by a sensor include, for example, estimating the condition of a vehicle from sensing data obtained by an on-board sensor, estimating the health condition of a subject from sensing data obtained by a vital sign sensor or medical testing equipment, estimating the cultivation condition of a plant from sensing data obtained by an environmental sensor, and estimating the condition of a machine from sensing data obtained by a sensor that observes the condition of the machine.

[0012] As a specific example, Patent Document 2 proposes using a trained neural network to recognize license plates. Patent Document 3 proposes using a trained convolutional neural network to identify characters. Patent Document 4 proposes using a trained neural network to estimate the density distribution and the distribution of movement vectors of people in a captured image. Patent Document 5 proposes using a learned model to estimate the degree of concentration of a driver on driving from a captured image and observation information. Patent Document 6 proposes using a trained neural network to recognize the situation around a vehicle from data obtained by an on-board sensor. Patent Document 7 proposes using a trained neural network to detect diseased areas from medical images. Patent Document 8 proposes using a trained neural network to identify the growth stage of a plant. Patent Document 9 proposes a method of diagnosing a sign of equipment failure from measurement data of at least one of voice and vibration using a trained neural network.

[0013] Even in these cases, in the conventional method, when a trained estimator for performing an estimation task regarding the feature of the target is constructed by machine learning, the trained estimator may be constructed to perform the estimation task by taking into account information on features other than the feature of the target contained in the data, which poses a problem that it is difficult to generate a trained estimator that is robust to differences in other features.

[0014] In one aspect, the present invention has been made in consideration of the above-mentioned situation, and an object of the present invention is to provide a technique for generating a trained estimator capable of performing an estimation task regarding a feature of a target contained in data, and which is robust to differences in features other than the feature of the target. [Means for solving the problem]

[0015] In order to solve the above-mentioned problems, the present invention employs the following configuration.

[0016] That is, a model generation device according to one aspect of the present invention includes a data acquisition unit that acquires a plurality of learning data sets each configured by a combination of training data, first supervised answer data indicating a first feature included in the training data, and second supervised answer data indicating a second feature included in the training data, the second feature being different from the first feature, and a learning processing unit that performs machine learning of a learning model including an encoder, a first estimator, and a second estimator, wherein the encoder is configured to convert given input data into a feature amount, the first estimator is configured to receive an output value of the encoder and to estimate the first feature included in the input data from the feature amount, and the second estimator is configured to receive an output value of the encoder and to estimate the second feature included in the input data from the feature amount, and the machine learning is The implementation includes a first training step of training the second estimator for each of the learning data sets so that an estimation result obtained from the second estimator by providing the training data to the encoder matches the second super-answer data, a second training step of training the encoder for each of the learning data sets so that an estimation result obtained from the second estimator by providing the training data to the encoder does not match the second super-answer data, and a third training step of training the encoder and the first estimator so that an estimation result obtained from the first estimator by providing the training data to the encoder matches the first super-answer data, and the first training step and the second training step are alternately and repeatedly performed.

[0017] In the model generating device according to this configuration, machine learning of a learning model including an encoder, a first estimator, and a second estimator is performed through three training steps. According to the first training step, the second estimator acquires the ability to perform an estimation task related to the second feature from information included in the feature obtained by the encoder, i.e., a component corresponding to the second feature. On the other hand, according to the second training step, the encoder acquires the ability to convert input data into a feature that causes the second estimator to fail the estimation task related to the second feature, depending on the performance of the second estimator.

[0018] In the model generating device according to the configuration, the first training step and the second training step are alternately and repeatedly executed. This allows adversarial learning of the encoder and the second estimator. As a result, in response to improvement in the estimation performance of the second estimator, it is possible to make it difficult for a component corresponding to the second feature to be included in the feature obtained by the encoder so that the estimation task by the second estimator fails. That is, it is possible to make the encoder acquire the ability to project input data into a feature space that is less related (or unrelated) to the second feature. In addition, according to the third training step, it is possible to make the first estimator acquire the ability to perform an estimation task related to the first feature from the feature obtained by the encoder, and to make the encoder acquire the ability to convert input data into a feature including a component corresponding to the first feature so that the first estimator can appropriately perform the estimation task.

[0019] Therefore, according to the machine learning of the configuration, the feature obtained by the trained encoder can include a component corresponding to the first feature and can be made to be unlikely to include a component corresponding to the second feature. This can make it difficult for information on the second feature to be taken into consideration when the first estimator performs an estimation task related to the first feature. Therefore, according to the model generation device of the configuration, it is possible to generate a trained estimator capable of performing an estimation task related to a target feature, which is robust to differences in features other than the target feature. In other words, it is possible to generate a trained encoder and a first estimator capable of performing an estimation task related to the first feature robust to differences in the second feature.

[0020] The encoder, the first estimator, and the second estimator each have a computation parameter used in the computation, which is adjusted by machine learning. The types of the encoder, the first estimator, and the second estimator may not be particularly limited as long as they are models capable of machine learning (machine learning models, learners), and may be appropriately selected according to the embodiment. For example, a neural network, a support vector machine, a regression model, or the like may be used for each of the encoder, the first estimator, and the second estimator. When a neural network is used for each of the encoder, the first estimator, and the second estimator, the weight of the connection between each neuron, the threshold value of each neuron, and the like are examples of the computation parameters. The machine learning method may be appropriately selected according to the type of the model of each of the encoder, the first estimator, and the second estimator. The processing order of each training step may be arbitrary.

[0021] In the model generating device according to the above aspect, the third training step may be repeatedly executed together with the first training step and the second training step. According to this configuration, in response to the adjustment of the values ​​of the computation parameters of the encoder by the second training step in the process of adversarial learning, the values ​​of the computation parameters of the encoder and the first estimator can be adjusted by the first training step so as to acquire the ability to estimate the first feature from the feature quantity obtained by the encoder. This makes it possible to obtain a trained encoder and a first estimator capable of performing an estimation task related to the first feature with high accuracy.

[0022] In the model generating device according to the above aspect, in the second training step, dummy data corresponding to the second super-correct data and configured with values ​​different from the corresponding second super-correct data may be acquired for each of the learning data sets. Training the encoder so that the estimation result does not match the second super-correct data may be configured by training the encoder so that the estimation result obtained from the second estimator matches the dummy data by providing the training data to the encoder. With this configuration, it is possible to simplify the training process of the encoder in the second training step, thereby enabling cost reduction.

[0023] In the model generating device according to the above aspect, the dummy data may be composed of second corrective data of a training data set different from the corresponding training data set. With this configuration, the amount of calculation required to generate the dummy data can be reduced, thereby reducing the processing cost of the second training step.

[0024] In the model generating device according to the above aspect, the first feature may be related to a first component that is a target of a predetermined estimation. The second feature may be related to a second component that is different from the first component and that affects the predetermined estimation of the first component. This configuration makes it difficult for information corresponding to the second component that affects the predetermined estimation of the first component to be included in the feature amount obtained by the encoder. This makes it possible to expect the generation of a trained encoder and a first estimator that are robust to differences in the second feature and capable of performing an estimation task related to the first feature with relatively high accuracy.

[0025] The model generating device according to each of the above aspects may be applied to any scene in which a trained model that can be used to perform an estimation task regarding the characteristics of an object for a predetermined type of data is generated. The model generating device according to each of the above aspects may be applied to, for example, a scene in which a trained model for estimating a feature included in the foreground of image data is generated. Estimating the feature included in the foreground may be, for example, estimating the attribute of an object depicted in the image data. In this case, the feature related to the background may be a feature other than the attribute of the object. In addition, the model generating device according to each of the above aspects may be applied to, for example, a scene in which a trained model for estimating the attribute of an object is generated from sensing data obtained by a sensor. Estimating the attribute of an object is, for example, a scene in which a vehicle status is estimated, a subject's health status is estimated, a plant's cultivation status is estimated, a machine status is estimated, and the like. The sensor may be appropriately selected according to each scene.

[0026] In the model generating device according to the above aspect, the training data may be image data including a foreground and a background. The first feature may be related to the foreground, and the second feature may be related to the background. With this configuration, it is possible to generate a trained encoder and a first estimator capable of performing an estimation task related to the foreground robustly against differences in background. Note that the foreground and the background may be appropriately determined depending on the embodiment.

[0027] In the model generating device according to the above aspect, the training data may be image data showing an object. The first feature may be an attribute of the object, and the second feature may be a feature other than the attribute of the object. With this configuration, a trained encoder and a first estimator can be generated that can perform an estimation task related to the attribute of the object robustly against differences in features other than the attribute of the object. Note that the object may be selected arbitrarily. The object may be, for example, a product, a product packaging, a license plate, a moving body (e.g., a vehicle, a person, etc.) that can move within a shooting range, a driver driving a vehicle, etc.

[0028] In the model generating device according to the above aspect, the object may be a product. The attribute of the object may relate to a defect of the product. According to this configuration, in a scene where a visual inspection is performed, a trained encoder and a first estimator can be generated that can perform an estimation task related to defect detection robustly against differences in features other than the defect (e.g., the exterior of the product, the background including a conveyor sheet, etc.).

[0029] Furthermore, the present invention may not be limited to the model generating device. One aspect of the present invention may be a device that uses a trained model generated by the model generating device. For example, one aspect of the present invention may be an estimation device configured to execute an estimation task related to a target feature for a predetermined type of data by using a trained encoder and a first estimator generated by the model generating device. This estimation device may be read as an inspection device, a discrimination device, a monitoring device, a diagnosis device, a prediction device, or the like depending on the type of estimation task in an application scene.

[0030] For example, an estimation device according to one aspect of the present invention includes a data acquisition unit that acquires target data, an estimation unit that estimates a first feature included in the acquired target data using the trained encoder and the first estimator generated by the model generation device according to any of the above aspects, and an output unit that outputs information regarding a result of estimating the first feature. With this configuration, an estimation task regarding the first feature can be performed robustly against differences in the second feature. The target data may be referred to as a "target sample" or simply a "sample", etc.

[0031] As another aspect of each of the model generating device and the estimation device according to the above-mentioned embodiments, one aspect of the present invention may be an information processing method or a program that realizes all or part of each of the above-mentioned configurations, or may be a storage medium that stores such a program and is readable by a computer or other device, machine, etc. Here, a storage medium that is readable by a computer, etc. is a medium that accumulates information such as a program by electrical, magnetic, optical, mechanical, or chemical action. Another aspect of the present invention may be an estimation system constituted by the model generating device and the estimation device according to any of the above-mentioned embodiments.

[0032] For example, a model generation method according to one aspect of the present invention includes a step of acquiring a plurality of learning data sets each configured by a combination of training data, first supervised answer data indicating a first feature included in the training data, and second supervised answer data indicating a second feature included in the training data, the second feature being different from the first feature, by a computer; and a step of performing machine learning of a learning model including an encoder, a first estimator, and a second estimator, wherein the encoder is configured to convert given input data into features, the first estimator is configured to receive an output value of the encoder and to estimate a first feature included in the input data from the features, and the second estimator is configured to receive an output value of the encoder and to estimate a second feature included in the input data from the features, and performing the machine learning. the first training step and the second training step include a first training step of training the second estimator for each of the learning data sets such that an estimation result obtained from the second estimator by providing the training data to the encoder matches the second super-answer data, a second training step of training the encoder for each of the learning data sets such that an estimation result obtained from the second estimator by providing the training data to the encoder does not match the second super-answer data, and a third training step of training the encoder and the first estimator such that an estimation result obtained from the first estimator by providing the training data to the encoder matches the first super-answer data, and a step of alternately repeating the first training step and the second training step.

[0033] Also, for example, a model generation program according to one aspect of the present invention includes a step of causing a computer to acquire a plurality of learning data sets each configured by a combination of training data, first supervised answer data indicating a first feature included in the training data, and second supervised answer data indicating a second feature included in the training data, the second feature being different from the first feature; and a step of performing machine learning of a learning model including an encoder, a first estimator, and a second estimator, wherein the encoder is configured to convert given input data into a feature amount, the first estimator is configured to receive an output value of the encoder and estimate a first feature included in the input data from the feature amount, and the second estimator is configured to receive an output value of the encoder and estimate a second feature included in the input data from the feature amount, the step of training the second estimator includes a first training step for training the second estimator for each of the learning data sets so that an estimation result obtained from the second estimator by providing the training data to the encoder matches the second super-answer data, a second training step for training the encoder for each of the learning data sets so that an estimation result obtained from the second estimator by providing the training data to the encoder does not match the second super-answer data, and a third training step for training the encoder and the first estimator for each of the learning data sets so that an estimation result obtained from the first estimator by providing the training data to the encoder matches the first super-answer data, and a step of repeatedly executing the first training step and the second training step alternately. Effect of the Invention

[0034] According to the present invention, it is possible to generate a trained estimator capable of performing an estimation task regarding a feature of interest contained in data, and which is robust to differences in features other than the feature of interest. [Brief description of the drawings]

[0035] [Figure 1]FIG. 1 illustrates a schematic example of a situation in which the present invention is applied. [Diagram 2] FIG. 2 illustrates an example of a hardware configuration of the model generating device according to the embodiment. [Diagram 3] FIG. 3 illustrates an example of a hardware configuration of the estimation device according to the embodiment. [Figure 4] FIG. 4 illustrates an example of a software configuration of the model generating device according to the embodiment. [Diagram 5] FIG. 5 illustrates an example of a machine learning process performed by the model generating device according to the embodiment. [Figure 6] FIG. 6 illustrates an example of a software configuration of the estimation device according to the embodiment. [Figure 7] FIG. 7 illustrates an example of a processing procedure of the model generating device according to the embodiment. [Figure 8] FIG. 8 illustrates an example of a machine learning processing procedure of the model generating device according to the embodiment. [Figure 9] FIG. 9 illustrates an example of a processing procedure of the estimation device according to the embodiment. [Figure 10] FIG. 10 illustrates a schematic example of another scene to which the present invention is applied. [Figure 11A] FIG. 11A illustrates an example of a hardware configuration of an inspection device according to another embodiment. [Figure 11B] FIG. 11B illustrates an example of a software configuration of an inspection device according to another embodiment. [Figure 12] FIG. 12 illustrates a schematic example of another scene to which the present invention is applied. [Figure 13] FIG. 13 illustrates a schematic example of another scene to which the present invention is applied. [Figure 14] FIG. 14 illustrates a schematic example of another scene to which the present invention is applied. [Figure 15] FIG. 15 illustrates a schematic example of another scene to which the present invention is applied. [Figure 16]FIG. 16 illustrates a schematic example of another scene to which the present invention is applied. [Figure 17A] FIG. 17A illustrates an example of a hardware configuration of a monitoring device according to another embodiment. [Figure 17B] FIG. 17B illustrates an example of a software configuration of a monitoring device according to another embodiment. [Figure 18] FIG. 18 illustrates a schematic example of another scene to which the present invention is applied. [Figure 19A] FIG. 19A illustrates an example of a hardware configuration of a diagnostic device according to another embodiment. [Figure 19B] FIG. 19B illustrates an example of a software configuration of a diagnostic device according to another embodiment. [Figure 20] FIG. 20 illustrates a schematic example of another scene to which the present invention is applied. [Figure 21A] FIG. 21A illustrates an example of a hardware configuration of a monitoring device according to another embodiment. [Figure 21B] FIG. 21B illustrates an example of a software configuration of a monitoring device according to another embodiment. [Figure 22] FIG. 22 illustrates a schematic example of another scene to which the present invention is applied. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0036] An embodiment according to one aspect of the present invention (hereinafter, also referred to as "the present embodiment") will be described below with reference to the drawings. However, the present embodiment described below is merely an example of the present invention in every respect. It goes without saying that various improvements and modifications can be made without departing from the scope of the present invention. In other words, in implementing the present invention, a specific configuration according to the embodiment may be appropriately adopted. Note that while the data appearing in this embodiment is described in natural language, more specifically, it is specified in pseudo-language, commands, parameters, machine language, etc. that can be recognized by a computer.

[0037] §1 Examples of application First, an example of a situation to which the present invention is applied will be described with reference to Fig. 1. Fig. 1 illustrates a schematic example of a situation to which the present invention is applied. As shown in Fig. 1, an estimation system 100 according to this embodiment includes a model generating device 1 and an estimation device 2.

[0038] The model generation device 1 according to this embodiment is a computer configured to perform machine learning of a learning model 5. Specifically, the model generation device 1 according to this embodiment acquires a plurality of learning data sets 120. Each learning data set 120 is composed of a combination of training data 121, first superset data 122 indicating a first feature included in the training data 121, and second superset data 123 indicating a second feature included in the training data 121 and different from the first feature.

[0039] The training data 121 is a sample of a predetermined type of data. The type of the predetermined type of data may not be particularly limited as long as it is data that can show some characteristics, and may be appropriately selected according to the embodiment. The predetermined type of data may be, for example, image data, sound data, numerical data, text data, measurement data obtained by various sensors, etc. The predetermined type of data may be, for example, sensing data obtained by observing some object by a sensor. The sensor may be, for example, an image sensor (camera), an infrared sensor, a sound sensor (microphone), an ultrasonic sensor, a light sensor, a pressure sensor, an air pressure sensor, a temperature sensor, etc. The sensor may be, for example, an environmental sensor, a vital sensor, a medical testing device, an in-vehicle sensor, a home security sensor, etc. The environmental sensor may be, for example, a barometer, a thermometer, a hygrometer, a sound pressure meter, a sound sensor, an ultraviolet sensor, a light meter, a rain gauge, a gas sensor, etc. The vital sensor may be, for example, a blood pressure monitor, a pulse rate monitor, a heart rate monitor, an electrocardiograph, an electromyograph, a thermometer, a skin electrodermal response monitor, a microwave sensor, an electroencephalograph, a magnetoencephalograph, an activity monitor, a blood glucose level meter, an electrooculography sensor, an eye movement measuring instrument, or the like. The medical examination device may be, for example, a computed tomography (CT) device, a magnetic resonance imaging (MRI) device, or the like. The in-vehicle sensor may be, for example, an image sensor, a light detection and ranging (Lidar) sensor, a millimeter wave radar, an ultrasonic sensor, an acceleration sensor, or the like. The home security sensor may be, for example, an image sensor, an infrared sensor, an activity (sound) sensor, a gas (CO 2 The sensor may be a current sensor, a smart meter (a sensor that measures the amount of power used by home appliances, lighting, etc.), etc.

[0040] The first feature and the second feature may be appropriately selected according to the embodiment. For example, the first feature and the second feature may each relate to a component (element) that can appear directly or indirectly in the data. "Appearing directly" refers to appearing in the data itself, such as appearing in the image data. "Appearing indirectly" refers to being derived from the data, such as being estimated from the image data. The first feature may be selected according to an estimation task to be mastered by the machine learning model. On the other hand, the second feature may be selected from features that can appear directly or indirectly in the data and that were not selected as targets for the estimation task. The first feature may relate to a first component that is a target of a predetermined estimation in a predetermined type of data, such as a foreground (e.g., a defective part) in the image data. In contrast, the second feature may relate to a second component that is different from the first component and that can affect a predetermined estimation of the first component, such as a background in the image data.

[0041] In addition, affecting a predetermined estimation means that when a trained model generated by the above-mentioned conventional method is given, the accuracy of a predetermined estimation of the first component by the trained model may be deteriorated for target data including an unknown combination of the first component and the second component, compared to target data including a known combination of the first component and the second component that appears in the training data used for machine learning. As a specific example, assume a situation in which image data is selected as target data, a component related to a product defect is selected as the first component, and a component related to the background is selected as the second component, thereby detecting a product defect that appears in the image data. In this situation, a trained model is generated by machine learning using training data that shows the product defect and the background. It is assumed that the combination of the first defect and the first background, and the combination of the second defect and the second background appear in the training data used for machine learning, while the combination of the first defect and the second background, and the combination of the second defect and the first background do not appear. In this case, an example of an effect on the above-mentioned specified estimation is that the accuracy of defect detection by the trained model may be deteriorated for image data including a combination of a defect and a background (first defect, second background) or (second defect, first background) that does not appear in the training data even though the defect and background each appear individually in the training data, compared to image data including a combination of a defect and a background (first defect, first background) or (second defect, second background) that appears in the training data used for machine learning.

[0042] The first correct answer data 122 indicates a correct answer to an estimation task regarding the first feature. The second correct answer data 123 indicates a correct answer to an estimation task regarding the second feature. Each correct answer data (122, 123) may be read as a "teacher signal", a "label", or the like. "Estimation" may be read as "inference". Estimating each feature may be, for example, either deriving a discrete value (e.g., a class corresponding to a specific feature) by grouping (classification, identification), or deriving a continuous value (e.g., the probability that a specific feature appears) by regression. Estimating each feature may include performing some kind of determination, such as detection or judgment, based on the result of the grouping or regression. In addition, estimating each feature may include prediction.

[0043] The model generating device 1 according to this embodiment uses the acquired multiple learning data sets 120 to perform machine learning of the learning model 5. The learning model 5 according to this embodiment includes an encoder 51, a first estimator 52, and a second estimator 53. The encoder 51 is configured to convert given input data into features, in other words, to accept input of input data and output an output value corresponding to the result of converting the input data into features. The first estimator 52 is configured to receive an output value (i.e., feature) of the encoder 51 and estimate a first feature included in the input data from the feature. The second estimator 53 is configured to receive an output value of the encoder 51 and estimate a second feature included in the input data from the feature.

[0044] The data format of the feature amount may not be particularly limited and may be appropriately selected depending on the embodiment. The format of the output value of each estimator (52, 53) may also not be particularly limited and may be appropriately selected depending on the format of the estimation task related to each feature. The encoder 51, the first estimator 52, and the second estimator 53 are configured by a machine learning model having a calculation parameter. The type of the machine learning model configuring each of the encoder 51, the first estimator 52, and the second estimator 53 may not be particularly limited and may be appropriately selected depending on the embodiment. In this embodiment, a neural network is used as the machine learning model configuring each of the encoder 51, the first estimator 52, and the second estimator 53. Details will be described later.

[0045] Implementing the machine learning according to the present embodiment includes first to third training steps. In the first training step, the model generating device 1 according to the present embodiment trains the second estimator 53 so that the estimation result of the second feature obtained from the second estimator 53 by providing the training data 121 to the encoder 51 for each learning data set 120 matches the second super-answer data 123. In the second training step, the model generating device 1 according to the present embodiment trains the encoder 51 so that the estimation result of the second feature obtained from the second estimator 53 by providing the training data 121 to the encoder 51 for each learning data set 120 does not match the second super-answer data 123. That is, in the second training step, the encoder 51 is trained to convert the training data 121 into a feature quantity that reduces the estimation performance of the second estimator 53. In the third training step, the model generation device 1 according to the present embodiment trains the encoder 51 and the first estimator 52 for each learning data set 120 such that the estimation result of the first feature obtained from the first estimator 52 matches the first supervised data 122 by providing the training data 121 to the encoder 51. The model generation device 1 according to the present embodiment alternately and repeatedly executes the first training step and the second training step. As a result, the model generation device 1 according to the present embodiment can generate the trained encoder 51 and the first estimator 52 that can be used to perform an estimation task related to the first feature. Note that the model generation device 1 according to the present embodiment may simply be read as a "generation device", a "learning device", etc. "Trained" may be read as "learned".

[0046] Meanwhile, the estimation device 2 according to the present embodiment is a computer configured to perform an estimation task related to a first feature for a predetermined type of data, using the trained encoder 51 and the first estimator 52 generated by the model generation device 1. Specifically, the estimation device 2 according to the present embodiment acquires target data that is the subject of the estimation task. The estimation device 2 according to the present embodiment estimates the first feature included in the acquired target data, using the trained encoder 51 and the first estimator 52 generated by the model generation device 1. The estimation device 2 according to the present embodiment outputs information related to the result of estimating the first feature.

[0047] As described above, in this embodiment, the second estimator 53 is trained by the first training step so as to acquire the ability to perform an estimation task related to the second feature from a component corresponding to the second feature included in the feature obtained by the encoder 51. Meanwhile, the encoder 51 is trained by the second training step so as to acquire the ability to convert the input data (training data 121) into a feature that causes the second estimator 53 to fail the estimation task related to the second feature, depending on the estimation performance of the second estimator 53.

[0048] In this embodiment, the first training step and the second training step are alternately and repeatedly executed to perform adversarial learning of the encoder 51 and the second estimator 53. As a result, in response to improvement in the estimation performance of the second estimator 53, it is possible to make it difficult for a component corresponding to the second feature to be included in the feature amount obtained by the encoder 51, so that the estimation task by the second estimator 53 fails.

[0049] In addition, by the third training step, the first estimator 52 is trained to acquire the ability to perform an estimation task related to the first feature from the feature obtained by the encoder 51. At the same time, the encoder 51 is trained to acquire the ability to convert the input data (training data 121) into a feature including a component corresponding to the first feature so that the first estimator 52 can appropriately perform the estimation task related to the first feature.

[0050] Therefore, according to the machine learning of this embodiment, the feature amount obtained by the trained encoder 51 can be made to include a component corresponding to the first feature and to be unlikely to include a component corresponding to the second feature. This makes it possible to make it unlikely that information on the second feature is taken into consideration when the first estimator 52 performs an estimation task related to the first feature. Therefore, according to the model generation device 1 of this embodiment, it is possible to generate the trained encoder 51 and the first estimator 52 that can perform an estimation task related to the first feature robustly against differences in the second feature.

[0051] In the example of FIG. 1, the model generating device 1 and the estimation device 2 are 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. However, the method of exchanging data between the model generating device 1 and the estimation device 2 is not limited to this example, and may be appropriately selected depending on the embodiment. For example, data may be exchanged between the model generating device 1 and the estimation device 2 using a storage medium.

[0052] 1, the model generating device 1 and the estimation device 2 are each configured by separate computers. However, the configuration of the estimation system 100 according to the present embodiment is not limited to such an example and may be appropriately determined according to the embodiment. For example, the model generating device 1 and the estimation device 2 may be an integrated computer. Also, for example, at least one of the model generating device 1 and the estimation device 2 may be configured by multiple computers.

[0053] §2 Configuration Example [Hardware configuration] <Model generation device> Next, an example of a hardware configuration of the model generation device 1 according to this embodiment will be described with reference to Fig. 2. Fig. 2 illustrates a schematic example of a hardware configuration of the model generation device 1 according to this embodiment.

[0054] 2, the model generation device 1 according to this embodiment is a computer to which a control unit 11, a storage unit 12, a communication interface 13, an external interface 14, an input device 15, an output device 16, and a drive 17 are electrically connected. In addition, in FIG. 2, the communication interface and the external interface are described as a "communication I / F" and an "external I / F".

[0055] The control unit 11 includes a hardware processor such as a central processing unit (CPU), a random access memory (RAM), and a read only memory (ROM), and is configured to execute information processing based on programs and various data. The storage unit 12 is an example of a memory, and is configured, for example, by a hard disk drive or a solid state drive. In this embodiment, the storage unit 12 stores various information such as a model generation program 81, a plurality of learning data sets 120, learning result data 125, and the like.

[0056] The model generation program 81 is a program for causing the model generation device 1 to execute information processing (FIGS. 7 and 8) described below related to machine learning of the learning model 5. The model generation program 81 includes a series of instructions for the information processing. The model generation program 81 may simply be referred to as a "generation program", a "learning program", or the like. A plurality of learning data sets 120 are used for machine learning of the learning model 5. The learning result data 125 indicates information related to the trained encoder 51 and the first estimator 52 generated by machine learning. In this embodiment, the learning result data 125 is generated as a result of executing the model generation program 81. Details will be described later.

[0057] The communication interface 13 is, for example, a wired LAN (Local Area Network) module, a wireless LAN module, etc., and is an interface for performing wired or wireless communication via a network. By using this communication interface 13, the model generation device 1 can perform data communication with another information processing device (for example, the estimation device 2) via the network.

[0058] The external interface 14 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 interfaces 14 may be appropriately selected depending on the type and number of the external devices to be connected. The model generation device 1 may be connected to a sensor for obtaining training data 121 via the external interface 14.

[0059] The input device 15 is a device for performing input, such as a mouse, a keyboard, etc. The output device 16 is a device for performing output, such as a display, a speaker, etc. An operator such as a user can operate the model generation device 1 by using the input device 15 and the output device 16.

[0060] The drive 17 is, for example, a CD drive, a DVD drive, or the like, and is a drive device for reading various information such as a program stored in the storage medium 91. The type of the drive 17 may be appropriately selected according to the type of the storage medium 91. At least one of the model generation program 81 and the multiple learning datasets 120 may be stored in this storage medium 91.

[0061] The storage medium 91 is a medium that stores various information such as a program by electrical, magnetic, optical, mechanical, or chemical action so that a computer or other device, machine, etc. can read the stored information such as the program. The model generation device 1 may obtain at least one of the model generation program 81 and the multiple learning datasets 120 from the storage medium 91.

[0062] 2 illustrates a disk-type storage medium such as a CD or a DVD as an example of the storage medium 91. However, the type of the storage medium 91 is not limited to the disk type, and may be other than the disk type. An example of a storage medium other than the disk type is a semiconductor memory such as a flash memory. The type of the drive 17 may be appropriately selected depending on the type of the storage medium 91.

[0063] Regarding the specific hardware configuration of the model generating device 1, components can be omitted, replaced, and added as appropriate depending on the embodiment. For example, the control unit 11 may include multiple hardware processors. The hardware processor may be configured with a microprocessor, a field-programmable gate array (FPGA), a digital signal processor (DSP), or the like. The storage unit 12 may be configured with a RAM and a ROM included in the control unit 11. At least one of the communication interface 13, the external interface 14, the input device 15, the output device 16, and the drive 17 may be omitted. The model generating device 1 may be configured with multiple computers. In this case, the hardware configurations of the computers may or may not be the same. In addition, the model generating device 1 may be an information processing device designed specifically for the service provided, as well as a general-purpose server device, a PC (Personal Computer), or the like.

[0064] <Estimation device> Next, an example of a hardware configuration of the estimation device 2 according to this embodiment will be described with reference to Fig. 3. Fig. 3 illustrates a schematic example of a hardware configuration of the estimation device 2 according to this embodiment.

[0065] 3, the estimation device 2 according to this embodiment is a computer to which a control unit 21, a storage unit 22, a communication interface 23, an external interface 24, an input device 25, an output device 26, and a drive 27 are electrically connected. Note that in FIG. 3, the communication interface and the external interface are described as a "communication I / F" and an "external I / F" as in FIG. 2.

[0066] The control unit 21 to the drive 27 of the estimation device 2 may be configured similarly to the control unit 11 to the drive 17 of the model generation device 1. That is, the control unit 21 includes a CPU, RAM, ROM, etc., which are hardware processors, and is configured to execute various information processing based on programs and data. The storage unit 22 is configured, for example, with a hard disk drive, a solid state drive, etc. The storage unit 22 stores various information such as an estimation program 82, learning result data 125, etc.

[0067] The estimation program 82 is a program for causing the estimation device 2 to execute information processing (FIG. 9) described below, which performs an estimation task related to a first feature for a predetermined type of data, using the trained encoder 51 and the first estimator 52. The estimation program 82 includes a series of instructions for the information processing. Details will be described later.

[0068] The communication interface 23 is, for example, a wired LAN module, a wireless LAN module, etc., and is an interface for performing wired or wireless communication via a network. By using this communication interface 23, the estimation device 2 can perform data communication with other information processing devices (for example, the model generation device 1) via the network.

[0069] The external interface 24 is, for example, a USB port, a dedicated port, etc., and is an interface for connecting to an external device. The type and number of the external interfaces 24 may be appropriately selected depending on the type and number of the external devices to be connected. The estimation device 2 may be connected to a sensor for acquiring target data via the external interface 14.

[0070] The input device 25 is a device for performing input, such as a mouse, a keyboard, etc. The output device 26 is a device for performing output, such as a display, a speaker, etc. An operator such as a user can operate the estimation device 2 by using the input device 25 and the output device 26.

[0071] The drive 27 is, for example, a CD drive, a DVD drive, or the like, and is a drive device for reading various information such as a program stored in the storage medium 92. The type of the storage medium 92 may be either a disk type or a non-disk type. The type of the drive 27 may be appropriately selected depending on the type of the storage medium 92. At least one of the estimation program 82 and the learning result data 125 may be stored in the storage medium 92. Furthermore, the estimation device 2 may acquire at least one of the estimation program 82 and the learning result data 125 from the storage medium 92.

[0072] Regarding the specific hardware configuration of the estimation device 2, components can be omitted, replaced, or added as appropriate depending on the embodiment. For example, the control unit 21 may include multiple hardware processors. The hardware processor may be configured with a microprocessor, FPGA, DSP, or the like. The storage unit 22 may be configured with a RAM and a ROM included in the control unit 21. At least one of the communication interface 23, the external interface 24, the input device 25, the output device 26, and the drive 27 may be omitted. The estimation device 2 may be configured with multiple computers. In this case, the hardware configurations of the computers may or may not be the same. Furthermore, the estimation device 2 may be an information processing device designed specifically for the service provided, as well as a general-purpose server device, a general-purpose PC, or the like.

[0073] [Software configuration] <Model generation device> Next, an example of the software configuration of the model generation device 1 according to this embodiment will be described with reference to Fig. 4 and Fig. 5. Fig. 4 illustrates a schematic example of the software configuration of the model generation device 1 according to this embodiment. Fig. 5 illustrates a schematic example of a machine learning process by the model generation device 1 according to this embodiment.

[0074] The control unit 11 of the model generating device 1 loads the model generating program 81 stored in the storage unit 12 in the RAM. Then, the control unit 11 uses the CPU to interpret and execute instructions included in the model generating program 81 loaded in the RAM to control each component. As a result, as shown in Fig. 4, the model generating device 1 according to this embodiment operates as a computer including a data acquiring unit 111, a learning processing unit 112, and a saving processing unit 113 as software modules. That is, in this embodiment, each software module of the model generating device 1 is realized by the control unit 11 (CPU).

[0075] The data acquiring unit 111 acquires a plurality of learning data sets 120 each composed of a combination of training data 121, first superset data 122 indicating a first feature included in the training data 121, and second superset data 123 indicating a second feature included in the training data 121 and different from the first feature. The learning processing unit 112 performs machine learning of the learning model 5 using the acquired plurality of learning data sets 120.

[0076] The learning model 5 according to this embodiment includes an encoder 51, a first estimator 52, and a second estimator 53. The encoder 51 is arranged on the input side. The encoder 51 is configured to output an output value corresponding to a feature obtained by converting a predetermined type of input data. In contrast, the first estimator 52 and the second estimator 53 are arranged in parallel on the output side. The output of the encoder 51 is connected to the input of each estimator (52, 53). As a result, the output value of the encoder 51, i.e., the feature obtained by converting the input data, is input to each estimator (52, 53). The first estimator 52 is configured to output an output value corresponding to a result of estimating a first feature included in the input data from the input feature when the feature is input. The second estimator 53 is configured to output an output value corresponding to a result of estimating a second feature included in the input data from the input feature when the feature is input.

[0077] As shown in FIG. 5, the machine learning according to the present embodiment includes first to third training steps. In the first training step, the learning processing unit 112 trains the second estimator 53 for each learning data set 120, so that the estimation result of the second feature obtained from the second estimator 53 by providing the training data 121 to the encoder 51 matches the second super-answer data 123. In the second training step, the learning processing unit 112 trains the encoder 51 for each learning data set 120, so that the estimation result of the second feature obtained from the second estimator 53 by providing the training data 121 to the encoder 51 does not match the second super-answer data 123. The learning processing unit 112 alternately and repeatedly executes the first training step and the second training step. In the third training step, the learning processing unit 112 trains the encoder 51 and the first estimator 52 for each learning data set 120 by providing the training data 121 to the encoder 51 so that the estimation result of the first feature obtained from the first estimator 52 matches the first supervised data 122.

[0078] The method of training the encoder 51 so that the estimation result does not match the second super-correct data 123 may not be particularly limited, and may be appropriately determined depending on the embodiment. As an example, the learning processing unit 112 may acquire, for each learning data set 120, dummy data 129 corresponding to the second super-correct data 123 and configured with values ​​different from the corresponding second super-correct data 123. In this case, training the encoder 51 so that the estimation result does not match the second super-correct data 123 may be configured by providing the training data 121 to the encoder 51 so that the estimation result of the second feature obtained from the second estimator 53 matches the dummy data 129.

[0079] By executing each of the above training steps, a trained learning model 5 is generated. As shown in FIG. 4, the storage processing unit 113 generates information on the trained encoder 51 and the first estimator 52 as learning result data 125. Then, the storage processing unit 113 stores the generated learning result data 125 in a predetermined storage area. Note that the trained second estimator 53 may be handled in any manner. The learning result data 125 may or may not include information on the trained second estimator 53.

[0080] (Machine learning model configuration) Next, the configurations of the encoder 51, the first estimator 52, and the second estimator 53 will be described. Any model capable of implementing machine learning may be used for the encoder 51, the first estimator 52, and the second estimator 53. As shown in FIG. 4, in this embodiment, the encoder 51, the first estimator 52, and the second estimator 53 are each configured by a fully connected neural network with a multi-layer structure. The encoder 51, the first estimator 52, and the second estimator 53 each include an input layer (511, 521, 531), an intermediate (hidden) layer (512, 522, 532), and an output layer (513, 523, 533).

[0081] However, the structures of the encoder 51, the first estimator 52, and the second estimator 53 may not be limited to such an example, and may be appropriately determined according to the embodiment. For example, the number of intermediate layers (512, 522, 532) may not be limited to one, and may be two or more. Alternatively, the intermediate layers (512, 522, 532) may be omitted. The number of layers constituting each neural network may not be particularly limited, and may be selected arbitrarily. At least any combination of the encoder 51, the first estimator 52, and the second estimator 53 may have at least partially the same structure, or may not be the same. In the example of FIG. 4, the neural networks of the encoder 51, the first estimator 52, and the second estimator 53 are separate, but at least any combination of the encoder 51, the first estimator 52, and the second estimator 53 may be configured by an integrated neural network.

[0082] Each layer (511-513, 521-523, 531-533) has one or more neurons (nodes). The number of neurons (nodes) included in each layer (511-513, 521-523, 531-533) is not particularly limited and may be appropriately selected depending on the embodiment. Neurons in adjacent layers are appropriately connected to each other. In the example of FIG. 4, each neuron is connected to all neurons in the adjacent layer. However, the connection relationship of each neuron is not limited to such an example and may be appropriately set depending on the embodiment.

[0083] A weight (connection load) is set for each connection. A threshold is set for each neuron, and basically, the output of each neuron is determined depending on whether the sum of the products of each input and each weight exceeds the threshold. The threshold may be expressed by an activation function. In this case, the sum of the products of each input and each weight is input to the activation function, and the output of each neuron is determined by executing the calculation of the activation function. The type of activation function is not particularly limited, and may be appropriately selected according to the embodiment. The weight of the connection between each neuron included in each layer (511 to 513, 521 to 523, 531 to 533) and the threshold of each neuron are examples of calculation parameters used in the calculation processing of each of the encoder 51, the first estimator 52, and the second estimator 53.

[0084] The values ​​of the calculation parameters of the encoder 51, the first estimator 52, and the second estimator 53 are adjusted by each training step of the machine learning. Specifically, in the first training step, the learning processing unit 112 inputs the training data 121 to the input layer 511 of the encoder 51 for each learning data set 120, and acquires an output value corresponding to the estimation result of the second feature from the output layer 533 of the second estimator 53. The learning processing unit 112 fixes the values ​​of the calculation parameters of the encoder 51, and then adjusts the values ​​of the calculation parameters of the second estimator 53 so that the error between the acquired output value and the second supervised data 123 is reduced.

[0085] In the second training step, the learning processing unit 112 inputs the training data 121 to the input layer 511 of the encoder 51 for each learning data set 120, and acquires an output value corresponding to the estimation result of the second feature from the output layer 533 of the second estimator 53. The learning processing unit 112 fixes the values ​​of the calculation parameters of the second estimator 53, and then adjusts the values ​​of the calculation parameters of the encoder 51 so that the error between the acquired output value and the second supervised data 123 becomes large. As an example, the learning processing unit 112 adjusts the values ​​of the calculation parameters of the encoder 51 so that the error between the acquired output value and the dummy data 129 becomes small.

[0086] In the third training step, the learning processing unit 112 inputs the training data 121 to the input layer 511 of the encoder 51 for each learning data set 120, and acquires an output value corresponding to the estimation result of the first feature from the output layer 523 of the first estimator 52. The learning processing unit 112 adjusts the values ​​of the calculation parameters of the encoder 51 and the first estimator 52 so as to reduce the error between the acquired output value and the first supervised data 122.

[0087] The storage processing unit 113 generates information indicating the structures and calculation parameter values ​​of the trained encoder 51 and first estimator 52 constructed by the above machine learning as learning result data 125. The structure may be specified by, for example, the number of layers from the input layer to the output layer in the neural network, the type of each layer, the number of neurons included in each layer, the connection relationship between neurons in adjacent layers, etc. When the structure of the model is common within the system, information regarding this structure may be omitted from the learning result data 125. The storage processing unit 113 stores the generated learning result data 125 in a predetermined storage area.

[0088] <Estimation device> Next, an example of the software configuration of the estimation device 2 according to this embodiment will be described with reference to Fig. 6. Fig. 6 illustrates a schematic example of the software configuration of the estimation device 2 according to this embodiment.

[0089] The control unit 21 of the estimation device 2 loads the estimation program 82 stored in the storage unit 22 into the RAM. Then, the control unit 21 causes the CPU to interpret and execute instructions included in the estimation program 82 loaded into the RAM, thereby controlling each component. As a result, as shown in Fig. 6, the estimation device 2 according to this embodiment operates as a computer including a data acquisition unit 211, an estimation unit 212, and an output unit 213 as software modules. That is, in this embodiment, each software module of the estimation device 2 is realized by the control unit 21 (CPU), similarly to the model generation device 1 described above.

[0090] The data acquisition unit 211 acquires target data 221 on which an estimation task is to be performed. The estimation unit 212 includes a trained encoder 51 and a first estimator 52 generated by the model generation device 1 by holding the learning result data 125. The estimation unit 212 estimates a first feature included in the acquired target data 221 by using the trained encoder 51 and the first estimator 52. The output unit 213 outputs information on the result of estimating the first feature.

[0091] <Other> Each software module of the model generating device 1 and the estimation device 2 will be described in detail in an operation example described later. In this embodiment, an example is described in which each software module of the model generating device 1 and the estimation device 2 is realized by a general-purpose CPU. However, some or all of the above software modules may be realized by one or more dedicated processors. Furthermore, with regard to the software configurations of the model generating device 1 and the estimation device 2, software modules may be omitted, replaced, or added as appropriate depending on the embodiment.

[0092] §3 Example of operation [Model generation device] Next, an example of the operation of the model generating device 1 will be described with reference to FIG. 7. FIG. 7 is a flowchart showing an example of the processing procedure of the model generating device 1 according to this embodiment. The processing procedure described below is an example of the "model generating method" of the present invention. However, the processing procedure described below is merely an example, and each step may be changed as much as possible. Furthermore, steps may be omitted, replaced, or added to the processing procedure described below as appropriate depending on the embodiment.

[0093] (Step S101) In step S101, the control unit 11 operates as a data acquisition unit 111 and acquires a plurality of learning data sets 120. In this embodiment, each learning data set 120 is configured by a combination of training data 121, first superset data 122, and second superset data 123.

[0094] Each learning data set 120 may be generated as appropriate. For example, in a real space or a virtual space, a sample of a predetermined type of data including the first feature and the second feature can be acquired as the training data 121. A method for acquiring the sample may be selected as appropriate. When the predetermined type of data is sensing data, the training data 121 may be acquired by observing an object using a sensor under various conditions. The object of observation may be selected according to an estimation task to be mastered by the learning model 5. Then, information indicating the result (correct answer) of estimating the first feature and the second feature included in the acquired training data 121 is associated with the acquired training data 121 as the first correct answer data 122 and the second correct answer data 123. A method for estimating each feature may be selected arbitrarily. For example, the estimation of each feature may be performed by an operator. In this way, each learning data set 120 can be generated.

[0095] Each training data set 120 may be generated automatically by computer operation or may involve, at least in part, human operator interaction. ManuallyFurthermore, the generation of each learning data set 120 may be performed by the model generation device 1, or may be performed by a computer other than the model generation device 1. When each learning data set 120 is generated by the model generation device 1, the control unit 11 automatically generates the learning data set 120 or generates the learning data set 120 in response to an operation of an operator via the input device 15. Manually By executing the series of generation processes described above, a plurality of learning data sets 120 are acquired. On the other hand, when each learning data set 120 is generated by another computer, the control unit 11 acquires the plurality of learning data sets 120 generated by the other computer, for example, via a network, a storage medium 91, etc. Some of the learning data sets 120 may be generated by the model generation device 1, and the other learning data sets 120 may be generated by one or more other computers.

[0096] There may be any number of acquired learning data sets 120. When a plurality of learning data sets 120 are acquired, the control unit 11 advances the process to the next step S102.

[0097] (Step S102) In step S102, the control unit 11 operates as the learning processing unit 112 and performs machine learning of the learning model 5 using the acquired multiple learning datasets 120.

[0098] 8 is a flowchart showing an example of a processing procedure of a subroutine related to machine learning in step S102 in the learning model 5 according to this embodiment. The processing of step S102 according to this embodiment includes the following processing of steps S121 to S124. However, the processing procedure described below is merely an example, and each process may be changed as much as possible. Furthermore, steps may be omitted, replaced, or added to the processing procedure described below as appropriate depending on the embodiment.

[0099] The neural networks constituting the encoder 51, the first estimator 52, and the second estimator 53 to be processed by machine learning may be prepared as appropriate. The structures of the encoder 51, the first estimator 52, and the second estimator 53 to be prepared (e.g., the number of layers, the number of neurons included in each layer, the connection relationship between neurons in adjacent layers, etc.), the initial values ​​of the weights of the connections between the neurons, and the initial values ​​of the thresholds of the neurons may be provided by a template or by input by an operator. In addition, when re-learning is performed, the control unit 11 may prepare the encoder 51, the first estimator 52, and the second estimator 53 based on learning result data obtained by performing past machine learning.

[0100] (Step S121) In step S121, the control unit 11 trains the second estimator 53 for each learning data set 120 such that the estimation result of the second feature obtained from the second estimator 53 by providing the training data 121 to the encoder 51 matches the second supervised data 123. Step S121 is an example of a first training step. For this machine learning training process, a stochastic gradient descent method, a mini-batch gradient descent method, or the like may be used. The same applies to the training processes in steps S122 and S123 described later.

[0101] As an example, first, the control unit 11 provides the training data 121 to the encoder 51 for each learning data set 120, and executes the arithmetic processing of the encoder 51. In other words, the control unit 11 inputs the training data 121 to the input layer 511 of the encoder 51, and performs firing determination of each neuron included in each layer 511 to 513 in order from the input side (i.e., performs forward propagation calculation). Through this calculation processing, the control unit 11 acquires an output value corresponding to a feature amount obtained by converting the training data 121 from the output layer 513 of the encoder 51. Next, the control unit 11 inputs the acquired feature amount to the input layer 531 of the second estimator 53, and performs firing determination of each neuron included in each layer 531 to 533 in order from the input side. Based on the result of this calculation, the control unit 11 acquires an output value corresponding to a result of estimating the second feature included in the training data 121 from the feature amount from the output layer 533 of the second estimator 53.

[0102] The control unit 11 calculates the error between the output value obtained from the output layer 533 of the second estimator 53 by the above calculation process and the second supervised data 123 for each learning data set 120. A loss function may be used to calculate the error (loss). The loss function is a function that evaluates the difference (i.e., the degree of difference) between the output of the machine learning model and the supervised answer, and the larger the difference value between the output value obtained from the output layer 533 and the supervised answer, the larger the error value calculated by the loss function. The type of loss function used to calculate the error is not particularly limited and may be appropriately selected depending on the embodiment. For example, a known loss function such as a mean square error or a cross entropy error may be used as the loss function.

[0103] The control unit 11 calculates the error of each calculation parameter (weight of connection between neurons, threshold of each neuron, etc.) of the second estimator 53 by using the gradient of the error of the calculated output value by the error back propagation method. The control unit 11 updates the value of each calculation parameter of the second estimator 53 based on each calculated error. The degree to which the value of each calculation parameter is updated may be adjusted by a learning rate. The learning rate may be given by the operator or may be given as a setting value in the program.

[0104] The control unit 11 fixes the values ​​of the calculation parameters of the encoder 51, and then adjusts the values ​​of the calculation parameters of the second estimator 53 so that the sum of errors calculated by the series of update processes described above is reduced. For example, the control unit 11 may repeat the adjustment of the values ​​of the calculation parameters by the series of processes described above until a predetermined condition is satisfied, such as a specified number of executions or the sum of errors calculated is equal to or less than a threshold. In this way, the control unit 11 can train the second estimator 53 so that the estimation result of the second feature obtained from the second estimator 53 by providing the training data 121 to the encoder 51 for each learning data set 120 matches the second supervised data 123. When the training process of the second estimator 53 is completed, the control unit 11 proceeds to the next step S122.

[0105] (Step S122) In step S122, the control unit 11 trains the encoder 51 for each learning data set 120 such that the estimation result of the second feature obtained from the second estimator 53 by providing the training data 121 to the encoder 51 does not match the second supervised data 123. Step S122 is an example of a second training step.

[0106] In this embodiment, in order to train the encoder 51 as described above, it is possible to use dummy data 129 configured with values ​​different from the corresponding second supervised data 123. In this case, the control unit 11 may provide the training data 121 to the encoder 51 for each learning data set 120, thereby training the encoder 51 so that the estimation result of the second feature obtained from the second estimator 53 matches the dummy data 129.

[0107] The dummy data 129 may be appropriately acquired corresponding to the second supervised answer data 123 of each learning dataset 120. For example, the dummy data 129 may be composed of the second supervised answer data 123 of another learning dataset 120 different from the corresponding learning dataset 120. That is, the control unit 11 may select another learning dataset 120 other than the target learning dataset 120 from which the dummy data 129 is acquired, and use the second supervised answer data 123 of the selected other learning dataset 120 as the dummy data 129 of the target learning dataset 120.

[0108] The method of selecting the other learning data set 120 is not particularly limited and may be appropriately determined according to the embodiment. For example, the other learning data set 120 may be selected from the multiple learning data sets 120 by a mechanical method such as random. Also, for example, the correspondence relationship of the second supervised answer data 123 to the training data 121 of each learning data set 120 may be shifted in an arbitrary direction, so that the second supervised answer data 123 of the other learning data set 120 assigned to the target learning data set 120 may be used as the dummy data 129. Also, for example, one learning data set 120 may be selected from the multiple learning data sets 120 by an arbitrary method, and the second supervised answer data 123 of the selected learning data set 120 may be used as the dummy data 129 of all the learning data sets 120. According to this method, the amount of calculation for generating the dummy data 129 can be reduced, and the processing cost of this step S122 can be reduced.

[0109] The method of generating the dummy data 129 is not limited to this example, and may be appropriately determined according to the embodiment. In addition to the above, for example, the control unit 11 may generate the dummy data 129 by inverting the value of the second supervised answer data 123. Also, for example, the control unit 11 may generate data composed of values ​​obtained mechanically, such as random (for example, random numbers), so as to be different from the value of the second supervised answer data 123, and acquire the generated data as the dummy data 129. Among the multiple learning data sets 120, there may be a learning data set 120 in which the dummy data 129 and the second supervised answer data 123 match. In this case, the learning data set 120 may be used as it is for training, or the dummy data 129 of the learning data set 120 may be appropriately changed.

[0110] The training process using the dummy data 129 can be performed, for example, as follows. First, the control unit 11 executes the forward propagation arithmetic process of the encoder 51 and the second estimator 53 for each learning data set 120, similar to the above step S121. As a result, the control unit 11 acquires an output value corresponding to the result of estimating the second feature included in the training data 121 from the feature amount from the output layer 533 of the second estimator 53. Next, the control unit 11 calculates the error between the output value obtained from the output layer 533 of the second estimator 53 in the above arithmetic process and the dummy data 129 for each learning data set 120. The same loss function as in step S121 may be used to calculate the error. The control unit 11 backpropagates the gradient of the error of the calculated output value to each arithmetic parameter of the encoder 51 via the second estimator 53 by the error backpropagation method, and calculates the error of the value of each arithmetic parameter of the encoder 51. Then, the control unit 11 updates the value of each arithmetic parameter of the encoder 51 based on each calculated error. The degree to which the value of each computation parameter is updated may be adjusted by a learning rate.

[0111] The control unit 11 fixes the values ​​of the calculation parameters of the second estimator 53, and then adjusts the values ​​of the calculation parameters of the encoder 51 by the series of update processes so that the sum of errors calculated is reduced. As in step S121, the control unit 11 may repeat the adjustment of the values ​​of the calculation parameters of the encoder 51 by the series of processes until a predetermined condition is satisfied. In this way, the control unit 11 can train the encoder 51 for each learning data set 120 such that the estimation result of the second feature obtained from the second estimator 53 by providing the training data 121 to the encoder 51 does not match the second super-answer data 123. When the training process of the encoder 51 is completed, the control unit 11 proceeds to the next step S123.

[0112] Note that the method of training the encoder 51 so that the estimation result of the second feature obtained from the second estimator 53 does not match the second super-answer data 123 may not be limited to the method using the dummy data 129. For example, in the training process, the control unit 11 may calculate an error between the output value obtained from the output layer 533 of the second estimator 53 and the second super-answer data 123 for each learning data set 120. The control unit 11 may calculate a gradient of the error in a direction in which the calculated error increases, and may back-propagate the calculated gradient to the input layer 511 of the encoder 51 by the error back-propagation method. In this process, the control unit 11 may calculate an error in the value of each calculation parameter of the encoder 51. Then, the control unit 11 may update the value of each calculation parameter of the encoder 51 based on each calculated error. With this method, the control unit 11 can also train the encoder 51 by providing the training data 121 to the encoder 51 for each learning data set 120 so that the estimation result of the second feature obtained from the second estimator 53 no longer matches the second answer data 123.

[0113] (Step S123) In step S123, the control unit 11 trains the encoder 51 and the first estimator 52 for each learning data set 120 such that the estimation result of the first feature obtained from the first estimator 52 by providing the training data 121 to the encoder 51 matches the first supervised data 122. Step S123 is an example of a third training step.

[0114] As an example of the training process, first, for each learning data set 120, the control unit 11 inputs the training data 121 to the input layer 511 of the encoder 51, and performs firing determination of each neuron included in each layer 511 to 513 in order from the input side. Through this calculation process, the control unit 11 acquires an output value corresponding to a feature amount obtained by converting the training data 121 from the output layer 513 of the encoder 51. Next, the control unit 11 inputs the acquired feature amount to the input layer 521 of the first estimator 52, and performs firing determination of each neuron included in each layer 521 to 523 in order from the input side. Based on the result of this calculation, the control unit 11 acquires an output value corresponding to a result of estimating the first feature included in the training data 121 from the feature amount from the output layer 523 of the first estimator 52.

[0115] The control unit 11 calculates the error between the output value obtained from the output layer 523 of the first estimator 52 in the above calculation process and the first supervised data 122 for each learning data set 120. Any loss function may be used to calculate the error. The control unit 11 calculates the error of each calculation parameter of the encoder 51 and the first estimator 52 using the gradient of the error of the calculated output value by the error backpropagation method. The control unit 11 updates the values ​​of each calculation parameter of the encoder 51 and the first estimator 52 based on each calculated error. The degree to which the value of each calculation parameter is updated may be adjusted by a learning rate.

[0116] The control unit 11 adjusts the values ​​of the calculation parameters of the encoder 51 and the first estimator 52 by the series of update processes so that the sum of the calculated errors is reduced. As in step S121, the control unit 11 may repeat the adjustment of the values ​​of the calculation parameters of the encoder 51 and the first estimator 52 by the series of processes until a predetermined condition is satisfied. In this way, the control unit 11 can train the encoder 51 and the first estimator 52 for each learning data set 120 so that the estimation result of the first feature obtained from the first estimator 52 by providing the training data 121 to the encoder 51 matches the first supervised data 122. When the training process of the encoder 51 and the first estimator 52 is completed, the control unit 11 proceeds to the next step S124.

[0117] (Step S124) In step S124, the control unit 11 judges whether or not to repeat the processes of steps S121 to S123. The control unit 11 may judge whether or not to repeat the processes according to a predetermined criterion. The predetermined criterion may be appropriately determined according to the embodiment. For example, a predetermined number of times to repeat the processes may be set. The predetermined number of times may be given by, for example, an operator's designation, or may be given as a set value in the program. In this case, the control unit 11 judges whether or not the number of times the processes of steps S121 to S123 have been executed has reached the predetermined number. If it is determined that the number of times has not reached the predetermined number, the control unit 11 returns the process to step S121, and executes the processes of steps S121 to S123 again. As a result, steps S121 and S122 are alternately and repeatedly executed. In the present embodiment, step S123 is also included in the loop, so step S123 is also repeatedly executed together with steps S121 and S122. On the other hand, if it is determined that the number of executions has reached the specified number of times, the control unit 11 completes the machine learning process of the learning model 5, and proceeds to the next step S103.

[0118] The processing order of each training in steps S121 to S123 in the machine learning of the learning model 5 is not limited to the above example, and may be arbitrary. For example, step S123 may be executed in parallel with the above step S122. In this case, the calculation process of the encoder 51 may be executed in common for the forward propagation calculations of steps S122 and S123. Also, for example, in a loop, the processing of steps S121 and S122 may be executed after the processing of step S123 is executed. The processing order of steps S121 and S122 may be interchanged.

[0119] Also, for example, the control unit 11 may perform training of at least the encoder 51 in step S123 before alternately repeating the training of steps S121 and S122. In this case, the control unit 11 may perform training of at least the first estimator 52 in step S123 when alternately repeating the training of steps S121 and S122 as described above, or after alternately repeating the training of steps S121 and S122. Furthermore, before performing each of the above trainings, the control unit 11 may perform training of at least the encoder 51 of the encoder 51 and the second estimator 53 as pre-learning for each learning data set 120, so that an estimation result of the second feature obtained from the second estimator 53 matches the second supervised data 123 by providing the training data 121 to the encoder 51.

[0120] (Step S103) 7, in step S103, the control unit 11 operates as a storage processing unit 113 and generates information indicating the structures and calculation parameter values ​​of the trained encoder 51 and the first estimator 52 constructed by machine learning as learning result data 125. Then, the control unit 11 stores the generated learning result data 125 in a predetermined storage area.

[0121] The predetermined storage area may be, for example, a RAM in the control unit 11, the storage unit 12, an external storage device, a storage medium, or a combination of these. The storage medium may be, for example, a CD, a DVD, or the like, and the control unit 11 may store the learning result data 125 in the storage medium via the drive 17. The external storage device may be, for example, a data server such as a NAS (Network Attached Storage). In this case, the control unit 11 may use the communication interface 13 to store the learning result data 125 in the data server via a network. In addition, the external storage device may be, for example, an external storage device connected to the model generating device 1 via the external interface 14. When the storage of the learning result data 125 is completed, the control unit 11 ends the processing procedure related to this operation example.

[0122] The generated learning result data 125 may be provided to the estimation device 2 at any timing. For example, the control unit 11 may transfer the learning result data 125 as part of the process of step S103 or separately from the process of step S103. The estimation device 2 may acquire the learning result data 125 by receiving this transfer. Furthermore, the estimation device 2 may acquire the learning result data 125 by accessing the model generation device 1 or a data server via a network using the communication interface 23. Furthermore, for example, the estimation device 2 may acquire the learning result data 125 via the storage medium 92. Furthermore, for example, the learning result data 125 may be incorporated in advance into the estimation device 2.

[0123] Furthermore, the control unit 11 may update or newly generate the learning result data 125 by periodically or irregularly repeating the processes of steps S101 to S103. During this repetition, at least a portion of the multiple learning data sets 120 may be appropriately changed, modified, added, deleted, or the like. Then, the control unit 11 may update the learning result data 125 held by the estimation device 2 by providing the updated or newly generated learning result data 125 to the estimation device 2 by any method.

[0124] [Estimation device] Next, an example of the operation of the estimation device 2 will be described with reference to FIG. 9. FIG. 9 is a flowchart showing an example of a processing procedure of the estimation device 2 according to this embodiment. The processing procedure described below is an example of an estimation method. However, the processing procedure described below is merely an example, and each step may be changed as much as possible. Furthermore, steps may be omitted, replaced, or added to the processing procedure described below as appropriate depending on the embodiment.

[0125] (Step S201) In step S201, the control unit 21 operates as the data acquisition unit 211 and acquires target data 221. The target data 221 is a sample of a predetermined type of data to be subjected to an estimation task. A method for acquiring the target data 221 may be appropriately determined according to the type of data. When the target data 221 is sensing data, the target data 221 can be acquired by observing a target for estimation related to the first feature by a sensor. After acquiring the target data 221, the control unit 21 advances the process to the next step S202.

[0126] (Step S202) In step S202, the control unit 21 operates as the estimation unit 212 and sets the trained encoder 51 and the first estimator 52 with reference to the learning result data 125. The control unit 21 inputs the acquired target data 221 to the input layer 511 of the trained encoder 51 and executes the forward propagation arithmetic processing of the trained encoder 51 and the first estimator 52. This allows the control unit 11 to acquire an output value corresponding to the result of estimating the first feature included in the target data 221 from the output layer 523 of the trained first estimator 52. That is, in this embodiment, estimating the first feature included in the target data 221 is achieved by providing the target data 221 to the trained encoder 51 and executing the forward propagation arithmetic processing of the trained encoder 51 and the first estimator 52. When the estimation processing of the first feature is completed, the control unit 21 advances the process to the next step S203.

[0127] (Step S203) In step S203, the control unit 11 operates as the output unit 213 and outputs information related to the result of estimating the first feature.

[0128] The output destination and the contents of the information to be output may be appropriately determined according to the embodiment. For example, the control unit 21 may output the result of estimating the first feature for the target data 221 in step S202 to the output device 26 as it is. Also, for example, the control unit 21 may execute some information processing based on the result of estimating the first feature. Then, the control unit 21 may output the result of executing the information processing as information on the result of the estimation. The output of the result of executing this information processing may include outputting a specific message according to the estimation result, controlling the operation of the controlled device according to the estimation result, etc. The output destination may be, for example, the output device 26, an output device of another computer, the controlled device, etc.

[0129] When the output of information related to the estimation result is completed, the control unit 21 ends the processing procedure according to this operation example. Note that, during a predetermined period, the control unit 21 may continuously and repeatedly execute the series of information processing from step S201 to step S203. The repetition timing may be arbitrary. In this way, the estimation device 2 may continuously perform the estimation task related to the first feature.

[0130] [Features] As described above, in this embodiment, the second estimator 53 is trained in step S121 to acquire the ability to perform an estimation task related to the second feature from a component corresponding to the second feature included in the feature obtained by the encoder 51. Meanwhile, in step S122, the encoder 51 is trained in accordance with the estimation performance of the second estimator 53 to acquire the ability to convert input data into a feature that causes the second estimator 53 to fail the estimation task related to the second feature. By alternately repeating the training processes in steps S121 and S122, it is possible to make it difficult for the feature obtained by the encoder 51 to contain a component corresponding to the second feature so that the estimation task by the second estimator 53 fails in response to an improvement in the estimation performance of the second estimator 53. In addition, in step S123, the first estimator 52 is trained in order to acquire the ability to perform an estimation task related to the first feature from the feature obtained by the encoder 51. At the same time, the encoder 51 is trained to acquire the ability to convert the input data into features containing components corresponding to the first features so that the first estimator 52 can adequately perform the estimation task regarding the first features.

[0131] Therefore, according to the machine learning in the above step S102, the feature amount obtained by the trained encoder 51 can be made to include a component corresponding to the first feature and to be unlikely to include a component corresponding to the second feature. This makes it possible to make it difficult for information on the second feature to be taken into consideration when the first estimator 52 performs an estimation task related to the first feature. Therefore, according to the model generation device 1 of this embodiment, it is possible to generate a trained encoder 51 and a first estimator 52 that can perform an estimation task related to the first feature robustly against differences in the second feature. In the estimation device 2 of this embodiment, by using the trained encoder 51 and the first estimator 52 in the above step S202, it is expected that the estimation task related to the first feature will be performed with high accuracy.

[0132] Furthermore, in this embodiment, the process of step S123 is repeatedly executed together with steps S121 and S122. As a result, in response to the adjustment of the values ​​of each calculation parameter of the encoder 51 by the process of step S122, the values ​​of each calculation parameter of the encoder 51 and the first estimator 52 can be adjusted by the process of step S123 so as to improve the ability to estimate the first feature from the feature amount obtained by the encoder 51. As a result, it is possible to obtain the trained encoder 51 and the first estimator 52 capable of performing an estimation task related to the first feature with high accuracy.

[0133] § 4 Variations Although the embodiment of the present invention has been described in detail above, the above description is merely an example of the present invention in every respect. It goes without saying that various improvements or modifications can be made without departing from the scope of the present invention. For example, the following modifications are possible. In the following, the same reference numerals are used for the same components as in the above embodiment, and the description of the same points as in the above embodiment is omitted as appropriate. The following modifications can be combined as appropriate.

[0134] <4.1> The estimation system 100 according to the above embodiment may be applied to any scene in which an estimation task regarding the characteristics of an object is performed for a predetermined type of data. For example, the estimation system 100 according to the above embodiment may be applied to a scene in which a foreground included in image data is estimated. Estimating the foreground may be performed, for example, by estimating attributes of an object depicted in the image data. In addition, for example, the estimation system 100 according to the above embodiment may be applied to a scene in which attributes of an object are estimated from sensing data obtained by observing the object with a sensor. Below, examples of modified examples in which the application scene is limited are given.

[0135] (A) Visual inspection scene 10 is a schematic diagram illustrating an example of an application scene of the inspection system 100A according to the first modified example. This modified example is an example in which the above-described embodiment is applied to a scene in which an appearance inspection of a product is carried out using image data showing the product. The inspection system 100A according to this modified example includes a model generating device 1 and an inspection device 2A. As in the above-described embodiment, the model generating device 1 and the inspection device 2A may be connected to each other via a network.

[0136] The predetermined type of data handled in this modification (i.e., training data 121A and target image data 221A described later) is image data showing a product RA. A sample P10 of image data may be obtained by photographing the product RA with a camera SA. The first feature relates to a defect P12 in the product RA. Meanwhile, the second feature may be appropriately selected from features other than the defect P12 that may appear in the image data showing the product RA. For example, the second feature may relate to a background P11 including the exterior of the product RA, a conveyor sheet, etc. The second feature may be an attribute of the background P11, such as the type of product RA, an identifier of the manufacturing plant, the type of manufacturing line, etc. Except for these limitations, the inspection system 100A according to this modification may be configured in the same manner as the estimation system 100 according to the above embodiment.

[0137] The product RA may be, for example, a product conveyed on a manufacturing line of electronic devices, electronic components, automobile components, medicines, food, etc. The electronic components may be, for example, a circuit board, a chip capacitor, a liquid crystal, a winding of a relay, etc. The automobile components may be, for example, a connecting rod, a shaft, an engine block, a power window switch, a panel, etc. The medicines may be, for example, packaged tablets, unpackaged tablets, etc. The product RA may be a final product generated after the completion of a manufacturing process, an intermediate product generated during the manufacturing process, or an initial product prepared before passing through a manufacturing process. The defect P12 may be, for example, a scratch, a stain, a crack, a dent, a burr, color unevenness, a foreign matter contamination, etc. The estimation regarding the defect P12 may be expressed, for example, by determining whether the product RA contains the defect P12, determining the probability that the product RA contains the defect P12, identifying the type of the defect P12 contained in the product RA, identifying the range of the defect P12 contained in the product RA, or a combination of these.

[0138] (Model Generator) In this modification, the model generating device 1 acquires a plurality of learning data sets 120A in the above step S101. The training data 121A of each learning data set 120A is image data showing a product RA. The first correct answer data 122A indicates information (correct answer) about the defect P12 of the product RA shown in the training data 121A, such as the presence or absence of the defect P12, the type of the defect P12, and the range in which the defect P12 exists. The information about the defect P12 may be appropriately determined according to the content of the estimation about the defect P12. The second correct answer data 123A indicates information (correct answer) about features other than the defect P12, such as the attributes of the background P11, for example.

[0139] The model generating device 1 performs machine learning of the learning model 5 using the multiple learning data sets 120A acquired by the process of step S102 above. This makes it possible to construct a trained encoder 51 and a first estimator 52 that have acquired the ability to output an estimation result regarding the defect P12 in response to input of image data showing the product RA. The model generating device 1 appropriately stores information regarding the trained encoder 51 and the first estimator 52 as learning result data 125A in a predetermined storage area by the process of step S103 above. The generated learning result data 125A may be provided to the inspection device 2A at any timing.

[0140] (Inspection equipment) Fig. 11A is a schematic diagram illustrating an example of a hardware configuration of an inspection device 2A according to this modification. As shown in Fig. 11A, the inspection device 2A according to this modification may be configured by a computer to which a control unit 21, a storage unit 22, a communication interface 23, an external interface 24, an input device 25, an output device 26, and a drive 27 are electrically connected, similar to the estimation device 2.

[0141] In this modification, the storage unit 22 stores various information such as an inspection program 82A and learning result data 125A. The inspection program 82A corresponds to the estimation program 82 according to the above embodiment. In addition, in this modification, the inspection device 2A is connected to the camera SA via the external interface 24. The camera SA may be, for example, a general RGB camera, a depth camera, an infrared camera, or the like. The camera SA may be appropriately disposed in a location where it can photograph the product RA. For example, the camera SA may be disposed near a conveyor device that transports the product RA.

[0142] The hardware configuration of the inspection device 2A does not have to be limited to this example. Regarding the specific hardware configuration of the inspection device 2A, components can be omitted, replaced, or added as appropriate depending on the embodiment. The inspection device 2A may be a general-purpose server device, a general-purpose PC, a PLC, or the like, in addition to an information processing device designed specifically for the service provided.

[0143] FIG. 11B illustrates a schematic example of a software configuration of the inspection device 2A according to this modified example. As in the above embodiment, the software configuration of the inspection device 2A is realized by the execution of the inspection program 82A by the control unit 21. Except for the fact that the data to be handled is limited as described above, the software configuration of the inspection device 2A is the same as that of the estimation device 2. The inspection unit 212A holds the learning result data 125A, and thus includes a trained encoder 51 and a first estimator 52. The inspection unit 212A corresponds to the estimation unit 212. As a result, the inspection device 2A can execute a series of information processes related to visual inspection, similar to the estimation process of the estimation device 2.

[0144] That is, in step S201, the control unit 21 acquires object image data 221A showing the product RA to be inspected from the camera SA. In step S202, the control unit 21 operates as an inspection unit 212A, and sets the trained encoder 51 and the first estimator 52 with reference to the learning result data 125A. The control unit 21 provides the acquired object image data 221A to the trained encoder 51, and executes forward propagation arithmetic processing of the trained encoder 51 and the first estimator 52. As a result, the control unit 11 acquires an output value corresponding to the result of estimating the defect P12 of the product RA shown in the object image data 221A from the trained first estimator 52.

[0145] In step S203, the control unit 21 outputs information on the result of estimating the defect P12 in the product RA. For example, the control unit 21 may output the result of estimating the defect P12 in the product RA directly to the output device 26. Also, for example, when it is determined that the product RA contains the defect P12, the control unit 21 may output a warning to notify the same to the output device 26. Also, for example, when the inspection device 2A is connected to a conveyor device that transports the product RA, the conveyor device may be controlled based on the result of estimating the defect P12 so that the product RA with the defect P12 and the product RA without the defect P12 are transported on separate lines.

[0146] (Features) According to this modification, the machine learning of the model generating device 1 makes it possible to ensure that the feature output by the trained encoder 51 contains a component corresponding to information about the defect P12 and is unlikely to contain a component corresponding to other features other than the defect P12, such as information about the background P11. Thus, it is possible to generate a trained encoder 51 and a first estimator 52 that can perform an estimation task related to the defect P12 robustly against differences in other features such as the background P11. In the inspection device 2A according to this modification, by using the trained encoder 51 and the first estimator 52, it is expected that an estimation task related to the defect P12 (i.e., visual inspection) will be performed with high accuracy.

[0147] [Other formats] In the first modified example, the product RA is an example of an object, and the information on the defect P12 is an example of an attribute of the object. The attribute of the background P11 is an example of a feature other than the attribute of the object. The attribute and other features of the object may not be limited to the examples of the defect P12 and the background P11 of the product RA, and may be appropriately selected according to the embodiment. That is, the estimation system 100 according to the embodiment may be applied to various situations in which the attribute of an arbitrary object appearing in image data is estimated. In this case, the predetermined type of data may be image data in which the object appears. Correspondingly, the first feature may be an attribute of the object, and the second feature may be a feature other than the attribute of the object. This makes it possible to generate a trained encoder 51 and a first estimator 52 that can perform an estimation task regarding the attribute of the object robustly against differences in features other than the attribute of the object.

[0148] Also, when a part other than the product RA is regarded as the background P11, the part in which the product RA appears is an example of the foreground. Alternatively, when a part other than the defect P12 of the product RA is regarded as the background P11, the range in which the defect P12 appears is an example of the foreground. The foreground and the background may not be limited to such an example, and may be appropriately selected according to the embodiment. That is, the estimation system 100 according to the above embodiment may be applied to various situations in which estimation is performed regarding features contained in any foreground appearing in image data. In this case, the predetermined type of data may be image data including the foreground and the background. Correspondingly, the first feature may relate to the foreground, and the second feature may relate to the background. Any element that can be extracted from the image data may be selected as the foreground. This makes it possible to generate a trained encoder 51 and a first estimator 52 that can perform an estimation task regarding the foreground robustly against differences in the background.

[0149] The foreground may be composed of any component that can be extracted from the image data in distinction from the background. The first feature may be any information that can be derived directly or indirectly from the foreground. Estimating the feature contained in the foreground may be composed, for example, by estimating the attribute of an object depicted in the image data. In this case, the component involved in deriving the attribute of the object is an example of the foreground. The range of the foreground may be appropriately determined so that the attribute of the object can be derived. For example, the foreground may be the range in which the object is depicted. Alternatively, the foreground may be a range that includes the object and the surroundings of the object. Alternatively, the foreground may be a range of a part of the object in which the attribute of the estimation target appears.

[0150] (A-1) Identifying license plate symbols FIG. 12 illustrates a schematic example of another scene in which attributes of an object captured in image data are estimated. The identification system illustrated in FIG. 12 includes a model generating device 1 and an identification device 2A1. The identification device 2A1 corresponds to the inspection device 2A. The configuration of the identification device 2A1 may be the same as that of the inspection device 2A. The predetermined type of data handled in the example of FIG. 12 may be image data showing a license plate RA1. To acquire this image data, a camera SA1 may be used, as in the inspection system 100A.

[0151] In this case, the first feature may relate to the symbol P20 given to the license plate RA1. The license plate RA1 is an example of an object, and the area in which the symbol P20 appears is an example of the foreground. The second feature may relate to the background other than the area in which the symbol P20 is given. The symbol P20 may be composed of, for example, numbers, letters, marks, figures, or a combination of these. The background of the license plate RA1 may be decorated with a pattern, design, or the like. The inference regarding the first feature may be to identify the symbol P20.

[0152] This allows the model generating device 1 to generate a trained encoder 51 and a first estimator 52 capable of identifying the symbol P20 assigned to the license plate RA1 robustly against differences in background. The identification device 2A1 can identify the symbol P20 from target data showing the license plate RA1 by a procedure similar to that of the inspection device 2A. The identification system according to this modification may be used in any situation where the symbol P20 of the license plate RA1 is identified. For example, the identification system according to this modification may be used to identify a vehicle traveling on a road from image data obtained by a surveillance camera for monitoring vehicles traveling on the road.

[0153] In addition, in a scene of monitoring vehicles traveling on a road, the identification device 2A1 may identify the symbol P20 of the license plate RA1 from the image data obtained in time series by the processes of steps S201 and S202. Then, the identification device 2A1 may create history information indicating the results of identifying vehicles traveling on the target road based on the symbol P20 in time series by the process of step S203.

[0154] (A-2) Identifying the symbol on the product packaging Fig. 13 illustrates a schematic example of another scene in which attributes of an object captured in image data are estimated. The classification system illustrated in Fig. 13 includes a model generating device 1 and a classification device 2A2. The classification device 2A2 corresponds to the inspection device 2A. The configuration of the classification device 2A2 may be the same as that of the inspection device 2A. The predetermined type of data handled in the example of Fig. 13 may be image data in which product packaging RA2 is captured. To acquire this image data, a camera SA2 may be used, as in the inspection system 100A.

[0155] In this case, the first feature may relate to the symbol P30 given to the package RA2. The package RA2 is an example of an object, and the area in which the symbol P30 appears is an example of the foreground. The second feature may relate to the background other than the area in which the symbol P30 is given. The symbol P30 may be composed of, for example, numbers, letters, marks, figures, codes, or combinations thereof. The code may be, for example, a one-dimensional code, a two-dimensional code, or the like. The background of the package RA2 may be decorated with a pattern, design, or the like. The inference regarding the first feature may be to identify the symbol P30.

[0156] This allows the model generation device 1 to generate a trained encoder 51 and a first estimator 52 that can robustly identify the symbol P30 assigned to the package RA2 against differences in background. The identification device 2A2 can identify the symbol P30 assigned to the package RA2 by a procedure similar to that of the inspection device 2A. The identification system according to this modification may be used in any situation where the symbol P30 assigned to the package RA2 is identified. For example, the identification system according to this modification may be used to identify products transported on a production line.

[0157] (A-3) Estimating the attributes of a moving object FIG. 14 illustrates an example of another scene in which attributes of an object captured in image data are estimated. The monitoring system illustrated in FIG. 14 includes a model generating device 1 and a monitoring device 2A3. The monitoring device 2A3 corresponds to the above-mentioned inspection device 2A. The configuration of the monitoring device 2A3 may be the same as that of the above-mentioned inspection device 2A. The predetermined type of data handled in the example of FIG. 14 may be image data obtained by capturing an area in which a moving object RA3 may exist. The moving object RA3 may be, for example, a vehicle, a person, or the like. A camera SA3 arranged to capture an area to be monitored may be used to acquire the image data. The area to be monitored may be determined from any location, such as a road, inside a building, or the like. The monitoring device 2A3 may be appropriately connected to the camera SA3, for example, via a network or the like. This allows the monitoring device 2A3 to acquire image data that captures the area to be monitored.

[0158] In this case, the first feature may be related to the attribute of the moving object RA3, and the second feature may be related to the background such as a road or a building. The moving object RA3 is an example of an object. The foreground may be an area in which the moving object RA3 is captured. Alternatively, the foreground may be an area including the moving object RA3 and the surroundings of the moving object RA3. In this case, the background may be an area outside the surroundings of the moving object RA3. The attribute of the moving object RA3 may include, for example, a range (bounding box) in which the moving object RA3 is captured, identification information of the moving object RA3, a state of the moving object RA3, etc. The state of the moving object RA3 may include, for example, a position, a number, a degree of congestion (congestion degree, density), a speed, an acceleration, etc. In addition, the state of the moving object RA3 may include, for example, a possibility (danger level) that the moving object RA3 will encounter danger such as an accident or a crime. The type of danger that the moving object RA3 may encounter may be determined arbitrarily. Furthermore, when the moving object RA3 is a person, the identification information of the moving object RA3 may include, for example, the person's identifier, name, sex, age, physique, etc. Furthermore, the state of the moving object RA3 may include, for example, the person's behavior, the person's posture, etc.

[0159] This allows the model generating device 1 to generate a trained encoder 51 and a first estimator 52 capable of estimating the attributes of the moving object RA3 robustly against differences in background. The monitoring device 2A3 can estimate the attributes of the moving object RA3 in the shooting range of the camera SA3 by a procedure similar to that of the inspection device 2A. The monitoring system according to this modification may be used in any scene in which the moving object RA3 is monitored. For example, the monitoring system according to this modification may be used in a scene in which the degree of congestion of the moving object RA3 in a road or building is monitored, a scene in which a person falls from a station platform is monitored, a scene in which a person walking on a road is monitored for a sign of encountering a crime, and the like. Note that the form in which the estimation result is output may be determined arbitrarily. For example, in a scene in which the danger level of the moving object RA3 is estimated, the monitoring device 2A3 may output a warning according to the estimated danger level in the above step S203.

[0160] (A-4) Monitoring the driver’s condition FIG. 15 illustrates a schematic example of another scene in which attributes of an object captured in image data are estimated. The monitoring system illustrated in FIG. 15 includes a model generating device 1 and a monitoring device 2A4. The monitoring device 2A4 corresponds to the inspection device 2A. The configuration of the monitoring device 2A4 may be the same as that of the inspection device 2A. The predetermined type of data handled in the example of FIG. 15 may be image data in which a driver RA4 is captured. To obtain this image data, a camera SA4 may be used, as in the inspection system 100A. The camera SA4 may be appropriately positioned to capture an image of the driver RA4 assumed to be in the driver's seat.

[0161] In this case, the first feature may be related to the state of the driver RA4, and the second feature may be related to the background such as the scenery inside the vehicle. The driver RA4 is an example of an object. The foreground may be an area related to the state of the driver RA4. The area related to the state of the driver RA4 may be, for example, an area in which the driver RA4 is shown, an area further including the surroundings of the driver RA4, an area in which a part of the driver RA4 (for example, any body part) is shown, an area in which a tool related to driving (such as a steering wheel) is shown, and the like. The state of the driver RA4 may include, for example, a health state, a degree of drowsiness, a degree of fatigue, a degree of ease, and the like. The health state may be expressed, for example, by the probability of developing a certain disease, the probability of a change in physical condition, and the like. The degree of drowsiness indicates the degree of drowsiness of the driver RA4. The degree of fatigue indicates the degree of fatigue of the driver RA4. The degree of ease indicates the degree of ease with which the driver RA4 is able to drive.

[0162] This allows the model generating device 1 to generate a trained encoder 51 and a first estimator 52 capable of estimating the state of the driver RA4 robustly against differences in background. The monitoring device 2A4 can estimate the state of the driver RA4 by a procedure similar to that of the inspection device 2A. The monitoring system according to this modified example may be used in any situation where the state of the driver RA4 is monitored. Furthermore, the monitoring system according to this modified example may also be used for subjects other than the driver RA4. As an example of a subject other than the driver RA4, the subject may be, for example, a worker working in an office, a factory, etc.

[0163] In addition, in the above step S203, the form of outputting the result of estimating the state of the driver RA4 may be determined arbitrarily. As an example, when at least one of the drowsiness level and the fatigue level is estimated, the monitoring device 2A4 may determine whether or not at least one of the estimated drowsiness level and the fatigue level exceeds a threshold. Then, when at least one of the drowsiness level and the fatigue level exceeds a threshold, the monitoring device 2A4 may output to the output device a warning that prompts the driver RA4 to stop the vehicle in a parking lot or the like and take a break. In this way, the monitoring device 2A4 may output a specific message, such as a warning, to the output device according to the estimated state of the driver RA4.

[0164] As another example, when the vehicle is equipped with a control device (not shown) that controls the operation of the automatic driving, the monitoring device 2A4 may transmit a command to the control device to instruct the operation of the automatic driving of the vehicle based on the result of estimating the state of the driver RA4. As a specific example, it is assumed that the control device is configured to be able to switch between an automatic driving mode that controls the traveling of the vehicle and a manual driving mode that controls the traveling of the vehicle by steering by the driver RA4. In this case, when the vehicle is traveling in the automatic driving mode and a switch from the automatic driving mode to the manual driving mode is received from the driver RA4 or the system, the monitoring device 2A4 may determine whether or not the estimated margin of safety of the driver RA4 exceeds a threshold. Then, when the margin of safety of the driver RA4 exceeds the threshold, the monitoring device 2A4 may transmit a command to the control device to permit switching from the automatic driving mode to the manual driving mode. On the other hand, when the margin of safety of the driver RA4 is equal to or lower than the threshold, the monitoring device 2A4 may transmit a notification to the control device that does not permit switching from the automatic driving mode to the manual driving mode, and maintain traveling in the automatic driving mode.

[0165] Also, when the vehicle is traveling in the manual driving mode, the monitoring device 2A4 may determine whether or not at least one of the estimated drowsiness level and fatigue level exceeds a threshold. If at least one of the drowsiness level and fatigue level exceeds a threshold, the monitoring device 2A4 may transmit a command to the control device to switch from the manual driving mode to the automatic driving mode and to instruct the control device to stop the vehicle in a safe place such as a parking lot. On the other hand, if this is not the case, the monitoring device 2A4 may maintain the vehicle traveling in the manual driving mode.

[0166] Also, when the vehicle is traveling in the manual driving mode, the monitoring device 2A4 may determine whether the estimated margin of safety is equal to or less than a threshold. If the margin of safety is equal to or less than the threshold, the monitoring device 2A4 may transmit a command to decelerate the control device. On the other hand, if the margin of safety is not equal to or less than the threshold, the monitoring device 2A4 may maintain the traveling of the vehicle by the operation of the driver RA4. The control device of the vehicle and the monitoring device 2A4 may be configured by an integrated computer.

[0167] (B) Monitoring vehicle conditions 16 is a schematic diagram illustrating an example of an application scene of a monitoring system 100B according to a second modified example. This modified example is an example in which the above-described embodiment is applied to a scene in which the vehicle status is monitored by utilizing sensing data obtained by an on-board sensor SB. The monitoring system 100B according to this modified example includes a model generating device 1 and a monitoring device 2B. As in the above-described embodiment, the model generating device 1 and the monitoring device 2B may be connected to each other via a network.

[0168] The predetermined types of data (training data 121B and target sensing data 221B described later) handled in this modified example are sensing data obtained by an on-board sensor SB. The type of on-board sensor SB may be selected arbitrarily. The on-board sensor SB may be, for example, an image sensor, a Lidar sensor, a millimeter wave radar, an ultrasonic sensor, an acceleration sensor, or the like. The first feature relates to the situation of the vehicle. The situation of the vehicle may relate to at least one of the outside and the inside of the vehicle. The situation outside the vehicle may be expressed, for example, by attributes of objects existing around the vehicle, congestion level, risk of accident, or the like. The objects existing around the vehicle may be, for example, roads, traffic lights, obstacles (people, objects), or the like. The attributes of the road may include, for example, the type of lane, the type of road (for example, intersection, expressway), road surface condition, or the like. The attributes of the traffic lights may include, for example, the lighting state of the traffic lights, or the like. The attributes of the obstacle may include, for example, the presence or absence of an obstacle, the type of the obstacle, the size of the obstacle, the speed of the obstacle, an event related to the obstacle, or the like. The obstacle-related events may include, for example, a person or vehicle jumping out, a sudden start, a sudden stop, a lane change, and the like. The risk of an accident may be expressed, for example, by the type of accident and the occurrence probability of the accident. The situation inside the vehicle may be expressed, for example, by the running state of the vehicle, the attributes of the occupants riding in the vehicle, and the like. The running state may be expressed, for example, by changes in running operations such as speed, acceleration, steering angle, and the like. The attributes of the occupants may include, for example, the state, number, position, number, identification information, and the like of the occupants. The estimation of the vehicle situation may include, in addition to simply estimating the vehicle situation, estimating an operation command for the vehicle according to the vehicle situation. The operation command may be specified, for example, by the amount of acceleration, the amount of braking, the steering angle, the lighting of the lights, the use of the horn, and the like. In contrast, the second feature may be appropriately selected from other features than the vehicle situation that is the target of the estimation task. For example, the second feature may be selected from one example of the vehicle situation that was not selected as the target of the estimation task. Alternatively, the second feature may be selected from factors other than the vehicle situation, such as the observation environment.As a specific example, the first feature may be the presence or absence of an obstacle, a road attribute, a congestion level, or a combination thereof, and the second feature may be the weather, time, an attribute of the location where the road is located, or a combination thereof. The time may be expressed by a certain time period. The time period may be expressed by a method in which the length of the time period may vary depending on the time of year, such as morning, afternoon, night, etc., or a fixed method such as 1:00 to 2:00 may be used. The location attribute may include, for example, the type of population density of the location, such as city or countryside. Except for these limitations, the surveillance system 100B according to this modification may be configured similarly to the estimation system 100 according to the above embodiment.

[0169] (Model Generator) In this modification, the model generating device 1 acquires a plurality of learning data sets 120B in the above step S101. The training data 121B of each learning data set 120B is sensing data obtained by an on-board sensor SB. The first correct answer data 122B indicates information (correct answer) on the vehicle status that appears in the training data 121B and is the target of the estimation task. When the estimation on the vehicle status is configured by estimating an operation command for the vehicle according to the vehicle status, the first correct answer data 122B indicates an operation command for the vehicle according to the vehicle status that appears in the training data 121B (correct answer). The second correct answer data 123B indicates information (correct answer) on features other than the vehicle status that is the target of the estimation task.

[0170] The model generation device 1 performs machine learning of the learning model 5 using the multiple learning data sets 120B acquired by the process of step S102. This makes it possible to construct a trained encoder 51 and a first estimator 52 that have acquired the ability to output an estimation result regarding the vehicle situation in response to an input of sensing data obtained by the in-vehicle sensor SB. The model generation device 1 appropriately stores information regarding the trained encoder 51 and the first estimator 52 as learning result data 125B in a predetermined storage area by the process of step S103. The generated learning result data 125B may be provided to the monitoring device 2B at any timing.

[0171] (monitoring device) Fig. 17A is a schematic diagram illustrating an example of a hardware configuration of a monitoring device 2B according to this modification. As shown in Fig. 17A, the monitoring device 2B according to this modification may be configured by a computer to which a control unit 21, a storage unit 22, a communication interface 23, an external interface 24, an input device 25, an output device 26, and a drive 27 are electrically connected, similar to the estimation device 2.

[0172] In this modification, the storage unit 22 stores various information such as a monitoring program 82B and learning result data 125B. The monitoring program 82B corresponds to the estimation program 82 according to the above embodiment. In this modification, the monitoring device 2B is connected to an on-vehicle sensor SB via an external interface 24. The on-vehicle sensor SB may be appropriately disposed so as to observe the vehicle status of the monitored object.

[0173] The hardware configuration of the monitoring device 2B may not be limited to this example. Regarding the specific hardware configuration of the monitoring device 2B, components can be omitted, replaced, or added as appropriate depending on the embodiment. The monitoring device 2B may be an information processing device designed specifically for the service provided, as well as a general-purpose computer, a mobile phone including a smartphone, an in-vehicle device, or the like.

[0174] FIG. 17B illustrates an example of a software configuration of a monitoring device 2B according to this modified example. As in the above embodiment, the software configuration of the monitoring device 2B is realized by execution of a monitoring program 82B by the control unit 21. Except for the fact that the data to be handled is limited as described above, the software configuration of the monitoring device 2B is the same as that of the estimation device 2. The monitoring unit 212B holds learning result data 125B, and thus includes a trained encoder 51 and a first estimator 52. The monitoring unit 212B corresponds to the estimation unit 212. As a result, the monitoring device 2B can execute a series of information processes related to the estimation of the vehicle situation, similar to the estimation process of the estimation device 2.

[0175] That is, in step S201, the control unit 21 acquires target sensing data 221B from the on-board sensor SB regarding the vehicle status of the monitoring target. In step S202, the control unit 21 operates as a monitoring unit 212B, and sets the trained encoder 51 and the first estimator 52 with reference to the learning result data 125B. The control unit 21 provides the acquired target sensing data 221B to the trained encoder 51, and executes forward propagation arithmetic processing of the trained encoder 51 and the first estimator 52. As a result, the control unit 11 acquires an output value corresponding to the result of estimating the vehicle status from the trained first estimator 52.

[0176] In step S203, the control unit 21 outputs information on the result of estimating the vehicle status. For example, the control unit 21 may output the result of estimating the vehicle status to the output device 26 as it is. Also, for example, the control unit 21 may determine whether or not there is a possibility of danger occurring in the traveling of the vehicle based on the estimated vehicle status. The criteria for the determination may be set arbitrarily. When it is determined that there is a possibility of danger occurring in the traveling of the vehicle, the control unit 21 may output a warning to notify the danger to the output device 26. Also, for example, when the estimation regarding the vehicle status is configured by estimating an operation command for the vehicle according to the vehicle status, in step S202, the control unit 21 can acquire the operation command for the vehicle according to the vehicle status from the trained first estimator 52 as a result of estimating the vehicle status. In this case, the control unit 21 may control the operation of the vehicle based on the acquired operation command.

[0177] (Features) According to this modification, the machine learning of the model generating device 1 makes it possible to make it possible for the feature output by the trained encoder 51 to include components corresponding to information on the vehicle status that is the subject of the estimation task, and to make it difficult for components corresponding to other features to be included. Thus, it is possible to generate a trained encoder 51 and a first estimator 52 that can perform an estimation task related to the vehicle status robustly against differences in other features. In the monitoring device 2B according to this modification, by using the trained encoder 51 and the first estimator 52, it is expected that the estimation task related to the vehicle status will be performed with high accuracy.

[0178] (C) A situation in which a health condition is diagnosed 18 is a schematic diagram illustrating an example of an application scene of a diagnostic system 100C according to a third modified example. This modified example is an example in which the above-described embodiment is applied to a scene in which the health condition of a subject is diagnosed using sensing data obtained by a sensor SC. The diagnostic system 100C according to this modified example includes a model generating device 1 and a diagnostic device 2C. As in the above-described embodiment, the model generating device 1 and the diagnostic device 2C may be connected to each other via a network.

[0179] The predetermined type of data (training data 121C and target sensing data 221C described later) handled in this modification is sensing data obtained by a sensor SC. The type of the sensor SC is not particularly limited as long as it can observe the state of the target, and may be appropriately selected according to the embodiment. The sensor SC may be, for example, a vital sensor, a medical examination device, etc. The vital sensor may be, for example, a blood pressure monitor, a pulse meter, a heart rate monitor, an electrocardiograph, an electromyograph, a thermometer, a skin electrodermal response meter, a microwave sensor, an electroencephalograph, a magnetoencephalograph, an activity meter, a blood glucose meter, an electrooculography sensor, an eye movement measuring device, etc. The medical examination device may be, for example, a CT device, an MRI device, etc. The first feature relates to the health state of the target. The information on the health state may be expressed, for example, by whether or not the target is healthy, whether or not there is a sign of illness, a type of health state, a probability of the target becoming ill, a vital value (for example, blood pressure, body temperature, etc.), etc. The second feature may be appropriately selected from features other than the health state that is the target of the estimation task. For example, the first feature may be information indicating whether the subject is healthy, a vital sign, or a combination thereof, whereas the second feature may be the subject's age, sex, race, nationality, occupation, place of residence, whether or not the subject exercises regularly, medication history, or a combination thereof. Except for these limitations, the diagnosis system 100C according to this modification may be configured similarly to the estimation system 100 according to the above embodiment.

[0180] (Model Generator) In this modification, the model generating device 1 acquires a plurality of learning data sets 120C in step S101. The training data 121C of each learning data set 120C is sensing data obtained by a sensor SC. The first correct answer data 122C is the health condition of a subject (subject) appearing in the training data 121C, and indicates information (correct answer) on the health condition that is the subject of the estimation task. The second correct answer data 123C indicates information (correct answer) on a feature other than the health condition that is the subject of the estimation task.

[0181] The model generation device 1 performs machine learning of the learning model 5 using the multiple learning data sets 120C acquired by the process of step S102 above. This makes it possible to construct a trained encoder 51 and a first estimator 52 that have acquired the ability to output an estimation result regarding the subject's health condition in response to an input of sensing data obtained by the sensor SC. The model generation device 1 appropriately stores information regarding the trained encoder 51 and the first estimator 52 as learning result data 125C in a predetermined storage area by the process of step S103 above. The generated learning result data 125C may be provided to the diagnosis device 2C at any timing.

[0182] (Diagnostic Equipment) Fig. 19A is a schematic diagram illustrating an example of a hardware configuration of a diagnostic device 2C according to this modification. As shown in Fig. 19A, the diagnostic device 2C according to this modification may be configured by a computer to which a control unit 21, a storage unit 22, a communication interface 23, an external interface 24, an input device 25, an output device 26, and a drive 27 are electrically connected, similar to the estimation device 2.

[0183] In this modification, the storage unit 22 stores various information such as a diagnostic program 82C and learning result data 125C. The diagnostic program 82C corresponds to the estimation program 82 according to the above embodiment. In this modification, the diagnostic device 2C is connected to the sensor SC via the external interface 24.

[0184] The hardware configuration of the diagnostic device 2C is not limited to this example. Concerning the specific hardware configuration of the diagnostic device 2C, components can be omitted, replaced, or added as appropriate depending on the embodiment. The diagnostic device 2C may be a general-purpose server device, a general-purpose PC, or the like, in addition to an information processing device designed specifically for the service provided.

[0185] FIG. 19B illustrates an example of a software configuration of a diagnostic device 2C according to this modified example. As in the above embodiment, the software configuration of the diagnostic device 2C is realized by execution of a diagnostic program 82C by the control unit 21. Except for the fact that the data to be handled is limited as described above, the software configuration of the diagnostic device 2C is the same as that of the estimation device 2. The diagnostic unit 212C includes a trained encoder 51 and a first estimator 52 by holding learning result data 125C. The diagnostic unit 212C corresponds to the estimation unit 212. As a result, the diagnostic device 2C can execute a series of information processes related to the estimation of the subject's health condition, similar to the estimation process of the estimation device 2.

[0186] That is, in step S201, the control unit 21 acquires the target sensing data 221C from the sensor SC for the subject to be diagnosed. In step S202, the control unit 21 operates as the diagnosis unit 212C, and sets the trained encoder 51 and the first estimator 52 with reference to the learning result data 125C. The control unit 21 provides the acquired target sensing data 221C to the trained encoder 51, and executes the forward propagation arithmetic processing of the trained encoder 51 and the first estimator 52. As a result, the control unit 11 acquires an output value corresponding to the result of estimating the health condition of the subject from the trained first estimator 52.

[0187] In step S203, the control unit 21 outputs information on the result of estimating the subject's health condition. For example, the control unit 21 may output the result of estimating the subject's health condition to the output device 26 as it is. Also, for example, if the estimated health condition of the subject shows a sign of a certain disease, the control unit 21 may output a message encouraging the subject to be examined at a hospital to the output device 26. Also, for example, the control unit 21 may transmit the result of estimating the subject's health condition to a terminal of a registered hospital. Note that information on the terminal to which the information is to be transmitted may be stored in a predetermined storage area such as RAM, ROM, the storage unit 22, the storage medium 92, an external storage device, etc.

[0188] (Features) According to this modification, the model generating device 1 uses machine learning to make it possible for the feature output by the trained encoder 51 to include components corresponding to information on the health condition that is the subject of the estimation task, and to make it difficult for components corresponding to other features to be included. Thus, it is possible to generate a trained encoder 51 and a first estimator 52 that can perform an estimation task on the subject's health condition robustly against differences in other features. In the diagnosis device 2C according to this modification, it is expected that the estimation task on the health condition will be performed with high accuracy by using the trained encoder 51 and the first estimator 52.

[0189] (D) Monitoring the cultivation situation 20 is a schematic diagram illustrating an example of an application scene of a monitoring system 100D according to a fourth modified example. This modified example is an example in which the above-described embodiment is applied to a scene in which the cultivation status of a plant RD is monitored using sensing data obtained by an environmental sensor SD. The monitoring system 100D according to this modified example includes a model generating device 1 and a monitoring device 2D. As in the above-described embodiment, the model generating device 1 and the monitoring device 2D may be connected to each other via a network.

[0190] The predetermined type of data (training data 121D and target sensing data 221D described later) handled in this modified example is sensing data obtained by an environmental sensor SD. The type of the environmental sensor SD is not particularly limited as long as it can observe the cultivation status of the plant RD, and may be appropriately selected according to the embodiment. The environmental sensor SD may be, for example, a barometer, a thermometer, a hygrometer, a sound pressure meter, a sound sensor, an ultraviolet sensor, a light meter, a rain gauge, a gas sensor, or the like. The type of the plant RD may be selected arbitrarily. The first feature relates to the cultivation status of the plant RD. The cultivation status may relate to any element of cultivating the plant RD. The cultivation status may be specified, for example, by the growth environment, growth state, and the like up to the time of cultivation. The growth environment relates to the growing status of the plant RD, and may be specified, for example, by the time for irradiating light to the plant RD, the temperature around the plant RD, the amount of water given to the plant RD, and the like. The growth state may be specified, for example, by the growth degree of the plant RD, and the like. The second feature may be appropriately selected from features other than the cultivation condition that is the subject of the estimation task. For example, the second feature may be the growing location, the type of the environmental sensor SD, the installation position of the environmental sensor SD, the installation angle of the environmental sensor SD, the acquisition time of the sensing data, the season, the weather, or a combination thereof.

[0191] In addition, in this modification, the monitoring device 2D may be connected to the cultivation device CD. The cultivation device CD is configured to control the growing environment of the plant RD. The type of the cultivation device CD may not be particularly limited as long as it can control the growing environment of the plant RD, and may be appropriately selected according to the embodiment. The cultivation device CD may be, for example, a curtain device, a lighting device, an air conditioning device, a watering device, or the like. The curtain device is configured to open and close curtains attached to windows of a building. The lighting device is, for example, an LED (light emitting diode) lighting device, a fluorescent lamp, or the like. The air conditioning device is, for example, an air conditioner, or the like. The watering device is, for example, a sprinkler, or the like. The curtain device and the lighting device are used to control the time for irradiating light to the plant RD. The air conditioning device is used to control the temperature around the plant RD. The watering device is used to control the amount of water given to the plant RD. Except for these limitations, the monitoring system 100D according to this modification may be configured similarly to the estimation system 100 according to the above embodiment.

[0192] (Model Generator) In this modification, the model generating device 1 acquires a plurality of learning data sets 120D in the above step S101. The training data 121D of each learning data set 120D is sensing data obtained by the environmental sensor SD. The first correct answer data 122D is the cultivation status of the plant RD appearing in the training data 121D, and indicates information (correct answer) on the cultivation status of the plant RD that is the subject of the estimation task. The second correct answer data 123D indicates information (correct answer) on other features than the cultivation status that is the subject of the estimation task.

[0193] The model generation device 1 performs machine learning of the learning model 5 using the multiple learning data sets 120D acquired by the process of step S102 above. This makes it possible to construct a trained encoder 51 and a first estimator 52 that have acquired the ability to output an estimation result regarding the cultivation state of the plant RD in response to an input of sensing data obtained by the environmental sensor SD. The model generation device 1 appropriately stores information regarding the trained encoder 51 and the first estimator 52 as learning result data 125D in a predetermined storage area by the process of step S103 above. The generated learning result data 125D may be provided to the monitoring device 2D at any timing.

[0194] (monitoring device) Fig. 21A is a schematic diagram illustrating an example of a hardware configuration of a monitoring device 2D according to this modification. As shown in Fig. 21A, the monitoring device 2D according to this modification may be configured by a computer to which a control unit 21, a storage unit 22, a communication interface 23, an external interface 24, an input device 25, an output device 26, and a drive 27 are electrically connected, similar to the estimation device 2.

[0195] In this modification, the storage unit 22 stores various information such as a monitoring program 82D and learning result data 125D. The monitoring program 82D corresponds to the estimation program 82 according to the above embodiment. In this modification, the monitoring device 2D is connected to the environment sensor SD and the cultivation device CD via the external interface 24.

[0196] The hardware configuration of the monitoring device 2D is not limited to this example. Concerning the specific hardware configuration of the monitoring device 2D, components can be omitted, replaced, or added as appropriate depending on the embodiment. The monitoring device 2D may be an information processing device designed specifically for the service provided, as well as a general-purpose server device, a general-purpose PC, a PLC, or the like.

[0197] FIG. 21B illustrates an example of a software configuration of the monitoring device 2D according to this modified example. As in the above embodiment, the software configuration of the monitoring device 2D is realized by the execution of the monitoring program 82D by the control unit 21. Except for the fact that the data to be handled is limited as described above, the software configuration of the monitoring device 2D is the same as that of the estimation device 2. The monitoring unit 212D includes a trained encoder 51 and a first estimator 52 by holding the learning result data 125D. The monitoring unit 212D corresponds to the estimation unit 212. As a result, the monitoring device 2D can execute a series of information processes related to the estimation of the cultivation status of the plant RD, similar to the estimation process of the estimation device 2.

[0198] That is, in step S201, the control unit 21 acquires target sensing data 221D for the plant RD to be monitored. In step S202, the control unit 21 operates as a monitoring unit 212D, and sets the trained encoder 51 and the first estimator 52 with reference to the learning result data 125D. The control unit 21 provides the acquired target sensing data 221D to the trained encoder 51, and executes forward propagation arithmetic processing of the trained encoder 51 and the first estimator 52. As a result, the control unit 11 acquires an output value corresponding to the result of estimating the cultivation state of the plant RD from the trained first estimator 52. Note that estimating the cultivation state may include estimating at least one of the growth environment and the work content that maximizes the yield, estimating the optimal work content in the current growth environment observed, and the like.

[0199] In step S203, the control unit 21 outputs information on the result of estimating the cultivation status of the plant RD. For example, the control unit 21 may output the result of estimating the cultivation status of the plant RD to the output device 26 as it is. In this case, the control unit 21 may prompt the worker to improve the cultivation status of the plant RD by outputting to the output device the estimation result of at least one of the growth environment and the work content that maximizes the harvest amount, the optimal work content in the current observed growth environment, etc. Also, for example, the control unit 21 may determine a control command to be given to the cultivation device CD according to the estimated cultivation status. The correspondence between the cultivation status and the control command may be given by reference information in a table format or the like. This reference information may be stored in the RAM, ROM, the storage unit 22, the storage medium 92, an external storage device, etc., and the control unit 21 may determine the control command according to the estimated cultivation status by referring to this reference information. Then, the control unit 21 may control the operation of the cultivation device CD by giving the determined control command to the cultivation device CD. Furthermore, for example, the control unit 21 may output information indicating the determined control command to the output device 26, and prompt the manager of the plant RD to control the operation of the cultivation device CD.

[0200] (Features) According to this modification, the model generating device 1 uses machine learning to make it possible for the feature quantity output by the trained encoder 51 to include components corresponding to information on the cultivation status of the plant RD that is the subject of the estimation task, and to make it difficult for components corresponding to other features to be included. Thus, it is possible to generate a trained encoder 51 and a first estimator 52 that can perform an estimation task on the cultivation status of the plant RD robustly against differences in other features. In the monitoring device 2D according to this modification, it is expected that the estimation task on the cultivation status will be performed with high accuracy by using the trained encoder 51 and the first estimator 52.

[0201] The sensing data obtained by observing the state of the plant RD by the environmental sensor SD is an example of observation data that can be used to monitor the cultivation state of the plant RD. The observation data regarding the plant RD may not be limited to the example of the sensing data. The observation data regarding the plant RD may be composed of, for example, sensing data obtained by the environmental sensor SD, observation data of the plant RD obtained by input by an operator, or a combination of these. The observation data may be composed of, for example, work record data, environment record data, or a combination of these. The work record data may be composed of information indicating, for example, the presence or absence, date and time of execution, amount, etc. of work such as flower picking, leaf picking, and bud picking. Furthermore, the environment record data may be composed of information indicating the result of the operator's observation of the environment (for example, weather, temperature, humidity, etc.) around the plant RD. In the above-mentioned fourth modified example, such observation data may be treated as a predetermined type of data.

[0202] (E) Other The above-mentioned modified examples are examples of situations in which attributes of an observed object are estimated from sensing data obtained by a sensor. The sensor and the observed object are not limited to the above examples, and may be appropriately selected according to the embodiment. That is, the estimation system 100 according to the above-mentioned embodiment may be applied to various situations in which estimation is performed regarding attributes of any object appearing in sensing data. In this case, the first feature may be an attribute of the object observed by the sensor, and the second feature may be a feature other than the attribute of the object that may appear in the sensing data. This makes it possible to generate a trained encoder 51 and a first estimator 52 that can perform an estimation task regarding the attribute of the observed object robustly against differences in other features.

[0203] FIG. 22 illustrates a schematic example of another scene in which attributes of an object appearing in sensing data are estimated. The monitoring system illustrated in FIG. 22 includes a model generating device 1 and a monitoring device 2E. The configuration of the monitoring device 2E may be the same as that of the inspection device 2A or the like. The predetermined type of data handled in the example of FIG. 22 may be sensing data obtained by a sensor SE for monitoring the state of the machine RE. The sensor SE may be, for example, a microphone, an acceleration sensor, a vibration sensor, or the like. Accordingly, the obtained sensing data may be related to vibrations (including sound) of the machine RE.

[0204] In this case, the first feature may be related to an abnormality of the machine RE, such as aging, failure, or malfunction of the machine RE. On the other hand, the second feature may be a feature other than the abnormality of the machine RE, and may be related to vibrations that normally occur in the operating environment, such as vibrations that occur during normal operation of the machine RE and vibrations around the machine RE. The type of the machine RE and the abnormality may not be particularly limited and may be appropriately selected depending on the embodiment. The machine RE may be, for example, a device constituting a manufacturing line, such as a conveyor device, an industrial robot, a molding machine, a semiconductor manufacturing device, a board mounting machine, etc. The manufacturing line may include an assembly line. The machine RE may be the entire device, or a part of the device, such as a switch or a motor. When the equipment RE is a device constituting a manufacturing line, the abnormality of the equipment RE may be, for example, a malfunction of the device, such as positional deviation, excess or shortage of pressure, jamming of a part or product, occurrence of wrinkles, abnormality in line speed, or occurrence of a defect in a part or product. When the equipment RE is a motor, the abnormality may be, for example, a malfunction of the motor regarding torque, rotation speed, etc. The inference regarding the first characteristic may be expressed, for example, by determining whether or not an abnormality has occurred in the machine RE, determining the probability that an abnormality has occurred in the machine RE, identifying the type of abnormality that has occurred or is predicting an abnormality in the machine RE, identifying the location where the abnormality has occurred, or a combination of these.

[0205] This allows the model generating device 1 to generate a trained encoder 51 and a first estimator 52 capable of performing an estimation task regarding an abnormality of the machine RE robustly against differences in other features such as vibrations that typically occur in the operating environment. The monitoring device 2E can perform an estimation task regarding an abnormality of the machine RE by a procedure similar to that of the inspection device 2A. The monitoring system according to this modification may be used in any situation where the state of the machine RE is monitored.

[0206] As another example, the predetermined type of data may be sensing data obtained by a home security sensor. The home security sensor may be, for example, an image sensor, an infrared sensor, an activity (sound) sensor, a gas (CO2, etc.) sensor, a current sensor, a smart meter (a sensor that measures the amount of power used by home appliances, lighting, etc.), etc. In this case, the first feature may be related to the security status of the monitoring range, such as whether or not an intruder is present. The second feature may be a feature other than the security status, for example, related to a component that normally occurs in the operating environment, etc.

[0207] <4.2> In the above embodiment, a fully connected neural network is used for each of the encoder 51, the first estimator 52, and the second estimator 53. However, the type of the neural network constituting each of them is not limited to this example. For example, a convolutional neural network, a recurrent neural network, or the like may be used for each of the encoder 51, the first estimator 52, and the second estimator 53.

[0208] In the above embodiment, the type of machine learning model configuring each of the encoder 51, the first estimator 52, and the second estimator 53 may not be limited to a neural network. In addition to a neural network, for example, a support vector machine, a regression model, or the like may be used for each of the encoder 51, the first estimator 52, and the second estimator 53. The machine learning method may be appropriately selected depending on the type of each machine learning model.

[0209] In the above embodiment, the formats of the input and output of the encoder 51, the first estimator 52, and the second estimator 53 may not be particularly limited and may be appropriately determined depending on the embodiment. For example, the first estimator 52 may be configured to further receive input of information other than the feature amount. Also, the output of the first estimator 52 may be configured to directly indicate the estimation result of the first feature. Alternatively, the output of the first estimator 52 may be configured to indirectly indicate the estimation result of the first feature, for example, by indicating the probability of being in the target state to determine whether or not the target state is in the target state. The same applies to the others.

[0210] <4.3> In the above embodiment, the process of step S123 is repeatedly executed together with the processes of steps S121 and S122. However, the machine learning process procedure of the learning model 5 may not be limited to such an example. The process of step S123 may be executed at least either before or after the processes of steps S121 and S122 are alternately and repeatedly executed. [Explanation of symbols]

[0211] 1...Model generation device, 11: control unit, 12: storage unit, 13...communication interface, 14...external interface, 15...input device, 16...output device, 17...drive, 111: data acquisition unit; 112: learning processing unit; 113...storage processing section, 120…training data set, 121...training data, 122...first correct data, 123...second correct data, 125...Learning outcome data, 81...model generation program, 91...storage medium, 2...estimation device, 21: control unit, 22: storage unit, 23...communication interface, 24...external interface, 25...input device, 26...output device, 27...drive, 211: data acquisition unit; 212: estimation unit; 213...output unit, 221...Target data, 5…Learning model, 51...encoder, 52...first estimator, 53...Second estimator

Claims

1. a data acquisition unit that acquires a plurality of learning data sets each composed of a combination of training data, first supervised answer data indicating a first feature included in the training data, and second supervised answer data indicating a second feature included in the training data, the second feature being different from the first feature; A learning processing unit that performs machine learning of a learning model including an encoder, a first estimator, and a second estimator, The encoder is configured to convert input data provided thereto into features; the first estimator is configured to receive an output value of the encoder and estimate a first feature included in the input data from the feature amount; the second estimator is configured to receive an output value of the encoder and estimate a second feature included in the input data from the feature amount; The performing of the machine learning includes: a first training step of training the second estimator for each of the learning data sets such that an estimation result obtained from the second estimator by providing the training data to the encoder matches the second ground truth data; a second training step for training the encoder for each of the learning data sets such that, when the training data is fed to the encoder, an estimation result obtained from the second estimator does not match the second ground truth data; and a third training step of training the encoder and the first estimator for each of the learning data sets such that an estimation result obtained from the first estimator by providing the training data to the encoder matches the first ground truth data; Including, The first training step and the second training step are alternately and repeatedly performed. A learning processing unit; Equipped with Model generation device.

2. The third training step is repeatedly performed together with the first training step and the second training step. The model generating device according to claim 1 .

3. In the second training step, for each of the learning data sets, dummy data corresponding to the second correct answer data and configured with values ​​different from the corresponding second correct answer data is obtained; training the encoder so that the estimation result does not match the second correct answer data comprises training the encoder so that the estimation result obtained from the second estimator matches the dummy data by providing the training data to the encoder.

3. The model generating device according to claim 1 or 2.

4. The dummy data is composed of second correct answer data of a learning data set different from a learning data set corresponding to the dummy data.

4. The model generating device of claim 3.

5. the first feature is a feature for a first component to be estimated; the second feature is a feature about a second component that is different from the first component and that affects the predetermined estimation about the first component; A model generating device according to any one of claims 1 to 4.

6. the training data is image data including foreground and background; the first feature is a feature about the foreground; the second feature is a feature about the background; A model generating device according to any one of claims 1 to 4.

7. The training data is image data including an object, the first feature is an attribute of the object; The second feature is a feature other than an attribute of the object. A model generating device according to any one of claims 1 to 4.

8. The object is a product, The attribute of the object is an attribute of a defect of the product.

8. The model generating apparatus of claim 7.

9. A data acquisition unit that acquires target data; an estimation unit that estimates a first feature included in the acquired target data by using the trained encoder and the first estimator generated by the model generation device according to any one of claims 1 to 8; an output unit that outputs information about a result of estimating the first feature; Equipped with Estimation device.

10. The computer acquiring a plurality of learning data sets each including a combination of training data, first supervised answer data indicating a first feature included in the training data, and second supervised answer data indicating a second feature included in the training data, the second feature being different from the first feature; performing machine learning of a learning model including an encoder, a first estimator, and a second estimator; The encoder is configured to convert input data provided thereto into features; the first estimator is configured to receive an output value of the encoder and estimate a first feature included in the input data from the feature amount; the second estimator is configured to receive an output value of the encoder and estimate a second feature included in the input data from the feature amount; The performing of the machine learning includes: a first training step of training the second estimator for each of the learning data sets such that an estimation result obtained from the second estimator by providing the training data to the encoder matches the second ground truth data; a second training step for training the encoder for each of the learning data sets such that, when the training data is fed to the encoder, an estimation result obtained from the second estimator does not match the second ground truth data; and a third training step of training the encoder and the first estimator for each of the learning data sets such that an estimation result obtained from the first estimator by providing the training data to the encoder matches the first ground truth data; Including, The first training step and the second training step are alternately and repeatedly performed. Steps and Execute Model generation method.

11. On the computer, acquiring a plurality of learning data sets each including a combination of training data, first supervised answer data indicating a first feature included in the training data, and second supervised answer data indicating a second feature included in the training data, the second feature being different from the first feature; performing machine learning of a learning model including an encoder, a first estimator, and a second estimator; The encoder is configured to convert input data provided thereto into features; the first estimator is configured to receive an output value of the encoder and estimate a first feature included in the input data from the feature amount; the second estimator is configured to receive an output value of the encoder and estimate a second feature included in the input data from the feature amount; The performing of the machine learning includes: a first training step of training the second estimator for each of the learning data sets such that an estimation result obtained from the second estimator by providing the training data to the encoder matches the second ground truth data; a second training step for training the encoder for each of the learning data sets such that, when the training data is fed to the encoder, an estimation result obtained from the second estimator does not match the second ground truth data; and a third training step of training the encoder and the first estimator for each of the learning data sets such that an estimation result obtained from the first estimator by providing the training data to the encoder matches the first ground truth data; Including, The first training step and the second training step are alternately and repeatedly performed. Steps and In order to execute Model generator.

Citation Information

Patent Citations

  • solder

    JP1987064492A

  • Inspection device

    JP2012026982A

  • Convolution neural network classifier system, training method for the same, classifying method, and usage

    JP2014049118A

  • Coarse-to-fine cascade adaptations for license plate recognition with convolutional neural networks

    JP2017111806A

  • Information presentation control device, automatic operation vehicle, and automatic operation vehicle supporting system

    JP2017194948A