JP7307215B2 - Operation support system and method - Google Patents
Operation support system and method Download PDFInfo
- Publication number
- JP7307215B2 JP7307215B2 JP2022027136A JP2022027136A JP7307215B2 JP 7307215 B2 JP7307215 B2 JP 7307215B2 JP 2022027136 A JP2022027136 A JP 2022027136A JP 2022027136 A JP2022027136 A JP 2022027136A JP 7307215 B2 JP7307215 B2 JP 7307215B2
- Authority
- JP
- Japan
- Prior art keywords
- model
- learning
- learning model
- confidence
- result
- 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
Links
Images
Landscapes
- Testing And Monitoring For Control Systems (AREA)
Description
本発明は、概して、学習モデルの運用の支援に関する。 The present invention relates generally to assisting in the operation of learning models.
コスト削減又は業務効率化といった観点から、各分野においてAI(例えば機械学習)を用いた業務改革の意識が高まっている。特に、製品検査工程においては、検査品質の安定化、検査員の育成、熟練した人員の確保が難しくなっているという問題もある。そのため、AIによる検査工程の自動化への期待が大きくなっている。 From the viewpoint of cost reduction or operational efficiency improvement, awareness of operational reform using AI (for example, machine learning) is increasing in various fields. In particular, in the product inspection process, there is also the problem that it is becoming difficult to stabilize inspection quality, train inspectors, and secure skilled personnel. Therefore, expectations are growing for automation of the inspection process by AI.
検査工程の自動化の実現のために、機械学習により作成された学習モデルを運用することが考えられる。 In order to automate the inspection process, it is conceivable to operate a learning model created by machine learning.
しかし、学習モデルは劣化することがある。特許文献1は、学習モデルの一例として予知モデルを開示している。特許文献1に開示の予知モデル維持システムは、新規予知モデルを作成し、予知モデルと新規予知モデルとのうち評価の高い方を運用予知モデルに選定する。
However, learning models can deteriorate.
本願発明者が、製品検査工程の自動化のための学習モデルの運用について鋭意検討した結果、次の知見を得るに至った。 As a result of earnestly studying the operation of a learning model for automating the product inspection process, the inventor of the present application has obtained the following findings.
製品の検査データが入力された学習モデルが、当該検査データを用いて製品の検査を行い、当該検査の結果(例えば、製品が正常と異常のどちらであるか)を表す検査結果データを出力する。運用中の学習モデルが劣化していると、良品(正常な製品)を表す検査データが入力されたにも関わらず不良品(異常な製品)を表す検査結果データが出力されてしまう第1のケースや、不良品を表す検査データが入力されたにも関わらず良品を表す検査結果データが出力されてしまう第2のケースがあり得る。 A learning model to which product inspection data is input performs an inspection of the product using the inspection data, and outputs inspection result data representing the result of the inspection (for example, whether the product is normal or abnormal). . If the learning model in operation is degraded, inspection result data representing a defective product (abnormal product) is output even though inspection data representing a non-defective product (normal product) is input. There may be a case and a second case in which inspection result data representing a non-defective product is output in spite of input of inspection data representing a defective product.
第1のケースが生じた場合、出荷されない良品が増え続けることが起こり得る。 When the first case occurs, it is possible that the number of non-shipped non-defective products continues to increase.
第2のケースが生じた場合、学習モデルによる製品検査後の検査である後段検査(例えば、出荷直前の最終検査)によって不良品の出荷は避けることができたとしても、学習モデルによる製品検査から後段検査が行われるまでの期間に、不良品が製造され続けることが起こり得る。 When the second case occurs, even if the shipment of defective products can be avoided by the post-stage inspection (for example, the final inspection immediately before shipping), which is the inspection after the product inspection by the learning model, the product inspection by the learning model It is possible that defective products will continue to be manufactured until the post-stage inspection is performed.
このような問題、すなわち、対象が正常であることを表す入力データが入力されたにも関わらず対象が異常であることを表す出力データが出力されたり、対象が異常であることを表す入力データが入力されたにも関わらず対象が正常であることを表す出力データが出力されたりするといったことが続いてしまう問題、つまり、対象について入力データが表す内容と出力データが表す内容が異なることが続いてしまう問題は、製造検査工程以外の分野に学習モデルが運用される場合にもあり得る。 Such problems, that is, output data indicating that the target is abnormal despite inputting input data indicating that the target is normal, or input data indicating that the target is abnormal The problem that the output data indicating that the target is normal is output even though the is input, that is, the content of the input data and the content of the output data are different Continuing problems can also arise when learning models are used in fields other than the manufacturing inspection process.
特許文献1に開示の予知モデル維持システムは、予知モデルの運用環境から切り離されたシステムであり、予知モデルの確信度に依存しないタイミングで予知モデルを評価する。このため、上述の問題は解決できない。
The prediction model maintenance system disclosed in
システムが、運用中の学習モデルの確信度をリアルタイムに(例えば、出力データの出力の都度に)監視する。具体的には、例えば、システムが、バージョンの異なる一つ又は複数の学習モデルを作成することである再学習を行い、また、運用中の学習モデルの監視である運用監視を行う。運用監視において、システムが、入力データが入力された運用中の学習モデルが出力データを出力する都度に当該学習モデルの確信度が第1の閾値未満か否かの第1の確信度比較を行う。第1の確信度比較の結果が真である場合、システムは、運用対象の学習モデルを、一つ以上の候補学習モデル(運用中の学習モデルのバージョンと異なるバージョンの一つ以上の学習モデル)のうち、当該真の結果が得られた運用中の学習モデルの確信度よりも高いいずれかの候補学習モデルに、運用中の学習モデルから差し替える。 The system monitors the certainty of the learning model in operation in real time (for example, each time output data is output). Specifically, for example, the system performs relearning, which is to create one or a plurality of learning models with different versions, and also performs operation monitoring, which is monitoring of the learning model during operation. In operation monitoring, the system performs a first confidence comparison to determine whether the confidence of the learning model is less than a first threshold each time a learning model in operation to which input data is input outputs output data. . If the result of the first confidence comparison is true, the system selects the learning model to be operated as one or more candidate learning models (one or more learning models of a version different from the version of the learning model in operation). Among them, the learning model in operation is replaced with one of the candidate learning models having higher certainty than the learning model in operation from which the true result was obtained.
対象について入力データが表す内容と出力データが表す内容が異なることが続いてしまうことを低減できる。 It is possible to reduce the continuous occurrence of differences between the content represented by the input data and the content represented by the output data for the target.
以下の説明では、「インターフェース装置」は、一つ以上のインターフェースデバイスでよい。当該一つ以上のインターフェースデバイスは、下記のうちの少なくとも一つでよい。
・一つ以上のI/O(Input/Output)インターフェースデバイス。I/O(Input/Output)インターフェースデバイスは、I/Oデバイスと遠隔の表示用計算機とのうちの少なくとも一つに対するインターフェースデバイスである。表示用計算機に対するI/Oインターフェースデバイスは、通信インターフェースデバイスでよい。少なくとも一つのI/Oデバイスは、ユーザインターフェースデバイス、例えば、キーボード及びポインティングデバイスのような入力デバイスと、表示デバイスのような出力デバイスとのうちのいずれでもよい。
・一つ以上の通信インターフェースデバイス。一つ以上の通信インターフェースデバイスは、一つ以上の同種の通信インターフェースデバイス(例えば一つ以上のNIC(Network Interface Card))であってもよいし二つ以上の異種の通信インターフェースデバイス(例えばNICとHBA(Host Bus Adapter))であってもよい。
In the following description, an "interface device" may be one or more interface devices. The one or more interface devices may be at least one of the following:
- One or more I/O (Input/Output) interface devices. An I/O (Input/Output) interface device is an interface device for at least one of an I/O device and a remote display computer. The I/O interface device to the display computer may be a communications interface device. The at least one I/O device may be any of a user interface device, eg, an input device such as a keyboard and pointing device, and an output device such as a display device.
- One or more communication interface devices. The one or more communication interface devices may be one or more of the same type of communication interface device (e.g., one or more NICs (Network Interface Cards)) or two or more different types of communication interface devices (e.g., NIC and It may be an HBA (Host Bus Adapter).
また、以下の説明では、「メモリ」は、一つ以上のメモリデバイスであり、典型的には主記憶デバイスでよい。メモリにおける少なくとも一つのメモリデバイスは、揮発性メモリデバイスであってもよいし不揮発性メモリデバイスであってもよい。 Also, in the following description, "memory" may be one or more memory devices, typically a main memory device. At least one memory device in the memory may be a volatile memory device or a non-volatile memory device.
また、以下の説明では、「永続記憶装置」は、一つ以上の永続記憶デバイスである。永続記憶デバイスは、典型的には、不揮発性の記憶デバイス(例えば補助記憶デバイス)であり、具体的には、例えば、HDD(Hard Disk Drive)又はSSD(Solid State Drive)である。 Also, in the following description, a "persistent storage device" is one or more persistent storage devices. A permanent storage device is typically a non-volatile storage device (for example, an auxiliary storage device), and more specifically, for example, an HDD (Hard Disk Drive) or SSD (Solid State Drive).
また、以下の説明では、「記憶装置」は、メモリと永続記憶装置の少なくともメモリでよい。 Also, in the following description, "storage" may be at least memory of memory and persistent storage.
また、以下の説明では、「プロセッサ」は、一つ以上のプロセッサデバイスである。少なくとも一つのプロセッサデバイスは、典型的には、CPU(Central Processing Unit)のようなマイクロプロセッサデバイスであるが、GPU(Graphics Processing Unit)のような他種のプロセッサデバイスでもよい。少なくとも一つのプロセッサデバイスは、シングルコアでもよいしマルチコアでもよい。少なくとも一つのプロセッサデバイスは、プロセッサコアでもよい。少なくとも一つのプロセッサデバイスは、処理の一部又は全部を行うハードウェア回路(例えばFPGA(Field-Programmable Gate Array)又はASIC(Application Specific Integrated Circuit))といった広義のプロセッサデバイスでもよい。 Also, in the following description, a "processor" is one or more processor devices. The at least one processor device is typically a microprocessor device such as a CPU (Central Processing Unit), but may be another type of processor device such as a GPU (Graphics Processing Unit). At least one processor device may be single-core or multi-core. At least one processor device may be a processor core. At least one processor device may be a broadly defined processor device such as a hardware circuit (for example, FPGA (Field-Programmable Gate Array) or ASIC (Application Specific Integrated Circuit)) that performs part or all of processing.
また、以下の説明では、「xxxテーブル」といった表現にて、入力に対して出力が得られる情報を説明することがあるが、当該情報は、どのような構造のデータでもよいし、入力に対する出力を発生するニューラルネットワークのような学習モデルでもよい。従って、「xxxテーブル」を「xxx情報」と言うことができる。また、以下の説明において、各テーブルの構成は一例であり、一つのテーブルは、二つ以上のテーブルに分割されてもよいし、二つ以上のテーブルの全部又は一部が一つのテーブルであってもよい。 In the following description, the expression "xxx table" may be used to describe information that provides an output for an input. A learning model such as a neural network that generates Therefore, the "xxx table" can be called "xxx information". Also, in the following description, the configuration of each table is an example, and one table may be divided into two or more tables, or all or part of two or more tables may be one table. may
また、以下の説明では、「kkk部」の表現にて機能を説明することがあるが、機能は、一つ以上のコンピュータプログラムがプロセッサによって実行されることで実現されてもよいし、一つ以上のハードウェア回路(例えばFPGA又はASIC)によって実現されてもよい。プログラムがプロセッサによって実行されることで機能が実現される場合、定められた処理が、適宜に記憶装置及び/又はインターフェース装置等を用いながら行われるため、機能はプロセッサの少なくとも一部とされてもよい。機能を主語として説明された処理は、プロセッサあるいはそのプロセッサを有する装置が行う処理としてもよい。プログラムは、プログラムソースからインストールされてもよい。プログラムソースは、例えば、プログラム配布計算機又は計算機が読み取り可能な記録媒体(例えば非一時的な記録媒体)であってもよい。各機能の説明は一例であり、複数の機能が一つの機能にまとめられたり、一つの機能が複数の機能に分割されたりしてもよい。 In addition, in the following description, the function may be described using the expression “kkk unit”, but the function may be realized by executing one or more computer programs by a processor, or may be realized by executing one or more computer programs. It may be realized by the above hardware circuits (FPGA or ASIC, for example). When a function is realized by executing a program by a processor, the defined processing is performed using a storage device and/or an interface device as appropriate, so the function may be at least part of the processor. good. A process described with a function as the subject may be a process performed by a processor or a device having the processor. Programs may be installed from program sources. The program source may be, for example, a program distribution computer or a computer-readable recording medium (for example, a non-temporary recording medium). The description of each function is an example, and multiple functions may be combined into one function, or one function may be divided into multiple functions.
また、以下の説明では、「運用支援システム」は、一つ以上の物理的な計算機でもよいし、少なくとも一つの物理的な計算機が所定のソフトウェアを実行することで実現されるソフトウェアディファインドのシステムでもよいし、複数の計算リソースである計算リソース群(例えば、クラウド基盤)上に実現されるシステムでもよい。運用支援システムは、データを送信するエッジ装置とデータを受信するコア装置とのうちの少なくとも一つを含んでよい。 Also, in the following description, the "operation support system" may be one or more physical computers, or a software-defined system implemented by at least one physical computer executing predetermined software. Alternatively, it may be a system implemented on a computing resource group (for example, a cloud platform) that is a plurality of computing resources. The operation support system may include at least one of an edge device that transmits data and a core device that receives data.
また、以下の説明では、要素の「ID」は、識別情報であり、英数字等で表現された情報でもよいし、それに代えて又は加えて、要素の名称を含んでよい。 Also, in the following description, the "ID" of an element is identification information, and may be information expressed in alphanumeric characters or the like, or alternatively or additionally may include the name of the element.
また、以下の説明では、時刻の単位は、年月日であるが、時刻の単位は、より粗くてもより細かくてもよい。 Also, in the following description, the unit of time is year, month, day, but the unit of time may be coarser or finer.
また、以下の説明では、同種の要素を区別しないで説明する場合には、参照符号のうちの共通部分を使用し、同種の要素を区別して説明する場合は、参照符号を使用することがある。例えば、エッジ装置を区別しない場合には「エッジ装置92」と言い、エッジ装置を区別する場合には「エッジ装置92A」、「エッジ装置92B」と言う。
In addition, in the following description, common parts of the reference numerals are used when similar elements are described without distinction, and reference numerals are used when similar elements are described separately. . For example, when the edge devices are not distinguished, the term "edge device 92" is used, and when the edge devices are distinguished, the term "
また、以下の説明では、「学習モデル」を「モデル」と略記する。以下の実施形態では、モデルとして、ディープラーニングにより作成されたニューラルネットワークが採用されるが、モデルとしては、他種のモデル、例えば、自己回帰移動平均モデル(例えばARIMA(Autoregressive Integrated Moving Average)モデル)が採用されてもよい。 Also, in the following description, "learning model" is abbreviated as "model". In the following embodiments, a neural network created by deep learning is used as a model, but other types of models, such as an autoregressive moving average model (for example, ARIMA (Autoregressive Integrated Moving Average) model) may be adopted.
また、以下の実施形態では、製品検査工程を例に取る。このため、運用中の学習モデルに入力される入力データは、製品の検査データ(例えば、製品についての一つ以上の計測項目についてそれぞれ計測された1つ以上の計測値を含む計測データを有するデータ)である。学習モデルから出力される出力データは、検査データを用いた処理の結果(例えば、製品が正常か異常かの結果)を表す検査結果データである。本発明は、製品検査工程以外の分野に適用されてもよい。なお、「製品」とは、一般に、製造された品物、すなわち、いわゆる完成品を意味するが、以下の説明において、「製品」とは、製造システム(例えば製造ライン)に投入される品物全般を意味してよい。従って、以下の説明において、例えば、「製品」とは、製造システムに投入される前の品物も、製造システム途中にある品物(いわゆる「半製品」)も、製造システムにおける該当の全ての工程を経て出荷可能な状態となった完成品のいずれでもよい。
[実施形態1]
Also, in the following embodiments, a product inspection process is taken as an example. For this reason, the input data input to the learning model in operation is product inspection data (for example, data having measurement data including one or more measured values respectively measured for one or more measurement items of a product). ). The output data output from the learning model is inspection result data representing the result of processing using the inspection data (for example, the result of whether the product is normal or abnormal). The present invention may be applied to fields other than product inspection processes. In addition, "product" generally means a manufactured item, that is, a so-called finished product. can mean Therefore, in the following description, for example, "products" include both items before being put into the manufacturing system and items in the manufacturing system (so-called "semi-finished products"), and all relevant processes in the manufacturing system. It may be any finished product that has undergone a process and is ready for shipment.
[Embodiment 1]
図1は、実施形態1に係る運用支援システムの概要を示す図である。
FIG. 1 is a diagram showing an outline of an operation support system according to
運用支援システム50は、運用中のモデル79の確信度をリアルタイムに(例えば、検査結果データの出力の都度に)監視する運用監視を行う。このため、運用支援システム50は、運用中のモデル79の劣化(運用中のモデル79の確信度が閾値より低下すること)が生じた場合にはその劣化を直ちに検出できる。モデル79の劣化を検出した場合、運用支援システム50は、モデル79をより確信度の高い別のバージョンのモデルに差し替えるといったような対策を取る。これにより、製品の検査データが表す内容(例えば、正常又は異常)と製品の検査結果データが表す内容(例えば、正常又は異常)が異なることが続いてしまうことを低減できる。
The
運用支援システム50は、アノテーション部51、プリプロセス部53、学習部55、運用部57、監視部59、表示部71、アノテーション管理テーブル140及びモデル管理テーブル110を備える。
The
アノテーション部51は、モデルに入力されるデータについてのアノテーション(例えば、定義)を表すアノテーションデータを受け付け、当該アノテーションデータをアノテーション管理テーブル140に登録する。アノテーションは、例えば、製品検査に関わる者の知識に基づいていてよい。アノテーションは、良品(正常な製品)を表す検査データの条件である良品条件と、不良品(異常な製品)を表す検査データの条件である異常条件とうちの少なくとも一つでよい。良品条件に該当することは、良品条件それ自体に適合することでもよいし、異常条件に適合しないことでもよい。
The
プリプロセス部53は、アノテーション管理テーブル140は、製品の検査装置のようなエッジ装置といったデータソース(図示せず)から入力された検査データを、運用部57に転送したり、当該検査データが良品条件に該当していれば当該検査データを学習部55に入力したりする。良品条件に該当する検査データを学習部55に入力することは、学習部55がモデルの作成のために参照するデータ管理テーブル(後述の教師データ管理テーブルと検査データ管理テーブルの少なくとも一つ)に登録することでよい。
The
学習部55は、新規にモデルを作成したり、当該モデルの再学習(当該モデルのバージョンと異なるバージョンの一つ以上の学習モデルを作成すること)を行ったりする。学習部55は、作成したモデルをモデル管理テーブル110に登録する。
The
運用部57は、モデル管理テーブル110に登録されたいずれかのモデルを運用する。モデルは運用部57にデプロイされることで、運用部57による運用が可能となる。運用部57は、推論部と呼ばれてもよい。
The
監視部59は、運用中のモデル79の監視である運用監視をリアルタイムに(例えば、検査結果データの出力の都度に、又は常時)行う。監視部59は、確信度比較部61、要因判定部63、及びモデル差替部65を備える。
The
確信度比較部61は、検査データが入力された運用中のモデル79が検査結果データを出力する都度に当該モデルの確信度が所定の閾値未満か否かの確信度比較を行う。また、確信度比較部61は、運用中のモデル79の確信度と、当該モデル79の差し替え候補のモデルの確信度との比較を行う。また、確信度比較部61は、同一のモデルについて、当該モデルの作成のために入力された検査データが入力された場合の当該モデルの確信度と、当該検査データよりも新しい検査データが入力された場合の当該モデルの確信度との比較を行う。
The
要因判定部63は、運用中のモデル79の確信度が所定の閾値未満となった要因が、当該モデルに入力されたデータにあるのか、或いはモデルそれ自体にあるのかを判定する。
The
モデル差替部65は、運用対象のモデルを、運用中のモデル79から、当該モデル79のバージョンと異なるバージョンのモデルに差し替える。
The
表示部71は、運用監視の結果に関する情報(例えば、運用中のモデル79の現在の確信度と、差し替え候補のモデルの確信度とを表す情報を含んだ情報)や、再学習の結果に関する情報(例えば、運用中のモデル79について得られた一つ以上のモデルの各々のバージョンを表す情報)や、アノテーションを表す情報といった情報を、運用支援システム50と通信可能に接続された計算機81に表示するために送信する。これらの情報は、テーブル110~150(図2参照)の少なくとも一つが表す情報と、種々の処理の結果としての情報のとのうちの少なくとも一部でよい。
The
以下、本実施形態を詳細に説明する。 The present embodiment will be described in detail below.
図2は、運用支援装置の構成を示す図である。 FIG. 2 is a diagram showing the configuration of the operation support device.
製造検査工程に関し、一般に、それぞれ検査データを送信する複数のエッジ装置と、複数のエッジ装置の各々から検査データを受信するコア装置とが備えられる。少なくとも一つのエッジ装置は、製品に関し所定の計測項目について計測を行い計測値を含む検査データを送信するセンサ装置でもよいし、一つ以上のセンサ装置から検査データを受信する中継装置(例えば、エッジサーバ又はゲートウェイ)でもよい。中継装置は、受信した検査データをそのままコア装置に転送してもよいし、検査データを加工し(例えば、一定期間分の検査データのサマリとしての検査データを作成し)加工後の検査データをコア装置に転送してもよい。 With respect to the manufacturing inspection process, there is generally provided a plurality of edge devices each transmitting inspection data and a core device receiving inspection data from each of the plurality of edge devices. At least one edge device may be a sensor device that measures a predetermined measurement item regarding a product and transmits inspection data including the measured values, or a relay device that receives inspection data from one or more sensor devices (e.g., an edge device). server or gateway). The relay device may transfer the received inspection data as it is to the core device, or process the inspection data (for example, create inspection data as a summary of inspection data for a certain period of time) and send the processed inspection data. It may be transferred to the core device.
運用支援装置90は、コア装置の一例であり、本実施形態に係る運用支援システム50それ自体に相当する。運用支援装置90は、インターフェース装置10、記憶装置20及びプロセッサ30を有する計算機システムでもよいし、それらの計算リソースを備える計算リソース群上に実現されるアノテーション部51、プリプロセス部53、学習部55、運用部57、監視部59及び表示部71のうち少なくとも学習部55及び監視部59を備えるシステムでもよい。
The
インターフェース装置10は、ネットワーク(例えば、インターネット)を介して外部装置と通信するための装置である。外部装置としては、例えば、図1に示した計算機81のようなクライアント計算機や、上述したエッジ装置がある。
The
記憶装置20は、管理データと、図示しない一つ以上のプログラムとを格納する。管理データは、例えば、モデル管理テーブル110、運用管理テーブル120、教師データ管理テーブル130、アノテーション管理テーブル140、及び検査データ管理テーブル150を含む。
The
記憶装置20内の一つ以上のプログラムがプロセッサ30により実行されることで、上述したアノテーション部51、プリプロセス部53、学習部55、運用部57、監視部59及び表示部71といった機能が実現される。
One or more programs in the
図3は、モデル管理テーブル110の構成を示す図である。 FIG. 3 is a diagram showing the structure of the model management table 110. As shown in FIG.
モデル管理テーブル110は、モデルを表す情報を保持する。モデル管理テーブル110における各レコードは、例えば、モデルID111、バージョン112、学習開始113、学習終了114、製品ID115、製品名116及び確信度117といった情報を保持する。レコードはモデルに対応する。以下、一つのレコードを例に取る(図3の説明において、当該レコードに対応するモデルを「注目モデル」と言う)。
The model management table 110 holds information representing models. Each record in the model management table 110 holds information such as
モデルID111は、注目モデルのIDを表す。バージョン112は、注目モデルのバージョンを表す。モデルID111とバージョン112との組から、モデルが同定される。学習開始113は、注目モデルの学習の開始日を表す。学習終了114は、注目モデルの学習の終了日を表す。製品ID115は、注目モデルにより検査される製品のIDを表す。製品名116は、注目モデルにより検査される製品の名称を表す。確信度117は、学習終了時点での注目モデルの確信度を表す。
The
図4は、運用管理テーブル120の構成を示す図である。 FIG. 4 is a diagram showing the configuration of the operation management table 120. As shown in FIG.
運用管理テーブル120は、モデルの運用に関する情報を保持する。運用管理テーブル120における各レコードは、例えば、モデルID121、バージョン122、デプロイ日123、アクティベーション124及び検査実績数125といった情報を保持する。レコードはモデルに対応する。以下、一つのレコードを例に取る(図4の説明において、当該レコードに対応するモデルを「注目モデル」と言う)。
The operation management table 120 holds information on model operation. Each record in the operation management table 120 holds information such as
モデルID121は、注目モデルのIDを表す。バージョン122は、注目モデルのバージョンを表す。デプロイ日123は、注目モデルが運用部57にデプロイされた日を表す。アクティベーション124は、注目モデルが運用中のモデルか否かを表す。“1”が、運用中を意味し、“0”が、運用中ではないことを意味する。検査実績数125は、注目モデルにより検査された製品の数を表す。
The
図5は、教師データ管理テーブル130の構成を示す図である。 FIG. 5 is a diagram showing the configuration of the teacher data management table 130. As shown in FIG.
教師データ管理テーブル130は、教師データに関する情報を保持する。教師データ管理テーブル130における各レコードは、例えば、製品ID131、製品名132、製造番号133、実績134及び計測データ135といった情報を保持する。レコードは教師データに対応する(例えば、教師データそれ自体でよい)。以下、一つのレコードを例に取る(図5の説明において、当該レコードに対応する教師データを「注目教師データ」と言う)。なお、「教師データ」とは、検査データを含むデータでよく、具体的には、モデルの学習のために用意された検査データでよい。
The teacher data management table 130 holds information about teacher data. Each record in the teaching data management table 130 holds information such as
情報131~135は、いずれも、注目教師データが持つ情報である。注目教師データのうち、実績134以外の情報は、検査データに含まれる情報でよい。言い換えれば、注目教師データは、実績134と検査データとを含むデータでよい。製品ID131は、製品のIDを表す。製品名132は、製品の名称を表す。製造番号133は、製品の製造番号を表す。実績134は、製品が良品であるか不良品であるかを表す。計測データ135は、製品についての一つ以上の計測値を含む。本実施形態では、例えば、実績134が“不良品”の教師データは、アノテーション管理テーブル140が表すアノテーションに非該当となり、結果として、プリプロセス部53によって学習部55に入力されることから除外されてよい。
All of the
図示しないが、検査データ管理テーブル150の構成は、教師データ管理テーブル130の構成と同じでよい。検査データ管理テーブル150は、運用中に運用支援装置90が受信した検査データに関する情報を保持する。検査データ管理テーブル150におけるレコードは、検査データそれ自体でよい。
Although not shown, the configuration of the inspection data management table 150 may be the same as the configuration of the teacher data management table 130 . The inspection data management table 150 holds information about inspection data received by the
以下、本実施形態で行われる処理の一例を説明する。 An example of the processing performed in this embodiment will be described below.
図6は、本実施形態における複数のフェーズを示す図である。なお、以下の説明では、期間X(X番目の期間)に得られた検査データを「検査データX」と記載する。 FIG. 6 is a diagram showing multiple phases in this embodiment. In the following description, inspection data obtained in period X (the X-th period) is referred to as "inspection data X".
事前学習フェーズ、運用フェーズ及び再学習フェーズといった三つのフェーズに大別することができる。 It can be roughly divided into three phases, a pre-learning phase, an operation phase and a re-learning phase.
事前学習フェーズとは、新たなモデルIDのモデルが作成(学習)されるフェーズである。事前学習フェーズでは、学習部55が、学習対象のモデルに対して検査データTを入力し、検査データTを含む教師データが持つ実績と、検査データの処理の結果としての検査結果データとが一致するように当該モデルの学習を行う。当該モデルの学習が済んだ場合、当該モデルを表す情報がモデル管理テーブル110及び運用管理テーブル120の各々に登録される。当該モデルが運用部57にデプロイされる。作成されたモデルは、モデルID“M100”及びバージョン“Ver.1”である。以下、モデルID“P”のモデルを「モデルP」と記載し、バージョン“Q”のモデルPを「モデルP/Q」と記載することがある。また、バージョン“Ver.K”の確信度を「CK」と記載することがある。図6の例では、C1は“90%”である。
The pre-learning phase is a phase in which a model with a new model ID is created (learned). In the pre-learning phase, the
運用フェーズとは、デプロイされたモデルが運用されるフェーズ(つまり推論のフェーズ)である。運用フェーズでは、運用部57が、デプロイされたモデルM100/Ver.1を運用する。具体的には、例えば、期間Tの次の期間(T+1)が運用中の期間の少なくとも一部であり、検査データ(T+1)が、運用中のモデルM100/Ver.1に入力され、検査データ(T+1)の処理の結果としての検査結果データが出力される。
The operational phase is the phase in which the deployed model is operational (that is, the inference phase). In the operation phase, the
再学習フェーズとは、同一のモデルID且つ異なるバージョンのモデルが作成されるフェーズである。再学習フェーズは、定期的に開始されてもよいし、運用中のモデルの確信度と閾値との関係に応じて開始されてもよい。再学習フェーズでは、学習部55が、検査データ(T+1)(又は、再学習のために用意された教師データ)をモデルM100/Ver.1(又は、モデルID“M100”の他のモデル)に入力することで、モデルM100/Ver.1の再学習を行う。再学習後のモデルとして、モデルM100/Ver.2(すなわち、モデルM100/Ver.1と同一のモデルID且つ異なるバージョンのモデル)が作成される。当該モデルを表す情報がモデル管理テーブル110及び運用管理テーブル120の各々に登録される。図6の例では、図6の例では、C2は“95%”である。
The relearning phase is a phase in which a model with the same model ID and a different version is created. The re-learning phase may be started periodically, or may be started according to the relationship between the confidence of the model in operation and the threshold. In the re-learning phase, the
監視部59が、運用中のモデルM100/Ver.1を監視している。監視部59が、モデルM100/Ver.1から検査結果データが出力される都度に、図6の例では、C1がTh(閾値)未満になったか否かを判定する。この判定の結果として真の結果が得られた場合、監視部59が、運用対象のモデルM100を、モデルM100/Ver.1から、C2>C1であるモデルM100/Ver.2に差し替える。
The
図7は、学習部55が行うバックグラウンド処理のフローを示す図である。
FIG. 7 is a diagram showing a flow of background processing performed by the
バックグラウンド処理とは、モデル運用のバックグラウンドで行われる処理であって、事前学習フェーズにおいて作成されたモデルについての処理である。以下の説明では、当該モデルとして、モデルM100を例に取る。 Background processing is processing performed in the background of model operation, and is processing for the model created in the pre-learning phase. In the following description, the model M100 is taken as an example of the model.
学習部55が、モデルM100の再学習処理の開始条件に適合するか否かを判定する(S701)。開始条件としては、任意の条件が採用されてよい。例えば、本実施形態では、開始条件は、モデルM100の最近の再学習処理が終了してから一定時間経過したことである。つまり、本実施形態では、再学習処理が、モデル運用のバックグラウンドで定期的に行われる。
The
S701の判定結果が真の場合(S701:Yes)、学習部55が、モデルM100の再学習処理を行う(S702)。例えば、一回の再学習処理において、学習部55が、モデルM100について、作成済のバージョンと異なるバージョンのモデルを一つ作成し、当該作成されたモデルを表す情報を、モデル管理テーブル110(及び、運用管理テーブル120)に登録する。
If the determination result of S701 is true (S701: Yes), the
モデルM100について、再学習処理が繰り返されることで、作成済のモデル(モデル管理テーブル110に登録済みのモデル)のバージョンと異なるバージョンのモデルが作成される。 By repeating the re-learning process for the model M100, a model of a version different from the version of the created model (the model registered in the model management table 110) is created.
図8は、再学習処理(S702)のフローを示す図である。 FIG. 8 is a diagram showing the flow of the re-learning process (S702).
学習部55が、アノテーション管理テーブル140を基に、再学習のための入力候補の一つとしての検査データ(図8の説明において、注目検査データ)が正しいデータか否かを判定する(S801)。「注目検査データが正しいデータか否か」の一例は、モデルM100の検査対象の製品についてのアノテーションが表す良品定義に注目検査データが該当するか否かである。S801の判定結果が真の場合(S801:Yes)、S805が行われる。
Based on the annotation management table 140, the
S801の判定結果が偽の場合(S801:No)、学習部55が、注目検査データが未知のデータであるか否かを判定する(S802)。「未知のデータ」の一例は、教師データ(訓練データと呼ばれてもよい)としての検査データではなく、運用中に実際に取得された検査データでよい。
If the determination result of S801 is false (S801: No), the
S802の判定結果が偽の場合(S802:No)、不適切な検査データが存在することを意味するため、学習部55が、報告処理を行う(S803)。この報告処理では、学習部55は、注目検査データが表す製品の製造ラインの担当者に、不適切な検査データ(例えば、規格外のデータ)が発生したことを意味する情報を送信してよい。
If the determination result of S802 is false (S802: No), it means that there is inappropriate test data, so the learning
S802の判定結果が真の場合(S802:Yes)、学習部55は、アノテーション管理テーブル140を基に、注目検査データが所定のルール(アノテーションが表すルール)に適合するか否かを判定する(S804)。S804の判定結果が偽の場合(S804:No)、S803が行われる。
If the determination result of S802 is true (S802: Yes), the
S804の判定結果が真の場合(S804:Yes)、学習部55は、或るバージョン(例えば、運用中のバージョン)のモデルM100に注目検査データを入力することでモデルM100の再学習を行う(S805)。
If the determination result of S804 is true (S804: Yes), the
S805の後、学習部55は、注目検査データが入力候補として最後のデータか否かを判定する(S806)。S806の判定結果が偽の場合(S806:No)、学習部55は、別の検査データを選択し、当該別の検査データについてS801を行う。S806の判定結果が真の場合(S806:Yes)、モデルM100について新たなバージョンのモデルM100が完成したので、学習部55は、当該完成した新たなバージョンのモデルM100を表す情報を、モデル管理テーブル110(及び、運用管理テーブル120)に登録する。
After S805, the
再学習処理では、アノテーションに該当する検査データのような、モデルM100の再学習に適していると判定されたデータのみが、再学習に使用される。このため、モデルM100の確信度を維持することができる。なお、S801~S803は、学習部55に代えてプリプロセス部53が行ってよい。
In the re-learning process, only data determined to be suitable for re-learning the model M100, such as inspection data corresponding to annotations, is used for re-learning. Therefore, it is possible to maintain the reliability of the model M100. Note that S801 to S803 may be performed by the
図9は、監視部59が行う処理のフローを示す図である。
FIG. 9 is a diagram showing the flow of processing performed by the
運用中のモデルM100のバージョンが(N-1)であるとする。検査データが入力された運用中のモデルM100/(N-1)から検査結果データが出力される都度に、確信度比較部61が、C(N-1)<Thか否かを判定する(S901)。Thは、閾値である。
Assume that the version of the model M100 in operation is (N-1). Each time inspection result data is output from the operating model M100/(N-1) to which inspection data is input, the
S901の判定結果が偽の場合(S901:No)、確信度比較部61は、運用管理テーブル120を参照し、モデルM100/(N-1)のデプロイ日123から一定時間経過したか否かを判定する(S902)。S902の判定結果が真の場合(S902:Yes)、確信度比較部61は、モデル管理テーブル110及び運用管理テーブル120を参照し、アクティベーション124が“0”である(つまり、運用中ではない)モデルM100/Nを選択する(S905)。
If the determination result of S901 is false (S901: No), the
S901の判定結果が真の場合(S901:Yes)、要因判定部63が、入力された検査データについてコンセプトドリフトが生じているか否かを判定する(S903)。「コンセプトドリフトが生じているか否か」の判定は、C(N-1)<Thの要因がデータであるか否かの判定の一例である。コンセプトドリフトの一例としては、検査データが表す計測値の平均値が一定値以上に変化したことである。S903の判定結果が真の場合(S903:Yes)、要因判定部63が、報告処理を行う(S904)。この報告処理では、要因判定部63が、運用中のモデルに入力された検査データが表す製品の製造ラインの担当者に、コンセプトドリフトが生じたことを意味する情報を送信してよい。
If the determination result of S901 is true (S901: Yes), the
S903の判定結果が偽の場合(S903:No)、確信度比較部61は、S905を行う、すなわち、モデルM100/Nを選択する。
If the determination result of S903 is false (S903: No), the
確信度比較部61は、CN>C(N-1)か否かを判定する(S906)。CNは、モデルM100/Nの確信度であり、C(N-1)は、モデルM100/(N-1)の確信度である。CN及びC(N-1)は、モデル管理テーブル110の確信度117が表す値でもよい。或いは、確信度比較部61は、モデルM100/NとモデルM100/(N-1)との各々に、検査データを入力して、そのときのモデルM100/Nの確信度とモデルM100/(N-1)の確信度が、CN及びC(N-1)を取得してもよい。また、S906とS905が一体でもよい。すなわち、C(N-1)より高い確信度のバージョンのモデルM100がS905で選択され、S906が無くてもよい。
The
S906の判定結果が偽の場合(S906:No)、確信度比較部61は、Nを1インクリメントして(S908)、S905を行う。
If the determination result of S906 is false (S906: No), the
S906の判定結果が真の場合(S906:Yes)、確信度比較部61は、モデルM100/Nに、検査データT及び検査データ(T+1)の各々を入力し、CN:T≦CN:(T+1)か否かを判定する(S907)。CN:Tは、検査データTが入力された場合のモデルM100/Nの確信度である。CN:(T+1)は、検査データ(T+1)が入力された場合のモデルM100/Nの確信度である。検査データTは、旧い検査データの一例であり、例えば、モデルM100の事前学習で使用された検査データである。検査データ(T+1)は、検査データTよりも新しい検査データの一例であり、例えば、モデルM100の運用中に受信された検査データである。S907の判定結果が偽の場合(S907:No)、確信度比較部61は、S908を行う。
If the determination result of S906 is true (S906: Yes), the
S907の判定結果が真の場合(S907:Yes)、モデル差替部65が、モデルM100/Nをデプロイする(S909)。すなわち、モデル差替部65が、運用対象のM001を、モデルM100/(N-1)からモデルM100/Nに差し替える。
[実施形態2]
If the determination result of S907 is true (S907: Yes), the
[Embodiment 2]
実施形態2を説明する。その際、実施形態1との相違点を主に説明し、実施形態1との共通点については説明を省略又は簡略する。 A second embodiment will be described. At that time, the points of difference from the first embodiment will be mainly explained, and the explanations of the points in common with the first embodiment will be omitted or simplified.
図10は、実施形態2に係る運用監視装置が行う処理のフローの一部を示す図である。 FIG. 10 is a diagram illustrating part of the flow of processing performed by the operation monitoring device according to the second embodiment;
本実施形態では、再学習処理の開始条件が、C(N-1)(モデルM100/(N-1)の確信度)がTh2(第2の閾値)よりも小さいことである。言い換えれば、実施形態1では、再学習処理に関する処理は、バックグラウンド処理であるのに対し、本実施形態では、リアルタイム処理であると言うことができる。 In this embodiment, the condition for starting the relearning process is that C (N-1) (certainty of model M100/(N-1)) is smaller than Th 2 (second threshold). In other words, in the first embodiment, the processing related to the relearning processing is background processing, whereas in the present embodiment it can be said to be real-time processing.
確信度比較部61が、C(N-1)<Th2か否かを判定する(S1001)。S1001の判定結果が真の場合(S1001:Yes)、学習部55が、モデルM100の再学習処理を行う(S1002)。
The
その後、確信度比較部61は、C(N-1)<Th1か否かを判定する(S1003)。Th1は、第1の閾値である。Th1とTh2との技術的意義については、後述する。
After that, the
S1003の判定結果が偽の場合(S1003:No)、S1002が行われる。 If the determination result of S1003 is false (S1003: No), S1002 is performed.
S1003の判定結果が真の場合(S1003:Yes)、図9のS903以降の処理が行われる。 If the determination result of S1003 is true (S1003: Yes), the processes after S903 in FIG. 9 are performed.
図11は、Th1とTh2の技術的意義の説明図である。 FIG. 11 is an explanatory diagram of the technical significance of Th1 and Th2 .
モデルM100について、過去の確信度の分布(又はその他の情報)を基に決められたThB(基準確信度)を基に、Th1とTh2が設定される。例えば、確信度比較部61は、定期的にThBを算出し、算出したThBを基にTh1とTh2の少なくとも一つを変更してもよい。
For the model M100, Th 1 and Th 2 are set based on Th B (reference confidence factor) determined based on the past confidence factor distribution (or other information). For example, the
Th1として、上限としてのTh1を意味するTh1Uと、下限としてのTh1を意味するTh1Dとがある。Th2として、上限としてのTh2を意味するTh2Uと、下限としてのTh2を意味するTh2Dとがある。Th2U<Th1Uであり、Th2D>Th1Dである。つまり、Th2の方がTh1よりもThBに近い。Th2U~Th2Dの確信度範囲で、通常、確信度が変化する。運用中のモデルM100/(N-1)の確信度がTh2を超えた(下回った又は上回った)場合に、学習部55が、モデルM100の再学習によりモデルM100/Nを準備しておく。運用中のモデルM100/(N-1)の確信度がTh1を超えた(下回った又は上回った)場合に、モデル差替部65が、モデルM100/Nをデプロイする。
Th 1 includes Th 1U , which means Th 1 as upper limit, and Th 1D , which means Th 1 as lower limit. Th 2 includes Th 2U , which means Th 2 as upper limit, and Th 2D , which means Th 2 as lower limit. Th 2U <Th 1U and Th 2D >Th 1D . That is, Th2 is closer to ThB than Th1 . The confidence usually varies in the confidence range from Th 2U to Th 2D . When the certainty of the model M100/(N−1) in operation exceeds (falls below or exceeds) Th2 , the
以上のように、Th1とTh2があることで、モデルの準備と差替を適切なタイミングで行うことができる。
[実施形態3]
As described above, with Th 1 and Th 2 , model preparation and replacement can be performed at appropriate timing.
[Embodiment 3]
実施形態3を説明する。その際、実施形態1及び2との相違点を主に説明し、実施形態1及び2との共通点については説明を省略又は簡略する。
A third embodiment will be described. At that time, differences from
図12は、実施形態3に係る運用監視装置が行う処理のフローの一部を示す図である。 12 is a diagram illustrating part of the flow of processing performed by the operation monitoring device according to the third embodiment; FIG.
確信度比較部61が、C(N-1)<Th2か否かを判定する(S1201)。
The
S1201の判定結果が真の場合(S1201:Yes)、モデル評価、すなわち、S905~S907:Yesが行われる。 If the determination result of S1201 is true (S1201: Yes), model evaluation, that is, S905 to S907: Yes is performed.
その後、確信度比較部61は、C(N-1)<Th1か否かを判定する(S1202)。
Thereafter, the
S1202の判定結果が真の場合(S1202:Yes)、要因判定部63が、コンセプトドリフトが生じているか否かを判定する(S1203)。S1203の判定結果が真の場合(S1203:Yes)、要因判定部63が、報告処理を行う(S1205)。
If the determination result of S1202 is true (S1202: Yes), the
S1203の判定結果が偽の場合(S1203:No)、モデル差替部65が、モデルM100/Nをデプロイする(S1204)。
[実施形態4]
If the determination result of S1203 is false (S1203: No), the
[Embodiment 4]
図13は、実施形態4に係る運用支援システムの概要を示す図である。 FIG. 13 is a diagram showing an overview of an operation support system according to the fourth embodiment.
実施形態1~3では、アノテーション部51、プリプロセス部53、学習部55、運用部57、監視部59及び表示部71といった機能が、コア装置の一例である運用支援装置に集約されているが、これらの機能は、コア装置に代えてエッジ装置に集約されてもよいし、エッジ装置とコア装置に分散されていてもよい。すなわち、運用支援システムは、データを送信するエッジ装置とデータを受信するコア装置との一方、又は、双方でよい。
In
図13が示す例によれば、複数のエッジ装置92A、92B、…と、コア装置96とがある。エッジ装置92(例えば92A)が、アノテーション部51、プリプロセス部53、学習部55、運用部57、監視部59及び表示部71を有し、且つ、教師データ管理テーブル130、アノテーション管理テーブル140及び検査データ管理テーブル150を格納する。コア装置96が、複数のエッジ装置92A、92B、…にそれぞれ対応した複数の記憶空間98A、98B、…を提供する。記憶空間98(例えば98A)には、当該記憶空間98に対応するエッジ装置92に対応するモデル管理テーブル110及び運用管理テーブル120が格納される。エッジ装置92での再学習により作成されたモデルを表す情報が、当該エッジ装置92に対応した記憶空間98内のテーブル110及び120に登録される。また、モデルそれ自体も、記憶空間98に格納されてよい。
According to the example shown in FIG. 13, there are a plurality of
以上の実施形態1~4の説明を、例えば下記のように総括することができる。
The above description of
運用支援システム50が、運用中のモデルM100/(N-1)の確信度をリアルタイムに監視する。具体的には、運用支援システム50が、バージョンの異なる一つ又は複数のモデルを作成することである再学習を行う学習部55と、運用中のモデルの監視である運用監視を行う監視部59とを備える。監視部59が、確信度比較部61と、モデル差替部65とを備える。確信度比較部61が、検査データ(入力データの一例)が入力された運用中のモデルM100/(N-1)が検査結果データ(出力データの一例)を出力する都度にC(N-1)<Th1か否かの第1の確信度比較を行う。C(N-1)<Th1である場合、モデル差替部65が、モデル差替を行う、すなわち、運用対象のモデルM100を、一つ以上の候補モデル(運用中のモデルM100/(N-1)のバージョンと異なるバージョンの一つ以上のモデルM100)のうち、当該真の結果が得られた運用中のモデルM100/(N-1)の確信度よりも高いいずれかの候補モデルM100/Nに、運用中のモデルM100/(N-1)から差し替える。これにより、製品(対象の一例)について検査データが表す内容(例えば、良品又は不良品)と検査結果データが表す内容(例えば、良品又は不良品)が異なることが続いてしまうことを低減できる。なお、「C(N-1)<Th1」とは、Th1の種類によって(例えば、Th1が上限と下限のどちらであるかによって)、C(N-1)がTh1を上回ることと下回ることとのいずれでもよい。
The
運用支援システム50が、要因判定部63を備えてよい。要因判定部63は、C(N-1)<Th1である場合に、当該結果が得られた運用中のモデルM100/(N-1)に入力された検査データが当該結果の要因であるか否かの要因判定を行ってよい。要因判定の結果が偽の場合に、モデル差替部65が、上述のモデル差替を行ってよい。モデルM100/(N-1)の運用中は、不適切な検査データ(例えば、モデルM100/(N-1)の作成の学習で使用された検査データと特徴(例えば傾向)が異なるデータ)を運用支援システム50が受信し得る。不適切な検査データが要因でC(N-1)がTh1未満となることも考えられる。そこで、C(N-1)<Th1の要因がデータなのか否かを判定し、当該要因が、データではないことが特定された場合に、言い換えれば、モデルM100/(N-1)であることが特定された場合に、モデル差替が行われる。これにより、不要なモデル差替を避けることができる。なお、要因判定は、C(N-1)<Th1が得られた運用中のモデルM100/(N-1)に入力された検査データを基にコンセプトドリフトが特定されたか否かの判定でよい。コンセプトドリフトの生じた後の検査データがモデルM100/(N-1)に入力されることの継続を避けることが期待できる。
The
確信度比較部61は、検査データが入力された運用中のモデルM100/(N-1)が検査結果データを出力する都度に、C(N-1)<Th2か否かの第2の確信度比較を行ってよい。C(N-1)<Th2である場合に、確信度比較部61が、候補モデルM100/N(一つ以上の候補モデルの少なくとも一つの候補モデルの一例)に評価用のデータを入力することで当該候補モデルM100/Nを評価することであるモデル評価を行ってよい。すなわち、モデルM100/Nを選択してからデプロイするまでの間に、CNが評価されてよい。これにより、差し替え後のモデルM100/Nの信頼性が期待される。モデル評価では、例えば、確信度比較部61は、モデルM100/N(一つ以上の候補モデルの一例)を選択し、当該候補モデルM100/Nに検査データ(評価用データの一例)を入力することで、CNを評価してよい。C(N-1)<Th1であり、且つ、上記要因判定の結果が偽の場合、上記モデル差替において、差し替え後のモデルは、モデル評価においてC(N-1)よりも高い確信度CNが得られた候補モデルM100/Nでよい。なお、モデル評価で使用される検査データは、候補モデルM100/Nの作成に使用された検査データTと当該検査データTよりも新しい検査データ(T+1)でよい。候補モデルM100/Nは、CN:T≦CN:(T+1)であるモデルでよい。これにより、差し替え後のモデルが、最近の特徴の検査データに適したモデルであることが期待される。CN:Tは、モデルM100/Nの作成に使用された検査データTが当該モデルM100/Nに入力された場合の確信度である。CN:(T+1)は、検査データTよりも新しい検査データ(T+1)がモデルM100/Nに入力された場合の確信度である。
Each time the operating model M100/(N−1) to which the inspection data is input outputs inspection result data, the
学習部55は、運用監視と非同期に定期的に又は不定期的に再学習を行ってよい。これにより、運用監視の結果に依存すること無しに、バージョンの異なるモデルを増やしていくこと、つまりモデル差替のための準備をしておくことができる。
The
C(N-1)<Th2である場合に、学習部55が、モデルM100について運用中のモデルM100/(N-1)と異なるバージョンのモデルを作成する再学習を行ってよい。これにより、C(N-1)<Th2が特定された適切なタイミングで差し替え後のモデルの候補を作成する準備処理を開始することができる。
When C (N-1) < Th 2 , the
運用支援システム50は、プリプロセス部53を備えてよい。プリプロセス部53は、製品が良品であることを表すデータの条件(例えば、アノテーションが表す条件の一例)に該当する検査データをモデルに入力し、当該条件に該当しない検査データをモデルに入力しないでよい。製品検査工程の運用中は、通常、不良品を表す検査データよりも良品を表す検査データの方が多く得られる。このため、良品を表す検査データのみを入力対象とすることで、モデルの精度を高めることが期待できる。なお、製品が良品であることを表すデータの条件は、対象を表すデータに関する所定の条件の一例でよい。所定の条件は、製品が良品であることを表すデータの条件に代えて又は加えて、運用支援システムが適用される分野や目的に応じた他の条件(例えば、製品が不良品であることを表すデータの条件)を含んでもよい。
The
モデル差替部65が、モデルM100/Nを選択してモデル評価を行ってよい。C(N-1)<Th1であり、且つ、上記要因判定の結果が偽の場合、これにより、差し替え後のモデルM100/Nの信頼性が期待される。なお、差し替え後のモデルM100/Nは、CN:T≦CN:(T+1)であるモデルでよい。これにより、差し替え後のモデルが、最近の特徴の検査データに適したモデルであることが期待される。
The
以上、幾つかの実施形態を説明したが、これらは本発明の説明のための例示であって、本発明の範囲をこれらの実施形態にのみ限定する趣旨ではない。本発明は、他の種々の形態でも実行することが可能である。例えば、上述したように、本発明は、製造検査工程以外の分野にも適用可能である。例えば、本発明は、マーケティング分野に適用可能であり、その場合、入力データの一例は販売実績を表すデータでよく、モデルの一例は需要予測のモデルでよく、出力データの一例は必要仕入れ数を表すデータでよい。 Although several embodiments have been described above, these are examples for explaining the present invention, and are not intended to limit the scope of the present invention only to these embodiments. The invention can also be implemented in various other forms. For example, as described above, the present invention is applicable to fields other than manufacturing inspection processes. For example, the present invention can be applied to the field of marketing. In this case, an example of input data may be data representing sales performance, an example of a model may be a demand forecast model, and an example of output data may be a required number of purchases. data that represents
50…運用支援システム 50 Operation support system
Claims (18)
運用中の学習モデルの監視である運用監視を行う監視部と、
要因判定部と
表示部と
を備え、
前記監視部が、
前記運用中の学習モデルの確信度が第1の閾値未満か否かの第1の確信度比較を行う確信度比較部と、
前記第1の確信度比較の結果が真である場合、運用対象の学習モデルを、前記運用中の学習モデルのバージョンと異なるバージョンの一つ以上の学習モデルである一つ以上の候補学習モデルのうち、当該真の結果が得られた前記運用中の学習モデルの確信度よりも高いいずれかの候補学習モデルに、前記運用中の学習モデルから差し替えることであるモデル差替を行うモデル差替部と
を備え、
前記要因判定部が、前記第1の確信度比較の結果が真である場合に、当該真の結果が得られた運用中の学習モデルに入力された入力データが当該結果の要因であるか否かの要因判定を行い、
前記要因判定の結果が偽の場合に、前記表示部が前記モデル差替部が差し替える候補学習モデルの確信度を表示する、
運用支援システム。 A learning unit that performs re-learning by creating one or more learning models with different versions;
a monitoring unit that monitors the operation of the learning model during operation ;
factor determination unit and
display and
with
The monitoring unit
a certainty comparison unit that performs a first certainty comparison to determine whether the certainty of the learning model in operation is less than a first threshold;
When the result of the first confidence comparison is true, the learning model to be operated is one or more candidate learning models whose version is different from the version of the learning model in operation. A model replacement unit that replaces the learning model in operation with one of the candidate learning models that has a higher certainty than the learning model in operation from which the true result was obtained. and
The factor determining unit, when the result of the first certainty comparison is true, determines whether the input data input to the learning model in operation from which the true result is obtained is the factor of the result. or factor determination,
When the result of the factor determination is false, the display unit displays the confidence of the candidate learning model to be replaced by the model replacement unit;
Operation support system.
前記第2の確信度比較の結果が真である場合に、前記確信度比較部が、前記一つ以上の候補学習モデルの少なくとも一つの候補学習モデルを当該候補学習モデルに評価用のデータを入力することで評価することであるモデル評価を行い、
前記第1の確信度比較の結果が真であり、且つ、前記要因判定の結果が偽の場合、前記モデル差替において、前記いずれかの候補学習モデルは、前記モデル評価において運用中の学習モデルの確信度よりも高い確信度が得られた候補学習モデルである、
請求項1に記載の運用支援システム。 The certainty comparison unit performs a second certainty comparison as to whether the certainty of the learning model in operation is less than a second threshold closer to the reference certainty than the first threshold,
When the result of the second confidence comparison is true, the confidence comparison unit inputs data for evaluation of at least one of the one or more candidate learning models to the candidate learning model. Perform model evaluation, which is to evaluate by
When the result of the first confidence comparison is true and the result of the factor determination is false, in the model replacement, one of the candidate learning models is the learning model in operation in the model evaluation is a candidate learning model with a higher confidence than the confidence of
The operation support system according to claim 1 .
前記いずれかの候補学習モデルは、当該候補学習モデルの作成に使用された入力データよりも新しい入力データが当該候補学習モデルに入力された場合の確信度が、当該候補学習モデルの作成に使用された入力データが当該候補学習モデルに入力された場合の確信度と同じかそれよりも高い候補学習モデルである、
請求項2に記載の運用支援システム。 The data for evaluation is input data newer than the input data used to create the at least one candidate learning model and the input data;
For any of the candidate learning models, the confidence when input data newer than the input data used to create the candidate learning model is input to the candidate learning model is used to create the candidate learning model. is a candidate learning model with the same or higher confidence when the input data is input to the candidate learning model,
The operation support system according to claim 2 .
請求項1乃至3のうちのいずれか1項に記載の運用支援システム。 The factor determination is a determination of whether or not a concept drift has been identified based on the input data input to the learning model in operation from which a true result was obtained as a result of the first confidence comparison.
The operation support system according to any one of claims 1 to 3 .
前記第1の確信度比較の結果が真であり、且つ、前記要因判定の結果が偽の場合、前記モデル差替において、前記いずれかの候補学習モデルは、前記モデル評価において運用中の学習モデルの確信度よりも高いことが得られた候補学習モデルである、 When the result of the first confidence comparison is true and the result of the factor determination is false, in the model replacement, one of the candidate learning models is the learning model in operation in the model evaluation is a candidate learning model that has a higher confidence than
請求項1乃至4のうちのいずれか1項に記載の運用支援システム。The operation support system according to any one of claims 1 to 4.
前記いずれかの候補学習モデルは、当該候補学習モデルの作成に使用された入力データが当該候補学習モデルに入力されたときの確信度よりも、当該候補学習モデルの作成に使用された入力データよりも新しい入力データが当該候補学習モデルに入力されたときの確信度の方が高い候補学習モデルである、 Any of the above candidate learning models is determined by the input data used to create the candidate learning model rather than the confidence when the input data used to create the candidate learning model is input to the candidate learning model. is a candidate learning model with a higher confidence when new input data is input to the candidate learning model,
請求項5に記載の運用支援システム。The operation support system according to claim 5.
運用中の学習モデルの監視である運用監視を行う監視部と
表示部と
を備え、
前記監視部が、
前記運用中の学習モデルの確信度が第1の閾値未満か否かの第1の確信度比較を行う確信度比較部と、
前記第1の確信度比較の結果が真である場合、運用対象の学習モデルを、前記運用中の学習モデルのバージョンと異なるバージョンの一つ以上の学習モデルである一つ以上の候補学習モデルのうち、当該真の結果が得られた運用中の前記学習モデルの確信度よりも高いいずれかの候補学習モデルに、前記運用中の学習モデルから差し替えることであるモデル差替を行うモデル差替部と
を備え、
前記確信度比較部は、前記運用中の学習モデルの確信度が、前記第1の閾値よりも基準確信度に近い第2の閾値未満か否かの第2の確信度比較を行い、
前記第2の確信度比較の結果が真である場合に、前記学習部が、前記運用中の学習モデルのバージョンと異なるバージョンの一つ以上の学習モデルを作成することである前記再学習を行い、
前期表示部が前記異なるバージョンの一つ以上の学習モデルのバージョン情報を表示する、
運用支援システム。 A learning unit that performs re-learning by creating one or more learning models with different versions;
A monitoring unit that monitors the operation of the learning model during operation
display and
with
The monitoring unit
a certainty comparison unit that performs a first certainty comparison to determine whether the certainty of the learning model in operation is less than a first threshold;
When the result of the first confidence comparison is true, the learning model to be operated is one or more candidate learning models whose version is different from the version of the learning model in operation. A model replacement unit that replaces the learning model in operation with one of the candidate learning models having a higher certainty than the learning model in operation from which the true result was obtained. and
with
The certainty comparison unit performs a second certainty comparison as to whether the certainty of the learning model in operation is less than a second threshold closer to the reference certainty than the first threshold,
When the result of the second confidence comparison is true, the learning unit performs the relearning by creating one or more learning models of a version different from the version of the learning model in operation. stomach,
the previous display unit displays version information of the one or more learning models of the different versions;
Operation support system.
を更に備える請求項1乃至8のうちのいずれか1項に記載の運用支援システム。 A pre-process that inputs input data that satisfies a predetermined condition regarding data representing an object to a learning model for re-learning , and does not input input data that does not satisfy the predetermined condition to the learning model for re-learning. part,
The operation support system according to any one of claims 1 to 8, further comprising:
前記所定の条件は、製品が良品であることを表すデータの条件である、
請求項9に記載の運用支援システム。 The target is a product to be inspected in product inspection,
The predetermined condition is a condition of data representing that the product is non-defective,
The operation support system according to claim 9 .
請求項1乃至10のうちのいずれか1項に記載の運用支援システム。The operation support system according to any one of claims 1 to 10.
請求項1乃至11のうちのいずれか1項に記載の運用支援システム。The operation support system according to any one of claims 1 to 11.
コンピュータが、運用中の学習モデルの確信度が第1の閾値未満か否かの第1の確信度比較を行い、
コンピュータが、前記第1の確信度比較の結果が真である場合、当該真の結果が得られた運用中の学習モデルに入力された入力データが当該結果の要因であるか否かの要因判定を行い、
コンピュータが、当該要因判定の結果が偽の場合に、運用対象の学習モデルを、前記運用中の学習モデルのバージョンと異なるバージョンの一つ以上の学習モデルである一つ以上の候補学習モデルのうち、当該真の結果が得られた前記運用中の学習モデルの確信度よりも高いいずれかの候補学習モデルの確信度を表示する、
運用支援方法。 The computer performs re-learning by creating one or more learning models with different versions,
The computer performs a first confidence comparison as to whether the confidence of the learning model in operation is less than a first threshold,
When the result of the first certainty comparison is true, the computer determines whether or not the input data input to the learning model in operation from which the true result was obtained is a factor of the result. and
When the result of the factor determination is false, the computer selects the learning model to be operated from among one or more candidate learning models that are one or more learning models of a version different from the version of the learning model in operation. , displaying the confidence of any candidate learning model that is higher than the confidence of the learning model in operation from which the true result was obtained;
Operational support method.
コンピュータが、運用中の学習モデルの確信度が第1の閾値未満か否かの第1の確信度比較を行い、 The computer performs a first confidence comparison as to whether the confidence of the learning model in operation is less than a first threshold,
コンピュータが、前記第1の確信度比較の結果が真である場合、運用対象の学習モデルを、前記運用中の学習モデルのバージョンと異なるバージョンの一つ以上の学習モデルである一つ以上の候補学習モデルのうち、当該真の結果が得られた前記運用中の学習モデルの確信度よりも高いいずれかの候補学習モデルに、前記運用中の学習モデルから差し替えることであるモデル差替を行い、 When the result of the first confidence comparison is true, the computer selects the learning model to be operated as one or more candidates that are one or more learning models of a version different from the version of the learning model in operation. Among the learning models, perform model replacement, which is to replace the learning model in operation with one of the candidate learning models with a higher confidence than the learning model in operation from which the true result was obtained,
コンピュータが、前記運用中の学習モデルの確信度が、前記第1の閾値よりも基準確信度に近い第2の閾値未満か否かの第2の確信度比較を行い、 A computer performs a second confidence comparison as to whether the confidence of the learning model in operation is less than a second threshold closer to the reference confidence than the first threshold,
前記第2の確信度比較の結果が真である場合に、コンピュータが、前記運用中の学習モデルのバージョンと異なるバージョンの一つ以上の学習モデルを作成することである前記再学習を行い、前記異なるバージョンの一つ以上の学習モデルのバージョン情報を表示する、 When the result of the second confidence comparison is true, the computer performs the re-learning, which is to create one or more learning models of a version different from the version of the learning model in operation, display version information for one or more learning models of different versions,
運用支援方法。Operational support method.
請求項13または請求項14に記載の運用支援方法。The operation support method according to claim 13 or 14.
運用中の学習モデルの確信度が第1の閾値未満か否かの第1の確信度比較を行い、
前記第1の確信度比較の結果が真である場合、当該真の結果が得られた運用中の学習モデルに入力された入力データが当該結果の要因であるか否かの要因判定を行い、当該要因判定の結果が偽の場合に、運用対象の学習モデルを、前記運用中の学習モデルのバージョンと異なるバージョンの一つ以上の学習モデルである一つ以上の候補学習モデルのうち、当該真の結果が得られた前記運用中の学習モデルの確信度よりも高いいずれかの候補学習モデルの確信度を表示する、
ことをコンピュータに実行させるコンピュータプログラム。 Perform re-learning by creating one or more learning models with different versions,
performing a first confidence comparison as to whether the confidence of the learning model in operation is less than a first threshold;
If the result of the first confidence comparison is true, determine whether the input data input to the learning model in operation from which the true result was obtained is a factor of the result, When the result of the factor determination is false, the learning model to be operated is selected from one or more candidate learning models that are one or more learning models of a version different from the version of the learning model in operation. Displaying the confidence of any candidate learning model that is higher than the confidence of the learning model in operation for which the result of
A computer program that makes a computer do something.
運用中の学習モデルの確信度が第1の閾値未満か否かの第1の確信度比較を行い、 performing a first confidence comparison as to whether the confidence of the learning model in operation is less than a first threshold;
前記第1の確信度比較の結果が真である場合、運用対象の学習モデルを、前記運用中の学習モデルのバージョンと異なるバージョンの一つ以上の学習モデルである一つ以上の候補学習モデルのうち、当該真の結果が得られた前記運用中の学習モデルの確信度よりも高いいずれかの候補学習モデルに、前記運用中の学習モデルから差し替えることであるモデル差替を行い、 When the result of the first confidence comparison is true, the learning model to be operated is one or more candidate learning models whose version is different from the version of the learning model in operation. Among them, perform model replacement, which is to replace the learning model in operation with one of the candidate learning models having a higher confidence than the learning model in operation from which the true result was obtained,
前記運用中の学習モデルの確信度が、前記第1の閾値よりも基準確信度に近い第2の閾値未満か否かの第2の確信度比較を行い、 Perform a second confidence comparison as to whether the confidence of the learning model in operation is less than a second threshold closer to the reference confidence than the first threshold,
前記第2の確信度比較の結果が真である場合に、前記運用中の学習モデルのバージョンと異なるバージョンの一つ以上の学習モデルを作成することである前記再学習を行い、前記異なるバージョンの一つ以上の学習モデルのバージョン情報を表示する、 If the result of the second confidence comparison is true, perform the re-learning, which is to create one or more learning models of a version different from the version of the learning model in operation, and the different version of the display version information for one or more learning models,
ことをコンピュータに実行させるコンピュータプログラム。A computer program that makes a computer do something.
請求項16または請求項17に記載のコンピュータプログラム。18. A computer program as claimed in claim 16 or 17.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2022027136A JP7307215B2 (en) | 2019-10-09 | 2022-02-24 | Operation support system and method |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019186319A JP7032366B2 (en) | 2019-10-09 | 2019-10-09 | Operations support system and method |
JP2022027136A JP7307215B2 (en) | 2019-10-09 | 2022-02-24 | Operation support system and method |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2019186319A Division JP7032366B2 (en) | 2019-10-09 | 2019-10-09 | Operations support system and method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2022060512A JP2022060512A (en) | 2022-04-14 |
JP7307215B2 true JP7307215B2 (en) | 2023-07-11 |
Family
ID=87072466
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2022027136A Active JP7307215B2 (en) | 2019-10-09 | 2022-02-24 | Operation support system and method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP7307215B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102504230B1 (en) * | 2022-06-09 | 2023-03-02 | 제노테크 주식회사 | Retraingin system using drift detection of machine learning and method thereof |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2016110290A (en) | 2014-12-03 | 2016-06-20 | 株式会社リコー | Information processing apparatus and information processing method |
US10209974B1 (en) | 2017-12-04 | 2019-02-19 | Banjo, Inc | Automated model management methods |
JP2019087101A (en) | 2017-11-08 | 2019-06-06 | 三菱重工航空エンジン株式会社 | Anticipation model maintenance system, method for maintaining anticipation model, and anticipation model maintenance program |
-
2022
- 2022-02-24 JP JP2022027136A patent/JP7307215B2/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2016110290A (en) | 2014-12-03 | 2016-06-20 | 株式会社リコー | Information processing apparatus and information processing method |
JP2019087101A (en) | 2017-11-08 | 2019-06-06 | 三菱重工航空エンジン株式会社 | Anticipation model maintenance system, method for maintaining anticipation model, and anticipation model maintenance program |
US10209974B1 (en) | 2017-12-04 | 2019-02-19 | Banjo, Inc | Automated model management methods |
Also Published As
Publication number | Publication date |
---|---|
JP2022060512A (en) | 2022-04-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP7032366B2 (en) | Operations support system and method | |
US20220358528A1 (en) | Methods and apparatus for self-adaptive time series forecasting engine | |
CN110865929B (en) | Abnormality detection early warning method and system | |
US20190392252A1 (en) | Systems and methods for selecting a forecast model for analyzing time series data | |
JP6652699B2 (en) | Anomaly evaluation program, anomaly evaluation method, and information processing device | |
US20210103858A1 (en) | Method and system for model auto-selection using an ensemble of machine learning models | |
KR20210039927A (en) | System and method of classifying manufactured products | |
US8756189B2 (en) | Rule generation for event processing system | |
US11775412B2 (en) | Machine learning models applied to interaction data for facilitating modifications to online environments | |
JP7307215B2 (en) | Operation support system and method | |
CN117041017B (en) | Intelligent operation and maintenance management method and system for data center | |
CN112823364A (en) | Predictive model enhancement | |
WO2020166236A1 (en) | Work efficiency evaluating method, work efficiency evaluating device, and program | |
WO2020255224A1 (en) | Abnormality detection device, learning device, abnormality detection method, learning method, abnormality detection program, and learning program | |
CN116258482B (en) | Method for automatically selecting maintenance scheme, server and electronic equipment | |
CN114096959A (en) | Time series data compression and graphical signature analysis | |
Ling et al. | Maximum profit mining and its application in software development | |
US11526162B2 (en) | Method for detecting abnormal event and apparatus implementing the same method | |
WO2021186706A1 (en) | Repair support system and repair support method | |
Yang | Multivariate statistical methods and Six-Sigma | |
JP7339063B2 (en) | Machine learning program and machine learning device for learning about work processes | |
JP2023036469A (en) | Outlier detection apparatus and method | |
Putra et al. | Flexible stage-based process performance mining for customer journey analysis | |
WO2024024263A1 (en) | Inspection device and method | |
WO2022059183A1 (en) | Information processing device, information processing method, and information processing program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20220330 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20220330 |
|
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: 20230530 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20230629 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 7307215 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |