Skip to content
be-human.ai
← Back to the journal

Testing & reliability

Superintelligent Document Extraction: Field-Level Accuracy Checks

Score each extracted field on a labeled sample, set a threshold per field, and route low-confidence values to a reviewer before they reach your systems.

Be Human typographic cover with the title: Superintelligent Document Extraction: Field-Level Accuracy Checks
Conceptual illustration created with AI · Be Human

AI document extraction accuracy is measured field by field: take a sample of documents whose correct values are already known, score each extracted field against its verified answer, and set a separate acceptance threshold for every field. Values that fall below their threshold, or that the system marks as uncertain, go to a named reviewer instead of straight into your accounting, CRM or contract system. A single overall accuracy figure hides which fields fail, so the checks below are built around the individual field.

Key takeaways

  • An overall score can look healthy while one field, such as a bank account number or a due date, fails often enough to cause real errors.
  • Build the test sample from real documents with human-verified values, and keep it separate from anything used to tune the extraction.
  • Score each field with a rule that fits its type: exact match for identifiers, normalized match for dates and amounts, and a short rubric for free text.
  • Set thresholds per field according to what a wrong value costs, then route anything below threshold or flagged as uncertain to a reviewer with the source page attached.

What field-level accuracy actually measures

A document extraction agent reads an invoice, contract or form and returns structured fields: supplier name, invoice number, currency, total, due date and line items. Each field can be right or wrong independently. An invoice where six fields are correct and the total is wrong is not a mostly correct document for the accounts payable team. It is a document that needs a second look at the total, and the other six fields may be fine to write automatically.

Document-level pass or fail hides this difference. Field-level scoring asks a narrower question: across the sample, how often does each field match its verified answer, and what happens when it does not? Two kinds of failure need separate counts. A missing field, where the document contains the value but the agent returned nothing, is usually recoverable through review. A wrong field, where the agent returned a value that differs from the document, is the one that causes silent damage. A third case deserves its own count: a value that appears in neither the document nor the label, which usually means the agent filled a gap with a plausible guess.

Build a labeled sample you can score against

Start with documents from recent real intake, not from a cleaned folder. The sample should include the supplier layouts you actually receive, scans of different quality, handwritten annotations, multi-page files and the awkward cases that staff complain about. Label each document's correct field values with someone who did not run the extraction, and write down any ambiguous case so the rule for it is explicit.

Freeze the sample once it is labeled. If the labels change every time someone notices a mistake, you cannot tell whether the agent improved or the target moved. Size matters less than coverage at the start. As an illustrative scenario, a team might begin with about fifty supplier invoices spread across its ten most common layouts, then add cases for any field that shows errors. The point is to see where the failures cluster, not to publish a figure. The guidance on sampling review work in the risk-based sampling method and on building a golden test set covers how to grow a sample without losing its meaning.

Score each field with a rule that fits it

A single string comparison is not a fair test for every field. Use a scoring rule that matches what the field means to the business:

  • Identifiers such as invoice numbers or tax IDs: exact match after removing spaces and leading zeros only when your records treat them as equal.
  • Amounts: compare the numeric value and the currency code separately, so that a correct number in the wrong currency still counts as an error.
  • Dates: normalize to one format before comparing, and flag any document where day and month could be read in either order.
  • Names and addresses: allow differences in case and punctuation, but not in words.
  • Free text such as payment terms or a scope description: judge against a short rubric, with two or three yes or no questions per field.

Record each outcome as correct, wrong, missing or invented. Then report results per field, never only per document. Illustrative scenario: a team scoring supplier invoices finds that invoice numbers match closely, but due dates fail on documents where the day and month are both below thirteen, because the extraction reads them in the wrong order. A document-level score would have shown a modest overall problem. The field-level result points to one date rule to fix and one group of documents to route to review while the fix is tested.

Set acceptance thresholds for each field

A threshold is a decision about consequences, so it should be set by the person who bears the cost of an error, not copied from another team or a vendor brochure. Fields that move money, identify a legal party or change a bank destination need the highest bar and should never be written automatically unless they match the verified value. Fields that drive routing but can be corrected later, such as department or cost category, can use a lower bar with sampled review. Descriptive fields such as notes can be written and spot checked.

Treat thresholds as gates on writing, not as a verdict on the whole document. When a bank account field falls below its line, the usual right behavior is to hold that field for review while the rest of the document proceeds, unless the business rule says the whole document must wait. Write each threshold on a shared sheet with the field name, the owner who approved it, the scoring rule it uses and the step that happens when it is not met. An unwritten threshold tends to be relaxed quietly when the review queue grows.

Route low-confidence values to a reviewer

Many extraction tools return a confidence signal for each field. Treat it as a hint until you have tested it. Check on the labeled sample whether the low-confidence values are actually the wrong ones. If wrong values appear just as often at high confidence, the signal cannot safely gate anything, and you need a different trigger such as a failed format check or a total that does not match the line items.

A reviewer queue works best when each item carries enough context to decide quickly:

  • Flag the field when its confidence is below threshold, a format check fails, a value is missing, or two fields contradict each other.
  • Send the reviewer the proposed value, the relevant page or region, and the reason for the flag, not the whole file.
  • Record the decision as accept, correct or reject, with the field name, so the outcome can be counted later.
  • Feed corrections back into the labeled sample, and turn repeated corrections into a rule change, as described in how staff corrections become agent rules.

Keep the queue small enough that reviewers can finish it. If the queue grows every week, the thresholds are too strict for the current extraction quality, or the extraction itself needs work on a specific layout. Both are useful findings, and both should be visible in the weekly review. The routine for handing an uncertain case to a person, including what the person needs to see, is covered in human escalation for agent failures.

Keep the checks running after launch

Accuracy is not fixed at launch. Models, prompts, scan sources and supplier layouts all change, and a field that scored well in March can degrade quietly by the time someone looks again. The NIST AI Risk Management Framework treats measurement and monitoring as ongoing activities for this reason. A practical routine includes these steps:

  • Re-score the frozen sample after every change to prompts, models or extraction settings, before the change reaches production.
  • Compare each field's score with the previous period and investigate any drop, even one that still clears its threshold.
  • Add new supplier layouts to the sample only after they have been labeled by someone independent.
  • Retire labels that no longer match current forms, so the score keeps measuring what the business receives.
  • Confirm that reviewers can still open the source page for every flagged item.

Be Human designs and operates this kind of check as part of managed operations. A first engagement defines the extraction role, the fields the agent may write, the approval boundary for each field and the observable success criterion for each one. Ongoing service runs the recurring field scores against the frozen sample, reviews thresholds with the business owner, maintains the reviewer queue and handles the incident process when a field falls below its line. The service is remote and available in English and Portuguese.

If you are not yet sure which document task should be handed to an agent first, the free Be Human AI diagnostic can help you find the first task worth handing to an agent.

Frequently asked questions

How many documents should an accuracy sample include? There is no universal number, and a larger sample is not automatically a better one. Start with enough documents to cover each layout, scan quality and document type your business actually receives, then add cases for any field where errors cluster. The goal is to see where failures occur before deciding how much more testing is needed.

Is the agent's confidence score enough to decide what goes to review? Not on its own. Test the score against your labeled sample first and check whether low-confidence values are really the wrong ones. Combine it with format checks and cross-field checks, such as line items that do not add up to the total, so that a confident but wrong value can still be caught.

Should one accuracy threshold apply to every field? No. A wrong bank account number and a wrong department code have very different consequences, so they need different bars and different actions when they fail. Agree on each threshold with the person who owns the cost of an error, and record it with the step that follows when it is not met.

Who should label the sample? The labels should come from someone who did not run the extraction and who understands the document type well enough to judge ambiguous cases. Write down the rule for each ambiguous case so that future labels are consistent, and freeze the sample so that score changes reflect the system rather than shifting labels.

Your next step

See where an AI agent fits in your company first.

Take the free Be Human AI diagnostic. A few questions about your work show which task to hand to an agent first, what it needs to know and where a person approves.

Be Human editorial guidance. Examples are illustrative unless explicitly attributed. Sources provide background; implementation choices depend on your workflow.

Less busywork. More room for you.

Bring us the work you wish you had time for.

Book a call to try a personalized AI agent free for 7 days ↗Or take the free AI diagnostic →