Document evaluation for learning instances - Use document evaluation to set ground truth data for use in different versions of a learning instance, view accuracy levels for versions as soon as documents are processed, and download an accuracy report for a document set in a single file for easier accuracy analysis.

Automation 360

Use document evaluation to set ground truth data for use in different versions of a learning instance, view accuracy levels for versions as soon as documents are processed, and download an accuracy report for a document set in a single file for easier accuracy analysis.

Document evaluation helps you understand how accurately a learning instance extracts data from documents.

Ground truth data is the accurately extracted data for a specific document in test mode. When the extracted results are inaccurate or incomplete, you can define the expected extraction result for the document and set as ground truth data. It represents the correct value for each form field or table cell in that document, and serves as the baseline against which extraction results are measured.

After you set ground truth data for a document, Document Automation automatically compares extraction results from different learning instance versions against this baseline and calculates an accuracy score for the document set. Comparing extraction results against ground truth data gives you a quantified accuracy score at multiple levels of granularity, so you can make data-driven decisions when you refine and promote a learning instance version.

Use document evaluation when you want to validate extraction quality before you deploy a learning instance. You can compare versions or confirm whether changes to prompts, rules, OCR providers, or other learning instance settings improve extraction results.

The following are the benefits of using document evaluation:

  • Quantify extraction quality: Replace manual spot checks with measurable accuracy scores for documents, fields, and tables.
  • Compare learning instance versions: Evaluate different versions of a learning instance against the same ground truth data to identify the version that produces the best results.
  • Improve tuning decisions: Use accuracy results to understand the impact of changes to extraction settings, validation rules, prompts, and OCR providers.
  • Find issues faster: Review field-level and cell-level comparisons to identify where extraction results differ from the expected values.
  • Support batch analysis: Download an accuracy report to analyze results across documents and learning instance versions.
  • Increase deployment confidence: Validate extraction performance in test mode before using the learning instance in production workflows.

Image describing how document evaluation works

How document evaluation works

Step 1: Set ground truth data
Process documents in test mode, then set the ground truth data for each document in the validator, either by accepting the extraction results or by manually correcting the values. You set ground truth data once per document set, independent of any learning instance version, so it applies to every learning instance version you test afterward.
Step 2: Test versions and view accuracy instantaneously
Update the learning instance configuration, process the document set, and view field-level, table-level, and document-level accuracy as soon as the documents finish processing, without any additional steps to generate the scores.
Step 3: Download a consolidated accuracy report
Download the extraction evaluation report to view aggregate accuracy across different document sets in a single, consolidated view.
Note:
  • The ground truth data will be available only in the Automation Co-Pilot request where the ground truth data was set. If you process the same document using the Process option in test mode, it will be considered as a new Automation Co-Pilot request and the ground truth data that you previously set for the same document will not be available in this request.
  • Document evaluation is useful when you do not get the expected extraction accuracy when you create the first version of a learning instance. You can validate the extracted data and set the data as ground truth data. You can then try different configurations to analyze the extraction results to identify the configuration that you want to use in production.

Accuracy levels

Document evaluation provides accuracy details at multiple levels so that you can identify both broad trends and specific extraction issues:

  • Document level: Shows the overall extraction accuracy for the document and includes accuracy across fields and tables.
  • Form field level: Shows average accuracy across all form fields.
  • Table field level: Shows accuracy for each extracted table.
  • Field and table cell level: Shows the extracted result alongside the ground truth value for a specific field or table cell.
For form fields, an exact match with the ground truth data is considered accurate. For table fields, each cell is evaluated against the ground truth data and used to calculate table accuracy.
Note: A field with an exact match against the ground truth data is considered as 100 percent accurate. If there is a mismatch against the ground truth data, the accuracy is considered as 0 percent.

Accuracy reports

You can download an accuracy report when ground truth data is available and the accuracy is calculated for the document. The report helps you review document, version, and result combinations offline and compare extraction performance across a batch of documents.