UiPath Documentation
ixp
2.2610
true
IXP in Flow ユーザー ガイド

モデルのパフォーマンスを評価する

Performance metrics for IXP models in the Extract node of UiPath Maestro™ Flow, including the node health score, the field and document metrics of each evaluation run, and model version comparisons.

概要​

フロー 抽出 ノードのモデルのパフォーマンスは、以下の場所で評価できます。

  • Definition tab shows a summary of the latest evaluation, including the F1 score.
  • Eval runs tab lists all evaluation runs, including the document error rate of each run, and shows the field group, field, and document level performance of each run.

For help interpreting the results, check Example scenarios for interpreting evaluation results.

ノードのヘルス スコア​

ノードのヘルス スコアは、フロー 抽出 ノードの現在のモデル バージョンのパフォーマンスを要約したものです。これは、次の場所に表示されます。

  • The Definition section of the node properties. To open it, point to the Flow Extract node and select Edit.

  • The Definition tab. To open it, point to the Flow Extract node and select Open full view.

ヘルス スコアは以下を示します。

  • F1 score: The average of the F1 scores of all fields in the taxonomy.
  • Rating: Good, Fair, or Poor.
  • Annotated docs: The number of annotated documents.
  • The model version the score comes from and the extraction model used by that version.

F1 スコアは、以下のように色分けされます。

色F1 スコア
緑80%以上
黄40% から 79%
赤40% 未満

ヘルス スコアは、ノードのデータセットにあるすべてのアノテーション済みのドキュメントを含む評価の実行から生成されます。ドキュメントのサブセットに対する評価の実行は、ヘルス スコアには影響しません。

To view the evaluation runs behind the score, select the model name. The runs open in the Eval runs tab.

注:

健全なモデルのスコアは 「良好」 で、フィールドのパフォーマンス警告はありません。

[評価の実行] タブでの評価​

Each evaluation run outputs the performance of a model version tested on a selection of the annotated documents in the dataset of the node. A new model version is created when you run an evaluation that includes changes not yet evaluated, such as changes to the taxonomy, including instructions, or to the model configuration. Making these changes does not create a model version by itself. For details, check Changes not evaluated.

評価の実行を表示する​

ノードの評価の実行を表示するには、以下の手順を実行します。

  1. Point to the Flow Extract node and select Open full view.

  2. [ 評価の実行 ] タブに移動します。

このリストには、各評価の実行について以下の詳細が表示されます。

  • Name: The name of the evaluation run.
  • Version: The model version evaluated in the run. Runs that match the current node definition show the Matches current def label.
  • Status: The status of the run, which is Completed, Cancelled, Running, or Failed.
  • F1 score: The average F1 score across all fields.
  • Doc error rate: The average of the error rates of the annotated documents.
  • Documents: The number of documents evaluated.
  • Started: When the run started.
  • Duration: How long the run took.

To filter the list by status, select the filter icon and choose one or more of the following options:

  • Running (実行中)
  • 完了
  • 失敗
  • キャンセル済み

To show or hide columns, select the columns icon and choose the columns to display.

新しい評価を開始するには、[ 評価を実行] を選択します。詳しくは、「 評価を実行する」をご覧ください。

ドキュメントのエラー率​

各評価の実行のドキュメント エラー率は、[評価の実行] タブの [ドキュメントのエラー率] 列で確認できます。

ドキュメント エラー率は、モデルがドキュメントに対して行ったエラーの合計アノテーションの割合です。つまり、モデルの予測がユーザーのアノテーションとどの程度異なるかを示します。エラー率は、アノテーション済みのドキュメントでのみ利用可能です。

[評価の実行] タブの [ドキュメントのエラー率] 列の値は、完全にアノテーション済みの各ドキュメントのエラー率の単純平均として計算されます。評価されたモデル バージョンでドキュメントを処理する際にどの程度エラーが発生しやすいかを素早く把握できます。デプロイに向けた準備状況を評価するのに役立ちます。

The document error rate can exceed 100% because it is calculated as follows:

Document error rate = Number of errors ÷ Total annotations

Errors include not only fields that were annotated and extracted incorrectly but also any extra predictions the model made that have no corresponding annotation, for example, an additional row the model predicted that a reviewer did not label.

これらの余分な予測はエラーとしてカウントされますが、アノテーションの合計には加算されないため、エラーの数がアノテーションの数を超え、エラー率が 100% を超える可能性があります。

評価の実行を管理する​

In the Eval runs tab, you can view, re-run, export, and delete evaluation runs. You can use the exported data for offline analysis, custom filtering, or sharing results with stakeholders. You can also revert the Extract node to a previous model version from the Eval runs tab.

評価の実行を管理するには、以下の手順を実行します。

  1. Point to the Flow Extract node and select Open full view.

  2. Select the Eval runs tab.

  3. Select the ellipsis in the Actions column of the run and select one of the following options:

    • View details: Opens the details of the run. Alternatively, select the row of the run.
    • Re-run: Runs the evaluation again.
    • Export as JSON: Exports the run as a JSON file.
    • Export as CSV: Exports the run as a CSV file.
    • Export Eval Run Results: Exports the results of the run.
    • Delete: Deletes the run.

評価の実行の詳細​

評価の実行の詳細は、アノテーション済みのドキュメントをデプロイする前に、モデル バージョンのパフォーマンスを評価するのに役立ちます。

評価の実行の詳細を開くには、以下の手順に従います。

  1. Point to the Flow Extract node and select Open full view.

  2. In the Eval runs tab, select the row of an evaluation run. The details of the run open, with the Document performance table and the following metrics:

    • Latency, which is the extraction latency. Point to the value to view the latency percentiles across documents.
    • 実行スコア (すべてのフィールドの F1 スコアの平均値)

  3. 次のいずれかのビューを選択します。

    • By document: Shows the Document performance table, with one row per document. By default, the table includes the following columns: F1 score, Doc error rate, Total errors, Total annotations, and Annotated values.
    • By field: Shows the Field performance table.

[フィールドのパフォーマンス] の表​

The field performance table is the primary way to analyze model performance. To find it, open an evaluation run in the Eval runs tab and select the By field view. It displays one row per field or field group, along with performance and error metrics calculated across the annotated documents. The table does not take into account unannotated and partially annotated documents when calculating metrics.

この表は以下の質問に答えるのに役立ちます。

  • モデルの全体的なパフォーマンスを制限しているのはどのフィールドか
  • エラーは少数のフィールドに集中しているか、それとも広範囲に広がっているか
  • モデルの最近の変更により、特定のフィールドが改善したか、それとも退化したか

この表には、モデルのパフォーマンスをさまざまな観点から分析するのに役立つメトリックのカテゴリが複数含まれています。各カテゴリから、モデルがフィールドやドキュメントでどのように動作するかについて、診断に役立つ具体的な質問への回答が得られます。

既定では、この表には次の列が表示されます。

  • F1 スコア
  • エラー率
  • エラーの合計
  • アノテーションの合計
  • アノテーション済みの値
  • エラーを含むドキュメント
  • アノテーション済みのドキュメント

各フィールドとフィールド グループの F1 スコアは、 ノードのヘルス スコアと同じ範囲を使用して色分けされます。

  • Green: 80% or higher.
  • Yellow: 40% to 79%.
  • Red: Below 40%.

To show or hide metrics, select Columns and then choose the metrics from each category.

特定のフィールド グループまたはフィールドを検索するには、[ フィールドを検索 ] ボックスを使用します。

フィルター処理と並べ替えを行う​

表内の行をフィルター処理するには、[ 評価の実行 ] タブで利用可能なクイック フィルターを 1 つ以上選択します。各クイック フィルターには、一致する行数が表示されます。

  • アノテーション済みの値 < 10
  • フィールドの F1 スコア < 50
  • 次のフィールドの F1 スコア: 50–70

表内の任意のメトリックで表を並べ替えることもできます。並べ替えを適用すると、値がそれぞれのフィールド グループ内で並べ替えられます。たとえば、表を F1 スコアで並べ替えると、各フィールド グループ内のフィールドがお互いを基準にして並べ替えられます。

パフォーマンス メトリック​

The purpose of the performance metrics is to evaluate the overall quality of extraction for each field or field group. The metrics are described as follows:

メトリック定義数式
F1 スコアThe harmonic mean of precision and recall. It stays high only when both are high, which makes it a strong overall quality indicator and a useful first metric to compare field performance across model versions.2 × (Precision × Recall) / (Precision + Recall)
適合率Measures how often predicted values are correct. True positives are predictions that match the annotated value, excluding values annotated as missing.True positives / (True positives + False positives)
再現率Measures how often the model finds a value when it exists. False negatives are annotated values that the model did not predict, excluding values annotated as missing.True positives / (True positives + False negatives)
エラー率The share of errors across all annotations. Values marked as missing are included in the count of errors and annotations.Total errors / Total annotations
Error rate excluding missingThe share of errors across annotated values. Annotated values marked as missing are excluded.(Total errors – Extra predictions) / Annotated values

予測とエラー​

予測とエラーのメトリックの目的は、低パフォーマンスの原因になっているエラーの量と構成を把握することです。各メトリックの説明は次のとおりです。

メトリック定義数式
エラーの合計Total number of errors for a field across all error classes.Incorrect values + Missed predictions + Extra predictions
Total predictionsTotal number of predicted values for a field.Correct values + Correct missing + Incorrect values
Incorrect valuesNumber of predictions where the extracted value does not match the annotation. Excludes predictions and annotated values marked as missing.–
Missed predictionsNumber of annotated values that the model failed to extract.–
Extra predictionsNumber of predicted values that the model should not have extracted or that did not have a corresponding annotation or annotation marked as missing.–
Correct valuesNumber of predicted values that exactly match the annotation.–
Correct missingNumber of instances where the model correctly predicted that a value is missing.–

注釈​

アノテーションのメトリックの目的は、各メトリックをサポートしているラベル付けされたデータの数と、パフォーマンス スコアの信頼性についてコンテキストを提供することです。各メトリックの説明は次のとおりです。

メトリック定義数式
アノテーションの合計Total number of annotations, including values marked as missing.Annotated values + Annotated as missing
アノテーション済みの値Total number of annotated field values, excluding those marked as missing.–
Annotated as missingTotal number of times a field was explicitly labeled as missing.–

ドキュメントのメトリック​

The purpose of document metrics is to understand how errors are distributed across documents rather than just across predictions. The metrics are described as follows:

メトリック定義数式
エラーを含むドキュメントTotal number of documents where the field has at least one error.–
アノテーション済みのドキュメントTotal number of documents in which the field has at least one annotated field value.–
% Docs with errorsPercentage of annotated documents that contain at least one error for the field.Docs with errors / Docs annotated

モデル バージョンを比較する​

When multiple evaluation runs are available, you can compare the performance of a run against a previous run. This way, you can better understand the impact of changes to field instructions annotations, or model configuration.

既定では、この表では選択した実行が前の実行と比較されます。スコアの違いは各値の横に表示され、値が増加したか減少したかを示す矢印が表示されます。

別の実行と比較するには、次の手順を実行します。

  1. 評価の実行の [ フィールド別 ] ビューで、[ 比較対象 ] ドロップダウンを選択します。

  2. 以下のいずれかのオプションを選択します。

    • 以前の実行。実行番号、データセット、日付、モデル バージョン別に表示されます。
    • No comparison: Hides score differences.

Example scenarios for interpreting evaluation results​

The following scenarios describe common patterns in the evaluation metrics, what they usually indicate, and how to improve the model.

In these scenarios, a low, moderate, or high F1 score corresponds to the red (below 40%), yellow (40% to 79%), or green (80% or higher) range of the node health score.

Scenario 1: Low F1 score and low Precision, but Recall is moderate or high​

What you observe: F1 is low, Precision is low, and Recall is moderate or high.

What it usually means:

  • モデルはフィールドの値を抽出していますが、見つかることを予期していた数よりも多くの値が予測されています。
  • 一般的な根本原因は次のとおりです。
    • Field instruction is too broad or ambiguous. For example, the field instruction is "capture the amount", but it does not specify which amount.
    • ドキュメントに類似する値が複数あり、互いに混同されている可能性がある (例: 小計と合計、出荷先と請求先)。

What to do next:

  • Compare the incorrect values and extra predictions to identify whether the issue is tied to extracting the wrong value (non-zero incorrect values count) or the value should not have been extracted at all (non-zero extra predictions count). These metrics are available in the field performance table.

  • Tighten field instructions with disambiguators, such as labels, keywords, and formatting constraints. For guidance, check Be explicit and detailed.

Scenario 2: High Missed predictions (low Recall), but Precision is moderate or high​

What you observe:

  • 再現率は低く、適合率は中程度か高い (F1 は通常、低または中程度)。
  • 見逃した予測が多く、ほとんどの場合、誤った値や過剰な予測よりも多い。

What it usually means:

  • 存在する値の抽出にモデルが失敗しています。
  • 一般的な根本原因は次のとおりです。
    • フィールドの指示が細かすぎる。つまり、例が過度に制約されているか、ラベルの要件が具体的すぎる。
    • The value appears in multiple formats, such as dates and IDs, and the instruction does not cover the variants.

What to do next:

  • Use Missed predictions + Annotated values to confirm this is a recall problem, that is, that the values exist but are not found. Check Annotated values to confirm there are at least 10 annotated values for the field and Missed predictions to confirm that the model is struggling to find values as opposed to predicting them incorrectly. These metrics are available in the field performance table.
  • Expand field instructions to include acceptable variants: alternative labels or synonyms, multiple formatting patterns, location hints (for example, "near applicant details" or "under the borrower section").

Scenario 3: High Error rate but low Docs with errors (errors concentrated in a few documents)​

What you observe:

  • エラー率が高いか、エラーの合計が多い。
  • エラーを含むドキュメントは、アノテーション済みのドキュメントと比べて少ない。
  • 1 つのフィールドに問題があるように見えても、失敗しているのはドキュメントの一部のサブセットだけであることが多い。

What it usually means:

  • エラーは、フィールドの全体的な動作ではなく、外れ値のドキュメントによって引き起こされています。
  • 一般的な根本原因は次のとおりです。
    • 特定のドキュメントや形式の動作が他とは異なっている。
    • Optical character recognition (OCR) or quality issues in a small number of documents, such as blurry scans, skew, and handwritten overlays.
    • フィールドはほとんどのドキュメントに存在しているが、一部で通常とは異なる形式 (複数行と単一行など) になっている。

What to do next:

  • Compare Docs with errors and Docs annotated, and optionally % Docs with errors, to confirm concentration. These metrics are available in the field performance table.
  • Switch to the By document view of the evaluation run, sort the documents by F1 score, and inspect the documents with the lowest score to identify if the field is performing poorly on a specific subset.

シナリオ 4: アノテーションがほとんどないバージョン間でパフォーマンスが大きく変動する​

What you observe:

  • Large differences in F1 or error rate between model versions (up or down), but the field has fewer than 10 annotated values, few annotated documents, or both.

What it usually means:

  • サンプル サイズが小さいため、フィールドのメトリックがまだ安定していません。
  • 一般的な根本原因は次のとおりです。
    • Too few examples, so one or two documents can significantly change the rates.
    • The field is rarely present, that is, many missing cases and few true values.
    • 少数の難解なドキュメントがメトリックに大きく影響している。

What to do next:

  • Check Annotated values, Docs annotated, and Annotated as missing to validate low coverage. These metrics are available in the field performance table.
  • カバレッジが拡大するまで、メトリックは方向性を示すものとして捉え、確定的なものとして捉えないようにします。
  • Add more labeled data specifically for that field: prioritize documents where the field is present and include a diverse set of samples or variants. For details, check Uploading sample documents and Annotating the expected value.
  • Use version comparisons only after the field has at least 10 annotated values, to reduce variability-driven noise.

このページは役に立ちましたか?

接続

ヘルプ リソース サポート(opens in new window)

学習する UiPath アカデミー(opens in new window)

質問する UiPath フォーラム(opens in new window)

最新情報を取得