AI Document Extraction: Choosing Confidence Thresholds Field by Field

Choose per-field confidence thresholds for document extraction AI using labelled held-out documents: compare auto-accept coverage, wrong auto-accepts and manual review, including confident errors, absent fields and new layouts.

Published by Mentrix Digital · · Updated

Article cover: AI Document Extraction: Choosing Confidence Thresholds Field by Field

Key points

  • No single threshold fits every field; choose from results on labelled documents the model was not tuned on.
  • Report three figures together with their denominators: auto-accept coverage, wrong auto-accepts and items sent to manual review.
  • Money fields always need human approval however high the score, and new layouts go to full review until tested on their own.

A confidence score is not a correctness label

The accounts team at a fictional distributor wants an AI system that reads supplier invoices, extracts the purchase order (PO) number, supplier name, date and total, and sends them to the accounting system. Most extraction tools return a confidence score per field. The key question when commissioning the system is which score lets a field through without a person looking, and which fields a person must always see. All examples and figures are hypothetical, not client work.

Microsoft Learn's guidance on interpreting and improving accuracy and confidence scores for Azure AI Document Intelligence describes confidence as an estimate to support decisions, with accuracy measured against labelled data and thresholds set by the use case and its risk. There is no universal threshold, and results should be retested whenever the model or its version changes.

For the intake, source check and approval flow around this decision, read the AI document intake and human approval guide →

Analyst checking a scanned document field with a magnifier
Look at the source document even when a field scores high confidence, because the score does not prove the value is correct.

A labelled held-out set with three failure cases

Prepare documents whose fields a person has labelled in advance and that were not used to train or tune the model. The example has 200 invoices: 180 in layouts the system has seen and 20 in a new supplier's layout. Where an invoice has no PO number, label it “none” rather than leaving it blank, so you can measure whether the system invents a value. The set must include at least these three cases:

  • Confident error: the true PO is 4500012, the system reads 4500072 with a score of 0.95, and it passes the format check because it is still seven digits.
  • Absent field: the invoice has no PO number, but the system fills in the quotation number with a score of 0.92. The correct answer is “not found”.
  • New layout: the new supplier prints the PO at the foot of the page and the system is right on some and wrong on others, so measure it separately from familiar layouts.

Continue with the worked example. How to flag duplicate supplier invoices for human review →

Team labeling urgent and ordinary examples on index cards
Build a test set with human-checked answers for every field and include the required case types before setting any threshold.

Compare thresholds with the right denominators

Run the PO number results for all 200 invoices at two thresholds and state the denominator for every rate: coverage is divided by all documents, while the wrong-auto-accept rate is divided by the number auto-accepted.

  • Threshold 0.90: 150 of 200 auto-accepted = 75%; 3 wrong (one of each case above) = 3 ÷ 150 = 2.0% of auto-accepted, or 1.5% of all; 50 sent to review = 25%.
  • By layout at 0.90: familiar layouts had 138 auto-accepted with 2 wrong ≈ 1.4%; the new layout had 12 auto-accepted with 1 wrong ≈ 8.3%. The overall figure hides the new-layout risk.
  • Threshold 0.97: 110 auto-accepted = 55%, no errors found in this set, 90 sent to review = 45%. But 0 wrong out of 110 does not mean errors cannot happen. The rule of three gives an approximate 95% upper bound of 3 ÷ 110 ≈ 2.7%, still above the 2.0% seen at 0.90, so 200 documents are too few to prove how much safer the higher threshold is.
  • The cost of the higher threshold: 90 − 50 = 40 more reviews per 200 invoices to bring escaped errors in the test set from 3 to 0.

Money fields, new layouts and measurement after go-live

The process owner sets each field's threshold by weighing the harm of one wrong value against the extra review time. If a wrong PO matches an invoice to the wrong order, a higher threshold or full review may be worth it. Fields that affect payment, such as the total, tax and bank account, are never auto-accepted: an authorised approver checks them against the source every time. AI can still prefill values and point to their location to speed review, and rules add checks such as net amount plus tax equalling the total, but a passed rule is not an approval.

Send every field on a new layout, or from a supplier not yet tested, to review until enough labelled examples exist to test it separately. A field that is not found needs a “not found” state for a person to confirm. After go-live, sample auto-accepted items weekly, for example 20, and record how many were checked, how many were wrong and the denominator. When the model, its version or the document format changes, rerun the same test set before keeping the old threshold.

When commissioning a document extraction AI, ask for per-field results with denominators from your own labelled set, and name the fields that always need human approval in the scope. Use this article as a starting brief for Custom AI Solutions for Business →

If several documents arrive in one PDF, page boundaries must be right before field thresholds matter; reconciling page ranges is covered in the mixed PDF packet guide →

Three distinct invoice, purchase order, receipt sheets matched at desk
For money fields, have a person cross-check amounts across the related documents before passing them on, whatever the confidence score.

Want help applying this?

Tell us about your situation and we will suggest a scoped next step. We do not promise specific rankings, leads or revenue.

Discuss your project

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.