UiPath Documentation
ixp
2.2610
true
Guía del usuario de Extracción y Procesamiento Inteligentes (IXP) en Flow

Evaluar el rendimiento del modelo

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.

Información general​

Puedes evaluar el rendimiento del modelo de un nodo de Extracción de flujo en las siguientes ubicaciones:

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

Puntuación de estado del nodo​

La puntuación de salud del nodo resume el rendimiento de la versión actual del modelo de un nodo de extracción de flujo. Aparece en los siguientes lugares:

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

La puntuación de estado muestra lo siguiente:

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

La puntuación F1 está codificada por colores de la siguiente manera:

ColorPuntuación F1
Verde80 % o más
AmarilloDel 40 % al 79 %
RojoPor debajo del 40 %

La puntuación de salud se genera a partir de ejecuciones de evaluación que incluyen todos los documentos anotados en el conjunto de datos del nodo. Las ejecuciones de evaluación en un subconjunto de documentos no afectan a la puntuación de estado.

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

Nota:

Los modelos en buen estado tienen una puntuación Buena y no tienen advertencias de rendimiento de campo.

Evaluación en la pestaña Ejecuciones de evaluación​

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.

Ver ejecuciones de evaluación​

Para ver las ejecuciones de evaluación de un nodo, procede de la siguiente manera:

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

  2. Ve a la pestaña Ejecuciones de evaluación .

La lista muestra los siguientes detalles para cada ejecución de evaluación:

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

  • Ejecutando
  • Completado
  • Erróneo
  • Cancelado

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

Para iniciar una nueva evaluación, selecciona Ejecutar evaluación. Para obtener más detalles, consulta Ejecutar una evaluación.

Tasa de error del documento​

Puedes ver la tasa de error del documento de cada ejecución de evaluación en la columna Tasa de error del documento de la pestaña Ejecuciones de evaluación .

La tasa de error del documento es la proporción de errores que el modelo cometió en un documento con respecto al total de anotaciones en ese documento, es decir, en qué medida difieren las predicciones del modelo de las anotaciones del usuario. Las tasas de error solo están disponibles para los documentos anotados.

El valor de la columna Tasa de error del documento de la pestaña Ejecuciones de evaluación se calcula como el promedio simple de la tasa de error de cada documento completamente anotado. Proporciona un indicador rápido de cuán propensos son los documentos a errores cuando la versión del modelo evaluado los procesa, lo que ayuda a evaluar la preparación para la implementación.

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.

Debido a que estas predicciones adicionales cuentan como errores pero no se suman al total de la anotación, el número de errores puede superar el número de anotaciones, lo que da como resultado una tasa de error superior al 100 %.

Gestionar ejecuciones de evaluación​

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.

Para gestionar una ejecución de evaluación, procede de la siguiente manera:

  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.

Detalles de la ejecución de evaluación​

Los detalles de una ejecución de evaluación te ayudan a evaluar el rendimiento de una versión del modelo en documentos anotados antes de implementarla.

Para abrir los detalles de una ejecución de evaluación, procede de la siguiente manera:

  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.
    • La puntuación de ejecución, que es el promedio de las puntuaciones F1 de todos los campos.

  3. Selecciona una de las siguientes vistas:

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

Tabla de rendimiento de campo​

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 tabla ayuda a responder preguntas como:

  • ¿Qué campos limitan el rendimiento general del modelo?
  • ¿Los errores se concentran en unos pocos campos o se propagan ampliamente?
  • ¿Un cambio reciente de modelo mejoró o degradó los campos específicos?

La tabla incluye varias categorías de métricas que te ayudan a analizar el rendimiento del modelo desde diferentes perspectivas. Cada categoría responde a una pregunta de diagnóstico específica sobre cómo se comporta tu modelo en los campos y documentos.

De forma predeterminada, la tabla muestra las siguientes columnas:

  • Puntuación F1
  • Tasa de error
  • Errores totales
  • Anotaciones totales
  • Valores anotados
  • Documentos con errores
  • Documentos anotados

La puntuación F1 de cada campo y grupo de campos está codificada por colores utilizando los mismos rangos que la puntuación de salud del nodo:

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

Para encontrar un grupo de campos o un campo en particular, utiliza el cuadro Buscar campos .

Filtrado y clasificación​

Para filtrar filas en la tabla, selecciona uno o más de los filtros rápidos disponibles en la pestaña Ejecuciones de evaluación . Cada filtro rápido muestra el número de filas con las que coincide:

  • Valores anotados <10
  • Puntuación de campo F1 < 50
  • Puntuación de campo F1 dentro de 50–70

También puedes ordenar la tabla por cualquier métrica de la tabla. Cuando se aplica una ordenación, los valores se ordenan dentro de su respectivo grupo de campos. Por ejemplo, ordenar la tabla por puntuación F1 ordena los campos dentro de cada grupo de campos entre sí.

Métricas de rendimiento​

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:

MétricaDefiniciónFórmula
Puntuación 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)
PrecisiónMeasures 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)
RecordarMeasures 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)
Tasa de errorThe 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

Predicciones y errores​

El propósito de las métricas de predicciones y errores es comprender el volumen y la composición de los errores que contribuyen a un rendimiento deficiente. Las métricas se describen de la siguiente manera:

MétricaDefiniciónFórmula
Errores totalesTotal 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.–

Anotaciones​

El propósito de las métricas de anotación es proporcionar contexto de cuántos datos etiquetados admiten cada métrica y cuán fiables son las puntuaciones de rendimiento. Las métricas se describen de la siguiente manera:

MétricaDefiniciónFórmula
Anotaciones totalesTotal number of annotations, including values marked as missing.Annotated values + Annotated as missing
Valores anotadosTotal number of annotated field values, excluding those marked as missing.–
Annotated as missingTotal number of times a field was explicitly labeled as missing.–

Métricas de documentos​

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:

MétricaDefiniciónFórmula
Documentos con erroresTotal number of documents where the field has at least one error.–
Documentos anotadosTotal 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

Comparar versiones del modelo​

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.

De forma predeterminada, la tabla compara la ejecución seleccionada con la ejecución anterior. Las diferencias de puntuación aparecen junto a cada valor, con una flecha que indica si el valor aumentó o disminuyó.

Para comparar con una ejecución diferente, procede de la siguiente manera:

  1. En la vista Por campo de una ejecución de evaluación, selecciona el menú desplegable Comparar con .

  2. Selecciona una de las siguientes opciones:

    • Una ejecución anterior, enumerada por número de ejecución, conjunto de datos, fecha y versión del modelo.
    • 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:

  • El modelo extrae valores para un campo, pero hay más valores predichos de los que se espera encontrar.
  • Causas raíz comunes:
    • Field instruction is too broad or ambiguous. For example, the field instruction is "capture the amount", but it does not specify which amount.
    • El documento tiene valores similares que se pueden confundir entre sí, por ejemplo, subtotal frente a total, envío frente a factura.

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:

  • La recuperación es baja y la precisión es moderada o alta (F1 suele ser baja o moderada).
  • El número de predicciones omitidas es alto, a menudo más que valores incorrectos o predicciones adicionales.

What it usually means:

  • El modelo falla al extraer valores que están presentes.
  • Causas raíz comunes:
    • La instrucción de campo es demasiado angosta, lo que significa ejemplos demasiado restringidos o requisitos de etiqueta demasiado específicos.
    • 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:

  • La tasa de error es alta o el Total de errores es alto.
  • Los documentos con errores son bajos en relación con los documentos anotados.
  • A menudo, un campo tiene un aspecto incorrecto pero solo falla en un pequeño subconjunto de documentos.

What it usually means:

  • Los errores son impulsados por los documentos atípicos, no por el comportamiento sistémico del campo.
  • Causas raíz comunes:
    • Un documento o formato específico se comporta de forma diferente al resto.
    • Optical character recognition (OCR) or quality issues in a small number of documents, such as blurry scans, skew, and handwritten overlays.
    • El campo está presente en la mayoría de los documentos, pero tiene un formato inusual en unos pocos, por ejemplo, de varias líneas frente a de una sola línea.

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.

Escenario 4: grandes oscilaciones de rendimiento entre versiones con pocas anotaciones​

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:

  • Las métricas de campo aún no son estables debido al pequeño tamaño de la muestra.
  • Causas raíz comunes:
    • 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.
    • Un puñado de documentos difíciles dominan la métrica.

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.
  • Trata las métricas como direccionales, no definitivas, hasta que aumente la cobertura.
  • 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.

¿Te ha resultado útil esta página?

Conectar

¿Necesita ayuda? Soporte(opens in new window)

¿Quiere aprender? UiPath Academy(opens in new window)

¿Tiene alguna pregunta? Foro de UiPath(opens in new window)

Manténgase actualizado