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

予測値を検証する

アノテーションからモデルを直接トレーニングすることなく、プロンプトの指示を改良した後、UiPath Maestro™ Flow の Extract ノードで IXP モデルの予測を検証し、グラウンド トゥルースを確立します。

概要​

The model does not learn directly from user annotations. To improve the performance of the model, modify your prompt instructions or model configuration.

After you finish refining the instructions, validate the predictions of the model to establish the ground truth for its performance evaluation. Predictions and references play different roles in validation. For details, check Predictions and references.

検証プロセスでは以下を行う必要があります。

  • 抽出された値が正しいかどうかを確認する
  • 予測値が正しくない場合は、期待値にアノテーションを行う。
  • フィールドがドキュメントに存在しない場合は、存在しないとしてマークする
  • Configuring any additional fields in your taxonomy.

予測と参照​

Predictions are the predicted values compared to ground truth.

注:

予測が不正確であったり欠落していたりすると、[ 評価の実行 ] タブのモデルのスコアとパフォーマンス メトリックに影響します。

参照とは、ドキュメント内で見つかった予測値に一致する参照です。参照の目的は、ユーザーがドキュメントの正しい部分を特定しやすくすることです。

注:

参照が正しくなかったり欠落したりしても、モデルのスコアやパフォーマンス メトリックには影響しません。ただし、人間による検証エクスペリエンスを向上させるために、参照を追加または修正すると役立つ場合があります。

There are known limitations with references and highlighted spans:

  • The prediction and reference are correct, but an incorrect span is highlighted. Usually, it is the first match that was found.
  • The prediction is correct, but there is a missing reference and a highlighted span. In these scenarios, a page number is provided as a fallback.

確認済みおよび未確認の参照と値​

このセクションでは、値と参照が確認済みステート (検証済み) と未確認ステート (未検証) でどのように表示されるかを示します。

予測値​

The following image shows the annotation panel listing the values that the model predicted for each field:

未確認の値​

The following image shows the annotation panel with unconfirmed values, where none of the checkboxes are selected:

Confirmed values​

The following image shows the references of confirmed values in the document, each highlighted with a solid border:

The following image shows the annotation panel with confirmed values, where the checkboxes are selected:

検証済みの値​

This section contains example scenarios of when the model predictions match or do not match the user's annotations.

When the annotation matches the prediction, which means that the prediction is correct, the value looks as in the following image:

When the annotation does not match the prediction, which means that the prediction is incorrect, the value looks as in the following image:

注:

Predictions are compared to annotations, not the references. References might be missing or incorrect, but this is not flagged as a mismatch.

予測値を検証する​

アノテーション ビューでは、抽出された各値が、アノテーション パネルのフィールド名の横に表示されるように、フィールドの色でドキュメント内で強調表示されます。抽出された値は次のように強調表示されます。

  • Filled: Extracted values. The fill is the same for confirmed and unconfirmed values. To check whether a value is confirmed, use its checkbox in the annotation panel: the checkbox is selected for confirmed values and cleared for unconfirmed values.

  • Solid border: The selected value. When you select a value in the annotation panel, its highlight in the document gets a solid border.

予測値を検証するには、次の手順を実行します。

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

  2. In the Dataset tab, select Annotate for the document you want to validate. The model highlights the relevant span of text in the document and displays the generated predictions in the annotation panel.

    Values that are applicable to multiple instances of a field group, such as account number, have arrow buttons to help navigate to relevant sections. The buttons appear when you point to the values.

  3. 予測を確認し、次のいずれかの方法で抽出された値を確認します。

    • 1 つの値を確認するには、そのチェックボックスをオンにします。
    • フィールド グループの行全体を確認するには、[行] チェックボックスをオンにします。
    注:

    Any changes you make but do not submit are saved as a draft, which you can return to and update later. For more details, check Draft annotations.

  4. [ 送信 ] を選択してアノテーションを送信します。

[ 定義 ] タブからいつでも抽出スキーマに追加のフィールドを設定できます。

Action Center での予測値を検証する例​

The following image shows an example of validating predicted values in Action Center:

期待値にアノテーションを行う​

When a predicted value is incorrect, annotate the expected value. Your annotation becomes the ground truth, which is the correct value that evaluation runs compare the model predictions to. It does not change the model or its future predictions.

期待値にアノテーションを行うには、以下の手順を実行します。

  1. In the annotation panel, select the ellipsis for the field and then Change extracted value. For a field without a value, showing Is missing, select the plus icon.

  2. ドキュメント内の正しい値を強調表示します。

  3. [ 送信 ] を選択してアノテーションを送信します。

値を編集する​

In the annotation view of the Flow Extract node, you can edit values in the following ways:

  • [ 値を追加 ] を選択して、ドキュメント内に参照のない新しい値を作成します。
  • フィールドの省略記号ボタンを選択して、以下のいずれかのオプションを使用します。
    • 抽出値を変更
    • 前の値に戻す
    • 存在しないとしてマーク
  • フィールド グループの行の省略記号ボタンを選択して、以下のいずれかのオプションを使用します。
    • 行を強調表示
    • 行を削除

To confirm the values, select the checkbox of each value or field group row.

To show each instance of a field group as a row in a table instead of a list in the annotation panel, proceed as follows:

  1. In the Definition tab, select the ellipsis for the field group.
  2. Turn on Display as a table.

アノテーションの下書き​

Any edits you make to values and references on a document are stored as draft annotations until you submit them as annotations. As a result, the document status appears as In progress or as Annotated (Editing) for a document that was already annotated. To discard the draft, select Discard draft.

All of the previously mentioned actions, such as validating, annotating, and editing values, and submitting the annotations, are kept in the draft as you make changes.

If you refresh predictions while a document is in the draft state, the system preserves the draft annotations while repopulating new predictions and matches the new set of predictions from the model to the draft annotations.

検証を停止する​

Validate at least 10 examples per field so that the model can provide meaningful validation statistics.

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

接続

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

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

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

最新情報を取得