Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7822292B2 - Annotation device and method - Google Patents
[go: Go Back, main page]

JP7822292B2 - Annotation device and method - Google Patents

Annotation device and method

Info

Publication number
JP7822292B2
JP7822292B2 JP2022155641A JP2022155641A JP7822292B2 JP 7822292 B2 JP7822292 B2 JP 7822292B2 JP 2022155641 A JP2022155641 A JP 2022155641A JP 2022155641 A JP2022155641 A JP 2022155641A JP 7822292 B2 JP7822292 B2 JP 7822292B2
Authority
JP
Japan
Prior art keywords
subtask
data
priority score
module
label
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
JP2022155641A
Other languages
Japanese (ja)
Other versions
JP2024049419A (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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2022155641A priority Critical patent/JP7822292B2/en
Publication of JP2024049419A publication Critical patent/JP2024049419A/en
Application granted granted Critical
Publication of JP7822292B2 publication Critical patent/JP7822292B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Machine Translation (AREA)

Description

本発明は、機械学習におけるアノテーション、つまり、ラベル付けを行うための技術に関する。 The present invention relates to a technique for annotation, or labeling, in machine learning.

現在、教師あり機械学習において、ユーザインターフェイスを利用していわゆるアノテータが、教師データの作成(ラベル付け)することがなされている。このように、ユーザインターフェイスを用いて、全てのデータに対してアノテータが手動でラベル付けをおこなうのは工数が膨大になる。このため、能動学習と呼ばれる枠組みを用いて、工数削減を図ることがある。 Currently, in supervised machine learning, so-called annotators create (label) training data using a user interface. For this reason, manually labeling all data using a user interface by an annotator requires a huge amount of work. For this reason, a framework known as active learning is sometimes used to reduce this amount of work.

ここで、能動学習では、まずアノテータがラベル付けの対象データの一部に手動でラベル付けを行う。次に、ラベル付けされたデータを教師データとして、機械学習モデルを学習する。また、学習した機械学習モデルでラベルの付いていないデータのラベルを推定して、ユーザインターフェイス上でアノテータに提示する。そして、アノテータは、提示された結果を確認して修正をおこなう。 In active learning, an annotator first manually labels a portion of the target data. Next, the labeled data is used as training data to train a machine learning model. The trained machine learning model also estimates labels for unlabeled data and presents them to the annotator via a user interface. The annotator then checks the presented results and makes any corrections.

以降、確認したラベル付きデータで機械学習モデルを再学習し、ラベルなしデータについて推定、アノテータによる確認修正、を繰り返す。このことで、すべて手動でラベル付けをおこなう場合より、工数を削減できる。 The machine learning model is then retrained using the confirmed labeled data, and the process of making inferences on unlabeled data, followed by confirmation and correction by an annotator, is repeated. This reduces the amount of work required compared to labeling everything manually.

また、能動学習においては、アノテータに結果を提示する際にどのようなデータを提示するべきか、という観点でも検討されている。このために、例えば、推定の結果に対しての確信度を定量化して確信度の低いものを優先的に提示することで、機械学習モデルの再学習時の精度向上の割合を高める方法がある。具体的には、推定確率のエントロピーを確信度とするものがある。他には、ラベルなしデータの中に似たデータの多いデータを優先的に提示する方法がある。この場合、データ間の類似度を計算し、類似度の高いものから優先的に提示することで再学習効率を高めることができる。 Active learning is also being considered from the perspective of what kind of data should be presented when presenting results to annotators. For example, one method for this is to quantify the confidence in the estimation results and prioritize presenting those with low confidence, thereby increasing the rate of accuracy improvement when retraining a machine learning model. Specifically, one method uses the entropy of the estimation probability as the confidence level. Another method is to prioritize presenting unlabeled data with a large number of similar pieces of data. In this case, the similarity between data is calculated, and retraining efficiency can be improved by prioritizing the presentation of data with high similarity.

以上のような、機械学習モデルとユーザフィードバックの組み合わせによってラベル付け工数削減を図る技術として、例えば特許文献1や特許文献2が提案されている。特許文献1には、誤ったタグ付けを行うことによって機械学習の精度が低下してしまうことを防止する情報処理装置が記載されている。また、特許文献2には、類義語/関連語を良好な効率および精度で抽出することが記載されている。以下、これら特許文献1および2について説明する。 Technologies such as those described above that aim to reduce labeling work by combining machine learning models and user feedback have been proposed in, for example, Patent Documents 1 and 2. Patent Document 1 describes an information processing device that prevents a decrease in machine learning accuracy due to incorrect tagging. Patent Document 2 also describes extracting synonyms/related words with good efficiency and accuracy. Patent Documents 1 and 2 are described below.

機械学習のタスクの中には、複数のサブタスクについて学習や推定を行い、各サブタスクの推定結果の組み合わせによって所望の出力を得るものがある。例えば、自然言語処理のイベント抽出とのタスクでは、固有表現抽出によって、テキストから固有表現を抽出した後に、テキスト中の固有表現のペアについて、関係性抽出によって関係性を推定する。また、複数のサブタスクから構成されるタスクを解く機械学習モデルでは、各サブタスクのモデルが一部を共有している場合がある。例えば、固有表現抽出と関係性抽出を同時に推定するニューラルネットワークでは、入力からいくつかの層を共有し、最終層のみを固有表現抽出と関係性抽出で分岐させている。このようなモデルの構成にする。このことにより、ひとつのサブタスクの学習が他のサブタスクの学習および推定にも寄与し、相互的に精度向上が図れる。 Some machine learning tasks involve learning and inference for multiple subtasks, and the desired output is obtained by combining the inference results of each subtask. For example, in a natural language processing event extraction task, named entities are extracted from text using named entity extraction, and then relationships are inferred for pairs of named entities in the text using relationship extraction. Furthermore, in machine learning models that solve tasks consisting of multiple subtasks, the models for each subtask may share parts. For example, in a neural network that simultaneously infers named entity extraction and relationship extraction, several layers from the input are shared, and only the final layer is split between named entity extraction and relationship extraction. This model is constructed in this way. Learning in one subtask contributes to learning and inference in other subtasks, mutually improving accuracy.

ここで、能動学習の枠組みを採用したアノテーションシステムにおいて、単一タスクに関しては、各データの推定結果の定量的な優先スコアに従って提示優先順位を決定し再学習効率を高める手法として、上述の特許文献1や2が提案されている。まず、特許文献1では、1つのデータに対して複数のラベル(タグ)が付きうることを前提にし、タグ間の共起確率をもとに、推定結果が異常であるかどうかを判定して通知する。 In annotation systems that employ an active learning framework, the aforementioned Patent Documents 1 and 2 have proposed methods for improving re-learning efficiency for single tasks by determining presentation priorities according to quantitative priority scores for the estimation results of each piece of data. First, Patent Document 1 assumes that multiple labels (tags) can be attached to a single piece of data, and determines whether the estimation results are abnormal based on the probability of co-occurrence between tags, and notifies the system accordingly.

また、特許文献2では、文書データに対して関係性に関する構造化データ候補を生成し、生成した構造化データ候補の確からしさに応じて正当性判定を行っている。 In addition, in Patent Document 2, structured data candidates related to relationships are generated for document data, and validity is determined based on the likelihood of the generated structured data candidates.

特開2018-185601号公報Japanese Patent Application Laid-Open No. 2018-185601 特開2020-095452号公報Japanese Patent Application Laid-Open No. 2020-095452

以上のように、単一のタスクにおいてラベルの共起確率や確からしさに関する値を用いて、判定をおこなう処理について、特許文献1や2で記載されている。しかし、複数サブタスクでモデルの一部を共有する機械学習モデルにおいて、単一タスクの場合と同じ手法で提示優先順位を決定することは困難であった。ここで、各サブタスクにおける優先スコアの単純な足し合わせによって提示優先順位を決定する場合、ひとつのサブタスクのみがうまく学習できておらず精度が低いことがある。この場合、そのサブタスクの精度が向上するようなデータを重点的に確認することができない。このため、効率的な再学習が困難である。また、サブタスクの学習の他のサブタスクへの相互的な寄与が考慮されていないため、十分に再学習時の精度向上が見込めない可能性がある。 As described above, Patent Documents 1 and 2 describe processes for making judgments using values related to the co-occurrence probability and likelihood of labels in a single task. However, in machine learning models in which multiple subtasks share part of the model, it has been difficult to determine presentation priority using the same method as for a single task. Here, when presentation priority is determined by simply adding up the priority scores for each subtask, it is possible that only one subtask has not been properly trained, resulting in low accuracy. In this case, it is not possible to focus on data that will improve the accuracy of that subtask. This makes efficient re-learning difficult. Furthermore, because the mutual contribution of subtask learning to other subtasks is not taken into account, it is possible that sufficient improvement in accuracy during re-learning cannot be expected.

そこで、本発明では、複数サブタスクから構成されるタスクを実行する機械学習モデルに関して、効率的なラベル付けを実現する技術を提供することを課題とする。 The present invention aims to provide technology that enables efficient labeling for machine learning models that execute tasks consisting of multiple subtasks.

機械学習のラベル付けに関して、複数のサブタスクに含まれるサブタスクの学習による、他のサブタスクを学習するサブタスクモジュールへ影響の度合いを示す影響度に基づいて、推定結果、例えば、推定ラベルに対する確認についての優先度を特定する。なお、この優先度には、アノテータへの提示の優先度が含まれる。 With regard to machine learning labeling, the priority for confirming the inferred results, for example, the inferred labels, is determined based on the influence level, which indicates the degree of influence that the learning of a subtask included in multiple subtasks has on the subtask modules that learn other subtasks. Note that this priority includes the priority for presenting the results to the annotator.

より具体的な本発明の構成は、機械学習のラベル付けを実現するアノテーション装置において、前記機械学習のタスクを構成する複数のサブタスクのそれぞれに対して、ラベル付きデータを用いて学習し、ラベルなしデータに対する推定ラベルを推定する複数のサブタスクモジュールを有する教師あり機械学習モジュールと、前記サブタスクモジュールでの学習による他のサブタスクモジュールへの影響の度合いを示す影響度を計算するサブタスク相互影響度計算モジュールと、前記影響度に基づく総合優先スコアに応じて提示された前記推定ラベルに対する確認結果に応じて、当該推定ラベルを修正するラベル修正モジュールを有するアノテーション装置である。また、本発明には、このアノテーション装置を用いたアノテーション方法も含まれる。 A more specific configuration of the present invention is an annotation device that realizes machine learning labeling, comprising: a supervised machine learning module having multiple subtask modules that learn using labeled data and estimate estimated labels for unlabeled data for each of multiple subtasks that make up the machine learning task; a subtask mutual influence calculation module that calculates an influence level that indicates the degree to which learning in the subtask modules affects other subtask modules; and a label correction module that corrects the estimated labels in accordance with the confirmation results for the estimated labels presented in accordance with an overall priority score based on the influence levels. The present invention also includes an annotation method using this annotation device.

本発明によれば、複数のサブタスクを用いた機械学習に関し、効率的なラベル付けが実現できる。 This invention enables efficient labeling in machine learning using multiple subtasks.

本発明の一実施形態におけるアノテーション装置の機能構成を示す図である。FIG. 1 is a diagram illustrating a functional configuration of an annotation device according to an embodiment of the present invention. 本発明の一実施形態におけるラベルなしデータを示す図である。FIG. 2 illustrates unlabeled data in one embodiment of the present invention. 本発明の一実施形態におけるラベル付きデータを示す図である。FIG. 2 is a diagram illustrating labeled data in one embodiment of the present invention. 本発明の一実施形態における教師あり機械学習モジュールの処理を説明するための図である。FIG. 2 is a diagram illustrating the processing of a supervised machine learning module in one embodiment of the present invention. 本発明の一実施形態におけるサブタスク精度情報を示す図である。FIG. 10 is a diagram illustrating subtask accuracy information in one embodiment of the present invention. 本発明の一実施形態におけるサブタスク優先スコア計算モジュールの出力の例を示す図である。FIG. 10 illustrates an example output of a subtask priority score calculation module in one embodiment of the present invention. 本発明の一実施形態におけるサブタスク優先スコア計算モジュールの出力の例を示す図である。FIG. 10 illustrates an example output of a subtask priority score calculation module in one embodiment of the present invention. 本発明の一実施形態における全体の処理フロー図である。FIG. 1 is an overall processing flow diagram according to an embodiment of the present invention. 本発明の一実施形態における1つのデータにおける優先スコアを示す図である。FIG. 10 is a diagram showing priority scores for one piece of data in one embodiment of the present invention. 本発明の一実施形態におけるデータごとの総合優先スコアを示す図である。FIG. 10 is a diagram showing a total priority score for each piece of data in one embodiment of the present invention. 本実施形態における確認すべきデータ全体についての確認画面を示す図である。FIG. 10 is a diagram showing a confirmation screen for all data to be confirmed in this embodiment. 本実施形態における詳細確認画面を示す図である。FIG. 10 is a diagram showing a details confirmation screen in the present embodiment. 本実施形態におけるアノテーションシステムの構成図である。1 is a configuration diagram of an annotation system according to an embodiment of the present invention.

以下、本発明の一実施形態について説明する。本実施形態では、文書からのイベント抽出タスクを例示して説明する。つまり、後述の教師あり機械学習モジュール103におけるタスクとして、イベント抽出タスクを用いる。ここで、教師あり機械学習モジュール103は、3つのサブタスクモジュールを有する。まず、第1サブタスクモジュールは、文書における固有表現の抽出を行う。また、第2サブタスクモジュールは、文書における関係性の抽出を行う。さらに、第3サブタスクモジュールは、文書における名寄せを行う。つまり、本実施形態では、サブタスクとして、固有表現の抽出、関係性の抽出および名寄せが実行される。 An embodiment of the present invention will be described below. In this embodiment, an event extraction task from a document will be described as an example. That is, the event extraction task is used as a task in the supervised machine learning module 103 described below. Here, the supervised machine learning module 103 has three subtask modules. First, the first subtask module extracts named entities from the document. Furthermore, the second subtask module extracts relationships from the document. Furthermore, the third subtask module performs name matching in the document. That is, in this embodiment, the subtasks performed are named entity extraction, relationship extraction, and name matching.

そして、これらのサブタスクを実行するために、ラベルなしデータ101およびラベル付きデータ102が用いられる。これらラベルなしデータ101およびラベル付きデータ102は、故障対応履歴のデータとする。本実施形態では、これらのデータに対して、教師あり機械学習モジュール103によって、実施した処置のイベント情報を部品名と処置名の組み合わせによって抽出する。 Unlabeled data 101 and labeled data 102 are used to execute these subtasks. These unlabeled data 101 and labeled data 102 are failure response history data. In this embodiment, the supervised machine learning module 103 extracts event information on the actions taken from these data by combining part names and action names.

本実施形態では、これらのイベント抽出タスクやそのサブタスクを実行するために、ラベルなしデータ101に対する推定ラベルを推定する。そして、この推定ラベルの確認における優先度を示す総合優先スコアを計算する。この結果、アノテータは、より適切な順序で、推定ラベルの確認、修正を行うことができる。以下、その詳細を、図面を用いて説明する。 In this embodiment, to execute these event extraction tasks and their subtasks, estimated labels are estimated for the unlabeled data 101. Then, an overall priority score is calculated, indicating the priority for checking these estimated labels. As a result, the annotator can check and correct the estimated labels in a more appropriate order. Details of this are explained below using the drawings.

図1は、本実施形態におけるアノテーション装置1の機能構成を示す図である。図1において、アノテーション装置1は、教師あり機械学習モジュール103、サブタスク精度計算モジュール106、サブタスク相互影響度計算モジュール107、サブタスク優先スコア計算モジュール108、総合優先スコア計算モジュール109、ラベル修正モジュール110および総合優先スコア再計算モジュール111を有する。なお、これらの各構成(モジュール)や後述のサブタスクモジュール104は、処理を実行する構成であり、それぞれ~部とも表現できる。また、本実施形態では、ラベルなしデータ101およびラベル付きデータ102が用いられる。 Figure 1 is a diagram showing the functional configuration of the annotation device 1 in this embodiment. In Figure 1, the annotation device 1 has a supervised machine learning module 103, a subtask accuracy calculation module 106, a subtask mutual influence calculation module 107, a subtask priority score calculation module 108, an overall priority score calculation module 109, a label correction module 110, and an overall priority score recalculation module 111. Note that each of these components (modules) and the subtask module 104 described below are components that execute processing, and can also be expressed as a ~ unit. In addition, this embodiment uses unlabeled data 101 and labeled data 102.

まず、ラベルなしデータ101は、ラベルが付与されていないデータである。本実施形態では、故障対応履歴について自然言語で記載されたテキストデータとす。但し、本発明では、対象データの形式はテキストデータ以外の画像データ、テーブルデータ、時系列データなどであってもよい。ラベルなしデータ101の詳細は、図2で後述する。 First, unlabeled data 101 is data that has not been assigned a label. In this embodiment, it is text data describing the failure response history in natural language. However, in the present invention, the target data may be in the form of image data, table data, time-series data, or other data other than text data. Details of unlabeled data 101 will be described later with reference to Figure 2.

また、ラベル付きデータ102は、各サブタスクおよび教師あり機械学習モジュールのタスクのラベルの付与されたデータである。その詳細は、図3で後述する。 Furthermore, labeled data 102 is data to which labels for each subtask and task of the supervised machine learning module have been assigned. Details will be described later in Figure 3.

また、教師あり機械学習モジュール103は、各サブタスクモジュール104についての学習、検証や推定を行う。つまり、ラベル付きデータ102を入力として、各サブタスクモジュール104の学習や検証を行う。また、教師あり機械学習モジュール103は、ラベルなしデータ101を入力として、各サブタスクモジュール104の推定を行う。なお、この推定とは、ラベルなしデータ101に対するラベルである推定ラベルを推定することを示す。 The supervised machine learning module 103 also performs learning, verification, and estimation for each subtask module 104. In other words, it uses labeled data 102 as input to perform learning and verification for each subtask module 104. The supervised machine learning module 103 also uses unlabeled data 101 as input to perform estimation for each subtask module 104. Note that this estimation refers to estimating an estimated label, which is a label for the unlabeled data 101.

このために、教師あり機械学習モジュール103は、複数のサブタスクモジュール104および共有モデル105を有する。ここで、共有モデル105は、サブタスクモジュール104内での共通処理を行うものである。なお、共有モデル105は、処理主体として実現してもよいし、モデルを示す情報をして実現してもよい。 For this purpose, the supervised machine learning module 103 has multiple subtask modules 104 and a shared model 105. Here, the shared model 105 performs common processing within the subtask modules 104. Note that the shared model 105 may be realized as the processing entity, or may be realized as information indicating the model.

ここで、各サブタスクモジュール104は、機械学習だけでなく入力となるデータへの前処理や推定結果に関する後処理を実行してもよい。なお、教師あり機械学習モジュール103およびサブタスクモジュール104、共有モデル105の詳細については、図4で後述する。 Here, each subtask module 104 may perform not only machine learning but also preprocessing of the input data and postprocessing of the estimation results. Details of the supervised machine learning module 103, subtask module 104, and shared model 105 will be described later in Figure 4.

また、サブタスク精度計算モジュール106は、教師あり機械学習モジュール103で推定される推定ラベルの推定精度を計算する。このために、サブタスク精度計算モジュール106は、教師あり機械学習モジュール103から出力される推定結果である推定ラベルから各サブタスクモジュール104のサブタスクにおける推定ラベルの推定精度を計算する。この詳細についは、図5で後述する。 The subtask accuracy calculation module 106 also calculates the estimation accuracy of the estimated labels estimated by the supervised machine learning module 103. To do this, the subtask accuracy calculation module 106 calculates the estimation accuracy of the estimated labels in the subtasks of each subtask module 104 from the estimated labels, which are the estimation results output from the supervised machine learning module 103. Details of this will be described later in Figure 5.

また、サブタスク相互影響度計算モジュール107は、サブタスクについての学習による他のサブタスクモジュール104への影響の度合いを示す影響度を計算する。このために、サブタスク相互影響度計算モジュール107は、教師あり機械学習モジュール103から出力される推定ラベルを用いる。この詳細については、図6で後述する。 The subtask mutual influence calculation module 107 also calculates the influence, which indicates the degree of influence that learning about a subtask has on other subtask modules 104. To do this, the subtask mutual influence calculation module 107 uses the estimated labels output from the supervised machine learning module 103. This will be described in more detail later in Figure 6.

また、サブタスク優先スコア計算モジュール108は、各サブタスクモジュール104で扱われるデータのデータ単位ごとの確認の順序に関するサブタスク優先スコアを計算する。ここで、データ単位とは、ラベルなしデータ101自体ごと、あるいはラベルなしデータ101の要素ごとである。この計算の手法に関しては、データやデータの要素に対してスカラー値が出力されるものであればどのようなものであってもよい。例えば、多クラス分類問題であれば、出力の確率のエントロピーを算出してサブタスク優先スコアとすることで、推定の確信度の低い順に優先スコアが高くなる。あるいは、対象データに関して、他のラベルなしデータとのコサイン類似度などの類似度尺度を計算してサブタスク優先スコアとすることで、他のデータと似たデータの優先スコアが高くなる。 The subtask priority score calculation module 108 also calculates a subtask priority score related to the confirmation order for each data unit of data handled by each subtask module 104. Here, a data unit refers to each piece of unlabeled data 101 itself, or each element of the unlabeled data 101. Any calculation method may be used as long as it outputs a scalar value for the data or data elements. For example, in the case of a multi-class classification problem, the entropy of the output probability is calculated as the subtask priority score, resulting in a higher priority score in descending order of the confidence of the estimation. Alternatively, a similarity measure such as cosine similarity between the target data and other unlabeled data is calculated as the subtask priority score, resulting in a higher priority score for data similar to other data.

また、総合優先スコア計算モジュール109は、上述の推定精度、影響度およびサブタスク優先スコアの少なくとも1つを用いて、各ラベルなしデータ101に対する各サブタスクについての総合優先スコアを計算する。より好適には、総合優先スコアは、少なくとも推定精度に基づいて計算される。また、他に、影響度を用いてもよい。例えば、推定精度および影響度の関数として計算される各サブタスクの重みを、各サブタスク優先スコアに掛け合わせることで、総合優先スコアを計算することができる。なお、総合優先スコアは、推定ラベルの確認における優先度を示し、例えば、当該総合優先スコアに従って、推定ラベルが提示される。個の提示には、総合優先スコアに従った順序での提示やこれに従って形式(大きさ、レイアウト)で提示が含まれる。なお、総合優先スコアの計算の詳細については、図8で説明する。 The overall priority score calculation module 109 also calculates an overall priority score for each subtask for each unlabeled data 101 using at least one of the estimation accuracy, influence, and subtask priority score described above. More preferably, the overall priority score is calculated based on at least the estimation accuracy. Alternatively, influence may be used. For example, the overall priority score can be calculated by multiplying each subtask priority score by the weight of each subtask, which is calculated as a function of the estimation accuracy and influence. The overall priority score indicates the priority in confirming the estimated label, and the estimated label is presented, for example, according to the overall priority score. This presentation includes presenting in an order according to the overall priority score and presenting in a format (size, layout) according to the overall priority score. Details of the calculation of the overall priority score are described in Figure 8.

また、ラベル修正モジュール110は、推定された推定ラベルを、総合優先スコア計算モジュール109で計算された総合優先スコアに従って、提示する。この結果、アノテータが、該当の推定ラベルを確認できる。そして、ラベル修正モジュール110は、アノテータから確認結果に応じた修正指示を受け付けた場合、推定ラベルを修正してラベル付きデータに追加する。このために、アノテーション装置1は、ユーザインターフェイス(GUI)機能を設け、アノテータがラベルを確認修正できる構成としている。例えば、アノテーション装置1は、入力デバイスや表示デバイスを自身に設けているか、これらと接続することになる。 The label correction module 110 also presents the estimated labels according to the overall priority score calculated by the overall priority score calculation module 109. As a result, the annotator can confirm the corresponding estimated labels. Then, when the label correction module 110 receives a correction instruction from the annotator based on the confirmation results, it corrects the estimated labels and adds them to the labeled data. For this purpose, the annotation device 1 is provided with a user interface (GUI) function, allowing the annotator to check and correct the labels. For example, the annotation device 1 may be equipped with an input device or display device itself, or may be connected to these.

以上のように、本実施形態では、アノテータが推定ラベルを確認修正するが、ラベル修正モジュール110は、他のシステムと連携して確認修正が動作する構成としてもよい。なお、本実施形態におけるGUIに関しては、図9で後述する。 As described above, in this embodiment, the annotator confirms and corrects the estimated labels, but the label correction module 110 may also be configured to perform confirmation and correction in cooperation with another system. The GUI in this embodiment will be described later with reference to Figure 9.

また、総合優先スコア再計算モジュール111は、上述の推定ラベルに対する確認や修正に応じて、総合優先スコアを再計算する。例えば、既にラベル修正モジュール110で確認済みのデータの精度を用いてサブタスク精度計算モジュール106での計算した精度を更新する。そして、更新結果に応じてサブタスク相互影響度計算モジュール107で計算した影響度、そして総合優先スコア計算モジュール109で計算した総合優先スコアを再計算する。また、GUIで総合優先スコアの計算式内に現れる精度、影響度の重要度に関するパラメータを手動調整して、総合優先スコアの再計算を行ってもよい。なお、総合優先スコア再計算モジュール111の機能は、総合優先スコア計算モジュール109に設けてもよい。以上で、図1の説明を終わる。 The overall priority score recalculation module 111 also recalculates the overall priority score in response to confirmation and correction of the estimated labels described above. For example, it updates the accuracy calculated by the subtask accuracy calculation module 106 using the accuracy of the data already confirmed by the label correction module 110. Then, it recalculates the influence calculated by the subtask mutual influence calculation module 107 and the overall priority score calculated by the overall priority score calculation module 109 in accordance with the update results. The overall priority score may also be recalculated by manually adjusting parameters related to the importance of accuracy and influence that appear in the overall priority score calculation formula using the GUI. The functionality of the overall priority score recalculation module 111 may also be provided in the overall priority score calculation module 109. This concludes the explanation of Figure 1.

次に、本実施形態で扱われる各データについて説明する。図2は、本実施形態におけるラベルなしデータ101を示す図である。本実施形態のラベルなしデータ101は、故障対応履歴のテキストデータとする。このため、図2に示すように、ラベルなしデータ101は、各データが一意に決まるようなデータID201とそれに対応するデータ内容202で構成される。 Next, we will explain each type of data handled in this embodiment. Figure 2 is a diagram showing unlabeled data 101 in this embodiment. The unlabeled data 101 in this embodiment is text data of a failure response history. Therefore, as shown in Figure 2, the unlabeled data 101 is composed of a data ID 201 that uniquely identifies each piece of data and its corresponding data content 202.

ここで、データID201は、該当のラベルなしデータ101を識別する。ここで、図2に示すデータID201は整数値を取っているが、複数のデータで重複しなければ数値、文字列などどのような形式でもよい。また、データID201は、後述のラベル付きデータ102のデータIDとも重複してはならないものとする。 Here, the data ID 201 identifies the corresponding unlabeled data 101. Here, the data ID 201 shown in Figure 2 is an integer value, but it can be in any format, such as a number or a character string, as long as it does not overlap with multiple data. Furthermore, the data ID 201 must not overlap with the data ID of the labeled data 102 described below.

また、データ内容202は、故障対応履歴のテキストデータである。図2に示すデータ内容202は一つのデータのみで構成されているが、例えば、発生したエラーコード、検査結果の内容、推定される原因、などの項目に分けた場合のように、複数の要素から構成されていてもよい。 Data content 202 is text data of the failure response history. While data content 202 shown in Figure 2 consists of only one piece of data, it may also consist of multiple elements, such as dividing it into items such as the error code that occurred, the details of the inspection results, and the estimated cause.

次に、図3は、本実施形態におけるラベル付きデータ102を示す図である。図3に示すように、ラベル付きデータ102は、データID301、データ内容302および各サブタスクに対応するラベル303、304、305で構成される。データID301およびデータ内容302については、ラベルなしデータ101と同様の項目である。また、ラベル303、304、305は、サブタスクの固有表現抽出、関係性抽出、名寄せの3つを示す。ここで、各ラベル303、304、305は、データ内容に対応する形で、ラベルがはっきりとわかる形であればどのような構造であってもよい。図3では、固有表現抽出ラベル303で、データ内容に対して、固有表現抽出ラベルのID(例えば「3-0」など)とそれに対応する文字列、文字列の位置、固有表現ラベルが格納してある。 Next, Figure 3 is a diagram showing labeled data 102 in this embodiment. As shown in Figure 3, labeled data 102 is composed of a data ID 301, data content 302, and labels 303, 304, and 305 corresponding to each subtask. Data ID 301 and data content 302 are the same items as in unlabeled data 101. Labels 303, 304, and 305 indicate the three subtasks of named entity extraction, relationship extraction, and name matching. Here, each label 303, 304, and 305 may have any structure as long as it corresponds to the data content and the label is clearly identifiable. In Figure 3, named entity extraction label 303 stores the named entity extraction label ID (for example, "3-0"), the corresponding string, the position of the string, and the named entity label for the data content.

ここで、関係性抽出ラベルでは、固有表現抽出ラベルのIDのペアとそれに対応する関係性ラベルが格納してある。名寄せラベル305では、固有表現抽出ラベルのIDとそれに対応する名寄せした後の単語が記載してある。例えば、データID=3のデータについて、データ内容302中の「部品D」という表現は「部品」の固有表現である。「部品D」と「交換」という二つの固有表現の間には「部品処置関係」という関係がある。データ内容302中の「部品D」という表現は、名寄せをすると「AAA」という表現に名寄せされる。 Here, the relationship extraction label stores a pair of named entity extraction label IDs and the corresponding relationship labels. The matching label 305 lists the named entity extraction label ID and the corresponding word after matching. For example, for data with data ID = 3, the expression "Part D" in data content 302 is a named entity for "part." There is a "part treatment relationship" between the two named entities, "Part D" and "Replacement." When matching is performed, the expression "Part D" in data content 302 is matched to the expression "AAA."

次に、共有モデル105を含む教師あり機械学習モジュール103について説明する。
図4は、本実施形態における教師あり機械学習モジュール103の処理を説明するための図である。前述のとおり、本実施形態のサブタスクは、固有表現抽出、関係性抽出、名寄せの3つである。このために、教師あり機械学習モジュール103は、共有モデル105、固有表現抽出モデル401、関係性抽出モデル402、名寄せモデル403から構成される。これらについては、それぞれがニューラルネットワークの形となっていることを想定しているが、ラベル付きデータ102から各サブタスクのラベルを学習可能で、かつラベルなしデータ101から各サブタスクのラベルを推定可能であればどのような手法でもよい。各サブタスクがモデル401、402、403の前に共通の処理を共有モデル105でおこない、共有モデル105も学習によってパラメータを変更する。各サブタスクを並列して学習することによって、各サブタスクの学習が他のサブタスクの精度向上にも寄与することが可能となる。但し、これら各モデルを、ひな形であるデータとして保持してもよい。以下、図4について説明する。
Next, the supervised machine learning module 103 including the shared model 105 will be described.
FIG. 4 is a diagram illustrating the processing of the supervised machine learning module 103 in this embodiment. As described above, the subtasks in this embodiment are named entity extraction, relationship extraction, and name matching. To this end, the supervised machine learning module 103 is composed of a shared model 105, a named entity extraction model 401, a relationship extraction model 402, and a name matching model 403. Each of these is assumed to be in the form of a neural network, but any method can be used as long as it can learn the label of each subtask from the labeled data 102 and estimate the label of each subtask from the unlabeled data 101. Each subtask performs common processing in the shared model 105 before the models 401, 402, and 403, and the parameters of the shared model 105 also change through learning. By learning each subtask in parallel, the learning of each subtask can contribute to improving the accuracy of the other subtasks. However, each of these models may be stored as template data. FIG. 4 will now be described.

まず、図中テキストデータ404は、タスクの対象となるテキストデータが入力されることを示す。本例では、テキストデータとして、2つのデータが用意されてる。つまり、「エラー~。」と「点検~。」の各データである。そして、これらについては、形態素解析によって形態素(「エラー」「部品A」「を」「交換」「。」)に分割しておく。このテキストデータは、教師あり機械学習モジュール103の学習および検証データを用いた評価の場合は、ラベル付きデータ102から取り出したデータが用いられる。教師あり機械学習モジュール103の推定の際には、ラベルなしデータ101から取り出したデータが用いられる。 First, text data 404 in the figure indicates that text data to be used as the task is input. In this example, two pieces of text data are prepared: "Error..." and "Inspection...." These are then divided into morphemes ("Error," "Part A," "to," "Replace," ".") using morphological analysis. For evaluation using training and validation data for the supervised machine learning module 103, data extracted from the labeled data 102 is used as this text data. For estimation by the supervised machine learning module 103, data extracted from the unlabeled data 101 is used.

次に、ベクトル表現405において、テキストデータの各形態素をベクトル表現に変換する。このときの変換手法として、word2vecなどの手法がある。また、共有モデル105では、各形態素のベクトル表現405に対して、ニューラルネットワークなどにより特徴量抽出を行い、特徴量ベクトル406を出力する。共有モデル105の例として、BERTなどの手法がある。 Next, in vector representation 405, each morpheme of the text data is converted into a vector representation. Methods such as word2vec are available as conversion methods. Furthermore, in shared model 105, feature extraction is performed on the vector representation 405 of each morpheme using a neural network or the like, and a feature vector 406 is output. BERT is an example of a shared model 105.

また、固有表現抽出モデル401では、特徴量ベクトル406を入力として、対象となる形態素の固有表現ラベル407、すなわち部品名、処置名、その他のどれに相当するかを推定する。複数形態素にまたがる部品名などが存在する場合には、部品名、等のラベル名ではなく、BIO表記などで推定をおこなってもよい。 The named entity extraction model 401 also takes the feature vector 406 as input and estimates the named entity label 407 of the target morpheme, i.e., whether it corresponds to a part name, a procedure name, or something else. If there is a part name that spans multiple morphemes, estimation may be made using BIO notation or the like rather than a label name such as part name.

また、関係性抽出モデル402では、固有表現ラベル407が部品名、処置名などの固有表現であると推定された同一テキストデータ中の二つの形態素のペアについて、特徴量ベクトル406のペアを入力としてその関係性ラベル408を推定する。すなわち、関係性抽出モデル402では、部品処置関係なのか関係性なしなのかを推定する。ここで、二つの形態素以外にその間の形態素の特徴量ベクトル406や、共有モデル内で計算可能なテキスト全体の文脈に関する特徴量ベクトルなどを入力としてもよい。 Furthermore, the relationship extraction model 402 estimates the relationship label 408 for a pair of two morphemes in the same text data whose named entity label 407 is estimated to be a named entity such as a part name or a procedure name, by inputting a pair of feature vectors 406. In other words, the relationship extraction model 402 estimates whether there is a part-procedure relationship or no relationship. Here, in addition to the two morphemes, the feature vector 406 of the morpheme between them, or a feature vector related to the context of the entire text that can be calculated within the shared model, may also be input.

また、名寄せモデル403では、二つのテキストデータ内で同じ固有表現ラベル407と推定された形態素のペアについて、その二つの形態素が名寄せすべきものかどうかの名寄せラベル409を推定する。 In addition, for pairs of morphemes that are estimated to have the same named entity label 407 within two pieces of text data, the name matching model 403 estimates a name matching label 409 indicating whether the two morphemes should be merged.

なお、教師あり機械学習モジュール103の推定の際には、ラベルなしデータ101のデータ内容202を入力データとして用いて、固有表現ラベル407、関係性ラベル408、名寄せラベル409などを出力する。また、学習の際には、ラベル付きデータ102のデータ内容302を入力として、出力する各ラベル407、408、409がそれぞれサブタスクのラベル303、304、305に合った形になるように学習する。この学習では、例えばバックプロパゲーションのような方法で各モデル105、401、402、403のパラメータを変更していくことで、ラベル付きデータのデータ内容302に対してラベル303、304、305が出力できるようになる。また、ラベル付きデータ102を用いた評価の際には、出力する各ラベル407、408、409がラベル付きデータ102内のラベル303、304、305とどれだけ一致しているかを定量的に計算する。 During estimation, the supervised machine learning module 103 uses the data content 202 of the unlabeled data 101 as input data and outputs named entity labels 407, relationship labels 408, and name identification labels 409. During learning, the data content 302 of the labeled data 102 is used as input, and learning is performed so that the output labels 407, 408, and 409 match the subtask labels 303, 304, and 305, respectively. During this learning, the parameters of each model 105, 401, 402, and 403 are changed using a method such as backpropagation, so that labels 303, 304, and 305 can be output for the data content 302 of the labeled data. During evaluation using labeled data 102, the degree to which the output labels 407, 408, and 409 match the labels 303, 304, and 305 in the labeled data 102 is quantitatively calculated.

次に、サブタスク精度計算モジュール106とサブタスク相互影響度計算モジュール107の処理の内容について、説明する。なお、本実施形態においては、全サブタスク学習時と前記サブタスクを除いた学習時の精度差から影響度を計算しているが、影響度を定量的に出力可能であればどのような計算方法を用いてもよい。なお、学習時とは、学習した場合ないしその際を示す。 Next, the processing details of the subtask accuracy calculation module 106 and the subtask mutual influence calculation module 107 will be explained. Note that in this embodiment, the influence is calculated from the difference in accuracy between when all subtasks are learned and when the subtasks are learned excluding those subtasks, but any calculation method can be used as long as it can output the influence quantitatively. Note that "during learning" refers to when or at the time of learning.

ここで、サブタスク精度計算モジュール106とサブタスク相互影響度計算モジュール107の処理により、サブタスク精度情報204が作成されることになる、図5は、本実施形態におけるサブタスク精度情報204を示す図である。以下、図5を参照して、サブタスク精度計算モジュール106とサブタスク相互影響度計算モジュール107の処理について説明する。 Here, subtask accuracy information 204 is created through the processing of the subtask accuracy calculation module 106 and the subtask mutual influence calculation module 107. Figure 5 is a diagram showing the subtask accuracy information 204 in this embodiment. Below, the processing of the subtask accuracy calculation module 106 and the subtask mutual influence calculation module 107 will be explained with reference to Figure 5.

まず、サブタスク精度計算モジュール106やサブタスク相互影響度計算モジュール107が、ラベル付きデータ102を、学習用データと検証用データに分割する。そして、サブタスク精度計算モジュール106は、教師あり機械学習モジュール103について、ラベル付きデータ102のデータのうち学習用データを用いて学習をおこない、検証用データで推定したときの推定精度を評価、つまり、計算する。そして、サブタスク精度計算モジュール106は、この推定精度(評価値)を、図5の全サブタスク学習時の列501、各サブタスク精度の行503に示す。例えば、全サブタスク学習時の固有表現抽出の精度a_NERは0.85となっている。この精度aの計算はサブタスク精度計算モジュール106によって計算されるものとする。各サブタスクの精度a_NER、a_RE、a_CRは後述の総合優先スコア計算モジュール109にて使用する。なお、NER、RE、CRはそれぞれ固有表現抽出、関係性抽出、名寄せを示すものとする。そして、サブタスク精度計算モジュール106が、算出した上述の各項目を、サブタスク精度情報204に記録する。 First, the subtask accuracy calculation module 106 and the subtask mutual influence calculation module 107 divide the labeled data 102 into training data and validation data. The subtask accuracy calculation module 106 then performs training on the supervised machine learning module 103 using the training data from the labeled data 102, and evaluates (i.e., calculates) the estimation accuracy when estimating using the validation data. The subtask accuracy calculation module 106 then displays this estimation accuracy (evaluation value) in the column 501 for all subtask training and the row 503 for each subtask accuracy in Figure 5. For example, the accuracy a_NER for named entity extraction during all subtask training is 0.85. This accuracy a is calculated by the subtask accuracy calculation module 106. The accuracies a_NER, a_RE, and a_CR for each subtask are used by the overall priority score calculation module 109, described below. NER, RE, and CR represent named entity extraction, relationship extraction, and name matching, respectively. The subtask accuracy calculation module 106 then records the calculated items described above in the subtask accuracy information 204.

また、今回の3つのサブタスクについて、それぞれを学習せずに残りの2つのサブタスクのみ学習した場合の推定精度についても、サブタスク精度計算モジュール106が、全サブタスク学習時と同様に計算する。そして、サブタスク精度計算モジュール106が計算した場合、各サブタスクを除いた学習時の列502、各サブタスクの精度の行503に結果を記録することができる。 Furthermore, for the three subtasks this time, the subtask accuracy calculation module 106 also calculates the estimation accuracy when only the remaining two subtasks are learned without learning each of them, in the same way as when all subtasks are learned. Then, when the subtask accuracy calculation module 106 calculates, it can record the results in the column 502 for learning when each subtask is excluded and the row 503 for the accuracy of each subtask.

また、各サブタスクを除いた学習時と全サブタスク学習時の除いたサブタスク以外のサブタスクの精度の差は、除いたサブタスクの学習による他のサブタスクへの影響を反映した値になる。つまり、サブタスク相互影響度計算モジュール107が計算する影響度を示すことになる。ここで、各サブタスクを除いた学習時の列502と全サブタスク学習時の列501の各サブタスクの精度の行503における差(精度の差)の平均値を、他のサブタスクへの影響度504に記録できる。つまり、サブタスク相互影響度計算モジュール107は、精度の行503の差の平均値を影響度として計算することになる。以上の影響度cの計算は、上述のようにサブタスク相互影響度計算モジュール107にて実現される。c_NER、 c_RE、c_CRは後述の総合優先スコア計算モジュール109にて使用する。 In addition, the difference in accuracy of subtasks other than the excluded subtasks when learning without each subtask and when learning all subtasks is a value that reflects the influence of the excluded subtask on other subtasks. In other words, it indicates the influence calculated by the subtask mutual influence calculation module 107. Here, the average value of the difference (accuracy difference) in the accuracy row 503 of each subtask in column 502 when learning without each subtask and column 501 when learning all subtasks can be recorded in the influence on other subtasks 504. In other words, the subtask mutual influence calculation module 107 calculates the average value of the difference in the accuracy row 503 as the influence. The above calculation of influence c is realized by the subtask mutual influence calculation module 107 as described above. c_NER, c_RE, and c_CR are used in the overall priority score calculation module 109, which will be described later.

次に、サブタスク優先スコア計算モジュール108の処理について説明する。ここで、サブタスク優先スコア計算モジュール108の出力を図6および図7に示す。
以下、図6および図7を参照して、サブタスク優先スコア計算モジュール108の処理について説明する。
Next, we will explain the processing of the subtask priority score calculation module 108. Here, the output of the subtask priority score calculation module 108 is shown in FIGS.
The processing of the subtask priority score calculation module 108 will be described below with reference to FIGS.

本実施形態では、固有表現抽出の優先スコアについては、テキストデータを形態素解析した各形態素について出力する。そして、その最大値によって、対象テキストデータの優先スコアを決定する。関係性抽出の優先スコアは、テキストデータ内のすべての固有表現の組み合わせについてそれぞれ計算し、その最大値によって対象テキストデータの優先スコアを決定する。名寄せについては、名寄せの対象となる形態素について、他の形態素と名寄せすべきかを判定した際の各出力の優先スコアの平均値を対象形態素の優先スコアとし、対象テキストデータの名寄せ優先スコアはその最大値とする。 In this embodiment, the priority score for named entity extraction is output for each morpheme obtained by morphologically analyzing text data. The maximum value of these scores is then used to determine the priority score for the target text data. The priority score for relationship extraction is calculated for each combination of all named entities in the text data, and the maximum value of these scores is used to determine the priority score for the target text data. For name matching, the priority score for the target morpheme is the average of the priority scores output when determining whether the morpheme to be matched should be matched with other morphemes, and the maximum value of these scores is used to determine the priority score for the target text data.

図6においては、ラベルなしデータ101のデータID201が1の優先スコア情報205の例を示す。ここで、1つのデータの固有表現抽出優先スコア601は、1つのデータの固有表現抽出サブタスクについての優先スコアの計算結果となっている。また、関係性抽出優先スコア602には、固有表現抽出によって固有表現と推定されたもののペアに関する関係性優先スコアの値を示している。名寄せ優先スコア603には固有表現抽出によって固有表現と推定されたものの名寄せ優先スコアを記載している。 Figure 6 shows an example of priority score information 205 for unlabeled data 101 with a data ID 201 of 1. Here, the named entity extraction priority score 601 for one piece of data is the calculation result of the priority score for the named entity extraction subtask for one piece of data. In addition, the relationship extraction priority score 602 indicates the value of the relationship priority score for pairs of entities inferred as named entities by named entity extraction. The name identification priority score 603 indicates the name identification priority score for entities inferred as named entities by named entity extraction.

また、図7では、各データでの各サブタスクの優先スコアを示す。ここで、ラベルなしデータ101と同様のデータID701、データ内容702に対して、各サブタスクの優先スコア703、704、705を示している。なお、本実施形態では、図6記載の1つのデータの要素の各サブタスクの優先スコアの最大値をそれぞれデータの各サブタスク優先スコアとしているが、全体の平均値やスコア上位数件の平均値などでもよい。以上の図6、図7に示す出力、つまり情報については、以下説明する優先スコア情報205として総合優先スコアと共に管理されてもよい。 Figure 7 also shows the priority score for each subtask for each data. Here, priority scores 703, 704, and 705 for each subtask are shown for the same data ID 701 and data content 702 as for the unlabeled data 101. Note that in this embodiment, the maximum value of the priority scores for each subtask of one data element shown in Figure 6 is used as the priority score for each subtask of the data, but this may also be the overall average value or the average value of the top few scores. The output, i.e., information, shown in Figures 6 and 7 above may be managed together with the overall priority score as priority score information 205, which will be described below.

次に、総合優先スコア計算モジュール109の処理について説明する。総合優先スコア計算モジュール109は、1つのデータにおける優先スコアおよび総合優先スコアを計算する。そこで、以下、これを参照しながら、総合優先スコア計算モジュール109の処理を説明する。なお、1つのデータにおける優先スコアおよび総合優先スコアを、優先スコア情報205として管理することができる。 Next, the processing of the overall priority score calculation module 109 will be explained. The overall priority score calculation module 109 calculates the priority score and overall priority score for a single piece of data. Therefore, the processing of the overall priority score calculation module 109 will be explained below with reference to this. Note that the priority score and overall priority score for a single piece of data can be managed as priority score information 205.

図9は、本実施形態における1つのデータにおける優先スコアを示す図である。総合優先スコア計算モジュール109は、1つのデータ内での各サブタスクの結果の優先スコアを統合して、全てのサブタスクでの優先スコアを計算している。具体的には、各サブタスクでのデータの各要素の優先スコアについて、サブタスクごとに計算した重みを掛け合わせ、全サブタスクでの優先スコアを計算している。なお、図6にて、記載の各サブタスクの対象データ901とそれがどのサブタスクの対象データか902、そして重み付き優先スコア903が記載している。 Figure 9 is a diagram showing the priority score for one piece of data in this embodiment. The overall priority score calculation module 109 integrates the priority scores resulting from each subtask within one piece of data to calculate the priority score for all subtasks. Specifically, the priority score for each element of the data in each subtask is multiplied by the weight calculated for each subtask to calculate the priority score for all subtasks. Note that Figure 6 lists the target data 901 for each listed subtask, the target data for which subtask 902, and the weighted priority score 903.

また、図10は、本実施形態におけるデータごとの総合優先スコアを示す図である。図10において、図7にて得られたラベルなしデータ101のデータID1001、データ内容1002に対する各サブタスクの優先スコア1003、1004、1005にそれぞれ重みをかけて足し合わせた総合優先スコア1006が示されている。つまり、総合優先スコア計算モジュール109は、ラベルなしデータ101のデータID1001、データ内容1002に対する各サブタスクの優先スコア1003、1004、1005にそれぞれ重みをかけて足し合わせて、総合優先スコア1006を計算する。このために、(数1)が用いられる。 Figure 10 is a diagram showing the overall priority score for each data item in this embodiment. Figure 10 shows the overall priority score 1006 obtained by weighting and adding up the priority scores 1003, 1004, and 1005 of each subtask for the data ID 1001 and data content 1002 of the unlabeled data 101 obtained in Figure 7. In other words, the overall priority score calculation module 109 calculates the overall priority score 1006 by weighting and adding up the priority scores 1003, 1004, and 1005 of each subtask for the data ID 1001 and data content 1002 of the unlabeled data 101. For this purpose, (Equation 1) is used.

なお、総合優先スコア計算モジュール109は、図9および図10で計算に用いる各サブタスクの重みを、各サブタスクの推定精度および各サブタスクの他のサブタスクへの影響度の関数として計算できる。この計算に用いる計算式を(数2)に示す。 The overall priority score calculation module 109 can calculate the weight of each subtask used in the calculations in Figures 9 and 10 as a function of the estimation accuracy of each subtask and the influence of each subtask on other subtasks. The formula used for this calculation is shown in (Equation 2).

(数2)において、1から推定精度を引いたものと影響度を掛け合わせることで、精度が悪いサブタスクや他のサブタスクへの影響度が大きいサブタスクの重みが大きくなるようになっている。また、(数2)内のα、βはそれぞれ精度、影響度に関するパラメータであり、後述のユーザインターフェイス内で調整可能である。また、(数2)以外の数式を用いてもよい。つまり、重みの計算式は精度、影響度の関数となっており、α、βがそれぞれ精度、影響度に関連するパラメータとなっている数式であればよいものとする。 In (Equation 2), by multiplying the result obtained by subtracting the estimated accuracy from 1 by the impact, a higher weight is assigned to subtasks with poor accuracy or subtasks with a large impact on other subtasks. Furthermore, α and β in (Equation 2) are parameters related to accuracy and impact, respectively, and can be adjusted in the user interface described below. Formulas other than (Equation 2) may also be used. In other words, the weight calculation formula is a function of accuracy and impact, and any formula in which α and β are parameters related to accuracy and impact, respectively, will suffice.

次に、本実施形態における処理フローについて説明する。図8は、本実施形態における全体の処理フロー図である。まず、ステップS801において、教師あり機械学習モジュール103が、ラベル付きデータ102の入力を受け付ける。また、ステップS802において、教師あり機械学習モジュール103が、受け付けたラベル付きデータ102を学習用データおよび検証用データに分割する。なお、ステップS802~ステップS808については、分割の仕方を複数パターン用意して実施し、精度や影響度の値は複数パターンの平均値を利用してもよい。 Next, the processing flow in this embodiment will be described. Figure 8 is an overall processing flow diagram in this embodiment. First, in step S801, the supervised machine learning module 103 accepts input of labeled data 102. In step S802, the supervised machine learning module 103 divides the accepted labeled data 102 into training data and validation data. Note that steps S802 to S808 may be performed using multiple division patterns, and the accuracy and impact values may use the average values of the multiple patterns.

また、ステップS803において、教師あり機械学習モジュール103が、各サブタスクモジュール104について、学習用データを用いての学習を行う。つまり、サブタスクについての学習を行う。また、ステップS804において、ステップS803で学習した教師あり機械学習モジュール103により、検証用データの推定をおこなう。 Furthermore, in step S803, the supervised machine learning module 103 performs learning using the learning data for each subtask module 104. In other words, learning is performed for the subtasks. Furthermore, in step S804, the supervised machine learning module 103 trained in step S803 estimates the validation data.

さらに、ステップS803~ステップS804と並行して、ステップS805~ステップS806を実行する。まず、ステップS805において、教師あり機械学習モジュール103が、1つのサブタスクモジュールを除いた自身を構成するサブタスクモジュール104について学習する。つまり、サブタスクについての学習を行う。本実施形態では、固有表現抽出、関係性抽出、名寄せの3つのサブタスクそれぞれを除いたパターンについて学習をおこなう。また、ステップS806では、教師あり機械学習モジュール103が、S805での学習結果に応じて、推定ラベルの推定を行う。 Furthermore, in parallel with steps S803 and S804, steps S805 and S806 are executed. First, in step S805, the supervised machine learning module 103 learns about the subtask modules 104 that make up itself, excluding one subtask module. In other words, it learns about the subtasks. In this embodiment, it learns about patterns excluding each of the three subtasks: named entity extraction, relationship extraction, and name matching. Furthermore, in step S806, the supervised machine learning module 103 estimates estimated labels based on the learning results of S805.

また、ステップS807において、サブタスク精度計算モジュール106が、S804で得られた検証用データでの推定結果である推定ラベルを入力し、全サブタスク学習時の各サブタスクの推定精度を計算する。つまり、図5に示す全サブタスク学習時の列501の各サブタスク精度の行503が計算されることになる。 Furthermore, in step S807, the subtask accuracy calculation module 106 inputs the estimated labels, which are the estimation results for the validation data obtained in S804, and calculates the estimation accuracy of each subtask during all subtask learning. In other words, row 503 of the subtask accuracy during all subtask learning column 501 shown in Figure 5 is calculated.

また、ステップS808において、サブタスク相互影響度計算モジュール107が、ステップS804およびステップS806で得られた推定結果を用いて、各サブタスクの他のサブタスクへの影響度を計算する。この計算方法については、図5を用いて説明済である。また、計算結果である影響度については、図5の他のサブタスクへの影響度504に例示している。 Furthermore, in step S808, the subtask mutual influence calculation module 107 calculates the influence of each subtask on other subtasks using the estimation results obtained in steps S804 and S806. This calculation method has already been explained using Figure 5. Furthermore, an example of the calculated influence is shown as influence on other subtasks 504 in Figure 5.

また、ステップS809において、教師あり機械学習モジュール103は、ラベルなしデータ101を受け付け、これに対する推定ラベルの推定を行う。この推定には、全タスク学習時のモデルを用いる。また、ステップS810において、サブタスク優先スコア計算モジュール108が、ステップS809で得られた推定結果について、各データ、各サブタスクの優先スコアを計算する。この計算結果の例については、図6、図7に示している。 In step S809, the supervised machine learning module 103 accepts the unlabeled data 101 and estimates the corresponding labels. This estimation uses the model used during all-task learning. In step S810, the subtask priority score calculation module 108 calculates the priority scores for each data and each subtask based on the estimation results obtained in step S809. Examples of the calculation results are shown in Figures 6 and 7.

また、ステップS811において、総合優先スコア計算モジュール109が、ステップS807で得られた推定精度、ステップS808で得られた影響度およびS810で得られた各ラベルなしデータ101の推定結果に基づいて、総合優先スコアを計算する。また、総合優先スコア計算モジュール109は、各1つのデータ内での各要素の優先スコアも計算することが望ましい。この計算結果の例については、図9、図10に示している。 Furthermore, in step S811, the overall priority score calculation module 109 calculates an overall priority score based on the estimation accuracy obtained in step S807, the influence obtained in step S808, and the estimation results for each unlabeled data 101 obtained in S810. It is also desirable that the overall priority score calculation module 109 also calculates the priority score for each element within each piece of data. Examples of this calculation result are shown in Figures 9 and 10.

また、ステップS812において、ラベル修正モジュール110が、総合優先スコア順に推定結果を出力する。例えば、ラベル修正モジュール110は、表示デバイスに推定結果を出力し、表示デバイスがこれを含む確認画面表示する。この結果、アノテータが、推定結果を確認でき、必要に応じて修正内容を入力する。そして、ラベル修正モジュール110が、入力された修正内容等に応じて、推定結果、つまり、推定ラベルの修正を行う。なお、確認画面の具体的な内容については、図11および図12で後述する。 Furthermore, in step S812, the label correction module 110 outputs the estimation results in order of overall priority score. For example, the label correction module 110 outputs the estimation results to a display device, which then displays a confirmation screen including the results. As a result, the annotator can check the estimation results and input corrections as necessary. The label correction module 110 then corrects the estimation results, i.e., the estimated labels, in accordance with the input corrections, etc. The specific contents of the confirmation screen will be described later with reference to Figures 11 and 12.

次に、ステップS814において、ラベル修正モジュール110が、確認するデータの追加が必要かを判断する。追加が必要かどうかの判断は、アノテータからの入力に従って行ってもよいし、事前に基準を用意しておきこれに基づき行ってもよい。この結果、追加が必要な場合は(Yes)、ステップS813に遷移する。また、必要でない場合は(No)、ステップS815に遷移する。 Next, in step S814, the label correction module 110 determines whether additional data to be checked is required. The determination of whether additional data is required may be made based on input from the annotator, or may be made based on criteria prepared in advance. If the result indicates that additional data is required (Yes), the process proceeds to step S813. If additional data is not required (No), the process proceeds to step S815.

また、ステップS813では、総合優先スコア再計算モジュール111が、総合優先スコアを再計算する。再計算においては、確認済みのデータについて、推定結果と確認修正後のデータを比較して、各サブタスクの推定精度を計算する。これを受けて、総合優先スコア再計算モジュール111は、ステップS807で算出した推定精度とそれぞれ対象となるデータ数で重みづけした加重平均により各サブタスクの精度を更新する。そして、総合優先スコア再計算モジュール111は、更新された各サブタスクの推定精度に応じて、ステップS808の各サブタスクの他タスクへの影響度も更新する。このことで、総合優先スコア再計算モジュール111は、ステップS811の各サブタスクの優先スコアに対する重みを再計算する。この結果、重みの再計算を反映した総合優先スコアの再計算が実現できる。総合優先スコアが再計算されると、まだ確認していないデータについて、ステップS812の処理が実行される。 Furthermore, in step S813, the overall priority score recalculation module 111 recalculates the overall priority score. In the recalculation, for the confirmed data, the estimation result is compared with the confirmed and corrected data to calculate the estimation accuracy of each subtask. In response, the overall priority score recalculation module 111 updates the accuracy of each subtask using a weighted average weighted by the estimation accuracy calculated in step S807 and the number of target data items. The overall priority score recalculation module 111 then updates the influence of each subtask on other tasks in step S808 according to the updated estimation accuracy of each subtask. In this way, the overall priority score recalculation module 111 recalculates the weight for the priority score of each subtask in step S811. As a result, the overall priority score can be recalculated to reflect the recalculated weight. Once the overall priority score has been recalculated, the processing of step S812 is executed for data that has not yet been confirmed.

また、ステップS815において、ラベル修正モジュール110が、再学習が必要か判断をする。この判断に関しても、ラベル修正モジュール110が、事前に基準を用意しておき判断してもよいし、アノテータからの入力に応じて判断してもよい。この結果、再学習が必要な場合には(Yes)、ステップS816に遷移する。また、再学習が不要な場合には(No)、処理を終了する。 In step S815, the label correction module 110 determines whether re-learning is necessary. Regarding this determination, the label correction module 110 may prepare criteria in advance and make the determination, or may make the determination based on input from the annotator. If re-learning is necessary (Yes), the process proceeds to step S816. If re-learning is not necessary (No), the process ends.

また、ステップS816において、教師あり機械学習モジュール103が、確認済みのデータをラベル付きデータ102に追加する。そして、ステップS801において、追加されたラベル付きデータ102を用いて、教師あり機械学習モジュール103の再学習を行う。以下、ステップS801~ステップS815の処理を繰り返す。以上で、本フロー図の説明を終わる。 Furthermore, in step S816, the supervised machine learning module 103 adds the confirmed data to the labeled data 102. Then, in step S801, the supervised machine learning module 103 re-trains using the added labeled data 102. Thereafter, the processes of steps S801 to S815 are repeated. This concludes the explanation of this flow diagram.

次に、ステップS812で表示デバイスに表示される確認画面について説明する。図11および図12は、本実施形態における確認画面を示す図である。まず、図11は、本実施形態における確認すべきデータ全体についての確認画面1100を示す図である。図11において、確認画面1100は、確認すべきデータ1101、データID1102、データ内容1103、ラベル1104の各表示領域を有する。また、確認画面1100には、編集ボタン1105、総合優先スコア調整スライドバー1106、確認データ追加ボタン1107、再学習ボタン1108、完了ボタン1109のボタンといった指定ツールが表示される。 Next, the confirmation screen displayed on the display device in step S812 will be described. Figures 11 and 12 are diagrams showing confirmation screens in this embodiment. First, Figure 11 is a diagram showing a confirmation screen 1100 for all data to be confirmed in this embodiment. In Figure 11, the confirmation screen 1100 has display areas for the data to be confirmed 1101, data ID 1102, data content 1103, and label 1104. In addition, the confirmation screen 1100 displays designation tools such as an edit button 1105, a total priority score adjustment slide bar 1106, an add confirmation data button 1107, a re-learn button 1108, and a complete button 1109.

まず、確認すべきデータ1101には、確認すべきデータおよびその推定結果が表示される。このとき、ラベルなしデータ101とその推定結果について、総合優先スコア計算モジュール109や総合優先スコア再計算モジュール111で各データに対して計算された総合優先スコア1006が大きい順に並び替え、予め指定した件数のデータが表示される。また、データID1102およびデータ内容1103には、ラベルなしデータ101内のデータID201およびデータ内容202に相当する情報が表示される。 First, the data to be confirmed 1101 displays the data to be confirmed and its estimation results. At this time, the unlabeled data 101 and its estimation results are sorted in descending order of the overall priority score 1006 calculated for each data by the overall priority score calculation module 109 and overall priority score recalculation module 111, and a pre-specified number of data items are displayed. Furthermore, data ID 1102 and data content 1103 display information corresponding to the data ID 201 and data content 202 in the unlabeled data 101.

また、ラベル1104には、推定結果、つまり、推定ラベルが表示される。このときサブタスクごとに推定結果が表示されてもよいが、本例では、固有表現抽出、関係性抽出、名寄せの結果を組み合わせて、データから推定されるイベント抽出の結果が表示されている。また、編集ボタン1105は、各データの詳細を確認、編集するために用いられるボタンである。アノテータが編集ボタン1105を指定すると、各データの詳細確認画面1200に遷移する。遷移後の詳細確認画面1200については、図12にて後述する。 Label 1104 displays the inference result, i.e., the inferred label. At this time, the inference result may be displayed for each subtask, but in this example, the results of named entity extraction, relationship extraction, and name matching are combined to display the result of event extraction inferred from the data. Furthermore, edit button 1105 is a button used to check and edit the details of each piece of data. When the annotator selects edit button 1105, the screen transitions to a details confirmation screen 1200 for each piece of data. The details confirmation screen 1200 after the transition will be described later with reference to Figure 12.

また、総合優先スコア調整スライドバー1106は、総合優先スコアに関する調整を行うために用いられる。つまり、アノテータから指定されるサブタスクの精度、他サブタスクへの影響度のスライドバーの値に応じて、各データの総合優先スコアが再計算される。このために、総合優先スコア再計算モジュール111は、指定された値に応じて、(数1)のα、βの値を変更し、各データの総合優先スコアを再計算する。再計算すると、総合優先スコア再計算モジュール111は、データを再度総合優先スコアの順に並び変えて、確認画面1100の確認すべきデータ1101に表示する。 The overall priority score adjustment slide bar 1106 is also used to make adjustments to the overall priority score. In other words, the overall priority score for each piece of data is recalculated according to the values of the slide bars for the subtask accuracy and impact on other subtasks specified by the annotator. To do this, the overall priority score recalculation module 111 changes the values of α and β in (Equation 1) according to the specified values, and recalculates the overall priority score for each piece of data. After recalculation, the overall priority score recalculation module 111 re-sorts the data in order of overall priority score and displays it in the data to be confirmed 1101 on the confirmation screen 1100.

また、アノテータにより、確認データ追加ボタン1107を押されると、ステップS813での再計算が実行される。つまり、総合優先スコア再計算モジュール111が、これまで確認すべきデータ1101における精度を用いて総合優先スコアを再計算し、再びステップS812に戻る。 Also, when the annotator presses the Add Confirmation Data button 1107, recalculation is performed in step S813. That is, the overall priority score recalculation module 111 recalculates the overall priority score using the accuracy of the data 1101 to be confirmed up to that point, and the process returns to step S812.

また、アノテータにより、再学習ボタン1108を押されると、ステップ816の処理が実行される。つまり、教師あり機械学習モジュール103が、確認済みのデータをラベル付きデータ102に追加し、ステップS801に戻る。さらに、アノテータにより、完了ボタン1109が押されると、図8記載の処理フローを終了する。 Furthermore, when the annotator presses the Relearn button 1108, the processing of step S816 is executed. That is, the supervised machine learning module 103 adds the verified data to the labeled data 102, and the processing returns to step S801. Furthermore, when the annotator presses the Done button 1109, the processing flow described in Figure 8 ends.

次に、編集ボタン1105が押された場合に表示される詳細確認画面1200およびその際の処理について説明する。図12は、本実施形態における詳細確認画面1200を示す図である。本例では、図11のデータIDが1の場合について示す。図12において、詳細確認画面1200には、データの本文1201および確認項目1202の各表示領域と、YESボタン1203、NOボタン1204が表示される。なお、詳細確認画面1200も上述の表示デバイスに表示されることになる。 Next, we will explain the details confirmation screen 1200 that is displayed when the edit button 1105 is pressed, and the processing that is performed at that time. Figure 12 is a diagram showing the details confirmation screen 1200 in this embodiment. This example shows the case where the data ID in Figure 11 is 1. In Figure 12, the details confirmation screen 1200 displays display areas for the data body 1201 and confirmation items 1202, as well as a YES button 1203 and a NO button 1204. Note that the details confirmation screen 1200 will also be displayed on the display device described above.

まず、データの本文1201には、データ内容が表示される。本例では、確認項目に応じたハイライト表示がされ、テキスト中のどの部分に注目するか、も示される。 First, the data content is displayed in the data body 1201. In this example, the confirmation items are highlighted, and it is also indicated which parts of the text to focus on.

また、確認項目1202には、本画面で確認する内容が表示される。この表示は、図9に記載の重み付き優先スコア903の順に行われる。図12では、最も重み付き優先スコアの高い「部品A」に関する固有表現抽出について確認するための表示がされている。この表示のためには、固有表現抽出、関係性抽出、名寄せといった各サブタスクに応じて、質問する形式を事前に定められていることが望ましい。例えば、固有表現抽出であれば「「部品A」は部品名ですか?」、関係性抽出では「「部品A」と「交換」の間に関係はありますか?」、名寄せでは「「部品A」は「AAA」に言い換えてよいですか?」のような形で質問の形式が定められている。 In addition, confirmation item 1202 displays the content to be confirmed on this screen. This display is performed in the order of the weighted priority score 903 shown in Figure 9. In Figure 12, a display is shown for confirming named entity extraction for "Part A", which has the highest weighted priority score. For this display, it is desirable to pre-determine the question format for each subtask, such as named entity extraction, relationship extraction, and name matching. For example, for named entity extraction, the question format is defined as "Is 'Part A' a part name?"; for relationship extraction, "Is there a relationship between 'Part A' and 'Replace'?"; and for name matching, "Can 'Part A' be rephrased as 'AAA'?".

また、YESボタン1203およびNOボタン1204は、詳細確認に対するアノテータのフィードバックを受け付ける。YESボタン1203が押された場合には、ラベル修正モジュール110が、そのまま確認済みデータに追加する。NOボタン1204が押された場合には、ラベル修正モジュール110が、ラベルが間違っている、という情報だけをラベル付きデータとして保存してもよいし、正しいラベルへの修正をアノテータにさせてもよい。以上のように、各ボタンが押されると、ラベル修正モジュール110が、図9記載の重み付き優先スコア903に合わせて、次に優先スコアの大きい確認項目を確認項目1202に表示する。この結果、アノテータがこの内容を確認できる。また、1つの確認データについて、一定数の確認が完了した場合は、図11の画面に戻る。以上で、実施実施形態の処理の説明を終了する。 The YES button 1203 and NO button 1204 accept the annotator's feedback regarding the detailed confirmation. If the YES button 1203 is pressed, the label correction module 110 adds the data to the confirmed data as is. If the NO button 1204 is pressed, the label correction module 110 may save only the information that the label is incorrect as labeled data, or may have the annotator correct the label. As described above, when each button is pressed, the label correction module 110 displays the confirmation item with the next highest priority score in the confirmation item 1202, in accordance with the weighted priority score 903 shown in Figure 9. As a result, the annotator can confirm this content. Furthermore, when a certain number of confirmations have been completed for one confirmation data, the screen returns to the screen shown in Figure 11. This concludes the explanation of the processing in this embodiment.

ここで、本実施形態のアノテーション装置1は、クラウドシステムで実現するアノテーションシステムとして構成できる。以下、この構成構成について説明する。図13は、本実施形態におけるアノテーションシステムの構成図である。本実施形態では、アノテーション装置1、端末装置2、企業端末装置3と企業サーバ4で構成される企業システムが、ネットワーク5を介して接続される。つまり、クラウドシステムとしてアノテーションシステムが構成される。 The annotation device 1 of this embodiment can be configured as an annotation system realized by a cloud system. This configuration will be described below. Figure 13 is a configuration diagram of the annotation system of this embodiment. In this embodiment, a corporate system consisting of the annotation device 1, terminal device 2, corporate terminal device 3, and corporate server 4 is connected via network 5. In other words, the annotation system is configured as a cloud system.

まず、アノテーション装置1は、いわゆるサーバ等のコンピュータで実現できる。このため、アノテーション装置1は、処理装置11、通信装置12、メモリ13および補助記憶装置14を有し、これらが通信路を介して互いに接続されている。また、図13のアノテーション装置1は、イベント抽出タスクが実行された文書に対する演算(音声合成等)を行う演算装置群15を設けたが、これは省略できる。また、演算装置群15は、例えば、FPGA(Field-Programmable Gate Array)など専用回路で実現してもよいし、下記の処理装置11が、文書に対する演算を実行してもよい。さらに、文書に対する演算は、端末装置2や機能システムなどアノテーション装置1以外で実行してもよい。 First, the annotation device 1 can be realized by a computer such as a server. To this end, the annotation device 1 has a processing device 11, a communication device 12, a memory 13, and an auxiliary storage device 14, which are connected to each other via a communication path. Furthermore, the annotation device 1 in FIG. 13 is provided with a group of calculation devices 15 that perform calculations (such as voice synthesis) on documents for which an event extraction task has been executed, but this can be omitted. Furthermore, the group of calculation devices 15 may be realized by a dedicated circuit such as an FPGA (Field-Programmable Gate Array), or the processing device 11 described below may perform calculations on documents. Furthermore, calculations on documents may be performed by a device other than the annotation device 1, such as a terminal device 2 or a functional system.

まず、処理装置11は、CPU(Central Processing Unit)といったプロセッサで実現でき、後述する補助記憶装置14に記憶されているプログラムに従って計算等の処理を実行する。また、通信装置12は、ネットワーク5を介して、他の装置との通信を行う。また、メモリ13は、補助記憶装置14に記憶されているプログラムや処理装置11での処理に用いられる情報が展開される。 First, the processing device 11 can be realized by a processor such as a CPU (Central Processing Unit), and performs processes such as calculations in accordance with programs stored in the auxiliary storage device 14 (described below). The communication device 12 communicates with other devices via the network 5. The memory 13 stores the programs stored in the auxiliary storage device 14 and information used for processing by the processing device 11.

また、補助記憶装置14は、いわゆるストレージで実現でき、上述のプログラムや情報を記憶する。また、補助記憶装置14は、外付けのHDD(Hard Disk Drive)、SSD(Solid State Drive)、メモリカードなどの各種記憶媒体で実現してもよい。さらに、これらの情報の少なくとも1つは、本装置以外のデータベースシステムに記憶してもよい。 The auxiliary storage device 14 can be realized as a so-called storage device, and stores the above-mentioned programs and information. The auxiliary storage device 14 may also be realized as various storage media, such as an external HDD (Hard Disk Drive), SSD (Solid State Drive), or memory card. Furthermore, at least one of this information may be stored in a database system other than this device.

ここで、図13に示す例では、図1の各モジュールをコンピュータプログラムで実現する。このため、補助記憶装置14は、教師あり機械学習モジュール103、サブタスク精度計算モジュール106、サブタスク相互影響度計算モジュール107、サブタスク優先スコア計算モジュール108、総合優先スコア計算モジュール109およびラベル修正モジュール110、総合優先スコア再計算モジュール111からなるプログラムを記憶する。したがって、処理装置11では、コンピュータプログラムに従って、各モジュールの処理を実行することになる。なお、各モジュールは、独立したプログラムとして実現してもよい、その一部の組合せでプログラムを構成してもよい。 In the example shown in Figure 13, each module in Figure 1 is implemented as a computer program. To this end, the auxiliary storage device 14 stores a program consisting of a supervised machine learning module 103, a subtask accuracy calculation module 106, a subtask mutual influence calculation module 107, a subtask priority score calculation module 108, an overall priority score calculation module 109, a label correction module 110, and an overall priority score recalculation module 111. Therefore, the processing device 11 executes the processing of each module in accordance with the computer program. Note that each module may be implemented as an independent program, or a program may be configured by combining parts of these programs.

さらに、補助記憶装置14は、ラベルなしデータ101、ラベル付きデータ102、サブタスク精度情報204および優先スコア情報205を記憶する。これらについては、上述したとおりの内容である。以上で、アノテーション装置1の説明を終わる。 Furthermore, the auxiliary storage device 14 stores unlabeled data 101, labeled data 102, subtask accuracy information 204, and priority score information 205. These are as described above. This concludes the description of the annotation device 1.

次に、端末装置2は、アノテータが利用する端末装置であり、PC、タブレット、スマートフォンなどのコンピュータで実現できる。このため、端末装置2は、上述の入力デバイスや表示デバイスを有することが望ましい。また、上述の各モジュールの何れかの機能を、端末装置2に設けてもよい。 Next, terminal device 2 is a terminal device used by an annotator, and can be realized by a computer such as a PC, tablet, or smartphone. For this reason, it is desirable for terminal device 2 to have the input device and display device described above. In addition, the functions of any of the modules described above may be provided in terminal device 2.

企業システムは、企業端末装置3-1、3-2(以下、単に企業端末装置3と称する)と業務サーバ4-1、4-2(以下、単に企業サーバ4と称する)で構成され、該当の企業の業務を行うために用いられる。本実施形態では、対象のデータである文書を用いた業務が実行される。そして、本実施形態は、複数の企業それぞれの企業システムから、ネットワーク5を介して、アノテーション装置1にアクセス、利用できる構成である。このネットワーク5は、インターネットのような広域ネットワークで実現できる。但し、アノテーション装置1は所定の企業の専用システムとして構築してもよい。 A corporate system is composed of corporate terminal devices 3-1 and 3-2 (hereinafter simply referred to as corporate terminal devices 3) and business servers 4-1 and 4-2 (hereinafter simply referred to as corporate servers 4), and is used to carry out the business of the relevant company. In this embodiment, business is carried out using documents, which are the target data. This embodiment is configured so that the annotation device 1 can be accessed and used from the corporate systems of multiple companies via a network 5. This network 5 can be realized as a wide area network such as the Internet. However, the annotation device 1 may also be constructed as a dedicated system for a specific company.

また、企業端末装置3は、当該企業の従業員が、アノテータとして利用してもよい。つまり、企業端末装置3が、端末装置2と同様の機能を実行してもよい。このように、企業端末装置3は、アノテーション装置1の入出力デバイスとして機能してもよいし、文書に関する業務を遂行するための機能を実行してもよい。さらに、企業端末装置3は、その両方の機能を実行してもよい。以上で、図13の説明を終わるが、本実施形態のアノテーション装置1はいわゆるスタンドアロン型で構成してもよいし、PC等の端末装置側にその機能を設けてもよい。 The company terminal device 3 may also be used by an employee of the company as an annotator. In other words, the company terminal device 3 may perform the same functions as the terminal device 2. In this way, the company terminal device 3 may function as an input/output device for the annotation device 1, or may perform functions for carrying out document-related tasks. Furthermore, the company terminal device 3 may perform both of these functions. This concludes the explanation of Figure 13. The annotation device 1 of this embodiment may be configured as a so-called standalone type, or this function may be provided on the terminal device side, such as a PC.

以上で、本実施形態の説明を終わるが、本発明は上述の態様に限定されない。例えば、文書以外のデータにも適用できる。さらに、本実施形態では、サブタスクを対象単位に処理を行ったが、タスクやサブタスクの組合せを対象としてもよい。 This concludes the explanation of this embodiment, but the present invention is not limited to the above-mentioned aspects. For example, it can also be applied to data other than documents. Furthermore, in this embodiment, processing is performed on a subtask-by-subtask basis, but it may also be performed on a combination of tasks or subtasks.

101 ラベルなしデータ
102 ラベル付きデータ
103 教師あり機械学習モジュール
104 サブタスクモジュール
105 共有モデル
106 サブタスク精度計算モジュール
107 サブタスク相互影響度計算モジュール
108 サブタスク優先スコア計算モジュール
109 総合優先スコア計算モジュール
110 ラベル修正モジュール
111 総合優先スコア再計算モジュール
401 固有表現抽出モデル
402 関係性抽出モデル
403 名寄せモデル
404 テキストデータ
405 ベクトル表現
406 特徴量ベクトル
407 固有表現ラベル
408 関係性ラベル
409 名寄せ推定ラベル
101 Unlabeled data 102 Labeled data 103 Supervised machine learning module 104 Subtask module 105 Shared model 106 Subtask accuracy calculation module 107 Subtask mutual influence calculation module 108 Subtask priority score calculation module 109 Overall priority score calculation module 110 Label correction module 111 Overall priority score recalculation module 401 Named entity extraction model 402 Relationship extraction model 403 Name matching model 404 Text data 405 Vector representation 406 Feature vector 407 Named entity label 408 Relationship label 409 Name matching estimation label

Claims (10)

機械学習のラベル付けを実現するアノテーション装置において、
前記機械学習のタスクを構成する複数のサブタスクのそれぞれに対して、ラベル付きデータを用いて学習し、ラベルなしデータに対する推定ラベルを推定する複数のサブタスクモジュールを有する教師あり機械学習モジュールと、
前記サブタスクモジュールでの学習による他のサブタスクモジュールへの影響の度合いを示す影響度を計算するサブタスク相互影響度計算モジュールと、
前記影響度に基づく総合優先スコアに応じて提示された前記推定ラベルに対する確認結果に応じて、当該推定ラベルを修正するラベル修正モジュールを有するアノテーション装置。
In an annotation device that realizes machine learning labeling,
a supervised machine learning module having a plurality of subtask modules that learn using labeled data and estimate estimated labels for unlabeled data for each of a plurality of subtasks that make up the machine learning task;
a subtask mutual influence calculation module that calculates an influence indicating the degree of influence of learning in the subtask module on other subtask modules;
An annotation device having a label correction module that corrects the estimated label in accordance with a confirmation result of the estimated label presented in accordance with a total priority score based on the influence degree.
請求項1に記載のアノテーション装置において、
さらに、前記推定ラベルの精度を示す推定精度を計算するサブタスク精度計算モジュールを有し、
前記ラベル修正モジュールは、前記推定精度および前記影響度に基づく、総合優先スコアに応じて提示された前記推定ラベルに対する確認結果に応じて、当該推定ラベルを修正するアノテーション装置。
The annotation device according to claim 1,
Further, a subtask accuracy calculation module is provided for calculating an estimation accuracy indicating the accuracy of the estimated label,
The label correction module corrects the estimated label in accordance with a confirmation result of the estimated label presented according to an overall priority score based on the estimation accuracy and the influence.
請求項2に記載のアノテーション装置において、
さらに、前記複数のサブタスクモジュールで扱われるデータのデータ単位ごとの確認の順序に関するサブタスク優先スコアを計算するサブタスク優先スコア計算モジュールを有し、
前記ラベル修正モジュールは、前記推定精度、前記影響度および前記サブタスク優先スコアに基づく、総合優先スコアに応じて提示された前記推定ラベルに対する確認結果に応じて、当該推定ラベルを修正するアノテーション装置。
The annotation device according to claim 2,
further comprising a subtask priority score calculation module that calculates a subtask priority score relating to the order of confirmation for each data unit of the data handled by the plurality of subtask modules;
The label correction module corrects the estimated label in accordance with a confirmation result of the estimated label presented according to an overall priority score based on the estimation accuracy, the influence, and the subtask priority score.
請求項3に記載のアノテーション装置において、
さらに、前記推定精度、前記影響度および前記サブタスク優先スコアを用いて、前記総合優先スコアとして、前記ラベルなしデータの総合優先スコアを計算する総合優先スコア計算モジュールを有するアノテーション装置。
The annotation device according to claim 3,
The annotation device further includes an overall priority score calculation module that calculates an overall priority score for the unlabeled data as the overall priority score using the estimation accuracy, the influence, and the subtask priority scores.
請求項4に記載のアノテーション装置において、
さらに、前記ラベル修正モジュールによる前記推定ラベルの修正に応じて、前記総合優先スコアを再計算する再総合優先スコア計算モジュールを有するアノテーション装置。
The annotation device according to claim 4,
The annotation device further includes a re-overall priority score calculation module that recalculates the overall priority score in response to correction of the estimated label by the label correction module.
アノテーション装置を用いた、機械学習のラベル付けを実現するアノテーション方法において、
ラベルなしデータに対する推定ラベルを推定する複数のサブタスクモジュールを有する教師あり機械学習モジュールにより、前記機械学習のタスクを構成する複数のサブタスクのそれぞれに対して、ラベル付きデータを用いて学習し、
前記サブタスクモジュールでの学習による他のサブタスクモジュールへの影響の度合いを示す影響度を計算し、
前記影響度に基づく総合優先スコアに応じて提示された前記推定ラベルに対する確認結果に応じて、当該推定ラベルを修正するアノテーション方法。
An annotation method for realizing machine learning labeling using an annotation device,
A supervised machine learning module having a plurality of subtask modules for estimating estimated labels for unlabeled data is used to learn, using labeled data, each of a plurality of subtasks constituting the machine learning task;
Calculating an influence level indicating the degree of influence of learning in the subtask module on other subtask modules;
The annotation method modifies the estimated label according to a confirmation result of the estimated label presented according to the overall priority score based on the influence.
請求項6に記載のアノテーション方法において、
さらに、前記推定ラベルの精度を示す推定精度を計算し、
前記推定精度および前記影響度に基づく、総合優先スコアに応じて提示された前記推定ラベルに対する確認結果に応じて、当該推定ラベルを修正するアノテーション方法。
The annotation method according to claim 6,
Furthermore, an estimation accuracy indicating the accuracy of the estimated label is calculated,
An annotation method that modifies the estimated label according to a confirmation result for the estimated label presented according to an overall priority score based on the estimation accuracy and the influence.
請求項7に記載のアノテーション方法において、
さらに、前記複数のサブタスクモジュールで扱われるデータのデータ単位ごとの確認の順序に関するサブタスク優先スコアを計算し、
前記推定精度、前記影響度および前記サブタスク優先スコアに基づく、総合優先スコアに応じて提示された前記推定ラベルに対する確認結果に応じて、当該推定ラベルを修正するアノテーション方法。
The annotation method according to claim 7,
Furthermore, a subtask priority score is calculated for each data unit of the data handled by the plurality of subtask modules, and the subtask priority score is calculated for each data unit of the data handled by the plurality of subtask modules.
An annotation method that modifies the estimated label according to a confirmation result of the estimated label presented according to an overall priority score based on the estimation accuracy, the influence, and the subtask priority score.
請求項8に記載のアノテーション方法において、
さらに、前記推定精度、前記影響度および前記サブタスク優先スコアを用いて、前記総合優先スコアとして、前記ラベルなしデータの総合優先スコアを計算するアノテーション方法。
The annotation method according to claim 8,
Furthermore, the annotation method calculates an overall priority score for the unlabeled data using the estimation accuracy, the influence, and the subtask priority score as the overall priority score.
請求項9に記載のアノテーション方法において、
さらに、前記推定ラベルの修正に応じて、前記総合優先スコアを再計算するアノテーション方法。
The annotation method according to claim 9,
Furthermore, the annotation method recalculates the overall priority score in response to modifications of the estimated label .
JP2022155641A 2022-09-29 2022-09-29 Annotation device and method Active JP7822292B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2022155641A JP7822292B2 (en) 2022-09-29 2022-09-29 Annotation device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2022155641A JP7822292B2 (en) 2022-09-29 2022-09-29 Annotation device and method

Publications (2)

Publication Number Publication Date
JP2024049419A JP2024049419A (en) 2024-04-10
JP7822292B2 true JP7822292B2 (en) 2026-03-02

Family

ID=90622304

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2022155641A Active JP7822292B2 (en) 2022-09-29 2022-09-29 Annotation device and method

Country Status (1)

Country Link
JP (1) JP7822292B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7710641B1 (en) * 2023-11-29 2025-07-18 三菱電機株式会社 DATA ANALYSIS APPARATUS, INFORMATION PROCESSING SYSTEM, AND DATA ANALYSIS METHOD

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021038886A1 (en) 2019-08-30 2021-03-04 富士通株式会社 Learning method, learning program, and learning device
WO2021055189A1 (en) 2019-09-18 2021-03-25 Luminex Corporation Using machine learning algorithms to prepare training datasets

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021038886A1 (en) 2019-08-30 2021-03-04 富士通株式会社 Learning method, learning program, and learning device
WO2021055189A1 (en) 2019-09-18 2021-03-25 Luminex Corporation Using machine learning algorithms to prepare training datasets

Also Published As

Publication number Publication date
JP2024049419A (en) 2024-04-10

Similar Documents

Publication Publication Date Title
AU2019261735B2 (en) System and method for recommending automation solutions for technology infrastructure issues
Uddin et al. Software defect prediction employing BiLSTM and BERT-based semantic feature
US12511487B2 (en) Augmented question and answer (Q and A) with large language models
US12399905B2 (en) Context-sensitive linking of entities to private databases
US11170257B2 (en) Image captioning with weakly-supervised attention penalty
CN111738532B (en) Method and system for acquiring influence degree of event on object
US12153888B2 (en) Multi-task triplet loss for named entity recognition using supplementary text
US10929761B2 (en) Systems and methods for automatically detecting and repairing slot errors in machine learning training data for a machine learning-based dialogue system
CN112288279A (en) Business risk assessment method and device based on natural language processing and linear regression
US12361212B2 (en) System and method for generating and extracting data from machine learning model outputs
KR101983517B1 (en) Method and system for augmenting the credibility of documents
WO2024159819A1 (en) Training method, layout analysis method, quality assessment method, and apparatuses, device, and medium
CN119378494A (en) An entity relationship extraction method and system for building knowledge graphs in the financial field
JP7822292B2 (en) Annotation device and method
US12411871B1 (en) Apparatus and method for generating an automated output as a function of an attribute datum and key datums
Rama-Maneiro et al. Exploiting recurrent graph neural networks for suffix prediction in predictive monitoring
US20250348741A1 (en) Automatic label generation with confidence scores for training a machine learning model to perform line item extraction
US20250173782A1 (en) Machine learning based approach for automatically predicting a classification for transactions based on industry name embeddings
CN113780365A (en) Sample generation method and apparatus
Faragó et al. A full-fledged commit message quality checker based on machine learning
US20240202551A1 (en) Visual Question Answering for Discrete Document Field Extraction
Wang et al. Globaltagnet: A graph-based framework for multi-label classification in github issues
Ghafoori AI-driven business performance assessment
Banipal et al. Context Aware Auto-AI Framework
Davoodi Decoding Customer Sentiment: AI-Driven Insights into E-Commerce Trust and Satisfaction

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20250214

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20251209

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20251216

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20260119

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: 20260127

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20260217

R150 Certificate of patent or registration of utility model

Ref document number: 7822292

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150