An AI System With 99% Accuracy Processes 200,000 Documents a Day—Why Are There Still Thousands of Errors?
An analysis of an AI system design interview question that is called a “perfect answer”: processing 200,000 insurance claim documents per day, the real challenge is not recognition, but knowing which few records it should be suspicious of—and whether limited human review can actually keep up.
A wrong amount and a correct amount look exactly the same
This is the most counterintuitive part of document AI.
The model will always return something. Ask it to read a claim amount from a scanned document, and it gets it wrong—yet the output format is still valid, the fields are still complete, and it may even label the confidence as 0.9. Downstream systems cannot tell the difference, and the money may simply be paid out.
In day 4 of the Forward Deployed Engineer in 30 Days series, Priyanka Vergadia breaks down this system design question using a concrete scenario:
An insurance company receives 200,000 claim documents every day, including PDFs, scans, and photos of handwritten forms. Design a pipeline that can convert them into structured records.
A bit of context: an FDE (Forward Deployed Engineer) is a role that works directly on-site with customers to put AI capabilities into real business systems. This kind of interview tests not model tuning, but whether you can build a system that actually runs under the premise that “the model is always wrong.”
A common failure demo in interviews
Throw every page at a vision model, have it output JSON, and write it directly into the claims system.
The demo looks perfect.
The problem is hidden in the numbers: the model has 99% accuracy, which sounds high. But with 200,000 documents a day, 1% is 2,000 erroneous records. No one can check them all, so errors quietly flow into the claims system.
What the interviewer is waiting for is for you to realize: human attention is the scarcest resource in this pipeline.
First, ask clearly what the cost is
Vergadia gives a seven-step framework, and the first two steps pin down the design constraints.
Step one: clarify the cost of each field. On average, each document has 12 fields, 4 of which are critical: policy number, claimant, incident date, and claim amount. If the policy number is wrong, the claim is attached to someone else; if the amount is wrong, money may be paid out directly.
Step two: turn that cost into a number. Suppose there is currently a data-entry team that takes 4 minutes per document, and the new process can be staffed with 60 reviewers. This headcount is not a detail; it is a design input. It determines where the auto-approval threshold should be set.
Here is a judgment many people overlook: accuracy should not be a single number. It should be defined per field and measured per document. Because if one critical field is wrong, the entire record is ruined. The baseline should also not be arbitrary; have two people enter the same batch of samples and compare the results to establish the true level of the current human team.
Seven steps, with the core being tiered reading and tiered suspicion
The pipeline roughly unfolds like this:
- Clarify what the output is used for, the time limit, and the cost of errors. Assume it must enter the claims system within 4 hours, or within 24 hours if it goes through human review.
- Calculate throughput, cost per document, and how much review headcount is needed.
- Look at the data: digital PDFs, clean scans, and handwritten photos are three types of input and should be handled differently.
- Request path: queue, classify first, then use the cheapest reading method. For digital PDFs, extract the text layer directly; for clean scans, use OCR; only photos and handwriting go to a vision model.
- Extract into a typed schema, where each field carries three things: the value, its location on the page, and a calibrated confidence score.
- Evaluation: code rules plus policy-system validation, and every reviewer correction flows back as evaluation data.
- Failure modes and staged rollout.
Records that pass automatically are released directly; uncertain ones go into a human queue, and the queue length is set according to the actual number of people on duty, not the ideal number.
One reply hit the point: in invoice and billing scenarios, the most critical thing is whether the extracted numbers match the purchase order, receipt, and last month’s bill. If they do not match, route them through a human first. Vergadia’s response was that this kind of validation and guardrail deserves to be discussed specifically in the design.
Ultimately, the real capability of this system is not “reading accurately,” but “knowing where it may have read something wrong,” and then precisely directing limited human labor to those places.
That is much harder than stacking up a bigger model.
发布时间: 2026-12-05 22:32