← All articles

When Document AI Should Leave a Field Blank

An empty field can mean the document omitted it, the scan hid it, or the evidence disagrees. Test whether your extraction system knows the difference before letting its output move downstream.

A property claim arrives with an estimate and a signed loss statement. The estimate clearly says Date of loss: May 14. The loss statement just as clearly says May 15. An extractor can read both dates perfectly and still be wrong to put either one in the claims system.

Now imagine that the date is missing altogether, or that the only copy is covered by a stamp. Should the result be the same blank field in all three cases? For the claims team, those cases mean different work: ask for the missing information, request a better copy, or resolve a disagreement. A single blank makes it hard to tell which.

An extraction test should answer two questions: Did the system understand the evidence? Did it send a value downstream when it should have held it back? If your team has already agreed on an extraction contract, this test shows whether that agreement holds when the evidence is incomplete or contradictory.

Give the answer key four states

Mark each field against the exact PDF or image the system receives, not a cleaner original. Consider the date of loss across four separate fictional property-claim packets:

  • Present and readable. The date is clearly labeled on the loss statement and no eligible source disagrees. Return May 14, 2026, with the supporting page.
  • Absent. The packet is complete but none of the eligible pages gives a date of loss. Leave the date blank and report that it was not provided. Do not borrow the repair date.
  • Present but unreadable. The box contains handwriting but a stamp obscures the day. Leave the date blank, identify the page and request a better copy.
  • Conflicting. Two eligible sources give different dates for the same event and no agreed rule resolves the difference. Leave the accepted value blank. Preserve both candidates with their pages for review.

Label what a reviewer can substantiate from the allowed input. A clean synthetic master might reveal exactly which digits a stamp covers. That knowledge belongs in the fixture design, not in the answer the extractor is expected to return. If part of the packet fails to open or a required page is missing, keep that separate from confirmed absence. The system has not examined enough evidence to say the value was omitted.

Make the conflict rule explicit, too. Repeated copies of the same date do not create a conflict. A dated correction can resolve one if the business already has a rule for when a correction supersedes the earlier version. Otherwise, confidence in reading both dates tells you very little about which date the business should use.

Score what the receiving system actually accepts

Keep three results side by side:

  1. Field-state result. Did the system distinguish readable, absent, unreadable and conflicting evidence? Show misses by state. In particular, count unreadable or conflicting fields incorrectly called absent.
  2. Auto-accept coverage. Of all field instances in the test, how many did the consuming application accept automatically for the specified next step?
  3. Error among accepted values. Of the automatically accepted values, how many were wrong or unsupported? Include a right-looking value with the wrong supporting page if source evidence is required. Report the count and denominator together.

Also count unnecessary holds: clear, eligible values held back by the system. Keep file failures separate when scoring states. For end-to-end coverage, leave planned field instances from failed files in the denominator and report the failures. If the system accepts nothing, the accepted error rate is undefined, not zero.

Consider an illustrative set of 100 field instances. Policy A automatically accepts 80, including two wrong or unsupported values. Policy B accepts 60 with none observed wrong. That is 80/100 coverage with 2/80 accepted errors versus 60/100 coverage with 0/60 observed accepted errors. The second policy holds another 20 values. The small test does not show its production error rate is zero. With both columns in view, the buyer can weigh which errors each policy lets through against the work it leaves for people. This is one application of the risk–coverage trade-off.

Confidence can help choose when to withhold. Amazon Textract’s guidance recommends setting thresholds to suit the application and flagging low-confidence results for scrutiny where errors matter. Use confidence alongside the evidence rule. It cannot resolve two equally legible but contradictory statements.

Put one consequential field through the test

Choose a field whose wrong value changes what happens next. Agree on the allowed source pages, what counts as sufficient evidence and what the receiving application must never accept. Build a small fictional set of matched variants, changing one thing at a time: remove the loss date and leave the repair date; obscure the actual loss date while keeping the label; add a genuine conflict on an eligible second page. Have another reviewer label the inputs they can see without looking at model outputs or the pristine master.

Run the full path to the acceptance decision. A model can raise a warning while an integration still sends its best guess to the system of record. Compare candidates at the same coverage where possible, or show several policy settings on the same test set. Pick your release criteria in advance, including which observed errors block the release. Treat the fixture as a way to expose failure modes, not an estimate of how often they occur in production.

The GritWorks free document dataset library has paired readable and degraded fictional PDFs to start testing legibility. Add your own known-absent and contradictory cases for the decision you need to validate. When you review a demo, ask to see an example where the field stays blank for the right reason, and verify that the receiving application keeps it blank.

KEEP READING

More perspectives on enterprise unstructured data.

Browse the blog