- Überblick
- LLM configuration
- Modellerstellung
- Modellauswertung
- Überblick
- Ausführen einer Auswertung
- Evaluierung der Modellleistung
- Modellbereitstellung
- Verbrauchen von Modellen
- Häufig gestellte Fragen
Evaluierung der Modellleistung
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.
Überblick
Sie können die Leistung des Modells eines Flow Extraction- Knotens an folgenden Stellen bewerten:
- 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.
Bewertung des Knotenzustands
Die Knotenzustandsbewertung fasst zusammen, wie gut die aktuelle Modellversion eines Flow Extract- Knotens funktioniert. Sie wird an folgenden Stellen angezeigt:
-
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.
Die Zustandsbewertung zeigt Folgendes an:
- 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.
Die F1-Punktzahl ist wie folgt farbcodiert:
| Farbe | F1-Ergebnis |
|---|---|
| Grün | 80 % oder höher |
| Gelb | 40 % bis 79 % |
| Rot | Unter 40 % |
Die Zustandsbewertung wird aus Auswertungsausführungen generiert, die alle mit Anmerkungen versehenen Dokumente im Dataset des Knotens enthalten. Bewertungsläufe für eine Teilmenge von Dokumenten wirken sich nicht auf die Zustandsbewertung aus.
To view the evaluation runs behind the score, select the model name. The runs open in the Eval runs tab.
Gesunde Modelle haben eine gute Punktzahl und keine Warnung zur Feldleistung.
Auswertung auf der Registerkarte Evaluierungsausführungen
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.
Anzeigen von Bewertungsläufen
Um die Bewertungsausführungen eines Knotens anzuzeigen, gehen Sie wie folgt vor:
-
Point to the Flow Extract node and select Open full view.
-
Navigieren Sie zur Registerkarte Evaluierungsausführungen .
Die Liste zeigt für jede Bewertungsausführung folgende Details an:
- 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 (Wird ausgeführt)
- Abgeschlossen
- Fehlgeschlagen (Failed)
- Abgebrochen
To show or hide columns, select the columns icon and choose the columns to display.
Um eine neue Auswertung zu starten, wählen Sie Auswertung ausführen aus. Weitere Informationen finden Sie unter Ausführen einer Auswertung.
Dokumentfehlerquote
Sie können die Dokumentfehlerquote jeder Auswertungsausführung in der Spalte Dokumentfehlerquote der Registerkarte Bewertungsausführungen sehen.
Die Dokumentfehlerquote ist das Verhältnis zwischen den Fehlern, die das Modell für ein Dokument gemacht hat, und den Gesamtanmerkungen zu diesem Dokument, d. h. wie weit die Vorhersagen des Modells von den Benutzeranmerkungen abweichen. Fehlerquoten sind nur für Dokumente mit Anmerkungen verfügbar.
Der Wert in der Spalte Dokumentfehlerquote der Registerkarte Bewertungsausführungen wird als einfacher Durchschnitt der Fehlerquote jedes vollständig mit Anmerkungen versehenen Dokuments berechnet. Es liefert einen schnellen Anhaltspunkt dafür, wie fehleranfällig Dokumente sind, wenn sie von der ausgewerteten Modellversion verarbeitet werden, was bei der Bewertung der Bereitstellungsreife hilft.
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.
Da diese zusätzlichen Vorhersagen als Fehler gelten, aber nicht zur Gesamtanzahl der Anmerkungen hinzugefügt werden, kann die Anzahl der Fehler die Anzahl der Anmerkungen übersteigen, was zu einer Fehlerquote von über 100 % führt.
Verwalten von Bewertungsläufen
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.
Um eine Bewertungsausführung zu verwalten, gehen Sie wie folgt vor:
-
Point to the Flow Extract node and select Open full view.
-
Select the Eval runs tab.
-
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.
Details zur Auswertungsausführung
Die Details einer Evaluierungsausführung helfen Ihnen zu bewerten, wie gut eine Modellversion bei mit Anmerkungen versehenen Dokumenten abschneidet, bevor Sie sie bereitstellen.
Um die Details einer Evaluierungsausführung zu öffnen, gehen Sie wie folgt vor:
-
Point to the Flow Extract node and select Open full view.
-
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.
- Der Ausführungswert, der der Durchschnitt der F1-Scores aller Felder ist.
-
Wählen Sie eine der folgenden Ansichten aus:
- 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.
Tabelle der Feldleistung
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.
Die Tabelle hilft bei der Beantwortung von Fragen wie:
- Welche Felder beeinflussen die Gesamtleistung des Modells?
- Konzentrieren sich die Fehler auf wenige Felder oder sind sie breit gestreut?
- Hat eine kürzlich vorgenommene Modelländerung bestimmte Felder verbessert oder verschlechtert?
Die Tabelle enthält mehrere Kategorien von Metriken, mit denen Sie die Modellleistung aus verschiedenen Perspektiven analysieren können. Jede Kategorie gibt Aufschluss über eine bestimmte diagnostische Frage dazu, wie sich Ihr Modell über verschiedene Felder und Dokumente hinweg verhält.
Standardmäßig zeigt die Tabelle die folgenden Spalten:
- F1-Ergebnis
- Fehlerquote
- Fehler insgesamt
- Anmerkungen insgesamt
- Werte mit Anmerkungen
- Dokumente mit Fehlern
- Dokumente mit Anmerkungen
Die F1-Punktzahl jedes Felds und jeder Feldgruppe ist farbcodiert und verwendet dieselben Bereiche wie die Knotenzustandsbewertung:
- 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.
Um eine bestimmte Feldgruppe oder ein bestimmtes Feld zu finden, verwenden Sie das Feld Felder suchen .
Filtern und Sortieren
Um Zeilen in der Tabelle zu filtern, wählen Sie einen oder mehrere der verfügbaren Schnellfilter auf der Registerkarte Bewertungsausführungen aus. Jeder Schnellfilter zeigt die Anzahl der Zeilen an, mit denen er übereinstimmt:
- Mit Anmerkungen versehene Werte <10
- Feld-F1-Score < 50
- Feld-F1-Score innerhalb von 50–70
Sie können die Tabelle auch nach einer beliebigen Metrik in der Tabelle sortieren. Wenn eine Sortierung angewendet wird, werden Werte innerhalb ihrer jeweiligen Feldgruppe sortiert. Beim Sortieren der Tabelle nach F1-Score werden beispielsweise die Felder innerhalb jeder Feldgruppe relativ zueinander sortiert.
Leistungsmetriken
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:
| Metrik | Definition | Formel |
|---|---|---|
| F1-Ergebnis | 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) |
| Präzision | 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) |
| Rückruf | 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) |
| Fehlerquote | 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 missing | The share of errors across annotated values. Annotated values marked as missing are excluded. | (Total errors – Extra predictions) / Annotated values |
Vorhersagen und Fehler
Der Zweck der Metriken zu Vorhersagen und Fehler besteht darin, Umfang und Zusammensetzung der Fehler zu erfassen, die zu einer schlechten Leistung beitragen. Die Metriken werden wie folgt beschrieben:
| Metrik | Definition | Formel |
|---|---|---|
| Fehler insgesamt | Total number of errors for a field across all error classes. | Incorrect values + Missed predictions + Extra predictions |
| Total predictions | Total number of predicted values for a field. | Correct values + Correct missing + Incorrect values |
| Incorrect values | Number of predictions where the extracted value does not match the annotation. Excludes predictions and annotated values marked as missing. | – |
| Missed predictions | Number of annotated values that the model failed to extract. | – |
| Extra predictions | Number of predicted values that the model should not have extracted or that did not have a corresponding annotation or annotation marked as missing. | – |
| Correct values | Number of predicted values that exactly match the annotation. | – |
| Correct missing | Number of instances where the model correctly predicted that a value is missing. | – |
Anmerkungen
Der Zweck der Anmerkungsmetriken besteht darin, Aufschluss darüber zu geben, inwieweit die einzelnen Metriken durch gekennzeichnete Daten gestützt werden und wie zuverlässig die Leistungswerte sind. Die Metriken werden wie folgt beschrieben:
| Metrik | Definition | Formel |
|---|---|---|
| Anmerkungen insgesamt | Total number of annotations, including values marked as missing. | Annotated values + Annotated as missing |
| Werte mit Anmerkungen | Total number of annotated field values, excluding those marked as missing. | – |
| Annotated as missing | Total number of times a field was explicitly labeled as missing. | – |
Dokumentmetriken
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:
| Metrik | Definition | Formel |
|---|---|---|
| Dokumente mit Fehlern | Total number of documents where the field has at least one error. | – |
| Dokumente mit Anmerkungen | Total number of documents in which the field has at least one annotated field value. | – |
| % Docs with errors | Percentage of annotated documents that contain at least one error for the field. | Docs with errors / Docs annotated |
Vergleich von Modellversionen
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.
Standardmäßig vergleicht die Tabelle die ausgewählte Ausführung mit der vorherigen Ausführung. Score-Differenzen werden neben jedem Wert mit einem Pfeil angezeigt, der angibt, ob der Wert erhöht oder verringert wurde.
Um sie mit einer anderen Ausführung zu vergleichen, gehen Sie wie folgt vor:
-
Wählen Sie in der Feldansicht „Nach“ einer Bewertungsausführung die Dropdownliste Vergleichen mit aus.
-
Wählen Sie eine der folgenden Optionen aus:
- Eine vorherige Ausführung, aufgeführt nach Ausführungsnummer, Dataset, Datum und Modellversion.
- 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:
- Das Modell extrahiert Werte für ein Feld, aber es werden mehr Werte vorhergesagt, als Sie erwarten.
- Häufige Ursachen:
- Field instruction is too broad or ambiguous. For example, the field instruction is "capture the amount", but it does not specify which amount.
- Das Dokument enthält ähnliche Werte, die miteinander verwechselt werden können, z. B. Teilsumme versus Gesamtsumme, Versandadresse versus Rechnungsadresse.
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:
- Der Recall ist niedrig und die Präzision ist moderat oder hoch (F1 ist in der Regel niedrig oder moderat).
- Die Anzahl fehlender Vorhersagen ist hoch, mitunter höher als die Anzahl falscher Werte oder zusätzlicher Vorhersagen.
What it usually means:
- Das Modell kann vorhandene Werte nicht extrahieren.
- Häufige Ursachen:
- Die Feldanweisung ist zu eng gefasst, was zu übermäßig eingeschränkten Beispielen oder zu spezifischen Anforderungen an die Kennzeichnung führt.
- 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:
- Die Fehlerquote ist hoch oder die Gesamtzahl der Fehler ist hoch.
- Dokumente mit Fehlern sind im Vergleich zu mit Anmerkungen versehenen Dokumenten niedrig.
- Oft sieht ein Feld schlecht aus, schlägt aber nur bei einer kleinen Teilmenge von Dokumenten fehl.
What it usually means:
- Fehler werden durch Ausreißerdokumente und nicht durch systemisches Feldverhalten verursacht.
- Häufige Ursachen:
- Ein bestimmtes Dokument oder Format verhält sich anders als der Rest.
- Optical character recognition (OCR) or quality issues in a small number of documents, such as blurry scans, skew, and handwritten overlays.
- Das Feld ist in den meisten Dokumenten vorhanden, wird jedoch ungewöhnlich formatiert, z. B. mehrzeilige statt einzelne Zeile.
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.
Szenario 4: Große Leistungsschwankungen zwischen Versionen mit wenigen Anmerkungen
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:
- Die Feldmetriken sind aufgrund der kleinen Beispielgröße noch nicht stabil.
- Häufige Ursachen:
- 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.
- Eine Handvoll schwieriger Dokumente dominieren die Metrik.
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.
- Behandeln Sie die Metriken als richtungsweisend und nicht endgültig, bis die Abdeckung zunimmt.
- 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.
- Überblick
- Bewertung des Knotenzustands
- Auswertung auf der Registerkarte Evaluierungsausführungen
- Anzeigen von Bewertungsläufen
- Dokumentfehlerquote
- Verwalten von Bewertungsläufen
- Details zur Auswertungsausführung
- Tabelle der Feldleistung
- Filtern und Sortieren
- Leistungsmetriken
- Vorhersagen und Fehler
- Anmerkungen
- Dokumentmetriken
- Vergleich von Modellversionen
- Example scenarios for interpreting evaluation results
- Scenario 1: Low F1 score and low Precision, but Recall is moderate or high
- Scenario 2: High Missed predictions (low Recall), but Precision is moderate or high
- Scenario 3: High Error rate but low Docs with errors (errors concentrated in a few documents)
- Szenario 4: Große Leistungsschwankungen zwischen Versionen mit wenigen Anmerkungen