Your VLM extracts invoice fields at ~91% per-field accuracy. The customer needs 99% and you cannot fine-tune the model. What do you do?
Type it the way you would explain it to an interviewer. A few sentences is enough; you can't break anything.
Model answer: the part to lead with
Start by being honest: you almost certainly do not reach 99% fully automatic. The path is to engineer away the errors that have causes, then buy the last points with abstention and routing. Say that up front, because the interesting part of this question is reframing the target.
Full worked answer
Start by being honest: you almost certainly do not reach 99% fully automatic. The path is to engineer away the errors that have causes, then buy the last points with abstention and routing. Say that up front, because the interesting part of this question is reframing the target.
1. Error taxonomy before anything else. Label 200-500 actual failures by cause: perception (text too small, rotated, low contrast), reading order and layout, genuine ambiguity (which of three dates is the invoice date?), format drift, missing field versus hallucinated field. The fixes are entirely different and most teams skip this step and go straight to prompt-tinkering.
2. Engineering fixes matched to cause. Perception errors respond to pixels, not prompts: raise resolution and tiling on text-dense pages, deskew, enhance contrast, and feed OCR text alongside the image. Format drift responds to schema-constrained decoding. Ambiguity responds to few-shot examples of exactly those cases and to splitting one mega-prompt into per-field or per-section calls.
3. Structural cross-checks. Line items sum to the subtotal, subtotal plus tax equals total, dates parse and order correctly, vendor fuzzy-matches a known list, currency codes are valid. Documents are highly redundant. Exploiting that redundancy is where doc AI recovers most of its remaining accuracy, and it costs nothing at inference.
4. Confidence signals. Token logprobs are weakly calibrated but not worthless. Stronger signals: agreement across two runs at different resolutions or temperatures, agreement between an OCR-text path and an image path, and a "quote the exact text you read this from" check that you then string-match against the OCR layer. That last one catches silent numeric hallucination specifically.
5. Abstention and routing is what actually delivers 99%. Auto-accept the confident slice, route the rest to human review. Say you accept ~80% of fields at ~99.4% and review the remaining 20%. Blended quality clears the bar, and the metric you now negotiate is coverage, not accuracy: 99% at 80% automation today, with coverage climbing as you fix causes.
6. Report per field. 91% average usually means ~99% on vendor name and ~70% on line items. Fix the tail, not the mean.
What a good answer covers
- Start by being honest: you almost certainly do not reach 99% fully automatic
- The path is to engineer away the errors that have causes, then buy the last points with abstention and…
- Say that up front, because the interesting part of this question is reframing the target
- Error taxonomy before anything else
- Label 200-500 actual failures by cause
Key terms: 3. Structural cross-checks · 4. Confidence signals · 6. Report per field
In the glossary: Drift · Few-shot · Accuracy · Logprobs · Temperature · Hallucination
Interviewer follow-ups to expect
How would you set the abstention threshold without a large labelled set?
What changes if the customer's 99% requirement is per-document rather than per-field?
Worked answer from AI-Engineer-Interview-Questions by Om (MIT), reformatted for LLM Prep · answer text last updated 6 November 2026 · scoring and review schedule by LLM Prep