From Pixels to Structure: Lightweight Vision-Language Models for Document OCR and Structured JSON Extraction
Uddipan Basu Bir, Vincent Christlein, Andreas Maier, Mathias Zinnen
Abstract
While massive, closed-source Vision-Language Models (VLMs) set strong benchmarks for document understanding, their dependence on commercial APIs limits adoption in institutional archives due to data autonomy concerns, recurring costs, and the environmental footprint of hyperscale computing. This is especially acute in heritage digitization, where documents include historical handwriting, domain-specific terminology (e.g., jewelry, prehistory, architecture), and non-standard layouts requiring high-dimensional structured extraction. We present a comparative study of eight open-source lightweight VLMs (up to 7B parameters) for Optical Character Recognition (OCR)-to-structure across three university heritage collections. Given a document image, models must extract text and generate schema-compliant JSON, enabling automatic validation and downstream use. We evaluate models under a constraint-aware protocol across zero-shot, few-shot, and fine-tuning settings, measuring extraction fidelity and structured-output quality using Character Error Rate (CER), Approximate Normalized Levenshtein Similarity (ANLS*), and mean Average Precision F1 (mAP-F1). Against a fine-tuning baseline, we further test the independent impact of (i) hyperparameter optimization, (ii) classical image preprocessing (illumination flattening, denoising, and CLAHE), and (iii) multi-stage training. Finally, we analyze the trade-off between dataset-specific fine-tuning and a single multi-dataset checkpoint, where joint training enables one model to operate across collections but can shift performance between datasets. Overall, we show that carefully adapted VLMs with up to 7B parameters can provide a sustainable, private, high-performing alternative to manual transcription or commercial black-box systems, and we offer actionable guidance for heritage institutions seeking institution-controlled OCR-to-JSON extraction.
Create a lesson
Metadata
- Categories
- cs.CV, cs.AI
- Journal
- Document Analysis and Recognition - ICDAR 2026, Lecture Notes in Computer Science, vol. 16974, pp. 502-519, Springer, 2027
- Comments
- 17 pages. Published in Document Analysis and Recognition - ICDAR 2026, LNCS vol. 16974, Springer. Code: https://github.com/uddipan77/Analysis-of-Lightweight-Vision-Language-Models-for-Document-OCR-and-Structured-Output-Generation
Related papers
Read Before You Use: Improving Visual Memory Utilization in Vision-Language Models
Shared title terminologycs.CVJunseok Kim, Kyungmin Min, Kyomin Jung
CAPTOR: a vision-language foundation model for Chest-Abdomen-Pelvis Oncologic CT
Shared title terminologycs.CVSéléna Jean-Mactoux, Sophie Loizillon, Ghina Jardali et al.
GuidedNav: Shaping Vision-Language Navigation Representations through Pre-action Attention and Spatial Guidance
Shared title terminologycs.CVJingyu Guo, Jiaxin Huang, Chengxing Lin et al.
What Do Visual-Head Discovery Scores Actually Find? Attention Source, Necessity, and Random-Control Pitfalls in Vision-Language Models
Shared title terminologycs.CVMd Abdul Kadir, Daniel Sonntag
Robust Vision-Language Navigation with Awareness of Instruction-Execution Progress
Shared title terminologycs.CVJiagan Huang, Zikun Zhou, Hongpeng Wang et al.
In-Context Learning Can Help Vision-Language Models Overcome Training Priors
Shared title terminologycs.CVKun Wang, Xindi Wu, Sanghyuk Chun et al.