SAVIOR: Sample-efficient Adaptation of Vision-Language Models for OCR Representation
Abstract
A sample-efficient curation method and a structure-aware layout metric enable a fine-tuned vision-language model to improve OCR on challenging financial document patterns, achieving high word recall and document question-answering F1.
Optical Character Recognition (OCR) pipelines and vision-language models exhibit high accuracy on standard OCR and document-understanding benchmarks, yet they systematically underperform on document patterns that are operationally critical in financial workflows. These patterns include vertical or rotated text, logo-embedded vendor names, fine-print regulatory clauses, degraded scans, and complex multi-column layouts. While underrepresented in public datasets, they constitute a substantial portion of real-world failure cases. We introduce SAVIOR, a sample-efficient data curation methodology that targets such high-impact failure scenarios to adapt vision-language models for robust financial OCR. We further propose PaIRS, a structure-aware evaluation metric that measures layout fidelity by comparing pairwise spatial relationships between tokens. Fine-tuning Qwen2.5-VL-Instruct with SAVIOR-Train achieves a word recall of 0.93. When the resulting layout-aware OCR output is used as context for document question answering, it attains an F1 score of 0.89, outperforming both open- and closed-source models such as GPT-4o, Mistral-OCR, PaddleOCR-VL, and DeepSeek-OCR.
Community
Author here (Hyperbots). OCR and vision-language models do well on standard benchmarks but break on patterns common in finance documents: rotated and vertical text, vendor names inside logos, fine print, degraded scans and dense multi-column pages. SAVIOR-Train targets those cases with just 2,234 curated documents; fine-tuning Qwen2.5-VL-Instruct on it reaches 0.93 word recall. We also propose PaIRS, which scores layout fidelity by comparing spatial relationships between pairs of words. Synthetic test sets for several of these patterns are in our collection: https://huggingface.co/collections/hyperbots-inc/hyperapi-enterprise-document-intelligence-6af6c8764547d894d4e1a3c4
Models citing this paper 0
No model linking this paper