UiPath Documentation
ixp
2.2610
true
IXP dans le guide de l'utilisateur de Flow

Évaluer les performances du modèle

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.

Vue d'ensemble (Overview)​

Vous pouvez évaluer les performances du modèle d'un nœud d'extraction de flux aux emplacements suivants:

  • 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.

Score de santé du nœud​

Le score de santé du nœud résume les performances de la version actuelle du modèle d’un nœud d’extraction de flux. Il s'affiche aux endroits suivants:

  • 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.

Le score de santé affiche les éléments suivants:

  • 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.

Le score F1 est codé par couleur comme suit:

CouleurScore F1
Vert80 % ou plus
Jaune40 % à 79 %
RougeMoins de 40 %

Le score de santé est généré à partir d'exécutions d'évaluation qui incluent tous les documents annotés dans l'ensemble de données du nœud. L'exécution des évaluations sur un sous-ensemble de documents n'affecte pas le score de santé.

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

Remarque :

Les modèles sains affichent un score bon et ne génèrent aucun avertissement de performance du champ.

Évaluation dans l'onglet Exécutions d'évaluation​

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.

Afficher les exécutions d’évaluation​

Pour afficher les exécutions d'évaluation d'un nœud, procédez comme suit:

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

  2. Accédez à l'onglet Exécutions d'évaluation .

La liste affiche les détails suivants pour chaque exécution d'évaluation:

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

  • En cours d'exécution
  • Terminé
  • Échec
  • Annulé

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

Pour démarrer une nouvelle évaluation, sélectionnez Exécuter l'évaluation. Pour plus d’informations, consultez la section Exécution d’une évaluation.

Taux d’erreur du document​

Vous pouvez consulter le taux d'erreur des documents de chaque exécution d'évaluation dans la colonne Taux d'erreur Doc de l'onglet Exécutions d'évaluation .

Le taux d’erreur du document est le rapport entre les erreurs que le modèle a fait sur un document et le nombre total d’annotations sur ce document, c’est-à-dire, la différence entre les prédictions du modèle et les annotations de l’utilisateur. Les taux d’erreur sont disponibles uniquement pour les documents annotés.

La valeur de la colonne Taux d'erreur du document de l'onglet Exécutions de l'évaluation est calculée comme la moyenne simple du taux d'erreur de chaque document entièrement annoté. Il fournit un indicateur rapide de la tendance à l’erreur des documents lorsque la version du modèle évaluée les traite, ce qui aide à évaluer l'état de préparation au déploiement.

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.

Étant donné que ces prédictions supplémentaires sont comptabilisées comme des erreurs mais ne s’ajoutent pas au total des annotations, le nombre d’erreurs peut dépasser le nombre d’annotations, ce qui entraîne un taux d’erreur supérieur à 100 %.

Gérer l'exécution des évaluations​

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.

Pour gérer une exécution d'évaluation, procédez comme suit:

  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.

Détails de l’exécution de l’évaluation​

Les détails d’une exécution d’évaluation vous aident à évaluer les performances d’une version de modèle sur des documents annotés avant de la déployer.

Pour ouvrir les détails d'une exécution d'évaluation, procédez comme suit:

  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.
    • Le score de l'exécution, qui est la moyenne des scores F1 de tous les champs.

  3. Sélectionnez l'une des vues suivantes:

    • 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.

Table des performances du champ​

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.

La table aide à répondre à des questions telles que :

  • Quels champs limitent les performances globales du modèle ?
  • Les erreurs sont-elles concentrées dans quelques champs ou largement réparties ?
  • Une modification récente du modèle a-t-elle amélioré ou dégradé des champs spécifiques ?

Le tableau inclut plusieurs catégories de métriques qui vous aident à analyser les performances du modèle sous différentes perspectives. Chaque catégorie répond à une question de diagnostic spécifique sur le comportement de votre modèle dans les champs et les documents.

Par défaut, la table affiche les colonnes suivantes:

  • Score F1
  • Taux d’erreur
  • Total des erreurs
  • Total des annotations
  • Valeurs annotées
  • Documents avec erreurs
  • Documents annotés

Le score F1 de chaque champ et groupe de champs est codé par couleur à l'aide des mêmes plages que le score de santé du nœud:

  • 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.

Pour trouver un groupe de champs ou un champ en particulier, utilisez la zone Rechercher des champs .

Filtrage et tri​

Pour filtrer les lignes dans la table, sélectionnez un ou plusieurs des filtres rapides disponibles dans l'onglet Exécutions d'évaluation . Chaque filtre rapide affiche le nombre de lignes qu'il correspond:

  • Valeurs annotées <10
  • Score du champ F1 < 50
  • Score de champ F1 dans les limites de 50–70

Vous pouvez également trier la table par n'importe quelle métrique dans la table. Lorsqu’un tri est appliqué, les valeurs sont triées dans leur groupe de champs respectif. Par exemple, le tri de la table par score F1 trie les champs à l’intérieur de chaque groupe de champs les uns par rapport aux autres.

Métriques de performances​

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:

MesureDéfinitionFormule
Score F1The 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)
PrécisionMeasures 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)
RappelMeasures 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)
Taux d’erreurThe 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

Prédictions et erreurs​

Le but des métriques de prédictions et d’erreurs est de comprendre le volume et la composition des erreurs qui contribuent à de mauvaises performances. Les métriques sont décrites comme suit :

MesureDéfinitionFormule
Total des erreursTotal 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.–

Annotations​

Le but des métriques d’annotation est de fournir le contexte de la quantité de données étiquetées prises en charge par chaque métrique et de la fiabilité des scores de performances. Les métriques sont décrites comme suit :

MesureDéfinitionFormule
Total des annotationsTotal number of annotations, including values marked as missing.Annotated values + Annotated as missing
Valeurs annotéesTotal number of annotated field values, excluding those marked as missing.–
Annotated as missingTotal number of times a field was explicitly labeled as missing.–

Métriques des documents​

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:

MesureDéfinitionFormule
Documents avec erreursTotal number of documents where the field has at least one error.–
Documents annotésTotal 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

Comparer les versions de modèles​

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.

Par défaut, la table compare l'exécution sélectionnée à l'exécution précédente. Les différences de score s'affichent à côté de chaque valeur, avec une flèche qui indique si la valeur a augmenté ou diminue.

Pour effectuer une comparaison avec une exécution différente, procédez comme suit:

  1. Dans la vue du champ Par d'une exécution d'évaluation, sélectionnez la liste déroulante Comparer avec .

  2. Sélectionnez l'une des options suivantes :

    • Une exécution précédente, répertoriée par numéro d'exécution, ensemble de données, date et version de modèle.
    • 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:

  • Le modèle extrait les valeurs d’un champ, mais le nombre de valeurs prédites est supérieur à celui auquel vous vous attendiez.
  • Causes profondes courantes :
    • Field instruction is too broad or ambiguous. For example, the field instruction is "capture the amount", but it does not specify which amount.
    • Le document a des valeurs similaires qui peuvent être confondues les unes avec les autres, par exemple, sous-total contre total, adresse de livraison contre adresse de facturation.

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:

  • Le rappel est faible et la précision est modérée ou élevée (le F1 est généralement faible ou modéré).
  • Les prédictions manquées sont élevées, souvent plus que les valeurs incorrectes ou les prédictions supplémentaires.

What it usually means:

  • Le modèle ne parvient pas à extraire les valeurs qui sont présentes.
  • Causes profondes courantes :
    • Les instructions de champ sont trop étroites, ce qui signifie des exemples trop contraints ou des exigences de libellé trop spécifiques.
    • 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:

  • Le taux d'erreur est élevé ou les erreurs totales sont élevées.
  • Le nombre de documents avec des erreurs est faible par rapport au nombre de documents annotés.
  • Souvent, un champ est mauvais, mais n'échoue que sur un petit sous-ensemble de documents.

What it usually means:

  • Les erreurs sont déclenchées par des documents atypiques, et non par un comportement systémique du champ.
  • Causes profondes courantes :
    • Un document ou un format spécifique se comporte différemment du reste.
    • Optical character recognition (OCR) or quality issues in a small number of documents, such as blurry scans, skew, and handwritten overlays.
    • Le champ est présent dans la plupart des documents, mais formaté inhabituellement dans quelques-uns, par exemple, multi-lignes versus une seule ligne.

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.

Scénario 4 : fluctuations importantes des performances entre les versions avec peu d’annotations​

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:

  • Les métriques de champ ne sont pas encore stables en raison de la petite taille de l’échantillon.
  • Causes profondes courantes :
    • 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.
    • Une poignée de documents difficiles domine la métrique.

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.
  • Traitez les métriques comme directionnelles et non définitives jusqu’à ce que la couverture augmente.
  • 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.

Cette page vous a-t-elle été utile ?

Connecter

Besoin d'aide ? Assistance(opens in new window)

Vous souhaitez apprendre ? UiPath Academy(opens in new window)

Vous avez des questions ? UiPath Forum(opens in new window)

Rester à jour