Multimodal Vision Models on Dirty Invoices, UI Screenshots & Architecture Diagrams: 45 Live Calls
Every multimodal model demo uses a crisp, flat, high-resolution invoice. Real business pipelines receive tilted smartphone photos with glare, opaque stamps covering invoice numbers, handwritten totals, and cropped edges.
Worse, unlike traditional OCR that fails loudly, a vision LLM can return a clean, valid JSON with a hallucinated or truncated number.
We generated 15 controlled synthetic "dirty" test images (via Python PIL/matplotlib, explicitly labeled as synthetic) and ran 45 live requests (15 samples Γ 3 models: qwen3-vl-plus, qwen3.8-max, kimi-k3.1-pro, total cost Β₯0.5564 on DashScope):
- 8 Dirty Invoices (
inv01-inv08): Heavy Gaussian blur, glare washout, opaque stamp occlusion (must returnnull), rotated handwriting, 7.5Β° tilt + shadow, word-vs-numeric amount mismatch (+1000 RMB), 6-row line items, and right-edge cropping (must returnnull, not partial digits). - 4 UI Screenshots (
ui01-ui04): Login form, settings toggles & active tab, data table, low-contrast mobile UI (31 total controls). - 2 Architecture Diagrams (
arch01-arch02): 7 nodes / 6 edges and 8 nodes / 9 edges (with reverse & crossing edges). - 1 Unlabeled Bar Chart (
chart01): 6 bars, grid step 20, zero value labels.
Scorecard (45 Live Requests)
| Model | Invoice Fields (56 total) | Wrong / Guessed | Line Items | UI Controls | Arch Edges (arch02) | Bar Chart | Avg Cost / Image | Avg c_ttft |
|---|---|---|---|---|---|---|---|---|
| qwen3-vl-plus | 49 ok / 4 null / 3 err | 3 (incl. 1 partial crop) | 21/21 | 31/31 | 14/15 (1 reversed) | 6/6 | Β₯0.0025 | 0.676s |
| qwen3.8-max | 51 ok / 3 null / 2 err | 2 | 21/21 | 31/31 | 15/15 | 6/6 | Β₯0.0152 | 1.457s |
| kimi-k3.1-pro | 52 ok / 3 null / 1 err | 1 | 21/21 | 31/31 | 15/15 | 6/6 | Β₯0.0194 | 1.822s |
(All 45 responses were pure JSON with zero Markdown fences.)
4 Failure Modes That Break Financial & Diagram Pipelines
- They Read Both Numbers, Yet Miss the Fraud (
inv06): On the invoice where written-out Chinese amount exceeded numeric total by 1,000 RMB, all 3 models returnedgrand_total_words_consistent: true. Vision models transcribe well; they do not reliably cross-audit arithmetic consistency. - Copying Partial Digits Instead of null (
inv08): When the right half of the invoice number was cropped off,qwen3.8-maxandkimi-k3.1-proobeyed instructions and returnednull.qwen3-vl-plusreturned "2611" - a partial prefix that looks valid to downstream parsers unless you enforce length/regex checks. - Silent Edge Reversal in Architecture Diagrams (
arch02):qwen3-vl-plusgot all 8 nodes and 9 edge counts right, but flipped the direction of "Data Pipeline -> Feature Store". - Single-Character Homophone Substitution (
inv06):qwen3.8-maxmisread "ζΊι " as "εΆι " in the buyer's company name - invisible to schema checks, fatal for vendor reconciliation.
Production Architecture Rule
Use qwen3-vl-plus (~Β₯24 per 10,000 invoices vs Β₯154 for qwen3.8-max and Β₯197 for kimi-k3.1-pro) for fast, cheap field transcription, then enforce all arithmetic reconciliation, regex ID-length checks, and cross-field validation in deterministic code - routing any mismatch or null to human review.
Series: Production AI Benchmarks - Independent engineering evaluations without leaderboard hype.
Reproducible Scripts & Sponsorship
- GitHub Benchmark Suite: https://github.com/wangguode/llm-prod-bench
- Chinese Full Report (Zhihu): https://zhuanlan.zhihu.com/p/2106136384415196171
- Building a multimodal vision API, OCR pipeline, or Agent DevTool and want an independent production stress-test? Open a [Benchmark Request] issue on GitHub or DM @sansaxypy.
Comments
No comments yet. Start the discussion.