Back to ReportsReport ID: multimodal-rag-vs-rules-in-procurement
architecture2026-11-01•9 min read
L1: Documented EvidenceArchitectural Blueprint: Multimodal Vision vs Regex OCR in Legacy Japanese FAX Workflows
Deep-dive into engineering trade-offs: why template OCR fails on shifted columns, and how combining Multimodal LLM extraction with Master Catalog RAG solves supplier name variations.
Domains:
procurementmanufacturingit
Tools:
AWS TextractMultimodal LLM APIQdrant / pgvectorFastAPI
Models:
Claude 3.5 SonnetGPT-4o
## Technical Architecture Overview
When Japanese SMEs and distributors receive orders, over 40% still arrive via scanned PDF or paper FAX transmitted through legacy multi-function peripherals.
### The Failure of Traditional Template OCR
Traditional OCR engines rely on fixed bounding boxes $(x_1, y_1, x_2, y_2)$ configured for specific vendor forms. When a supplier updates their logo, inserts a promotional line, or scans a page at a 3-degree rotation, the bounding boxes capture irrelevant cells, causing downstream pipeline crashes.
### The Multimodal LLM Solution
Modern vision models (e.g. Claude 3.5 Sonnet, GPT-4o) do not read pixels via coordinate grids; they understand document semantics, tables, and handwriting in context.
```
[FAX Image Input]
│
▼
[Vision Model (Structural Extraction)]
│ (JSON: raw_supplier_name, item_desc, qty, date)
▼
[Internal Master Catalog (Vector Similarity RAG)]
│ (Resolves "ABC Micro Bearing 608" -> Internal SKU #984210)
▼
[Confidence Gate (Score >= 0.95)]
├── Yes ──> [ERP API Auto-Commit]
└── No ──> [Human Review Exception Queue]
```
By decoupling visual understanding from spatial rigid templates, systems achieve over 95% zero-shot accuracy across hundreds of unconfigured supplier templates.
Referenced Government & Research Sources
src-meti-2025-dxMETI DX Report 2025: Current State and Challenges of Generative AI in Japanese Enterprises
View CitationMinistry of Economy, Trade and Industry (METI) (2025)