JP6911498B2 - Learning devices, learning methods, and learning programs - Google Patents

Learning devices, learning methods, and learning programs Download PDF

Info

Publication number
JP6911498B2
JP6911498B2 JP2017091295A JP2017091295A JP6911498B2 JP 6911498 B2 JP6911498 B2 JP 6911498B2 JP 2017091295 A JP2017091295 A JP 2017091295A JP 2017091295 A JP2017091295 A JP 2017091295A JP 6911498 B2 JP6911498 B2 JP 6911498B2
Authority
JP
Japan
Prior art keywords
learning
data
learning data
data group
ability
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2017091295A
Other languages
Japanese (ja)
Other versions
JP2018190140A (en
Inventor
安藤 丹一
丹一 安藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Omron Corp
Original Assignee
Omron Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Omron Corp filed Critical Omron Corp
Priority to JP2017091295A priority Critical patent/JP6911498B2/en
Priority to PCT/JP2018/015636 priority patent/WO2018203470A1/en
Publication of JP2018190140A publication Critical patent/JP2018190140A/en
Application granted granted Critical
Publication of JP6911498B2 publication Critical patent/JP6911498B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N20/00Machine learning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/045Combinations of networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Mathematical Physics (AREA)
  • Artificial Intelligence (AREA)
  • Data Mining & Analysis (AREA)
  • Evolutionary Computation (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Biomedical Technology (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Biophysics (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Molecular Biology (AREA)
  • Medical Informatics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Image Analysis (AREA)

Description

本発明は、学習装置、学習方法、及び学習プログラムに関する。 The present invention relates to a learning device, a learning method, and a learning program.

近年、所定の能力の習得に、ディープラーニング等の機械学習が用いられることがある。例えば、特許文献1には、画像に写る対象物の種類を識別する、人物のライフログデータから当該人物の属性を特定する等の所定の能力を機械学習によりニューラルネットワーク装置に習得させることが開示されている。 In recent years, machine learning such as deep learning may be used to acquire a predetermined ability. For example, Patent Document 1 discloses that a neural network device is made to acquire predetermined abilities such as identifying the type of an object appearing in an image and identifying the attribute of the person from the life log data of the person by machine learning. Has been done.

特開2016−143094号公報Japanese Unexamined Patent Publication No. 2016-143094

ニューラルネットワーク等の学習器の機械学習には、習得させる能力に関連する学習データを用いる。十分な件数の学習データを用いて学習器の機械学習を行った場合には、習得させた能力を十分に発揮する学習済み学習器を構築することができる。一方、機械学習に用いる学習データの件数が少ない場合には、習得させた能力を十分に発揮できない学習済み学習器が構築されてしまう可能性がある。例えば、画像に写る対象物の種類を識別する能力を学習器に学習させる場合に、機械学習に用いる学習データの件数が少ないと、学習データ以外の画像に写る対象物に対する学習済み学習器の識別率が目標値よりも低くなってしまう可能性がある。 For machine learning of learners such as neural networks, learning data related to the ability to learn is used. When machine learning of the learning device is performed using a sufficient number of learning data, it is possible to construct a learned learning device that fully demonstrates the acquired ability. On the other hand, when the number of learning data used for machine learning is small, there is a possibility that a learned learning device that cannot fully demonstrate the acquired ability will be constructed. For example, when learning the ability of a learner to identify the type of an object appearing in an image, if the number of learning data used for machine learning is small, the learned learner can identify the object appearing in an image other than the learning data. The rate may be lower than the target value.

これに対して、特許文献1では、転移学習において学習データが不足しているか否かを検出する方法が提案されている。具体的には、1以上のラベルなし転移先データをニューラルネットワークに入力したときに、非関連ユニットから出力される評価値が基準範囲から逸脱しているか否かにより学習不足を検出することが提案されている。しかしながら、特許文献1で提案されている方法では、学習データが不足しているか否かを検出することはできても、学習データがどの程度不足しているかを特定することはできなかった。 On the other hand, Patent Document 1 proposes a method of detecting whether or not learning data is insufficient in transfer learning. Specifically, it is proposed to detect under-learning depending on whether the evaluation value output from the unrelated unit deviates from the reference range when one or more unlabeled transfer destination data is input to the neural network. Has been done. However, with the method proposed in Patent Document 1, although it is possible to detect whether or not the training data is insufficient, it is not possible to specify how much the training data is insufficient.

本発明は、一側面では、このような実情を鑑みてなされたものであり、その目的は、機械学習に利用する学習データの不足件数を特定可能な技術を提供することである。 The present invention, on the one hand, has been made in view of such circumstances, and an object of the present invention is to provide a technique capable of identifying the number of shortages of learning data used for machine learning.

本発明は、上述した課題を解決するために、以下の構成を採用する。 The present invention employs the following configuration in order to solve the above-mentioned problems.

すなわち、本発明の一側面に係る学習装置は、複数件の学習データで構成され、所定の能力を学習器に機械学習させるための第1の学習データ群を取得する学習データ取得部と、前記第1の学習データ群を利用して、前記学習器の機械学習を実施することで、前記所定の能力を学習した第1の学習器を構築する学習処理部と、前記第1の学習器がサンプルデータに対して前記所定の能力を発揮した結果に基づいて、前記第1の学習器の機械学習に利用した学習データの不足件数の程度を評価する不足件数評価部と、を備える。 That is, the learning device according to one aspect of the present invention includes a learning data acquisition unit that is composed of a plurality of learning data and acquires a first learning data group for machine learning a predetermined ability by the learning device, and the learning data acquisition unit. The learning processing unit that constructs the first learning device that has learned the predetermined ability by performing machine learning of the learning device using the first learning data group, and the first learning device A deficiency number evaluation unit for evaluating the degree of deficiency of the learning data used for machine learning of the first learning device based on the result of demonstrating the predetermined ability with respect to the sample data is provided.

当該構成では、学習データ取得部が、所定の能力の機械学習に利用する第1の学習データ群を取得する。そして、学習処理部が、取得した学習データ群を利用して、学習器の機械学習を実施する。これにより、所定の能力を習得した第1の学習器を構築することができる。加えて、不足件数評価部が、学習済み学習器がサンプルデータに対して所定の能力を発揮した結果に基づいて、機械学習に利用した学習データの不足件数の程度を評価する。すなわち、不足件数評価部による評価により、所定の能力を十分に発揮する学習済み学習器を構築するのに不足している学習データの件数の程度を特定することができる。したがって、当該構成によれば、機械学習に利用する学習データの不足件数を特定することができる。 In this configuration, the learning data acquisition unit acquires a first learning data group used for machine learning of a predetermined ability. Then, the learning processing unit uses the acquired learning data group to perform machine learning of the learning device. As a result, it is possible to construct a first learning device that has acquired a predetermined ability. In addition, the shortage number evaluation unit evaluates the degree of shortage of the learning data used for machine learning based on the result that the learned learner exerts a predetermined ability on the sample data. That is, the degree of the number of learning data that is insufficient to construct a learned learning device that fully exerts a predetermined ability can be specified by the evaluation by the shortage number evaluation unit. Therefore, according to the configuration, it is possible to identify the number of shortages of learning data used for machine learning.

なお、所定の能力は、機械学習により習得可能なあらゆる種類の能力を含んでよく、例えば、画像に写る対象物の検品を行う能力、利用者の好みに応じて制御対象装置を制御する能力、血圧等の生体データに基づいて対象人物の将来の健康状態を推定する能力、ドライバの写る画像データに基づいて当該ドライバの状態を推定する能力等であってよい。所定の能力を発揮する際に、第1の学習器に入力する入力データは、例えば、画像データ及び生体データの少なくともいずれかであってよい。一方、第1の学習器から出力される出力データは、対象物又は対象人物の状態の推定結果を示すデータであってよい。生体データは、例えば、心拍数、脈拍数、呼吸数、体温、血圧、脳波、姿勢、及び筋電の少なくともいずれかを示すデータである。 The predetermined ability may include all kinds of abilities that can be acquired by machine learning, for example, the ability to inspect an object shown in an image, the ability to control a controlled object device according to a user's preference, and the like. It may be the ability to estimate the future health state of the target person based on biological data such as blood pressure, the ability to estimate the state of the driver based on the image data of the driver, and the like. The input data to be input to the first learner when demonstrating a predetermined ability may be, for example, at least one of image data and biometric data. On the other hand, the output data output from the first learner may be data indicating an estimation result of the state of the object or the target person. The biological data is, for example, data showing at least one of heart rate, pulse rate, respiratory rate, body temperature, blood pressure, electroencephalogram, posture, and myoelectricity.

具体例として、所定の能力は、製造ラインで製造される対象物の検品を行う能力であってよい。この場合、第1の学習器に入力する入力データは、対象物を撮影することで得られた画像データであってよく、第1の学習器から出力される出力データは、対象物の検品結果を示すデータであってよい。また、所定の能力は、車両のドライバの状態を推定する能力であってよい。この場合、第1の学習器に入力する入力データは、ドライバを撮影することで得られた画像データ及びドライバから得られた生体データの少なくともいずれかであってよく、第1の学習器から出力される出力データは、ドライバの状態を示すデータであってよい。また、所定の能力は、対象人物の健康状態を推定する能力であってよい。この場合、第1の学習器に入力する入力データは、対象人物から得られた生体データであってよく、第1の学習器から出力される出力データは、対象人物の健康状態(例えば、脳血管疾患、心血管疾患等の疾患を発症する可能性)を示すデータであってよい。また、サンプルデータは、例えば、学習データと同種のデータであり、学習済み学習器に習得させた所定の能力をテストするのに利用可能なデータである。 As a specific example, the predetermined capacity may be the ability to inspect an object manufactured on a production line. In this case, the input data input to the first learning device may be image data obtained by photographing the object, and the output data output from the first learning device is the inspection result of the object. It may be the data indicating. Further, the predetermined ability may be the ability to estimate the state of the driver of the vehicle. In this case, the input data to be input to the first learner may be at least one of the image data obtained by photographing the driver and the biometric data obtained from the driver, and is output from the first learner. The output data to be output may be data indicating the state of the driver. In addition, the predetermined ability may be the ability to estimate the health condition of the target person. In this case, the input data input to the first learning device may be biometric data obtained from the target person, and the output data output from the first learning device is the health state of the target person (for example, the brain). It may be data showing the possibility of developing a disease such as a vascular disease or a cardiovascular disease). Further, the sample data is, for example, data of the same type as the training data, and is data that can be used to test a predetermined ability acquired by the trained learner.

上記一側面に係る学習装置において、前記学習処理部は、前記第1の学習器の機械学習に利用した前記第1の学習データ群を構成する複数件の学習データのうちの一部で構成された第2の学習データ群を利用して、前記所定の能力を学習した、第2の学習器を更に構築してもよい。そして、前記不足件数評価部は、前記第1の学習データ群及び前記第2の学習データ群それぞれに含まれる学習データの件数の相違と、前記第1の学習器及び前記第2の学習器それぞれが前記サンプルデータに対して前記所定の能力を発揮した結果の相違具合とに基づいて、前記第1の学習器の機械学習に利用した学習データの不足件数の程度を評価してもよい。当該構成によれば、機械学習に利用する学習データの不足件数を比較的に正確に特定することができる。 In the learning device according to the one aspect, the learning processing unit is composed of a part of a plurality of learning data constituting the first learning data group used for machine learning of the first learning device. A second learning device that has learned the predetermined ability may be further constructed by using the second learning data group. Then, the shortage number evaluation unit has a difference in the number of learning data included in each of the first learning data group and the second learning data group, and the first learning device and the second learning device, respectively. The degree of lack of learning data used for machine learning of the first learning device may be evaluated based on the difference in the results of demonstrating the predetermined ability with respect to the sample data. According to this configuration, the number of shortages of learning data used for machine learning can be identified relatively accurately.

なお、当該構成では、学習データの件数が相違する複数の学習データ群を利用して、学習データの件数の相違が機械学習の達成度に与える影響を表出させている。つまり、第1の学習データ群及び第2の学習データ群それぞれを利用した機械学習の結果を比較することで、第1の学習データ群と第2の学習データ群との差分となる学習データの機械学習に対する影響具合を表出させている。このような差分の比較は、第1の学習データ群に新たな学習データを追加した第3の学習データ群を利用しても行うことができる。すなわち、本発明では、第1の学習データ群及び第3の学習データ群それぞれを利用した機械学習の結果を比較してもよい。 In this configuration, a plurality of learning data groups having different numbers of learning data are used to express the influence of the difference in the number of learning data on the achievement level of machine learning. That is, by comparing the results of machine learning using each of the first learning data group and the second learning data group, the learning data that becomes the difference between the first learning data group and the second learning data group It shows the degree of influence on machine learning. Such a difference comparison can also be performed by using a third learning data group in which new learning data is added to the first learning data group. That is, in the present invention, the results of machine learning using each of the first learning data group and the third learning data group may be compared.

ただし、学習データの件数の異なる複数の学習データ群を利用した機械学習の結果を比較する場合、第3の学習データ群を利用するよりも、第2の学習データ群を利用する方が好ましい。なぜなら、第3の学習データ群を利用するよりも、第2の学習データ群を利用する方が、所定の能力を十分に発揮する学習済み学習器を速やかに構築することができる可能性が高いからである。すなわち、第2の学習データ群は、新たな学習データを収集する作業を行わなくても、第1の学習データ群から学習データを適宜削除することで、作成することができる。これに対して、第3の学習データを作成するためには、新たな学習データを収集する作業を行うことになる。そのため、第2の学習データ群を利用した場合は、第3の学習データ群を利用する場合に比べて、新たな学習データを収集する作業の回数を削減することができ、これによって、所定の能力を十分に発揮する学習済み学習器を速やかに構築することができる。 However, when comparing the results of machine learning using a plurality of learning data groups having different numbers of training data, it is preferable to use the second learning data group rather than using the third learning data group. This is because it is more likely that a trained learner that fully exerts a predetermined ability can be constructed more quickly by using the second training data group than by using the third learning data group. Because. That is, the second learning data group can be created by appropriately deleting the learning data from the first learning data group without performing the work of collecting new learning data. On the other hand, in order to create the third learning data, the work of collecting new learning data is performed. Therefore, when the second learning data group is used, the number of operations for collecting new learning data can be reduced as compared with the case where the third learning data group is used, and as a result, a predetermined number of times can be reduced. It is possible to quickly build a learned learner that fully demonstrates its abilities.

上記一側面に係る学習装置において、前記不足件数評価部は、学習データの件数と学習済み学習器が前記所定の能力を発揮する程度との関係を示す指標に、前記第1の学習データ群及び前記第2の学習データ群それぞれに含まれる学習データの件数の相違と、前記第1の学習器及び前記第2の学習器それぞれが前記サンプルデータに対して前記所定の能力を発揮した結果の相違具合とを適用することで、前記学習済み学習器の機械学習に利用した学習データの不足件数の程度を評価してもよい。当該構成によれば、機械学習に利用する学習データの不足件数を比較的に正確に特定することができる。 In the learning device according to the above aspect, the shortage number evaluation unit uses the first learning data group and the first learning data group as an index showing the relationship between the number of learning data and the degree to which the learned learning device exerts the predetermined ability. The difference in the number of learning data included in each of the second learning data groups and the difference in the result of each of the first learning device and the second learning device exerting the predetermined ability with respect to the sample data. By applying the condition, the degree of lack of learning data used for machine learning of the learned learning device may be evaluated. According to this configuration, the number of shortages of learning data used for machine learning can be identified relatively accurately.

上記一側面に係る学習装置において、前記不足件数評価部は、前記第1の学習器及び前記第2の学習器それぞれが前記サンプルデータに対して前記所定の能力を発揮した結果の相違具合が所定以下である場合に、前記第1の学習データ群と前記第2の学習データ群との差分となる学習データは前記学習器の機械学習に不要なデータであると評価してもよい。当該構成によれば、機械学習に利用する学習データ群に不要な学習データが含まれているか否かを特定することができる。 In the learning device according to the one aspect, the shortage number evaluation unit determines the difference between the results of the first learning device and the second learning device exerting the predetermined ability with respect to the sample data. In the following cases, the learning data that is the difference between the first learning data group and the second learning data group may be evaluated as data unnecessary for machine learning of the learning device. According to this configuration, it is possible to specify whether or not unnecessary learning data is included in the learning data group used for machine learning.

上記一側面に係る学習装置において、前記学習データ取得部は、第1の種類に属する複数件の学習データで構成された第1の追加学習データ群と、前記第1の種類とは異なる第2の種類に属する複数件の学習データで構成された第2の追加学習データ群と、を更に取得してもよい。前記学習処理部は、前記学習データ群及び前記第1の追加学習データ群を利用して、前記所定の能力を学習した第3の学習器を更に構築し、かつ前記学習データ群及び前記第2の追加学習データ群を利用して、前記所定の能力を学習した第4の学習器を更に構築してもよい。そして、前記不足件数評価部は、前記第1学習器、第3の学習器及び第4の学習器それぞれが前記サンプルデータに対して前記所定の能力を発揮した結果の相違具合に基づいて、前記第1学習器の機械学習に不足している学習データの種類を特定してもよい。当該構成によれば、機械学習に利用する学習データ群に不足している学習データの種類を特定することができる。 In the learning device according to the one aspect, the learning data acquisition unit has a first additional learning data group composed of a plurality of learning data belonging to the first type, and a second type different from the first type. A second additional learning data group composed of a plurality of learning data belonging to the above type may be further acquired. The learning processing unit further constructs a third learning device that has learned the predetermined ability by using the learning data group and the first additional learning data group, and further constructs the learning data group and the second learning device. A fourth learning device that has learned the predetermined ability may be further constructed by using the additional learning data group of. Then, the shortage number evaluation unit is based on the difference in the results of each of the first learning device, the third learning device, and the fourth learning device exerting the predetermined ability with respect to the sample data. The type of learning data lacking in machine learning of the first learning device may be specified. According to this configuration, it is possible to identify the type of learning data that is lacking in the learning data group used for machine learning.

上記一側面に係る学習装置において、前記学習器は、ニューラルネットワークにより構成されてよい。当該構成によれば、学習済み学習器を容易に構築することができる。 In the learning device according to the above aspect, the learning device may be configured by a neural network. According to this configuration, a learned learner can be easily constructed.

上記一側面に係る学習装置において、前記不足件数評価部は、前記学習データ群を構成する学習データの件数及び種類を示す情報を入力すると、前記機械学習に利用する学習データの不足件数の程度を示す情報を出力するように学習を行った学習済みの評価用学習器を用いて、前記機械学習に利用する学習データの不足件数の程度を評価してもよい。当該構成によれば、機械学習に利用する学習データの不足件数を比較的に容易に特定することができる。 In the learning device according to the above aspect, when the shortage number evaluation unit inputs information indicating the number and types of learning data constituting the learning data group, the degree of the shortage of learning data used for the machine learning is determined. The degree of lack of learning data used for the machine learning may be evaluated by using a trained evaluation learner that has been trained to output the indicated information. According to this configuration, it is relatively easy to identify the number of shortages of learning data used for machine learning.

上記一側面に係る学習装置において、前記評価用学習器は、前記機械学習に不足している学習データの種類を更に出力するように学習済みであってよい。当該構成によれば、機械学習に利用する学習データ群に不足している学習データの種類を特定することができる。 In the learning device according to the one aspect, the evaluation learning device may have been trained to further output the types of learning data lacking in the machine learning. According to this configuration, it is possible to identify the type of learning data that is lacking in the learning data group used for machine learning.

なお、上記各形態に係る学習装置の別の形態として、以上の各構成を実現する情報処理方法であってもよいし、プログラムであってもよいし、このようなプログラムを記録したコンピュータその他装置、機械等が読み取り可能な記憶媒体であってもよい。ここで、コンピュータ等が読み取り可能な記録媒体とは、プログラム等の情報を、電気的、磁気的、光学的、機械的、又は、化学的作用によって蓄積する媒体である。 As another form of the learning device according to each of the above forms, an information processing method that realizes each of the above configurations may be used, a program may be used, or a computer or other device that records such a program. , A storage medium that can be read by a machine or the like. Here, the recording medium that can be read by a computer or the like is a medium that stores information such as a program by electrical, magnetic, optical, mechanical, or chemical action.

例えば、本発明の一側面に係る学習方法は、コンピュータが、複数件の学習データで構成され、所定の能力を学習器に機械学習させるための第1の学習データ群を取得するステップと、前記第1の学習データ群を利用して、前記学習器の機械学習を実施することで、前記所定の能力を学習した第1の学習器を構築するステップと、サンプルデータに対して前記所定の能力を発揮するように前記第1の学習器を動作させるステップと、前記第1の学習器が前記サンプルデータに対して前記所定の能力を発揮した結果に基づいて、前記機械学習に利用した学習データの不足件数の程度を評価するステップと、を実行する方法である。 For example, the learning method according to one aspect of the present invention includes a step of acquiring a first learning data group in which a computer is composed of a plurality of learning data and causes a learner to perform machine learning of a predetermined ability. A step of constructing a first learning device that has learned the predetermined ability by performing machine learning of the learning device using the first learning data group, and the predetermined ability with respect to sample data. The learning data used for the machine learning based on the step of operating the first learning device so as to exhibit the above and the result of the first learning device exerting the predetermined ability with respect to the sample data. It is a step to evaluate the degree of shortage of cases and a method to execute.

また、例えば、本発明の一側面に係る学習プログラムは、コンピュータに、複数件の学習データで構成され、所定の能力を学習器に機械学習させるための第1の学習データ群を取得するステップと、前記第1の学習データ群を利用して、前記学習器の機械学習を実施することで、前記所定の能力を学習した第1の学習器を構築するステップと、サンプルデータに対して前記所定の能力を発揮するように前記第1の学習器を動作させるステップと、前記第1の学習器が前記サンプルデータに対して前記所定の能力を発揮した結果に基づいて、前記機械学習に利用した学習データの不足件数の程度を評価するステップと、を実行させるためのプログラムである。 Further, for example, the learning program according to one aspect of the present invention includes a step of acquiring a first learning data group for making a computer learn a predetermined ability by machine learning, which is composed of a plurality of learning data. , The step of constructing the first learning device that has learned the predetermined ability by performing machine learning of the learning device using the first learning data group, and the predetermined setting with respect to the sample data. Based on the step of operating the first learning device so as to exert the ability of the first learning device and the result of the first learning device exerting the predetermined ability with respect to the sample data, it was used for the machine learning. It is a program to evaluate the degree of lack of learning data and to execute.

本発明によれば、機械学習に利用する学習データの不足件数を特定可能な技術を提供することができる。 According to the present invention, it is possible to provide a technique capable of identifying the number of shortages of learning data used for machine learning.

図1は、実施の形態に係る学習装置の適用場面の一例を模式的に例示する。FIG. 1 schematically illustrates an example of an application scene of the learning device according to the embodiment. 図2は、実施の形態に係る学習装置のハードウェア構成の一例を模式的に例示する。FIG. 2 schematically illustrates an example of the hardware configuration of the learning device according to the embodiment. 図3は、実施の形態に係る学習装置の機能構成の一例を模式的に例示する。FIG. 3 schematically illustrates an example of the functional configuration of the learning device according to the embodiment. 図4は、実施の形態に係る学習データ群と部分学習データ群との関係を模式的に例示する。FIG. 4 schematically illustrates the relationship between the learning data group and the partial learning data group according to the embodiment. 図5は、実施の形態に係る学習装置の処理手順の一例を例示する。FIG. 5 illustrates an example of the processing procedure of the learning device according to the embodiment. 図6Aは、学習データの件数と学習済み学習器の能力の程度との関係の一例を示す。FIG. 6A shows an example of the relationship between the number of training data and the degree of ability of the trained learner. 図6Bは、学習データの件数と学習済み学習器の能力の程度との関係の一例を示す。FIG. 6B shows an example of the relationship between the number of training data and the degree of ability of the trained learner. 図7は、変形例に係る学習装置の構成の一例を模式的に例示する。FIG. 7 schematically illustrates an example of the configuration of the learning device according to the modified example. 図8は、変形例に係る学習装置の構成の一例を模式的に例示する。FIG. 8 schematically illustrates an example of the configuration of the learning device according to the modified example.

以下、本発明の一側面に係る実施の形態(以下、「本実施形態」とも表記する)を、図面に基づいて説明する。ただし、以下で説明する本実施形態は、あらゆる点において本発明の例示に過ぎない。本発明の範囲を逸脱することなく種々の改良や変形を行うことができることは言うまでもない。つまり、本発明の実施にあたって、実施形態に応じた具体的構成が適宜採用されてもよい。例えば、以下では、機械学習により学習器に所定の能力を習得させる場面として、製造ラインを流れる対象物の検品を行う能力をニューラルネットワークに習得させる場面を例示する。しかしながら、機械学習により習得させる所定の能力及び学習器の種類はそれぞれ、このような例に限定されなくてもよく、実施の形態に応じて適宜選択されてよい。なお、本実施形態において登場するデータを自然言語により説明しているが、より具体的には、コンピュータが認識可能な疑似言語、コマンド、パラメータ、マシン語等で指定される。 Hereinafter, embodiments according to one aspect of the present invention (hereinafter, also referred to as “the present embodiment”) will be described with reference to the drawings. However, the embodiments described below are merely examples of the present invention in all respects. Needless to say, various improvements and modifications can be made without departing from the scope of the present invention. That is, in carrying out the present invention, a specific configuration according to the embodiment may be appropriately adopted. For example, in the following, as a scene in which a learner is made to acquire a predetermined ability by machine learning, a scene in which a neural network is made to acquire the ability to inspect an object flowing on a production line will be illustrated. However, the predetermined ability to be acquired by machine learning and the type of learning device are not limited to such examples, and may be appropriately selected according to the embodiment. Although the data appearing in the present embodiment is described in natural language, more specifically, it is specified in a pseudo language, a command, a parameter, a machine language, etc. that can be recognized by a computer.

§1 適用例
まず、図1を用いて、本発明が適用される場面の一例について説明する。図1は、本実施形態に係る学習装置1の適用場面の一例を模式的に例示する。
§1 Application example First, an example of a situation in which the present invention is applied will be described with reference to FIG. FIG. 1 schematically illustrates an example of an application scene of the learning device 1 according to the present embodiment.

図1に示されるとおり、本実施形態に係る学習装置1は、所定の能力として、製造ラインで製造される対象物6の検品を行う能力の機械学習を行う情報処理装置である。学習装置1は、例えば、カメラ5を利用して、対象物6を撮影することで、複数件の学習データ123で構成される学習データ群122を取得する。 As shown in FIG. 1, the learning device 1 according to the present embodiment is an information processing device that performs machine learning of the ability to inspect an object 6 manufactured on a production line as a predetermined ability. The learning device 1 acquires, for example, a learning data group 122 composed of a plurality of learning data 123 by photographing an object 6 using a camera 5.

学習データ群122は、学習器であるニューラルネットワーク2に対象物6の検品を行う能力を機械学習させるためのデータ群である。学習装置1は、取得した学習データ群122を利用して、ニューラルネットワーク2の機械学習を実施することで、対象物6の検品を行う能力を学習した学習済みのニューラルネットワーク2を構築する。 The learning data group 122 is a data group for causing the neural network 2, which is a learning device, to perform machine learning on the ability to inspect the object 6. The learning device 1 constructs a learned neural network 2 that has learned the ability to inspect the object 6 by performing machine learning of the neural network 2 using the acquired learning data group 122.

ただし、構築された学習済みのニューラルネットワーク2は、対象物6の検品を行う能力を十分に発揮できるかどうか不明である。換言すると、構築された学習済みのニューラルネットワーク2が、学習データ群122以外のデータに対して、現場での利用に耐えうる確率で対象物6の検品を正しく行えるかどうか不明である。 However, it is unclear whether the constructed trained neural network 2 can sufficiently exert the ability to inspect the object 6. In other words, it is unclear whether the constructed trained neural network 2 can correctly inspect the object 6 with a probability that it can withstand the use in the field for the data other than the training data group 122.

そこで、学習装置1に、学習済みのニューラルネットワーク2を利用して、サンプルデータ129に対して対象物6の検品を行う能力を発揮させる。すなわち、学習装置1は、学習済みのニューラルネットワーク2にサンプルデータ129を入力して、サンプルデータ129に基づく対象物6の検品結果を出力するよう学習済みのニューラルネットワーク2を動作させる。そして、学習装置1は、学習済みのニューラルネットワーク2がサンプルデータ129に対して対象物6の検品を行う能力を発揮した結果に基づいて、機械学習に利用した学習データ123の不足件数の程度を評価する。 Therefore, the learning device 1 is made to exhibit the ability to inspect the object 6 on the sample data 129 by using the trained neural network 2. That is, the learning device 1 inputs the sample data 129 into the trained neural network 2 and operates the trained neural network 2 so as to output the inspection result of the object 6 based on the sample data 129. Then, the learning device 1 determines the degree of shortage of the learning data 123 used for machine learning based on the result of the trained neural network 2 demonstrating the ability to inspect the object 6 on the sample data 129. evaluate.

以上により、学習装置1は、機械学習に利用した学習データ123の不足件数の程度に対する評価を取得する。本実施形態によれば、この評価の結果に基づいて、対象物6の検品を行う能力を十分に発揮可能な学習済みのニューラルネットワークを構築するのに不足している学習データ123の件数の程度を特定することができる。すなわち、機械学習に利用する学習データ123の不足件数を特定することができる。 As described above, the learning device 1 acquires an evaluation for the degree of shortage of the learning data 123 used for machine learning. According to the present embodiment, based on the result of this evaluation, the degree of the number of training data 123 that is insufficient to construct a trained neural network capable of fully demonstrating the ability to inspect the object 6. Can be identified. That is, it is possible to specify the number of shortages of the learning data 123 used for machine learning.

加えて、学習データ123の不足件数を特定できることにより、学習データの追加、及び追加した学習データを含む学習データ群を利用したニューラルネットワークの機械学習を繰り返し実施しなくても、対象物6の検品を行う能力を十分に発揮可能な学習済みのニューラルネットワークを構築することができるようになる。したがって、本実施形態によれば、対象物6の検品を行う能力を十分に発揮可能な学習済みのニューラルネットワークを速やかに作成することができるようになる。 In addition, by being able to identify the number of shortages of the training data 123, the object 6 can be inspected without adding the learning data and repeatedly performing machine learning of the neural network using the learning data group including the added learning data. You will be able to build a trained neural network that can fully demonstrate its ability to perform. Therefore, according to the present embodiment, it becomes possible to quickly create a trained neural network capable of fully exerting the ability to inspect the object 6.

§2 構成例
[ハードウェア構成]
次に、図2を用いて、本実施形態に係る学習装置1のハードウェア構成の一例について説明する。図2は、本実施形態に係る学習装置1のハードウェア構成の一例を模式的に例示する。
§2 Configuration example [Hardware configuration]
Next, an example of the hardware configuration of the learning device 1 according to the present embodiment will be described with reference to FIG. FIG. 2 schematically illustrates an example of the hardware configuration of the learning device 1 according to the present embodiment.

図2に示されるとおり、本実施形態に係る学習装置1は、制御部11、記憶部12、外部インタフェース13、入力装置14、出力装置15、及びドライブ16が電気的に接続されたコンピュータである。なお、図2では、外部インタフェースを「外部I/F」と記載している。 As shown in FIG. 2, the learning device 1 according to the present embodiment is a computer to which the control unit 11, the storage unit 12, the external interface 13, the input device 14, the output device 15, and the drive 16 are electrically connected. .. In FIG. 2, the external interface is described as "external I / F".

制御部11は、ハードウェアプロセッサであるCentral Processing Unit(CPU)、Random Access Memory(RAM)、Read Only Memory(ROM)等を含み、プログラム及びデータに基づいて各種情報処理を実行するように構成される。記憶部12は、制御部11で実行される学習プログラム121、ニューラルネットワークの機械学習に利用する、複数件の学習データ123で構成された学習データ群122、学習済みのニューラルネットワークに習得させた能力をテストするためのサンプルデータ129等を記憶する。学習プログラム121は、学習装置1に後述する学習処理(図5)を実行させるためのプログラムである。詳細は後述する。 The control unit 11 includes a hardware processor such as a Central Processing Unit (CPU), Random Access Memory (RAM), and Read Only Memory (ROM), and is configured to execute various types of information processing based on programs and data. NS. The storage unit 12 includes a learning program 121 executed by the control unit 11, a learning data group 122 composed of a plurality of learning data 123 used for machine learning of the neural network, and an ability acquired by the trained neural network. The sample data 129 and the like for testing the above are stored. The learning program 121 is a program for causing the learning device 1 to execute a learning process (FIG. 5) described later. Details will be described later.

外部インタフェース13は、外部装置と接続するためのインタフェースであり、接続する外部装置に応じて適宜構成される。本実施形態では、学習装置1は、外部インタフェース13を介して、カメラ5に接続する。カメラ5は、製造ラインで製造される対象物6(例えば、加工食品、機械製品等)を監視するための撮像装置であり、対象物6を撮像可能な位置に適宜配置されている。 The external interface 13 is an interface for connecting to an external device, and is appropriately configured according to the external device to be connected. In the present embodiment, the learning device 1 is connected to the camera 5 via the external interface 13. The camera 5 is an imaging device for monitoring an object 6 (for example, processed food, machine product, etc.) manufactured on a production line, and is appropriately arranged at a position where the object 6 can be imaged.

入力装置14は、例えば、マウス、キーボード等の入力を行うための装置である。出力装置15は、例えば、ディスプレイ、スピーカ等の出力を行うための装置である。 The input device 14 is, for example, a device for inputting a mouse, a keyboard, or the like. The output device 15 is, for example, a device for outputting a display, a speaker, or the like.

ドライブ16は、例えば、CDドライブ、DVDドライブ等であり、記憶媒体9に記憶されたプログラムを読み込むためのドライブ装置である。ドライブ16の種類は、記憶媒体9の種類に応じて適宜選択されてよい。上記学習プログラム121、学習データ群122、及びサンプルデータ129は、この記憶媒体9に記憶されていてもよい。 The drive 16 is, for example, a CD drive, a DVD drive, or the like, and is a drive device for reading a program stored in the storage medium 9. The type of the drive 16 may be appropriately selected according to the type of the storage medium 9. The learning program 121, the learning data group 122, and the sample data 129 may be stored in the storage medium 9.

記憶媒体9は、コンピュータその他装置、機械等が記録されたプログラム等の情報を読み取り可能なように、当該プログラム等の情報を、電気的、磁気的、光学的、機械的又は化学的作用によって蓄積する媒体である。学習装置1は、この記憶媒体9から、上記学習プログラム121、学習データ群122、及びサンプルデータ129の少なくとも一つを取得してもよい。 The storage medium 9 stores the information of the program or the like by electrical, magnetic, optical, mechanical or chemical action so that the information of the program or the like recorded by the computer or other device, the machine or the like can be read. It is a medium to do. The learning device 1 may acquire at least one of the learning program 121, the learning data group 122, and the sample data 129 from the storage medium 9.

ここで、図2では、記憶媒体9の一例として、CD、DVD等のディスク型の記憶媒体を例示している。しかしながら、記憶媒体9の種類は、ディスク型に限定される訳ではなく、ディスク型以外であってもよい。ディスク型以外の記憶媒体として、例えば、フラッシュメモリ等の半導体メモリを挙げることができる。 Here, in FIG. 2, as an example of the storage medium 9, a disc-type storage medium such as a CD or a DVD is illustrated. However, the type of the storage medium 9 is not limited to the disc type, and may be other than the disc type. Examples of storage media other than the disk type include semiconductor memories such as flash memories.

なお、学習装置1の具体的なハードウェア構成に関して、実施形態に応じて、適宜、構成要素の省略、置換及び追加が可能である。例えば、制御部11は、複数のハードウェアプロセッサを含んでもよい。学習装置1は、複数台のコンピュータで構成されてもよい。また、学習装置1は、提供されるサービス専用に設計された情報処理装置の他、汎用のサーバ装置、Personal Computer(PC)等であってもよい。 Regarding the specific hardware configuration of the learning device 1, the components can be omitted, replaced, or added as appropriate according to the embodiment. For example, the control unit 11 may include a plurality of hardware processors. The learning device 1 may be composed of a plurality of computers. Further, the learning device 1 may be a general-purpose server device, a personal computer (PC), or the like, in addition to an information processing device designed exclusively for the provided service.

[機能構成]
次に、図3を用いて、本実施形態に係る学習装置1の機能構成の一例を説明する。図3は、本実施形態に係る学習装置1の機能構成の一例を模式的に例示する。
[Functional configuration]
Next, an example of the functional configuration of the learning device 1 according to the present embodiment will be described with reference to FIG. FIG. 3 schematically illustrates an example of the functional configuration of the learning device 1 according to the present embodiment.

学習装置1の制御部11は、記憶部12に記憶された学習プログラム121をRAMに展開する。そして、制御部11は、RAMに展開された学習プログラム121をCPUにより解釈及び実行して、各構成要素を制御する。これによって、図3に示されるとおり、本実施形態に係る学習装置1は、学習データ取得部111、学習処理部112、及び不足件数評価部113を備えるコンピュータとして動く。 The control unit 11 of the learning device 1 expands the learning program 121 stored in the storage unit 12 into the RAM. Then, the control unit 11 interprets and executes the learning program 121 expanded in the RAM by the CPU to control each component. As a result, as shown in FIG. 3, the learning device 1 according to the present embodiment operates as a computer including a learning data acquisition unit 111, a learning processing unit 112, and a shortage number evaluation unit 113.

学習データ取得部111は、複数件の学習データ123で構成される学習データ群122であって、所定の能力を学習器に機械学習させるための学習データ群122を取得する。本実施形態では、ニューラルネットワーク2に対象物6の検品を行う能力を習得させるため、各件の学習データ123は、製造ラインを流れる対象物6を写した画像データ1231と、当該対象物6を検品した結果を示す検品結果データ1232とを含んでいる。画像データ1231は入力データとして利用され、検品結果データ1232は教師データとして利用される。 The learning data acquisition unit 111 acquires a learning data group 122 composed of a plurality of learning data 123, for causing a learner to perform machine learning of a predetermined ability. In the present embodiment, in order to make the neural network 2 acquire the ability to inspect the object 6, the learning data 123 of each case includes the image data 1231 of the object 6 flowing through the production line and the object 6. It includes inspection result data 1232 showing the inspection result. The image data 1231 is used as input data, and the inspection result data 1232 is used as teacher data.

学習処理部112は、取得した学習データ群122を利用して、ニューラルネットワーク2の機械学習を実施することで、対象物6の検品を行う能力を学習した学習済みのニューラルネットワーク2を構築する。すなわち、学習処理部112は、学習データ群122に含まれる各件の学習データ123の画像データ1231を入力すると、入力した画像データ1231と対になっている検品結果データ1232に対応する出力値を出力するようにニューラルネットワーク2を学習させる。これにより構築される学習済みのニューラルネットワーク2は、本発明の「第1の学習器」に相当する。また、学習データ群122は、本発明の「第1の学習データ群」に相当する。 The learning processing unit 112 constructs a learned neural network 2 that has learned the ability to inspect the object 6 by performing machine learning of the neural network 2 using the acquired learning data group 122. That is, when the learning processing unit 112 inputs the image data 1231 of each learning data 123 included in the learning data group 122, the learning processing unit 112 outputs an output value corresponding to the inspection result data 1232 paired with the input image data 1231. Train the neural network 2 to output. The trained neural network 2 constructed thereby corresponds to the "first learner" of the present invention. Further, the learning data group 122 corresponds to the "first learning data group" of the present invention.

不足件数評価部113は、学習済みのニューラルネットワーク2が対象物6の検品を行う能力をサンプルデータ129に対して発揮した結果に基づいて、ニューラルネットワーク2の機械学習に利用した学習データ123の不足件数の程度を評価する。サンプルデータ129は、学習済みのニューラルネットワークに習得させた対象物6の検品を行う能力をテストするのに利用可能なデータであり、例えば、学習データ123と同種のデータであってよい。本実施形態に係るサンプルデータ129は、製造ラインを流れる対象物6を写した画像データ1291と、当該対象物6を検品した結果を示す検品結果データ1292とを含んでいる。 The shortage number evaluation unit 113 lacks the learning data 123 used for machine learning of the neural network 2 based on the result that the trained neural network 2 exerts the ability to inspect the object 6 on the sample data 129. Evaluate the degree of cases. The sample data 129 is data that can be used to test the ability of the trained neural network to inspect the object 6, and may be, for example, the same type of data as the training data 123. The sample data 129 according to the present embodiment includes image data 1291 showing the object 6 flowing through the production line and inspection result data 1292 showing the result of inspecting the object 6.

学習データ123の不足件数の程度を評価する方法は、実施の形態に応じて適宜設定可能である。本実施形態では、学習処理部112が、ニューラルネットワーク2の機械学習に利用した学習データ群122を構成する複数件の学習データ123のうちの一部で構成された部分学習データ群124を利用して、ニューラルネットワーク2と同じ構成を有するニューラルネットワーク3の機械学習を実施する。これにより、学習処理部112は、対象物6の検品を行う能力を学習した学習済みのニューラルネットワーク3を更に構築する。この学習済みのニューラルネットワーク3は、本発明の「第2の学習器」に相当する。また、部分学習データ群124は、本発明の「第2の学習データ群」に相当する。 The method for evaluating the degree of shortage of the learning data 123 can be appropriately set according to the embodiment. In the present embodiment, the learning processing unit 112 uses the partial learning data group 124 composed of a part of the plurality of learning data 123 constituting the learning data group 122 used for the machine learning of the neural network 2. Then, machine learning of the neural network 3 having the same configuration as the neural network 2 is performed. As a result, the learning processing unit 112 further constructs the trained neural network 3 that has learned the ability to inspect the object 6. The trained neural network 3 corresponds to the "second learner" of the present invention. Further, the partial learning data group 124 corresponds to the "second learning data group" of the present invention.

ここで、図4を用いて、学習データ群122と部分学習データ群124との関係について説明する。図4は、学習データ群122と部分学習データ群124との関係を模式的に例示する。図4に例示されるとおり、部分学習データ群124は、学習データ群122に包含される。つまり、部分学習データ群124に含まれる学習データXは、学習データ群122にも含まれている。一方で、学習データ群122には、部分学習データ群124に含まれていない学習データYが含まれている。したがって、学習データ群122を利用するニューラルネットワーク2と部分学習データ群124を利用するニューラルネットワーク3との間には、学習データYが含まれているか否かの相違の分だけ、機械学習により習得する対象物6の検品を行う能力に差異が生じ得る。 Here, the relationship between the learning data group 122 and the partial learning data group 124 will be described with reference to FIG. FIG. 4 schematically illustrates the relationship between the learning data group 122 and the partial learning data group 124. As illustrated in FIG. 4, the partial learning data group 124 is included in the learning data group 122. That is, the learning data X included in the partial learning data group 124 is also included in the learning data group 122. On the other hand, the learning data group 122 includes learning data Y that is not included in the partial learning data group 124. Therefore, the difference between the neural network 2 that uses the learning data group 122 and the neural network 3 that uses the partial learning data group 124 is learned by machine learning as to whether or not the training data Y is included. There may be a difference in the ability to inspect the object 6 to be inspected.

そこで、不足件数評価部113は、学習データ群122及び部分学習データ群124それぞれに含まれる学習データ123の件数の相違と、学習済みのニューラルネットワーク2及びニューラルネットワーク3それぞれが対象物6の検品を行う能力をサンプルデータ129に対して発揮した結果の相違具合とに基づいて、機械学習に利用した学習データ123の不足件数の程度を評価する。すなわち、本実施形態では、学習データ123の件数の相違(換言すると、学習データ群122が図4の学習データYを含んでいること)が機械学習により習得させる対象物6の検品を行う能力に対して与える影響を表出させる。不足件数評価部113は、対象物6の検品を行う能力に対する学習データ123の件数の表出させた影響度合いに基づいて、機械学習に利用した学習データ123の不足件数の程度を評価する。 Therefore, the shortage number evaluation unit 113 inspects the object 6 by each of the trained neural network 2 and the neural network 3 and the difference in the number of training data 123 included in each of the training data group 122 and the partial learning data group 124. Based on the difference in the results of demonstrating the ability to perform with respect to the sample data 129, the degree of shortage of the learning data 123 used for machine learning is evaluated. That is, in the present embodiment, the difference in the number of learning data 123 (in other words, that the learning data group 122 includes the learning data Y in FIG. 4) has the ability to inspect the object 6 to be learned by machine learning. Express the impact on it. The shortage number evaluation unit 113 evaluates the degree of the shortage of the learning data 123 used for machine learning based on the degree of influence of the number of learning data 123 on the ability to inspect the object 6.

次に、各ニューラルネットワーク(2、3)について説明する。図3に示されるとおり、ニューラルネットワーク2は、いわゆる深層学習に用いられる多層構造のニューラルネットワークであり、入力から順に、入力層21、中間層(隠れ層)22、及び出力層23を備えている。 Next, each neural network (2, 3) will be described. As shown in FIG. 3, the neural network 2 is a multi-layered neural network used for so-called deep learning, and includes an input layer 21, an intermediate layer (hidden layer) 22, and an output layer 23 in order from the input. ..

なお、図3の例では、ニューラルネットワーク2は、1層の中間層22を備えており、入力層21の出力が中間層22の入力となり、中間層22の出力が出力層23の入力となっている。ただし、中間層22の数は1層に限られなくてもよく、ニューラルネットワーク2は、2層以上の中間層22を備えてもよい。 In the example of FIG. 3, the neural network 2 includes the intermediate layer 22 of one layer, the output of the input layer 21 is the input of the intermediate layer 22, and the output of the intermediate layer 22 is the input of the output layer 23. ing. However, the number of intermediate layers 22 is not limited to one, and the neural network 2 may include two or more intermediate layers 22.

各層21〜23は、1又は複数のニューロンを備えている。例えば、入力層21のニューロンの数は、入力する画像データ(例えば、画像データ1231)の画素数に応じて設定することができる。中間層22のニューロンの数は、実施の形態に応じて適宜設定することができる。また、出力層23のニューロンの数は、対象物6の検品結果の種類数に応じて設定することができる。 Each layer 21-23 comprises one or more neurons. For example, the number of neurons in the input layer 21 can be set according to the number of pixels of the input image data (for example, image data 1231). The number of neurons in the intermediate layer 22 can be appropriately set according to the embodiment. Further, the number of neurons in the output layer 23 can be set according to the number of types of inspection results of the object 6.

隣接する層のニューロン同士は適宜結合され、各結合には重み(結合荷重)は機械学習の結果に基づいて設定される。図3の例では、各ニューロンは、隣接する層の全てのニューロンと結合されているが、ニューロンの結合は、このような例に限定されなくてもよく、実施の形態に応じて適宜設定されてよい。また、機械学習の結果に基づいて、各ニューロンには閾値が設定される。基本的には、各入力と各重みとの積の和が閾値を超えているか否かによって各ニューロンの出力が決定される。 Neurons in adjacent layers are appropriately connected to each other, and a weight (connection load) is set for each connection based on the result of machine learning. In the example of FIG. 3, each neuron is connected to all neurons in the adjacent layer, but the connection of neurons does not have to be limited to such an example and is appropriately set according to the embodiment. You can. In addition, a threshold is set for each neuron based on the result of machine learning. Basically, the output of each neuron is determined by whether or not the sum of the products of each input and each weight exceeds the threshold value.

ニューラルネットワーク3は、ニューラルネットワーク2と同じ構成を有する(例えば、ニューラルネットワークの層数、各層におけるニューロンの個数、ニューロン同士の結合関係、及び各ニューロンの伝達関数が同じ)。すなわち、ニューラルネットワーク3は、入力層31、中間層(隠れ層)32、及び出力層33を備えており、各層31〜33は、上記ニューラルネットワーク2の各層21〜23と同様に構成される。 The neural network 3 has the same configuration as the neural network 2 (for example, the number of layers of the neural network, the number of neurons in each layer, the connection relationship between neurons, and the transfer function of each neuron are the same). That is, the neural network 3 includes an input layer 31, an intermediate layer (hidden layer) 32, and an output layer 33, and each layer 31 to 33 is configured in the same manner as each layer 21 to 23 of the neural network 2.

学習装置1の各機能に関しては後述する動作例で詳細に説明する。なお、本実施形態では、学習装置1の各機能がいずれも汎用のCPUにより実現される例について説明した。しかしながら、以上の機能の一部又は全部が、1又は複数の専用のハードウェアプロセッサにより実現されてもよい。また、学習装置1の機能構成に関して、実施形態に応じて、適宜、機能の省略、置換及び追加が行われてもよい。 Each function of the learning device 1 will be described in detail in an operation example described later. In this embodiment, an example in which each function of the learning device 1 is realized by a general-purpose CPU has been described. However, some or all of the above functions may be realized by one or more dedicated hardware processors. Further, regarding the functional configuration of the learning device 1, the functions may be omitted, replaced, or added as appropriate according to the embodiment.

§3 動作例
次に、図5を用いて、学習装置1の動作例を説明する。図5は、学習装置1の処理手順の一例を例示するフローチャートである。なお、以下で説明する処理手順は、本発明の「学習方法」に相当する。ただし、以下で説明する処理手順は一例に過ぎず、各処理は可能な限り変更されてよい。また、以下で説明する処理手順について、実施の形態に応じて、適宜、ステップの省略、置換、及び追加が可能である。
§3 Operation example Next, an operation example of the learning device 1 will be described with reference to FIG. FIG. 5 is a flowchart illustrating an example of the processing procedure of the learning device 1. The processing procedure described below corresponds to the "learning method" of the present invention. However, the processing procedure described below is only an example, and each processing may be changed as much as possible. Further, with respect to the processing procedure described below, steps can be omitted, replaced, and added as appropriate according to the embodiment.

(ステップS101)
ステップS101では、制御部11は、学習データ取得部111として動き、複数件の学習データ123で構成される学習データ群122を取得する。
(Step S101)
In step S101, the control unit 11 operates as the learning data acquisition unit 111 and acquires the learning data group 122 composed of a plurality of learning data 123.

各件の学習データ123は、例えば、次のようにして作成することができる。すなわち、カメラ5により、製造ラインを流れる対象物6を様々な撮影条件で撮影することで、当該対象物6を写した画像データを取得する。撮影条件は、対象物6の向き、対象物6の姿勢、対象物6の位置、照明の角度、照明の照度、カメラ5の位置、カメラ5の向き、カメラ5の倍率等で設定することができる。次に、取得した画像データに写る対象物6の検品を行う。そして、この対象物6の検品の結果(例えば、良否判定の結果)を示す検品結果データを作成し、作成した検品結果データを取得した画像データに紐付ける。これにより、各件の学習データ123を作成することができる。このような各件の学習データ123の作成は、オペレータ等により手動で行われてもよいし、ロボット等により自動で行われてもよい。 The learning data 123 of each case can be created, for example, as follows. That is, the camera 5 captures the object 6 flowing through the production line under various shooting conditions, thereby acquiring image data of the object 6. The shooting conditions can be set by the orientation of the object 6, the posture of the object 6, the position of the object 6, the angle of illumination, the illuminance of the illumination, the position of the camera 5, the orientation of the camera 5, the magnification of the camera 5, and the like. can. Next, the object 6 reflected in the acquired image data is inspected. Then, the inspection result data showing the inspection result (for example, the result of the quality determination) of the object 6 is created, and the created inspection result data is associated with the acquired image data. As a result, the learning data 123 of each case can be created. The creation of the learning data 123 for each case may be performed manually by an operator or the like, or may be automatically performed by a robot or the like.

なお、サンプルデータ129も、学習データ123と同様に作成することができる。そのため、画像データ及び検品結果データの組を多数作成し、作成した組の一部を、学習データ群122を構成する学習データ123として利用し、作成した組の残りをサンプルデータ129として利用してもよい。また、このような場合以外にも、取得した複数件の組の一部を、学習データ群122を構成する学習データ123として利用してもよい。 The sample data 129 can also be created in the same manner as the learning data 123. Therefore, a large number of sets of image data and inspection result data are created, a part of the created sets is used as learning data 123 constituting the learning data group 122, and the rest of the created sets is used as sample data 129. May be good. In addition to such a case, a part of the acquired plurality of sets may be used as the learning data 123 constituting the learning data group 122.

制御部11は、カメラ5を制御して、上記のように複数件の学習データ123を作成することで、学習データ群122を取得してもよい。また、上記の学習データ123の作成は、学習装置1以外の他の情報処理装置によって行われてもよい。この場合、制御部11は、ネットワーク、記憶媒体9等を介して、他の情報処理装置により作成された学習データ群122を取得してもよい。更に、作成された複数件の学習データ123は、Network Attached Storage(NAS)等の他の情報処理装置の記憶装置に格納されていてもよい。この場合、制御部11は、ネットワーク、記憶媒体9等を介して、他の情報処理装置の記憶装置に格納された学習データ群122を取得してもよい。 The control unit 11 may acquire the learning data group 122 by controlling the camera 5 and creating a plurality of learning data 123 as described above. Further, the above-mentioned learning data 123 may be created by an information processing device other than the learning device 1. In this case, the control unit 11 may acquire the learning data group 122 created by another information processing device via the network, the storage medium 9, or the like. Further, the created plurality of learning data 123 may be stored in a storage device of another information processing device such as Network Attached Storage (NAS). In this case, the control unit 11 may acquire the learning data group 122 stored in the storage device of another information processing device via the network, the storage medium 9, or the like.

(ステップS102)
次のステップS102では、制御部11は、学習処理部112として動き、ステップS101で取得した学習データ群122を利用して、ニューラルネットワーク2の機械学習を実施する。すなわち、各件の学習データ123の画像データ1231を入力すると、入力した画像データ1231と対になっている検品結果データ1232に対応する出力値を出力するようにニューラルネットワーク2を学習させる。これにより、制御部11は、対象物6の検品を行う能力を学習した学習済みのニューラルネットワーク2を構築する。
(Step S102)
In the next step S102, the control unit 11 operates as the learning processing unit 112, and performs machine learning of the neural network 2 by using the learning data group 122 acquired in step S101. That is, when the image data 1231 of the training data 123 of each case is input, the neural network 2 is trained so as to output the output value corresponding to the inspection result data 1232 paired with the input image data 1231. As a result, the control unit 11 constructs a trained neural network 2 that has learned the ability to inspect the object 6.

具体的には、まず、制御部11は、学習処理を行う対象となるニューラルネットワーク2を用意する。用意するニューラルネットワーク2の構成、各ニューロン間の結合の重みの初期値、及び各ニューロンの閾値の初期値は、テンプレートにより与えられてもよいし、オペレータの入力により与えられてもよい。 Specifically, first, the control unit 11 prepares a neural network 2 to be subjected to learning processing. The configuration of the neural network 2 to be prepared, the initial value of the weight of the connection between each neuron, and the initial value of the threshold value of each neuron may be given by the template or by the input of the operator.

次に、制御部11は、ステップS101で取得した学習データ群122に含まれる各件の学習データ123の画像データ1231を入力データとし、検品結果データ1232を教師データとして、ニューラルネットワーク2の学習処理を行う。このニューラルネットワーク2の学習処理には、勾配降下法、確率的勾配降下法等が用いられてよい。 Next, the control unit 11 uses the image data 1231 of each learning data 123 included in the learning data group 122 acquired in step S101 as input data and the inspection result data 1232 as teacher data, and trains the neural network 2. I do. A gradient descent method, a stochastic gradient descent method, or the like may be used for the learning process of the neural network 2.

例えば、制御部11は、画像データ1231を入力層21に入力して、順伝搬の方向に各層21〜23に含まれる各ニューロンの発火判定を行う。これにより、制御部11は、ニューラルネットワーク2の出力層23から出力値を得る。次に、制御部11は、出力層23から得た出力値と、入力した画像データ1231の対になっている検品結果データ1232に対応する値との誤差を算出する。続いて、制御部11は、誤差逆伝搬法により、算出した出力値の誤差を用いて、各ニューロン間の結合の重み及び各ニューロンの閾値それぞれの誤差を算出する。そして、制御部11は、算出した各誤差に基づいて、各ニューロン間の結合の重み及び各ニューロンの閾値それぞれの値の更新を行う。 For example, the control unit 11 inputs the image data 1231 to the input layer 21 and determines the firing of each neuron included in each layer 21 to 23 in the forward propagation direction. As a result, the control unit 11 obtains an output value from the output layer 23 of the neural network 2. Next, the control unit 11 calculates an error between the output value obtained from the output layer 23 and the value corresponding to the inspection result data 1232 which is a pair of the input image data 1231. Subsequently, the control unit 11 calculates the error of the connection weight between each neuron and the error of each threshold value of each neuron by using the error of the output value calculated by the error back propagation method. Then, the control unit 11 updates the weight of the connection between each neuron and the value of each threshold value of each neuron based on each calculated error.

制御部11は、学習データ群122に含まれる各件の学習データ123について、出力層23から出力される出力値が対応する検品結果データ1232の値と一致するまでこの一連の処理を繰り返すことにより、ニューラルネットワーク2の機械学習を実施する。これにより、各件の学習データ123の画像データ1231を入力すると、入力した画像データ1231と対になっている検品結果データ1232に対応する出力値を出力する学習済みのニューラルネットワーク2(学習済み学習器)を構築することができる。 The control unit 11 repeats this series of processing for each learning data 123 included in the learning data group 122 until the output value output from the output layer 23 matches the value of the corresponding inspection result data 1232. , Perform machine learning of the neural network 2. As a result, when the image data 1231 of the training data 123 of each case is input, the trained neural network 2 (trained learning) that outputs the output value corresponding to the inspection result data 1232 paired with the input image data 1231. Can build a vessel).

(ステップS103)
次のステップS103では、制御部11は、学習処理部112として動き、部分学習データ群124を利用して、ニューラルネットワーク3の機械学習を実施する。これにより、制御部11は、対象物6の検品を行う能力を学習した学習済みのニューラルネットワーク3(第2の学習器)を構築する。
(Step S103)
In the next step S103, the control unit 11 operates as the learning processing unit 112, and performs machine learning of the neural network 3 by using the partial learning data group 124. As a result, the control unit 11 constructs a trained neural network 3 (second learner) that has learned the ability to inspect the object 6.

なお、本ステップS103は、部分学習データ群124を利用する点を除き、上記ステップS102と同様に実施可能である。制御部11は、学習データ群122から学習データ123を適宜間引くことで、部分学習データ群124を作成することができる。部分学習データ群124に含まれる学習データ123の件数は、実施の形態に応じて適宜設定可能である。 Note that this step S103 can be performed in the same manner as in step S102, except that the partial learning data group 124 is used. The control unit 11 can create the partial learning data group 124 by appropriately thinning out the learning data 123 from the learning data group 122. The number of learning data 123 included in the partial learning data group 124 can be appropriately set according to the embodiment.

学習前のニューラルネットワーク3は、例えば、上記ニューラルネットワーク2と同様に初期設定される。本ステップS103により、制御部11は、部分学習データ群124に含まれる各件の学習データ123の画像データ1231を入力すると、入力した画像データ1231と対になっている検品結果データ1232に対応する出力値を出力する学習済みのニューラルネットワーク3を構築することができる。 The neural network 3 before learning is initially set in the same manner as the neural network 2 described above, for example. In this step S103, when the control unit 11 inputs the image data 1231 of each learning data 123 included in the partial learning data group 124, the control unit 11 corresponds to the inspection result data 1232 paired with the input image data 1231. A trained neural network 3 that outputs an output value can be constructed.

(ステップS104)
次のステップS104では、制御部11は、対象物6の検品を行う能力をサンプルデータ129に対して発揮するように各学習済みのニューラルネットワーク(2、3)を動作させる。すなわち、制御部11は、各学習済みのニューラルネットワーク(2、3)にサンプルデータ129を入力して、対象物6の検品結果を出力するように各学習済みのニューラルネットワーク(2、3)を動作させる。これにより、制御部11は、構築した各学習済みのニューラルネットワーク(2、3)にサンプルデータ129を適用する。
(Step S104)
In the next step S104, the control unit 11 operates each trained neural network (2, 3) so as to exert the ability to inspect the object 6 on the sample data 129. That is, the control unit 11 inputs the sample data 129 into each trained neural network (2, 3), and outputs each trained neural network (2, 3) so as to output the inspection result of the object 6. Make it work. As a result, the control unit 11 applies the sample data 129 to each of the constructed neural networks (2, 3).

具体的には、制御部11は、サンプルデータ129に含まれる画像データ1291を学習済みのニューラルネットワーク2の入力層21に入力し、順伝搬の方向に各層21〜23に含まれる各ニューロンの発火判定を行うことで、出力層23から出力値を得る。この出力層23から得られる出力値が、検品結果データ1292の値と一致する場合には、学習済みのニューラルネットワーク2は、対象物6の検品を行う能力を正しく発揮できたことになる。 Specifically, the control unit 11 inputs the image data 1291 included in the sample data 129 into the input layer 21 of the trained neural network 2, and fires each neuron included in each layer 21 to 23 in the forward propagation direction. By making a determination, an output value is obtained from the output layer 23. When the output value obtained from the output layer 23 matches the value of the inspection result data 1292, it means that the trained neural network 2 has correctly exhibited the ability to inspect the object 6.

そこで、制御部11は、各件のサンプルデータ129について、出力層23から出力される出力値が検品結果データ1292の値と一致する割合、換言すると、対象物6の検品の正答率を算出する。これにより、制御部11は、学習済みのニューラルネットワーク2が対象物6の検品を行う能力をサンプルデータ129に対して発揮した結果を得る。すなわち、本実施形態では、学習済みのニューラルネットワーク2が対象物6の検品を行う能力をサンプルデータ129に対して発揮した結果は、当該学習済みのニューラルネットワーク2による対象物6の検品の正答率として得ることができる。 Therefore, the control unit 11 calculates the ratio of the output value output from the output layer 23 to the value of the inspection result data 1292 for each sample data 129, in other words, the correct answer rate of the inspection of the object 6. .. As a result, the control unit 11 obtains a result in which the trained neural network 2 exerts the ability to inspect the object 6 with respect to the sample data 129. That is, in the present embodiment, the result that the trained neural network 2 exerts the ability to inspect the object 6 with respect to the sample data 129 is the correct answer rate of the inspection of the object 6 by the trained neural network 2. Can be obtained as.

学習済みのニューラルネットワーク3についても同様である。すなわち、制御部11は、サンプルデータ129に含まれる画像データ1291を学習済みのニューラルネットワーク3の入力層31に入力し、順伝搬方向の演算処理を行うことで出力層33から得られる出力値と検品結果データ1292の値とが一致するか否かを判定する。これにより、制御部11は、学習済みのニューラルネットワーク3が対象物6の検品を行う能力をサンプルデータ129に対して発揮した結果として、当該学習済みのニューラルネットワーク3による対象物6の検品の正答率を算出する。 The same applies to the trained neural network 3. That is, the control unit 11 inputs the image data 1291 included in the sample data 129 into the input layer 31 of the trained neural network 3, and performs arithmetic processing in the forward propagation direction to obtain an output value obtained from the output layer 33. It is determined whether or not the value of the inspection result data 1292 matches. As a result, the control unit 11 exerts the ability of the trained neural network 3 to inspect the object 6 on the sample data 129, and as a result, the correct answer for the inspection of the object 6 by the trained neural network 3 Calculate the rate.

(ステップS105)
次のステップS105では、制御部11は、不足件数評価部113として能力し、ステップS104で得られる結果に基づいて、ニューラルネットワーク2の機械学習に利用した学習データ123の不足件数の程度を評価する。
(Step S105)
In the next step S105, the control unit 11 functions as the shortage number evaluation unit 113, and evaluates the degree of the shortage of the learning data 123 used for machine learning of the neural network 2 based on the result obtained in step S104. ..

本実施形態では、制御部11は、上記ステップS102及びS103により、学習データ群122を利用した学習済みのニューラルネットワーク2と、部分学習データ群124を利用した学習済みのニューラルネットワーク3とを構築している。そこで、制御部11は、学習データ群122及び部分学習データ群124それぞれに含まれる学習データ123の件数の相違と、各学習済みのニューラルネットワーク(2、3)による対象物6の検品の正答率の相違具合とに基づいて、機械学習に利用した学習データ123の不足件数の程度を評価してもよい。 In the present embodiment, the control unit 11 constructs a trained neural network 2 using the training data group 122 and a trained neural network 3 using the partial learning data group 124 in the steps S102 and S103. ing. Therefore, the control unit 11 has a difference in the number of learning data 123 included in each of the learning data group 122 and the partial learning data group 124, and the correct answer rate of the inspection of the object 6 by each trained neural network (2, 3). The degree of the shortage of the learning data 123 used for machine learning may be evaluated based on the degree of difference between the two.

対象物6の検品を行う能力を十分に発揮できるか否かは、正答率の目標値に基づいて判定してもよい。すなわち、制御部11は、学習済みのニューラルネットワーク2による対象物6の検品の正答率が目標値を超えているか否かによって、対象物6の検品を行う能力を十分に発揮できるか否かを判定してもよい。正答率の目標値は、オペレータの入力、初期設定等により適宜与えられてよい。 Whether or not the ability to inspect the object 6 can be sufficiently exerted may be determined based on the target value of the correct answer rate. That is, whether or not the control unit 11 can sufficiently exert the ability to inspect the object 6 depending on whether or not the correct answer rate of the inspection of the object 6 by the trained neural network 2 exceeds the target value. You may judge. The target value of the correct answer rate may be appropriately given by the operator's input, initial setting, or the like.

例えば、制御部11は、学習済みのニューラルネットワーク2による対象物6の検品の正答率が目標値を超えているか否かを判定する。学習済みのニューラルネットワーク2による対象物6の検品の正答率が目標値を超えている場合には、制御部11は、機械学習に利用した学習データ123の件数に不足はなかったと認定する。一方、学習済みのニューラルネットワーク2による対象物6の検品の正答率が目標値を超えていない場合には、制御部11は、機械学習に利用した学習データ123の件数に不足があったと認定し、不足件数の程度の評価を行う。 For example, the control unit 11 determines whether or not the correct answer rate of the inspection of the object 6 by the trained neural network 2 exceeds the target value. When the correct answer rate of the inspection of the object 6 by the trained neural network 2 exceeds the target value, the control unit 11 determines that the number of learning data 123 used for machine learning is sufficient. On the other hand, if the correct answer rate of the inspection of the object 6 by the trained neural network 2 does not exceed the target value, the control unit 11 determines that the number of learning data 123 used for machine learning is insufficient. , Evaluate the degree of shortage.

学習データ123の不足件数の程度を評価する方法は、実施の形態に応じて適宜設定されてよい。例えば、制御部11は、学習済みのニューラルネットワーク2による対象物6の検品の正答率と目標値との差分を第1の差分として算出する。また、制御部11は、各学習済みのニューラルネットワーク(2、3)による対象物6の検品の正答率の差分を第2の差分として算出する。制御部11は、学習データ群122及び部分学習データ群124それぞれに含まれる学習データ123の件数の差分を第1の差分と第2の差分との比率に適用することで、不足件数の程度を特定してもよい。 The method for evaluating the degree of shortage of the learning data 123 may be appropriately set according to the embodiment. For example, the control unit 11 calculates the difference between the correct answer rate of the inspection of the object 6 by the trained neural network 2 and the target value as the first difference. Further, the control unit 11 calculates the difference in the correct answer rate of the inspection of the object 6 by each learned neural network (2, 3) as the second difference. The control unit 11 applies the difference in the number of learning data 123 included in each of the learning data group 122 and the partial learning data group 124 to the ratio of the first difference and the second difference to determine the degree of the shortage. It may be specified.

また、例えば、図6A及び図6Bに示されるとおり、学習データ123の件数と学習済みのニューラルネットワークが対象物6の検品を行う能力の程度(正答率)との関係を示す指標(以下、「評価指標」とも記載する)が与えられてもよい。図6A及び図6Bはそれぞれ、当該評価指標の一例を模式的に例示する。詳細には、図6Aは、学習データの件数に応じて正答率が単調増加する、正答率の目標値に到達可能な評価指標の一例を示す。一方、図6Bは、正答率の目標値に到達困難な評価指標の一例を示す。各評価指標は、適宜与えられてよい。また、制御部11は、複数件の評価指標を保持してもよい。各評価指標は、所定の関数等により表現可能である。 Further, for example, as shown in FIGS. 6A and 6B, an index showing the relationship between the number of training data 123 and the degree of ability (correct answer rate) of the trained neural network to inspect the object 6 (hereinafter, "" (Also referred to as "evaluation index") may be given. 6A and 6B schematically illustrate an example of the evaluation index. In detail, FIG. 6A shows an example of an evaluation index that can reach the target value of the correct answer rate, in which the correct answer rate increases monotonically according to the number of learning data. On the other hand, FIG. 6B shows an example of an evaluation index in which it is difficult to reach the target value of the correct answer rate. Each evaluation index may be given as appropriate. Further, the control unit 11 may hold a plurality of evaluation indexes. Each evaluation index can be expressed by a predetermined function or the like.

制御部11は、与えられた評価指標に、学習データ群122及び部分学習データ群124それぞれに含まれる学習データ123の件数の相違と、各学習済みのニューラルネットワーク(2、3)による対象物6の検品の正答率の相違具合とを適用してもよい。これにより、制御部11は、機械学習に利用した学習データ123の不足件数の程度を評価することができる。 The control unit 11 has a difference in the number of learning data 123 included in each of the training data group 122 and the partial learning data group 124 as the given evaluation index, and the object 6 by each trained neural network (2, 3). The difference in the correct answer rate of the inspection of the above may be applied. As a result, the control unit 11 can evaluate the degree of shortage of the learning data 123 used for machine learning.

具体的には、制御部11は、学習データ群122及び部分学習データ群124それぞれに含まれる学習データ123の件数の相違と、各学習済みのニューラルネットワーク(2、3)による対象物6の検品の正答率の相違(能力の差異)具合とに最も適合する評価指標を特定する。 Specifically, the control unit 11 has a difference in the number of learning data 123 included in each of the learning data group 122 and the partial learning data group 124, and inspects the object 6 by each trained neural network (2, 3). Identify the evaluation index that best matches the difference in the correct answer rate (difference in ability).

学習データ群122に含まれる学習データ123が、対象物6の検品を行う能力の機械学習に適切なデータである場合には、学習データ123の件数の相違及び正答率の相違具合は、図6Aで示されるような評価指標に最も適合し得る。このような場合には、制御部11は、評価指標により示される正答率の目標値を達成可能な件数と学習データ群122に含まれる学習データ123の件数との差を不足件数として算出する。これにより、制御部11は、機械学習に利用した学習データ123の不足件数の程度を評価することができる。 When the learning data 123 included in the learning data group 122 is data suitable for machine learning of the ability to inspect the object 6, the difference in the number of learning data 123 and the difference in the correct answer rate are shown in FIG. 6A. It is most suitable for the evaluation index as shown by. In such a case, the control unit 11 calculates the difference between the number of cases in which the target value of the correct answer rate indicated by the evaluation index can be achieved and the number of cases of learning data 123 included in the learning data group 122 as the number of insufficient cases. As a result, the control unit 11 can evaluate the degree of shortage of the learning data 123 used for machine learning.

一方、学習データ群122に含まれる学習データ123が、対象物6の検品を行う能力の機械学習に適切なデータではない場合には、学習データ123の件数の相違及び正答率の相違具合は、図6Bで示されるような評価指標に最も適合し得る。このような場合には、制御部11は、学習データ群122に新たな学習データを追加しても、対象物6の検品を行う能力を十分に発揮可能な学習済みのニューラルネットワークを構築するのは困難であると評価することができる。 On the other hand, when the learning data 123 included in the learning data group 122 is not appropriate data for machine learning of the ability to inspect the object 6, the difference in the number of learning data 123 and the difference in the correct answer rate are as follows. It is most suitable for the evaluation index as shown in FIG. 6B. In such a case, the control unit 11 constructs a trained neural network capable of fully demonstrating the ability to inspect the object 6 even if new training data is added to the training data group 122. Can be evaluated as difficult.

なお、学習データ群122と部分学習データ群124との差分となる学習データYが対象物6の検品を行う能力にあまり関係がない場合、各学習済みニューラルネットワーク(2、3)がサンプルデータ129に対して対象物6の検品を行う能力を発揮した結果の相違具合が所定以下となるケースが発生し得る。例えば、図6Bで示されるように、各学習済みニューラルネットワーク(2、3)による対象物6の検品の正答率の差が所定値以下であるケースがこれに相当する。このようなケースが発生した場合、制御部11は、学習データ群122と部分学習データ群124との差分となる学習データYは、対象物6の検品を行う能力の機械学習に不要なデータであると評価してもよい。これにより、機械学習に利用する学習データ群122の中から不要な学習データ123を削減し、機械学習の処理の効率化を図ることができる。 When the training data Y, which is the difference between the training data group 122 and the partial training data group 124, has little relation to the ability to inspect the object 6, each trained neural network (2, 3) has sample data 129. On the other hand, there may be a case where the degree of difference as a result of demonstrating the ability to inspect the object 6 is less than or equal to a predetermined value. For example, as shown in FIG. 6B, this corresponds to the case where the difference in the correct answer rate of the inspection of the object 6 by each trained neural network (2, 3) is not more than a predetermined value. When such a case occurs, the control unit 11 determines that the learning data Y, which is the difference between the learning data group 122 and the partial learning data group 124, is data unnecessary for machine learning of the ability to inspect the object 6. It may be evaluated as being. As a result, unnecessary learning data 123 can be reduced from the learning data group 122 used for machine learning, and the efficiency of machine learning processing can be improved.

(ステップS106)
次のステップS106では、制御部11は、ステップS105で行った評価結果を出力する。例えば、制御部11は、ディスプレイ等の出力装置15に学習データ123の不足件数の程度を示すメッセージを出力することで、機械学習に利用する学習データ123の追加を利用者に促すことができる。また、制御部11は、学習データ群122に新たな学習データを追加しても、対象物6の検品を行う能力を十分に発揮可能な学習済みのニューラルネットワークを構築するのは困難であることを示すメッセージを出力装置15に出力することで、機械学習に利用する学習データ群の変更を利用者に促すことができる。更に、制御部11は、学習データ群122と部分学習データ群124との差分となる学習データYが対象物6の検品を行う能力の機械学習に不要なデータであることを示すメッセージを出力装置15に出力することで、当該学習データYの削除を利用者に促すことができる。これにより、制御部11は、本動作例に係る学習処理を終了する。
(Step S106)
In the next step S106, the control unit 11 outputs the evaluation result performed in step S105. For example, the control unit 11 can urge the user to add the learning data 123 used for machine learning by outputting a message indicating the degree of the shortage of the learning data 123 to the output device 15 such as a display. Further, even if new learning data is added to the learning data group 122, it is difficult for the control unit 11 to construct a trained neural network capable of fully exerting the ability to inspect the object 6. By outputting the message indicating the above to the output device 15, it is possible to prompt the user to change the learning data group used for machine learning. Further, the control unit 11 outputs a message indicating that the learning data Y, which is the difference between the learning data group 122 and the partial learning data group 124, is data unnecessary for machine learning of the ability to inspect the object 6. By outputting to 15, it is possible to urge the user to delete the learning data Y. As a result, the control unit 11 ends the learning process related to this operation example.

なお、対象物6の検品を行う能力を十分に発揮可能な学習済みのニューラルネットワーク2を構築することができた場合には、制御部11は、当該学習済みニューラルネットワーク2の構成、各ニューロン間の結合の重み、及び各ニューロンの閾値を示す情報を学習結果データとして記憶部12に格納してよい。そして、制御部11は、作成した学習結果データを、対象物6の検品を実施する情報処理装置に適宜転送してもよい。 When the trained neural network 2 capable of fully exerting the ability to inspect the object 6 can be constructed, the control unit 11 configures the trained neural network 2 and between each neuron. Information indicating the weight of the connection and the threshold value of each neuron may be stored in the storage unit 12 as learning result data. Then, the control unit 11 may appropriately transfer the created learning result data to the information processing device that inspects the object 6.

[作用・効果]
以上のように、本実施形態に係る学習装置1、ステップS102及びS103の処理により、学習データ群122及び部分学習データ群124をそれぞれ利用して、学習済みのニューラルネットワーク(2、3)を構築する。そして、学習装置1は、ステップS104の処理により、構築した各学習済みのニューラルネットワーク(2、3)の能力の相違に基づいて、機械学習に利用した学習データ123の不足件数の程度を評価する。本実施形態によれば、この評価の結果に基づいて、対象物6の検品を行う能力を十分に発揮可能な学習済みのニューラルネットワークを構築するのに不足している学習データ123の件数の程度を特定することができる。
[Action / Effect]
As described above, by the processing of the learning device 1, steps S102 and S103 according to the present embodiment, the trained neural network (2, 3) is constructed by using the learning data group 122 and the partial learning data group 124, respectively. do. Then, the learning device 1 evaluates the degree of shortage of the learning data 123 used for machine learning based on the difference in the abilities of the learned neural networks (2, 3) constructed by the process of step S104. .. According to the present embodiment, based on the result of this evaluation, the degree of the number of training data 123 that is insufficient to construct a trained neural network capable of fully demonstrating the ability to inspect the object 6. Can be identified.

また、本実施形態では、ステップS106の出力処理により、対象物6の検品を行う能力を十分に発揮可能な学習済みのニューラルネットワークを構築するのに不足している学習データ123の件数を示すことができる。これにより、学習データ123の追加、及び追加した学習データ123を含む学習データ群を利用したニューラルネットワークの機械学習を繰り返し実施しなくても、対象物6の検品を行う能力を十分に発揮可能な学習済みのニューラルネットワークを構築することができるようになる。したがって、本実施形態によれば、対象物6の検品を行う能力を十分に発揮可能な学習済みのニューラルネットワークを速やかに作成することができるようになる。 Further, in the present embodiment, the number of training data 123 that is insufficient to construct a trained neural network capable of fully exerting the ability to inspect the object 6 by the output processing of step S106 is shown. Can be done. As a result, the ability to inspect the object 6 can be fully exhibited without repeatedly performing the addition of the learning data 123 and the machine learning of the neural network using the learning data group including the added learning data 123. You will be able to build a trained neural network. Therefore, according to the present embodiment, it becomes possible to quickly create a trained neural network capable of fully exerting the ability to inspect the object 6.

また、本実施形態に係る学習装置1は、学習データ群122及び部分学習データ群124それぞれの機械学習の結果を比較することで、学習データ123の不足件数の程度を評価している。しかしながら、学習データ123の不足件数の程度を評価する方法は、このような例に限定されなくてもよい。本実施形態に係る学習装置1は、学習データ群122に新たな学習データ123を追加した追加学習データ群と学習データ群122との機械学習の結果を比較することで、学習データ123の不足件数の程度を評価してもよい。 Further, the learning device 1 according to the present embodiment evaluates the degree of the shortage of the learning data 123 by comparing the machine learning results of the learning data group 122 and the partial learning data group 124. However, the method for evaluating the degree of shortage of the learning data 123 does not have to be limited to such an example. The learning device 1 according to the present embodiment compares the results of machine learning between the additional learning data group in which the new learning data 123 is added to the learning data group 122 and the learning data group 122, and the number of shortages in the learning data 123. The degree of may be evaluated.

ただし、このような評価方法を採用する場合、追加学習データ群を利用するよりも、部分学習データ群124を利用する方が好ましい。なぜなら、追加学習データ群を利用するよりも、部分学習データ群124を利用したほうが、対象物6の検品を行う能力を十分に発揮可能な学習済みのニューラルネットワークを構築するまでにかかる作業の効率化を図ることができるからである。すなわち、部分学習データ群124は、新たな学習データ123を収集せずとも、学習データ群122から適宜作成することができる。これに対して、追加学習データ群を作成する場合には、新たな学習データ123の収集を行う分だけ、作業工程が増えてしまう。そのため、追加学習データ群を利用する形態に比べて、部分学習データ群124を利用する本実施形態では、新たな学習データ123を収集する作業回数の増加を抑えることができる分だけ、対象物6の検品を行う能力を十分に発揮可能な学習済みのニューラルネットワークを速やかに作成することができるようになる。 However, when such an evaluation method is adopted, it is preferable to use the partial learning data group 124 rather than to use the additional learning data group. This is because it is more efficient to use the partial training data group 124 than to use the additional training data group to construct a trained neural network capable of fully demonstrating the ability to inspect the object 6. This is because it can be converted. That is, the partial learning data group 124 can be appropriately created from the learning data group 122 without collecting new learning data 123. On the other hand, when the additional learning data group is created, the work process is increased by the amount of collecting new learning data 123. Therefore, in the present embodiment using the partial learning data group 124 as compared with the mode using the additional learning data group, the object 6 can suppress an increase in the number of operations for collecting new learning data 123. It will be possible to quickly create a trained neural network that can fully demonstrate the ability to perform inspections.

§4 変形例
以上、本発明の実施の形態を詳細に説明してきたが、前述までの説明はあらゆる点において本発明の例示に過ぎない。本発明の範囲を逸脱することなく種々の改良や変形を行うことができることは言うまでもない。例えば、以下のような変更が可能である。なお、以下では、上記実施形態と同様の構成要素に関しては同様の符号を用い、上記実施形態と同様の点については、適宜説明を省略した。以下の変形例は適宜組み合わせ可能である。
§4 Modifications Although the embodiments of the present invention have been described in detail above, the above description is merely an example of the present invention in all respects. Needless to say, various improvements and modifications can be made without departing from the scope of the present invention. For example, the following changes can be made. In the following, the same reference numerals will be used for the same components as those in the above embodiment, and the same points as in the above embodiment will be omitted as appropriate. The following modifications can be combined as appropriate.

<4.1>
上記実施形態では、ニューラルネットワークに学習させる所定の能力として、製造ラインで製造される対象物6の検品を行う能力を例示している。そして、対象物6の検品を行う能力を発揮する際に、学習済みニューラルネットワーク2に入力する入力データは、対象物6を撮影することで得られた画像データであり、学習済みニューラルネットワーク2から出力される出力データは、対象物6の検品結果を示すデータである。しかしながら、ニューラルネットワークに学習させる所定の能力は、このような例に限定されなくてもよく、実施の形態に応じて適宜選択されてよい。学習データを適宜変更することで、ニューラルネットワークに学習させる所定の能力を適宜変更可能である。
<4.1>
In the above embodiment, the ability to inspect the object 6 manufactured on the production line is illustrated as a predetermined ability to be trained by the neural network. Then, the input data to be input to the trained neural network 2 when demonstrating the ability to inspect the object 6 is the image data obtained by photographing the object 6, from the trained neural network 2. The output data to be output is data indicating the inspection result of the object 6. However, the predetermined ability to train the neural network is not limited to such an example, and may be appropriately selected depending on the embodiment. By appropriately changing the training data, it is possible to appropriately change a predetermined ability to train the neural network.

例えば、ニューラルネットワークに学習させる所定の能力は、利用者の好みに応じて制御対象装置を制御する能力、血圧等の生体データに基づいて対象人物の将来の健康状態を推定する能力、ドライバの写る画像データに基づいて当該ドライバの状態を推定する能力等であってよい。この場合、所定の能力を発揮する際に、ニューラルネットワークに入力する入力データは、画像データ及び生体データの少なくともいずれかであってよく、ニューラルネットワークから出力される出力データは、対象物又は対象人物の状態の推定結果を示すデータであってよい。生体データは、例えば、心拍数、脈拍数、呼吸数、体温、血圧、脳波、姿勢、及び筋電の少なくともいずれかを示すデータである。このような生体データは、心拍計等の生体センサにより取得可能である。 For example, predetermined abilities to be trained by a neural network include the ability to control a controlled device according to the user's preference, the ability to estimate the future health state of the target person based on biological data such as blood pressure, and the image of the driver. It may be the ability to estimate the state of the driver based on the image data. In this case, the input data to be input to the neural network when demonstrating a predetermined ability may be at least one of image data and biological data, and the output data output from the neural network is an object or a target person. It may be data showing the estimation result of the state of. The biological data is, for example, data showing at least one of heart rate, pulse rate, respiratory rate, body temperature, blood pressure, electroencephalogram, posture, and myoelectricity. Such biometric data can be acquired by a biosensor such as a heart rate monitor.

具体例として、利用者の好みに応じて制御対象装置を制御する能力を所定の能力としてニューラルネットワーク2に学習させてもよい。この場合、学習データ及びサンプルデータそれぞれに含まれる入力データは、例えば、制御対象装置の制御に利用する各種情報となる。また、教師データは、例えば、各種情報により示される場面における利用者の好みに応じた制御対象装置に対する制御値となる。このとき、利用者の好みに応じて制御対象装置を制御する能力を発揮する際に、学習済みニューラルネットワーク2に入力する入力データは、制御対象装置の制御に利用する各種情報となり、学習済みニューラルネットワーク2から出力される出力データは、利用者の好みに応じた制御対象装置に対する制御値となる。 As a specific example, the neural network 2 may be made to learn the ability to control the control target device according to the preference of the user as a predetermined ability. In this case, the input data included in each of the learning data and the sample data is, for example, various information used for controlling the control target device. Further, the teacher data is, for example, a control value for the controlled target device according to the user's preference in the scene indicated by various information. At this time, the input data input to the trained neural network 2 when demonstrating the ability to control the controlled target device according to the user's preference becomes various information used for controlling the controlled target device, and the trained neural network. The output data output from the network 2 becomes a control value for the controlled target device according to the user's preference.

また、車両のドライバの状態を推定する能力を所定の能力としてニューラルネットワーク2に学習させてもよい。この場合、学習データ及びサンプルデータそれぞれに含まれる入力データは、ドライバを撮影することで得られた画像データ及びドライバから得られた生体データの少なくともいずれかであってよい。また、教師データは、ドライバの状態(例えば、眠気の度合い、運転の集中度合い等)を示すデータであってよい。このとき、車両のドライバの状態を推定する能力を発揮する際に、学習済みニューラルネットワーク2に入力する入力データは、ドライバを撮影することで得られた画像データ及びドライバから得られた生体データの少なくともいずれかとなり、学習済みニューラルネットワーク2から出力される出力データは、ドライバの状態を示すデータとなる。 Further, the neural network 2 may be made to learn the ability to estimate the state of the driver of the vehicle as a predetermined ability. In this case, the input data included in each of the training data and the sample data may be at least one of the image data obtained by photographing the driver and the biometric data obtained from the driver. Further, the teacher data may be data indicating the state of the driver (for example, the degree of drowsiness, the degree of concentration of driving, etc.). At this time, the input data to be input to the trained neural network 2 when demonstrating the ability to estimate the state of the driver of the vehicle is the image data obtained by photographing the driver and the biometric data obtained from the driver. At least one of them, and the output data output from the trained neural network 2 is data indicating the state of the driver.

また、対象人物の健康状態を推定する能力を所定の能力としてニューラルネットワーク2に学習させてもよい。この場合、学習データ及びサンプルデータそれぞれに含まれる入力データは、対象人物から得られた生体データであってよい。また、教師データは、対象人物の健康状態(例えば、脳血管疾患、心血管疾患等の疾患を発症する可能性)を示すデータであってよい。このとき、対象人物の健康状態を推定する能力を発揮する際に、学習済みニューラルネットワーク2に入力する入力データは、対象人物から得られた生体データとなり、学習済みニューラルネットワーク2から出力される出力データは、対象人物の健康状態を示すデータとなる。 Further, the neural network 2 may be made to learn the ability to estimate the health state of the target person as a predetermined ability. In this case, the input data included in the learning data and the sample data may be biometric data obtained from the target person. In addition, the teacher data may be data indicating the health condition of the target person (for example, the possibility of developing a disease such as cerebrovascular disease or cardiovascular disease). At this time, the input data input to the trained neural network 2 when demonstrating the ability to estimate the health state of the target person becomes the biological data obtained from the target person, and the output output from the trained neural network 2. The data is data showing the health condition of the target person.

<4.2>
また、上記実施形態では、1種類の部分学習データ群124を利用して、1件の学習済みニューラルネットワーク3を構築している。しかしながら、部分学習データ群124の種類数及び構築する学習済みニューラルネットワーク3の数はそれぞれ、このような例に限定されなくてもよく、複数種類の部分学習データ群124を利用して、複数件の学習済みニューラルネットワーク3を構築してもよい。すなわち、上記実施形態に係る学習装置1の制御部11は、部分学習データ群124を複数パターン用意してもよい。この場合、制御部11は、上記ステップS103において、用意した複数パターンの部分学習データ群124を利用して、複数件の学習済みニューラルネットワーク3を構築する。次に、制御部11は、上記ステップS104において、各学習済みニューラルネットワーク3にサンプルデータ129を適用する。そして、制御部11は、上記ステップS105において、学習済みニューラルネットワーク2及び複数件の学習済みニューラルネットワーク3それぞれにサンプルデータ129を適用した結果に基づいて、機械学習に利用した学習データ123の不足件数の程度を評価する。なお、この場合、各部分学習データ群124は、構成する学習データの件数を相違するようにし、包含関係を有するようにしてもよい。すなわち、学習データ群122から徐々に学習データを減らしていくことで、各部分学習データ群124を作成してもよい。これにより、構成する学習データの件数が最も少ない学習データ群124と学習データ群122との間の状態をその他の部分学習データ群124で表現することができるため、機械学習により習得させる所定の能力に学習データの件数が与える影響を適切に表出させることができる。
<4.2>
Further, in the above embodiment, one trained neural network 3 is constructed by using one type of partial learning data group 124. However, the number of types of the partial learning data group 124 and the number of the trained neural networks 3 to be constructed do not have to be limited to such an example, and a plurality of cases can be obtained by using the plurality of types of the partial learning data group 124. The trained neural network 3 of the above may be constructed. That is, the control unit 11 of the learning device 1 according to the above embodiment may prepare a plurality of patterns of the partial learning data group 124. In this case, the control unit 11 constructs a plurality of learned neural networks 3 by using the prepared partial learning data group 124 of a plurality of patterns in step S103. Next, the control unit 11 applies the sample data 129 to each trained neural network 3 in step S104. Then, the control unit 11 applies the sample data 129 to each of the trained neural network 2 and the plurality of trained neural networks 3 in step S105, and based on the result, the number of shortages of the training data 123 used for machine learning. Evaluate the degree of. In this case, each partial learning data group 124 may have a different number of constituent learning data and have an inclusion relationship. That is, each partial learning data group 124 may be created by gradually reducing the learning data from the learning data group 122. As a result, the state between the learning data group 124 and the learning data group 122 having the smallest number of constituent learning data can be expressed by the other partial learning data group 124, so that a predetermined ability to be acquired by machine learning can be expressed. It is possible to appropriately express the influence of the number of training data.

<4.3>
また、上記実施形態では、部分学習データ群124により構築した学習済みのニューラルネットワーク3を利用して、機械学習に利用する学習データ123の不足件数の程度を評価している。しかしながら、学習データ123の不足件数の程度を評価する方法は、このような例に限定されなくてもよい。例えば、学習データ群122により構築した学習済みのニューラルネットワーク2による対象物6の検品の正答率のみを評価指標に適用することで、制御部11は、機械学習に利用する学習データ123の不足件数の程度を評価してもよい。すなわち、制御部11は、部分学習データ群124により構築した学習済みのニューラルネットワーク3を利用せずに、機械学習に利用する学習データ123の不足件数の程度を評価してもよい。この場合、上記ステップS103は、省略されてもよい。
<4.3>
Further, in the above embodiment, the degree of shortage of the learning data 123 used for machine learning is evaluated by using the trained neural network 3 constructed by the partial learning data group 124. However, the method for evaluating the degree of shortage of the learning data 123 does not have to be limited to such an example. For example, by applying only the correct answer rate of the inspection of the object 6 by the trained neural network 2 constructed by the learning data group 122 to the evaluation index, the control unit 11 has the number of shortages of the learning data 123 used for machine learning. The degree of may be evaluated. That is, the control unit 11 may evaluate the degree of shortage of the learning data 123 used for machine learning without using the trained neural network 3 constructed by the partial learning data group 124. In this case, step S103 may be omitted.

<4.4>
また、図7に例示されるように、機械学習に利用する学習データ群に所定の種類に属する学習データを追加することで、機械学習に不足している学習データの種類の評価を行ってもよい。図7は、本変形例に係る学習装置1Aを模式的に例示する。この学習装置1Aでは、学習データ取得部111は、第1の種類に属する複数件の学習データ126で構成された第1の追加学習データ群125と、第1の種類とは異なる第2の種類に属する複数件の学習データ128で構成された第2の追加学習データ群127と、を更に取得する。つまり、本変形例では、学習データ取得部111は、それぞれ異なる種類の学習データで構成される複数の追加学習データ群を取得する。
<4.4>
Further, as illustrated in FIG. 7, by adding learning data belonging to a predetermined type to the learning data group used for machine learning, even if the type of learning data lacking in machine learning is evaluated. good. FIG. 7 schematically illustrates the learning device 1A according to this modification. In the learning device 1A, the learning data acquisition unit 111 includes a first additional learning data group 125 composed of a plurality of learning data 126 belonging to the first type, and a second type different from the first type. A second additional learning data group 127 composed of a plurality of learning data 128 belonging to the above is further acquired. That is, in this modification, the learning data acquisition unit 111 acquires a plurality of additional learning data groups each composed of different types of learning data.

学習データの属する種類は、学習データを作成する条件のパラメータにより特定可能である。本変形例の場合、学習データは、対象物6の検品を行う能力の機械学習に利用される。そのため、学習データの属する種類は、対象物6の撮影条件の変更パラメータにより特定可能である。例えば、第1の種類に属する学習データ126では、対象物6の角度を変更するようにし、第2の種類に属する学習データ128では、照明の明るさを変更するようにしてもよい。すなわち、第1の種類に属する複数件の学習データ126は、対象物6の角度を所定のピッチで変更し、それ以外の撮影条件を一定にすることで得られる複数件の画像データ1261を用いて作成することができる。第2の種類に属する複数件の学習データ128は、照明の明るさを所定のピッチで変更し、それ以外の撮影条件を一定にすることで得られる複数件の画像データ1281を用いて作成することができる。なお、各検品結果データ(1262、1282)は、上記学習データ123と同様に、紐付けられる各画像データ(1261、1281)に対応して適宜作成される。 The type to which the learning data belongs can be specified by the parameters of the conditions for creating the learning data. In the case of this modification, the learning data is used for machine learning of the ability to inspect the object 6. Therefore, the type to which the learning data belongs can be specified by the change parameter of the shooting condition of the object 6. For example, in the learning data 126 belonging to the first type, the angle of the object 6 may be changed, and in the learning data 128 belonging to the second type, the brightness of the illumination may be changed. That is, the plurality of learning data 126 belonging to the first type uses the plurality of image data 1261 obtained by changing the angle of the object 6 at a predetermined pitch and keeping the other shooting conditions constant. Can be created. The plurality of learning data 128 belonging to the second type are created by using the plurality of image data 1281 obtained by changing the brightness of the illumination at a predetermined pitch and keeping the other shooting conditions constant. be able to. The inspection result data (1262, 1282) are appropriately created corresponding to the associated image data (1261, 1281) in the same manner as the learning data 123.

学習処理部112は、学習データ群122及び第1の追加学習データ群125を利用して、ニューラルネットワーク40の機械学習を実施する。これにより、対象物6の検品を行う能力を学習した学習済みのニューラルネットワーク40を更に構築することができる。構築された学習済みのニューラルネットワーク40は、本発明の「第3の学習器」に相当する。また、学習処理部112は、学習データ群122及び第2の追加学習データ群127を利用して、ニューラルネットワーク41の機械学習を実施する。これにより、対象物6の検品を行う能力を学習した学習済みのニューラルネットワーク41を更に構築することができる。構築された学習済みのニューラルネットワーク41は、本発明の「第4の学習器」に相当する。なお、各ニューラルネットワーク(40、41)は、上記各ニューラルネットワーク(2、3)と同様に構成可能である。 The learning processing unit 112 uses the learning data group 122 and the first additional learning data group 125 to perform machine learning of the neural network 40. As a result, the trained neural network 40 that has learned the ability to inspect the object 6 can be further constructed. The constructed trained neural network 40 corresponds to the "third learner" of the present invention. Further, the learning processing unit 112 uses the learning data group 122 and the second additional learning data group 127 to perform machine learning of the neural network 41. As a result, the trained neural network 41 that has learned the ability to inspect the object 6 can be further constructed. The constructed trained neural network 41 corresponds to the "fourth learner" of the present invention. Each neural network (40, 41) can be configured in the same manner as each of the above neural networks (2, 3).

不足件数評価部113は、各学習済みのニューラルネットワーク(40、41)が対象物6の検品を行う能力をサンプルデータ129に対して発揮した結果の相違具合、換言すると、各学習済みのニューラルネットワーク(40、41)による対象物6の検品の正答率の相違具合に基づいて、機械学習に不足している学習データの種類を特定する。例えば、学習済みのニューラルネットワーク41の方が学習済みのニューラルネットワーク40よりも対象物6の検品の正答率が高い場合には、不足件数評価部113は、学習データ群122には、第2の種類に属する学習データ、すなわち、照明の明るさを変更した学習データが不足していると評価することができる。 In the shortage number evaluation unit 113, the difference in the results of each trained neural network (40, 41) demonstrating the ability to inspect the object 6 with respect to the sample data 129, in other words, each trained neural network. Based on the difference in the correct answer rate of the inspection of the object 6 according to (40, 41), the type of learning data lacking in machine learning is specified. For example, when the trained neural network 41 has a higher correct answer rate for the inspection of the object 6 than the trained neural network 40, the shortage number evaluation unit 113 indicates that the training data group 122 has a second It can be evaluated that the learning data belonging to the type, that is, the learning data in which the brightness of the illumination is changed is insufficient.

これらの点を除き、学習装置1Aは、上記学習装置1と同様に構成される。本変形例では、上記ステップS101〜S106の一連の処理を実行した後に、制御部11は、学習データ取得部111として動き、第1の追加学習データ群125及び第2の追加学習データ群127を取得してもよい。第1の追加学習データ群125及び第2の追加学習データ群127の取得は、上記ステップS101内で行われてもよい。次に、制御部11は、学習処理部112として動き、学習データ群122及び第1の追加学習データ群125を利用して、ニューラルネットワーク40の機械学習を実施する。また、制御部11は、学習データ群122及び第2の追加学習データ群127を利用して、ニューラルネットワーク41の機械学習を実施する。当該機械学習の処理は、上記ステップS102及びS103と同様に実施することができる。続いて、制御部11は、上記ステップS104と同様に、各学習済みのニューラルネットワーク(40、41)にサンプルデータ129を適用する。そして、制御部11は、不足件数評価部113として動き、各学習済みのニューラルネットワーク(40、41)による対象物6の検品の正答率の相違具合に基づいて、機械学習に不足している学習データの種類を特定する。 Except for these points, the learning device 1A is configured in the same manner as the learning device 1. In this modification, after executing the series of processes of steps S101 to S106, the control unit 11 operates as the learning data acquisition unit 111, and performs the first additional learning data group 125 and the second additional learning data group 127. You may get it. The acquisition of the first additional learning data group 125 and the second additional learning data group 127 may be performed in the above step S101. Next, the control unit 11 operates as a learning processing unit 112, and performs machine learning of the neural network 40 by using the learning data group 122 and the first additional learning data group 125. Further, the control unit 11 performs machine learning of the neural network 41 by using the learning data group 122 and the second additional learning data group 127. The machine learning process can be carried out in the same manner as in steps S102 and S103. Subsequently, the control unit 11 applies the sample data 129 to each trained neural network (40, 41) in the same manner as in step S104. Then, the control unit 11 operates as a shortage number evaluation unit 113, and based on the difference in the correct answer rate of the inspection of the object 6 by each learned neural network (40, 41), the learning lacking in machine learning Identify the type of data.

制御部11は、このようにして特定した機械学習に不足している学習データの種類をメッセージとして出力装置15により出力してもよい。これにより、対象物6の検品を行う能力を十分に発揮可能な学習済みのニューラルネットワークを構築するのに不足している学習データの種類を利用者に示すことができる。したがって、追加する学習データの作成を効率化することができ、対象物6の検品を行う能力を十分に発揮可能な学習済みのニューラルネットワークを速やかに作成することができるようになる。特に、追加する学習データの種類を限定せずに追加学習データ群を作成する形態に比べて、本変形例では、不足している学習データの種類を特定できる分だけ、追加する学習データの作成作業の効率化を図ることができる。なお、追加する学習データの種類は、2種類に限られなくてもよい。すなわち、3種類以上の追加学習データ群を利用して、追加する学習データの種類の評価を行ってもよい。 The control unit 11 may output the type of learning data lacking in the machine learning identified in this way as a message by the output device 15. As a result, it is possible to show the user the type of training data that is insufficient to construct a trained neural network capable of fully exerting the ability to inspect the object 6. Therefore, it becomes possible to efficiently create the learning data to be added, and to quickly create a trained neural network capable of fully demonstrating the ability to inspect the object 6. In particular, compared to the form in which the additional learning data group is created without limiting the type of learning data to be added, in this modified example, the learning data to be added is created as much as the type of the missing learning data can be identified. Work efficiency can be improved. The types of learning data to be added are not limited to two types. That is, the type of additional learning data may be evaluated by using three or more types of additional learning data groups.

<4.5>
また、図8に例示されるように、上記ステップS105における学習データの不足件数の評価に、ニューラルネットワーク等の評価用学習器を利用してもよい。図8は、本変形例に係る学習装置1Bを模式的に例示する。本変形例に係る学習装置1Bは、学習データの不足件数の評価にニューラルネットワーク7を用いる点を除き、上記学習装置1と同様に構成される。この場合、制御部11は、上記ステップS105において、不足件数評価部113として動き、ニューラルネットワーク7を用いて、学習データ123の不足件数を評価する。
<4.5>
Further, as illustrated in FIG. 8, an evaluation learning device such as a neural network may be used for evaluating the number of shortages of learning data in step S105. FIG. 8 schematically illustrates the learning device 1B according to this modification. The learning device 1B according to this modification is configured in the same manner as the learning device 1 except that the neural network 7 is used for evaluating the number of shortages of learning data. In this case, the control unit 11 operates as the shortage number evaluation unit 113 in step S105, and evaluates the shortage number of the learning data 123 using the neural network 7.

ニューラルネットワーク7は、上記各ニューラルネットワーク(2、3)と同様に構成可能である。本変形例に係るニューラルネットワーク7は、学習データ群を構成する学習データの件数及び種類を示す情報を入力すると、機械学習に利用する学習データの不足件数の程度を示す不足件数評価情報を出力するように学習済みである。学習データの種類は、上記のとおり、画像データの撮影条件により特定可能である。 The neural network 7 can be configured in the same manner as each of the above neural networks (2, 3). When the neural network 7 according to this modification inputs information indicating the number and types of learning data constituting the learning data group, it outputs the insufficient number evaluation information indicating the degree of the insufficient number of learning data used for machine learning. It has been learned as. As described above, the type of training data can be specified by the shooting conditions of the image data.

制御部11は、ステップS101で取得した学習データ群122に含まれる学習データ123の件数及び種類を特定する。そして、上記ステップS105において、制御部11は、特定した学習データ123の件数及び種類を示す情報を学習済みのニューラルネットワーク7の入力層に入力し、順伝搬方向の演算処理を行うことで、不足件数評価情報に対応する出力値を出力層から取得する。この不足件数評価情報により、学習データ123の不足件数の評価を示すことができる。したがって、本変形例によれば、機械学習に利用する学習データの不足件数を比較的に容易に特定することができる。 The control unit 11 specifies the number and types of learning data 123 included in the learning data group 122 acquired in step S101. Then, in step S105, the control unit 11 inputs information indicating the number and types of the identified learning data 123 into the input layer of the trained neural network 7, and performs arithmetic processing in the forward propagation direction, resulting in a shortage. Obtain the output value corresponding to the number evaluation information from the output layer. With this shortage number evaluation information, it is possible to show the evaluation of the shortage number of the learning data 123. Therefore, according to this modification, it is possible to relatively easily identify the number of shortages of learning data used for machine learning.

なお、ニューラルネットワーク7は、機械学習に不足している学習データの種類を更に出力するように学習済みであってよい。このようにすることで、対象物6の検品を行う能力を十分に発揮可能な学習済みのニューラルネットワークを構築するのに不足している学習データの種類を利用者に示すことができる。したがって、追加する学習データの作成を効率化することができ、対象物6の検品を行う能力を十分に発揮可能な学習済みのニューラルネットワークを速やかに作成することができるようになる。 The neural network 7 may have been trained to further output the types of training data that are lacking in machine learning. By doing so, it is possible to show the user the type of training data that is insufficient to construct a trained neural network capable of fully exerting the ability to inspect the object 6. Therefore, it becomes possible to efficiently create the learning data to be added, and to quickly create a trained neural network capable of fully demonstrating the ability to inspect the object 6.

<4.6>
また、上記実施形態及び変形例では、各ニューラルネットワーク(2、3、40、41、7)として、多層構造を有する一般的な順伝播型ニューラルネットワークを用いている。しかしながら、各ニューラルネットワーク(2、3、40、41、7)の種類は、このような例に限定されなくてもよく、実施の形態に応じて適宜選択されてよい。例えば、各ニューラルネットワーク(2、3、40、41、7)には、畳み込み層及びプーリング層を備える畳み込みニューラルネットワークを用いてもよい。また、例えば、入力データとして時系列データを用いる場合、各ニューラルネットワーク(2、3、40、41、7)には、中間層から入力層等のように出力側から入力側に再帰する結合を有する再帰型ニューラルネットワークが用いられてもよい。なお、各ニューラルネットワーク(2、3、40、41、7)の層数、各層におけるニューロンの個数、ニューロン同士の結合関係、及び各ニューロンの伝達関数は、実施の形態に応じて適宜決定されてよい。
<4.6>
Further, in the above-described embodiment and modification, a general feedforward neural network having a multi-layer structure is used as each neural network (2, 3, 40, 41, 7). However, the type of each neural network (2, 3, 40, 41, 7) does not have to be limited to such an example, and may be appropriately selected depending on the embodiment. For example, a convolutional neural network including a convolutional layer and a pooling layer may be used for each neural network (2, 3, 40, 41, 7). Further, for example, when time-series data is used as input data, each neural network (2, 3, 40, 41, 7) is connected with a recursive connection from the output side to the input side, such as from the intermediate layer to the input layer. A recursive neural network having may be used. The number of layers of each neural network (2, 3, 40, 41, 7), the number of neurons in each layer, the connection relationship between neurons, and the transfer function of each neuron are appropriately determined according to the embodiment. good.

<4.7>
また、上記実施形態及び変形例では、各学習器及び評価用学習器は、ニューラルネットワークにより構成されている。しかしながら、各学習器及び評価用学習器の種類は、ニューラルネットワークに限られなくてもよく、実施の形態に応じて適宜選択されてよい。各学習器及び評価用学習器には、例えば、サポートベクターマシン、自己組織化マップ、強化学習により学習を行う学習器等が用いられてもよい。
<4.7>
Further, in the above-described embodiment and modification, each learning device and evaluation learning device are configured by a neural network. However, the type of each learner and the evaluation learner does not have to be limited to the neural network, and may be appropriately selected according to the embodiment. For each learning device and evaluation learning device, for example, a support vector machine, a self-organizing map, a learning device that learns by reinforcement learning, or the like may be used.

(付記1)
ハードウェアプロセッサと、
前記ハードウェアプロセッサで実行するプログラムを保持するメモリと、
を備える学習装置であって、
前記ハードウェアプロセッサは、前記プログラムを実行することにより、
複数件の学習データで構成され、所定の能力を学習器に機械学習させるための第1の学習データ群を取得するステップと、
取得した前記第1の学習データ群を利用して、前記学習器の機械学習を実施することで、前記所定の能力を学習した第1の学習器を構築するステップと、
サンプルデータに対して前記所定の能力を発揮するように前記第1の学習器を動作させるステップと、
前記第1の学習器が前記サンプルデータに対して前記所定の能力を発揮した結果に基づいて、前記機械学習に利用した学習データの不足件数の程度を評価するステップと、
を実行するように構成される、
学習装置。
(Appendix 1)
With a hardware processor
A memory that holds a program to be executed by the hardware processor, and
It is a learning device equipped with
The hardware processor executes the program.
A step of acquiring a first learning data group which is composed of a plurality of learning data and causes a learner to perform machine learning of a predetermined ability, and a step of acquiring the first learning data group.
A step of constructing a first learning device that has learned the predetermined ability by performing machine learning of the learning device using the acquired first learning data group.
The step of operating the first learner so as to exert the predetermined ability with respect to the sample data, and
Based on the result of the first learning device demonstrating the predetermined ability with respect to the sample data, a step of evaluating the degree of lack of learning data used for the machine learning, and a step of evaluating the degree of shortage.
Is configured to run,
Learning device.

(付記2)
ハードウェアプロセッサにより、複数件の学習データで構成され、所定の能力を学習器に機械学習させるための第1の学習データ群を取得するステップと、
ハードウェアプロセッサにより、取得した前記第1の学習データ群を利用して、前記学習器の機械学習を実施することで、前記所定の能力を学習した第1の学習器を構築するステップと、
ハードウェアプロセッサにより、サンプルデータに対して前記所定の能力を発揮するように前記第1の学習器を動作させるステップと、
ハードウェアプロセッサにより、前記第1の学習器が前記サンプルデータに対して前記所定の能力を発揮した結果に基づいて、前記機械学習に利用した学習データの不足件数の程度を評価するステップと、
を備える、
学習方法。
(Appendix 2)
The hardware processor is composed of a plurality of training data, and a step of acquiring a first training data group for machine learning a predetermined ability by a learner, and a step of acquiring the first training data group.
A step of constructing a first learning device that has learned the predetermined ability by performing machine learning of the learning device using the acquired first learning data group by a hardware processor.
A step of operating the first learner by a hardware processor so as to exert the predetermined capability with respect to the sample data.
A step of evaluating the degree of shortage of the learning data used for the machine learning based on the result that the first learning device exerts the predetermined ability with respect to the sample data by the hardware processor.
To prepare
Learning method.

1・1A・1B…学習装置、
11…制御部、12…記憶部、13…外部インタフェース、
14…入力装置、15…出力装置、16…ドライブ、
111…学習データ取得部、112…学習処理部、
113…不足件数評価部、
121…学習プログラム、
122…学習データ群、123…学習データ、
1231…画像データ、1232…検品結果データ、
124…部分学習データ群、
125…第1の追加学習データ群、126…(追加の)学習データ、
1261…画像データ、1262…検品結果データ、
127…第2の追加学習データ群、128…(追加の)学習データ、
1281…画像データ、1282…検品結果データ、
129…サンプルデータ、
1291…画像データ、1292…検品結果データ、
2…ニューラルネットワーク、
21…入力層、22……中間層(隠れ層)、23…出力層、
3…ニューラルネットワーク、
31…入力層、32……中間層(隠れ層)、33…出力層、
40・41…ニューラルネットワーク、
5…カメラ、6…対象物、
7…評価用ニューラルネットワーク(評価用学習器)
9…記憶媒体
1.1A / 1B ... Learning device,
11 ... Control unit, 12 ... Storage unit, 13 ... External interface,
14 ... input device, 15 ... output device, 16 ... drive,
111 ... Learning data acquisition unit, 112 ... Learning processing unit,
113 ... Insufficient number evaluation department,
121 ... Learning program,
122 ... Learning data group, 123 ... Learning data,
1231 ... Image data, 1232 ... Inspection result data,
124 ... Partial learning data group,
125 ... 1st additional training data group, 126 ... (additional) training data,
1261 ... Image data, 1262 ... Inspection result data,
127 ... 2nd additional training data group, 128 ... (additional) training data,
1281 ... Image data, 1282 ... Inspection result data,
129 ... Sample data,
1291 ... Image data, 1292 ... Inspection result data,
2 ... Neural network,
21 ... Input layer, 22 ... Intermediate layer (hidden layer), 23 ... Output layer,
3 ... Neural network,
31 ... Input layer, 32 ... Intermediate layer (hidden layer), 33 ... Output layer,
40.41 ... Neural network,
5 ... camera, 6 ... object,
7 ... Neural network for evaluation (learner for evaluation)
9 ... Storage medium

Claims (14)

複数件の学習データで構成され、所定の能力を学習器に機械学習させるための第1の学習データ群を取得する学習データ取得部と、
前記第1の学習データ群を利用して、前記学習器の機械学習を実施することで、前記所定の能力を学習した第1の学習器を構築する学習処理部と、
前記第1の学習器がサンプルデータに対して前記所定の能力を発揮した結果に基づいて、前記第1の学習器の機械学習に利用した学習データの不足件数の程度を評価する不足件数評価部と、
を備える、
学習装置。
A learning data acquisition unit that is composed of a plurality of learning data and acquires a first learning data group for machine learning a predetermined ability by a learning device.
A learning processing unit that constructs a first learning device that has learned the predetermined ability by performing machine learning of the learning device using the first learning data group.
A shortage number evaluation unit that evaluates the degree of shortage of learning data used for machine learning of the first learning device based on the result that the first learning device exerts the predetermined ability with respect to the sample data. When,
To prepare
Learning device.
前記学習処理部は、前記第1の学習器の機械学習に利用した前記第1の学習データ群を構成する複数件の学習データのうちの一部で構成された第2の学習データ群を利用して、前記所定の能力を学習した、第2の学習器を更に構築し、
前記不足件数評価部は、前記第1の学習データ群及び前記第2の学習データ群それぞれに含まれる学習データの件数の相違と、前記第1の学習器及び前記第2の学習器それぞれが前記サンプルデータに対して前記所定の能力を発揮した結果の相違具合とに基づいて、前記第1の学習器の機械学習に利用した学習データの不足件数の程度を評価する、
請求項1に記載の学習装置。
The learning processing unit uses a second learning data group composed of a part of a plurality of learning data constituting the first learning data group used for machine learning of the first learning device. Then, a second learner that has learned the predetermined ability is further constructed.
In the shortage number evaluation unit, the difference in the number of learning data included in each of the first learning data group and the second learning data group, and the first learning device and the second learning device are said to be the same. Based on the difference in the results of demonstrating the predetermined ability with respect to the sample data, the degree of lack of learning data used for machine learning of the first learning device is evaluated.
The learning device according to claim 1.
前記不足件数評価部は、学習データの件数と学習済み学習器が前記所定の能力を発揮する程度との関係を示す指標に、前記第1の学習データ群及び前記第2の学習データ群それぞれに含まれる学習データの件数の相違と、前記第1の学習器及び前記第2の学習器それぞれが前記サンプルデータに対して前記所定の能力を発揮した結果の相違具合とを適用することで、前記第1の学習器の機械学習に利用した学習データの不足件数の程度を評価する、
請求項2に記載の学習装置。
The shortage number evaluation unit uses the first learning data group and the second learning data group as indexes indicating the relationship between the number of learning data and the degree to which the learned learner exerts the predetermined ability. By applying the difference in the number of learning data included and the difference in the result of each of the first learning device and the second learning device exerting the predetermined ability with respect to the sample data, the said Evaluate the degree of shortage of learning data used for machine learning of the first learning device,
The learning device according to claim 2.
前記不足件数評価部は、前記第1の学習器及び前記第2の学習器それぞれが前記サンプルデータに対して前記所定の能力を発揮した結果の相違具合が所定以下である場合に、前記第1の学習データ群と前記第2の学習データ群との差分となる学習データは前記学習器の機械学習に不要なデータであると評価する、
請求項2又は3に記載の学習装置。
When the difference between the first learner and the second learner as a result of demonstrating the predetermined ability with respect to the sample data is less than or equal to the predetermined value, the shortage number evaluation unit is the first. The learning data that is the difference between the learning data group of the above and the second learning data group is evaluated as unnecessary data for machine learning of the learning device.
The learning device according to claim 2 or 3.
前記学習データ取得部は、第1の種類に属する複数件の学習データで構成された第1の追加学習データ群と、前記第1の種類とは異なる第2の種類に属する複数件の学習データで構成された第2の追加学習データ群と、を更に取得し、
前記学習処理部は、
前記学習データ群及び前記第1の追加学習データ群を利用して、前記所定の能力を学習した第3の学習器を更に構築し、
前記学習データ群及び前記第2の追加学習データ群を利用して、前記所定の能力を学習した第4の学習器を更に構築し、
前記不足件数評価部は、前記第3の学習器及び前記第4の学習器それぞれが前記サンプルデータに対して前記所定の能力を発揮した結果の相違具合に基づいて、前記学習済み学習器の機械学習に不足している学習データの種類を特定する、
請求項1から4のいずれか1項に記載の学習装置。
The learning data acquisition unit includes a first additional learning data group composed of a plurality of learning data belonging to the first type, and a plurality of learning data belonging to a second type different from the first type. Further acquire the second additional learning data group composed of
The learning processing unit
Using the learning data group and the first additional learning data group, a third learning device that has learned the predetermined ability is further constructed.
Using the learning data group and the second additional learning data group, a fourth learning device that has learned the predetermined ability is further constructed.
The shortage number evaluation unit is a machine of the learned learner based on the difference in the result of each of the third learner and the fourth learner exerting the predetermined ability with respect to the sample data. Identify the types of learning data that are lacking in learning,
The learning device according to any one of claims 1 to 4.
前記学習器は、ニューラルネットワークにより構成される、
請求項1から5のいずれか1項に記載の学習装置。
The learner is composed of a neural network.
The learning device according to any one of claims 1 to 5.
前記不足件数評価部は、前記学習データ群を構成する学習データの件数及び種類を示す情報を入力すると、前記機械学習に利用する学習データの不足件数の程度を示す情報を出力するように学習を行った学習済みの評価用学習器を用いて、前記機械学習に利用する学習データの不足件数の程度を評価する、
請求項1に記載の学習装置。
When the shortage number evaluation unit inputs information indicating the number and types of learning data constituting the learning data group, the learning is performed so as to output information indicating the degree of the shortage of learning data used for the machine learning. Using the learned evaluation learner that has been performed, the degree of lack of learning data used for the machine learning is evaluated.
The learning device according to claim 1.
前記評価用学習器は、前記機械学習に不足している学習データの種類を更に出力するように学習済みである、
請求項7に記載の学習装置。
The evaluation learner has been trained to further output the types of training data that are lacking in the machine learning.
The learning device according to claim 7.
前記所定の能力を発揮する際に、前記第1の学習器に入力する入力データは、画像データ及び生体データの少なくともいずれかであり、前記第1の学習器から出力される出力データは、対象物又は対象人物の状態の推定結果を示すデータである、
請求項1から8のいずれか1項に記載の学習装置。
The input data to be input to the first learner when demonstrating the predetermined ability is at least one of image data and biological data, and the output data output from the first learner is a target. Data showing the estimation result of the state of an object or a target person,
The learning device according to any one of claims 1 to 8.
前記所定の能力は、製造ラインで製造される対象物の検品を行う能力であり、
前記第1の学習器に入力する入力データは、前記対象物を撮影することで得られた画像データであり、
前記第1の学習器から出力される出力データは、前記対象物の検品結果を示すデータである、
請求項9に記載の学習装置。
The predetermined ability is the ability to inspect an object manufactured on a production line.
The input data to be input to the first learning device is image data obtained by photographing the object.
The output data output from the first learning device is data indicating the inspection result of the object.
The learning device according to claim 9.
前記所定の能力は、車両のドライバの状態を推定する能力であり、
前記第1の学習器に入力する入力データは、前記ドライバを撮影することで得られた画像データ及び前記ドライバから得られた生体データの少なくともいずれかであり、
前記第1の学習器から出力される出力データは、前記ドライバの状態を示すデータである、
請求項9に記載の学習装置。
The predetermined ability is the ability to estimate the state of the driver of the vehicle.
The input data to be input to the first learner is at least one of the image data obtained by photographing the driver and the biometric data obtained from the driver.
The output data output from the first learner is data indicating the state of the driver.
The learning device according to claim 9.
前記所定の能力は、対象人物の健康状態を推定する能力であり、
前記第1の学習器に入力する入力データは、前記対象人物から得られた生体データであり、
前記第1の学習器から出力される出力データは、前記対象人物の健康状態を示すデータである、
請求項9に記載の学習装置。
The predetermined ability is an ability to estimate the health condition of the target person, and is
The input data to be input to the first learning device is biometric data obtained from the target person, and is
The output data output from the first learning device is data indicating the health state of the target person.
The learning device according to claim 9.
コンピュータが、
複数件の学習データで構成され、所定の能力を学習器に機械学習させるための第1の学習データ群を取得するステップと、
前記第1の学習データ群を利用して、前記学習器の機械学習を実施することで、前記所定の能力を学習した第1の学習器を構築するステップと、
サンプルデータに対して前記所定の能力を発揮するように前記第1の学習器を動作させるステップと、
前記第1の学習器が前記サンプルデータに対して前記所定の能力を発揮した結果に基づいて、前記機械学習に利用した学習データの不足件数の程度を評価するステップと、
を実行する、
学習方法。
The computer
A step of acquiring a first learning data group which is composed of a plurality of learning data and causes a learner to perform machine learning of a predetermined ability, and a step of acquiring the first learning data group.
A step of constructing a first learning device that has learned the predetermined ability by performing machine learning of the learning device using the first learning data group.
The step of operating the first learner so as to exert the predetermined ability with respect to the sample data, and
Based on the result of the first learning device demonstrating the predetermined ability with respect to the sample data, a step of evaluating the degree of lack of learning data used for the machine learning, and a step of evaluating the degree of shortage.
To execute,
Learning method.
コンピュータに、
複数件の学習データで構成され、所定の能力を学習器に機械学習させるための第1の学習データ群を取得するステップと、
前記第1の学習データ群を利用して、前記学習器の機械学習を実施することで、前記所定の能力を学習した第1の学習器を構築するステップと、
サンプルデータに対して前記所定の能力を発揮するように前記第1の学習器を動作させるステップと、
前記第1の学習器が前記サンプルデータに対して前記所定の能力を発揮した結果に基づいて、前記機械学習に利用した学習データの不足件数の程度を評価するステップと、
を実行させるための学習プログラム。
On the computer
A step of acquiring a first learning data group which is composed of a plurality of learning data and causes a learner to perform machine learning of a predetermined ability, and a step of acquiring the first learning data group.
A step of constructing a first learning device that has learned the predetermined ability by performing machine learning of the learning device using the first learning data group.
The step of operating the first learner so as to exert the predetermined ability with respect to the sample data, and
Based on the result of the first learning device demonstrating the predetermined ability with respect to the sample data, a step of evaluating the degree of lack of learning data used for the machine learning, and a step of evaluating the degree of shortage.
A learning program to execute.
JP2017091295A 2017-05-01 2017-05-01 Learning devices, learning methods, and learning programs Active JP6911498B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2017091295A JP6911498B2 (en) 2017-05-01 2017-05-01 Learning devices, learning methods, and learning programs
PCT/JP2018/015636 WO2018203470A1 (en) 2017-05-01 2018-04-16 Learning apparatus, learning method, and learning program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017091295A JP6911498B2 (en) 2017-05-01 2017-05-01 Learning devices, learning methods, and learning programs

Publications (2)

Publication Number Publication Date
JP2018190140A JP2018190140A (en) 2018-11-29
JP6911498B2 true JP6911498B2 (en) 2021-07-28

Family

ID=62092213

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017091295A Active JP6911498B2 (en) 2017-05-01 2017-05-01 Learning devices, learning methods, and learning programs

Country Status (2)

Country Link
JP (1) JP6911498B2 (en)
WO (1) WO2018203470A1 (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6983145B2 (en) * 2018-12-12 2021-12-17 株式会社日立ソリューションズ Data processing systems, methods, and programs
TWI791949B (en) * 2019-03-15 2023-02-11 日商住友重機械工業股份有限公司 Monitoring device, display device, monitoring method, and monitoring program
JP7263074B2 (en) * 2019-03-22 2023-04-24 キヤノン株式会社 Information processing device, its control method, program, and storage medium
JP7248496B2 (en) * 2019-05-16 2023-03-29 株式会社キーエンス Image inspection device
JP7353825B2 (en) * 2019-06-27 2023-10-02 キヤノン株式会社 Image processing device and method, image input device, image processing system, program
JP7505495B2 (en) 2019-07-24 2024-06-25 ソニーグループ株式会社 Information processing device, information processing method, and information processing program
WO2021053780A1 (en) 2019-09-19 2021-03-25 三菱電機株式会社 Cognitive function estimation device, learning device, and cognitive function estimation method
EP4053758A4 (en) * 2019-10-29 2023-01-18 Sony Group Corporation Bias adjustment device, information processing device, information processing method, and information processing program
US11636356B2 (en) 2019-11-27 2023-04-25 Oracle International Corporation Non-intrusive load monitoring using machine learning and processed training data
JP2021149842A (en) * 2020-03-23 2021-09-27 株式会社日立製作所 Machine learning system and machine learning method
CN111493850A (en) * 2020-04-13 2020-08-07 中国科学院深圳先进技术研究院 Blood pressure measuring method and device based on deep neural network
JP7241718B2 (en) * 2020-06-22 2023-03-17 株式会社日立ソリューションズ data collection system
JP2022131179A (en) 2021-02-26 2022-09-07 富士通株式会社 Machine learning program and machine learning method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6269351B1 (en) * 1999-03-31 2001-07-31 Dryken Technologies, Inc. Method and system for training an artificial neural network
JP2005100122A (en) * 2003-09-25 2005-04-14 Fuji Photo Film Co Ltd Device and program for determination of type and discrimination condition of feature quantity used in discrimination processing, recording medium with program recorded, and device for selection of data of specific content
JP6435581B2 (en) 2015-01-29 2018-12-12 パナソニックIpマネジメント株式会社 Transfer learning device, transfer learning system, transfer learning method and program
JP6555015B2 (en) * 2015-08-31 2019-08-07 富士通株式会社 Machine learning management program, machine learning management apparatus, and machine learning management method

Also Published As

Publication number Publication date
JP2018190140A (en) 2018-11-29
WO2018203470A1 (en) 2018-11-08

Similar Documents

Publication Publication Date Title
JP6911498B2 (en) Learning devices, learning methods, and learning programs
KR102166011B1 (en) System and method for determining cognitive impairment using touch input
WO2019176993A1 (en) Inspection system, image recognition system, recognition system, discriminator generation system, and learning data generation device
KR101822404B1 (en) diagnostics system for cell using Deep Neural Network learning
JP6889841B2 (en) Learning device, learning result utilization device, learning method and learning program
Guo et al. Deep convolution feature learning for health indicator construction of bearings
CN110097968A (en) Baby&#39;s brain age prediction technique, system based on tranquillization state functional magnetic resonance imaging
CN109964234A (en) Assess the quality of the product of such as semiconductor substrate
JP6844564B2 (en) Inspection system, identification system, and learning data generator
CN115210724A (en) Model generation device, estimation device, model generation method, and model generation program
JP7164028B2 (en) LEARNING SYSTEM, DATA GENERATION DEVICE, DATA GENERATION METHOD, AND DATA GENERATION PROGRAM
JP7014119B2 (en) Data processing equipment, data processing methods, and programs
CN111863244A (en) Functional connection mental disease classification method and system based on sparse pooling graph convolution
CN112419306B (en) NAS-FPN-based lung nodule detection method
JP7056259B2 (en) Inspection system, identification system, and classifier evaluation device
CN108256489B (en) Behavior prediction method and device based on deep reinforcement learning
JP7400449B2 (en) Analysis equipment, analysis method, and analysis program
JP2024015063A (en) System that estimates state of health of human body
CN113421243A (en) Method and device for detecting type of fundus image based on knowledge distillation network
Hu et al. The effects of different parameters on the accuracy of deep learning models for predicting US citizen’s life expectancy
JP2020135203A (en) Inspection system, inspection method and inspection image analysis method
JP7429036B2 (en) Judgment device, model generation device, judgment method and judgment program
KR102429447B1 (en) Information provision method for diagnosing mood disorders using facial expression recognition
Borgli Hyperparameter optimization using Bayesian optimization on transfer learning for medical image classification
Da Rold Chaotic analysis of embodied and situated agents

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200305

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210216

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20210608

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210621

R150 Certificate of patent or registration of utility model

Ref document number: 6911498

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250