When Ink Meets Pixel: Intent-Aware OCR with VLMs for Human-Corrected Financial Documents
Organizations: 1Hyperbots Inc.
Abstract
Human annotations on documents (such as arrows, carets, strikethroughs, and insertions) express corrective intent yet existing OCR and document understanding systems treat these marks as visual noise rather than semantic edit operations. We introduce intent-aware OCR, the task of generating corrected transcriptions by jointly reasoning over original document content and visual intent cues (handwritten or digital) that convey edit intent. To support this setting, we present DocIntent, a multimodal dataset of 1,600 financial documents with over 5,700 annotated visual intent cues, each paired with layout-aware, intent-resolved OCR targets. We further introduce IntentBench, a 216-document benchmark designed to evaluate model robustness under diverse real-world annotation conditions. Leveraging DocIntent, we fine-tune DocIntentOCR, a suite of 3B and 7B parameter vision-language models, under direct intent supervision on corrected transcriptions. On IntentBench, the fine-tuned 3B and 7B models achieve F1-scores of 0.81 and 0.83, respectively, substantially outperforming commercial closed-source (e.g., GPT-4.1 (0.626)), and open-source models (e.g., LLaMA-3.2-Vision-90B (0.50)) demonstrating that intent-aware supervision enables compact domain-specific models to outperform substantially larger general-purpose systems on this task. This work establishes intent-aware OCR as a novel human-in-the-loop document understanding task and provides foundational resources (dataset, benchmark, models) to advance research in interactive document processing.
Figures & tables
| Statistic | DocIntent | IntentBench |
|---|---|---|
| # Documents | 1,659 | 216 |
| Total intent cues | 5,641 | 758 |
| Avg. cues per doc | 3.40 | 3.03 |
| Avg. tokens per doc | 157.51 | 175.79 |
| Cue types covered | 10 | 9 |
| Digital (%) | 74.8 | 88.4 |
| Model | F1 | WER |
|---|---|---|
| Gemini 2.5 Flash | 0.6653 | 1.3306 |
| Gemini 2.5 Pro | 0.6351 | 0.6009 |
| GPT-4.1 | 0.6261 | 0.9058 |
| Claude Sonnet 4.6 | 0.5974 | 0.9308 |
| Mistral-Large-3-675B | 0.6077 | 0.9840 |
| Llama-3.2-90B-Vision | 0.4982 | 1.0986 |
| Ablation | From | To | F1 |
|---|---|---|---|
| Intent supervision (3B) | 0.656 | 0.810 | +0.155 |
| Intent supervision (7B) | 0.649 | 0.833 | +0.184 |
| Model scale (supervised) | 0.810 | 0.833 | +0.023 |
Appendix figures & tables9 assets
Supplementary material from the paper’s appendix.
Appendix
| Category | Cue Type | Scope | Expected OCR Behavior |
| Deletion | Strikethrough | Token / Field | Marked content is omitted from the output. |
| Row Strikethrough | Table Row | All cells in the struck-through row are removed. | |
| Column Strikethrough | Table Column | All values in the struck-through column are removed. | |
| Full-Table Strikethrough | Table | The entire table is omitted from the output. | |
| Replacement | Strikethrough + Handwritten Value | Token / Field | Struck-through text is replaced by the nearby handwritten value. |
| Arrow-Indicated Replacement | Token / Field | Struck-through text is replaced by the value the arrow points to. |
| Category | Cue Type | Total | Docs | Avg./Doc |
| Deletion | Strikethrough w/o Replacement | 986 | 833 | 0.59 |
| Table Row Deletion | 189 | 169 | 0.11 | |
| Table Column Deletion | 333 | 303 | 0.20 | |
| Full Table Deletion | 133 | 130 | 0.08 | |
| Replacement | Strikethrough w/ Replacement | 1,880 | 1,233 | 1.13 |
| Arrow-Indicated Replacement | 1,214 | 1,010 | 0.73 |
| Category | Cue Type | Total | Docs | Avg./Doc |
| Deletion | Strikethrough w/o Replacement | 160 | 143 | 0.74 |
| Table Row Deletion | 1 | 1 | 0.00 | |
| Table Column Deletion | 30 | 30 | 0.14 | |
| Full Table Deletion | 12 | 12 | 0.06 | |
| Replacement | Strikethrough w/ Replacement | 209 | 185 | 0.97 |
| Arrow-Indicated Replacement | 192 | 180 | 0.89 |
| Metric | Value |
|---|---|
| Number of annotation pairs | 216 |
| Mean similarity | 0.77 |
| Minimum similarity | 0.31 |
| Maximum similarity | 0.99 |
| Standard deviation | 0.12 |
| Cue Type | DocIntentOCR -7B | DocIntentOCR -3B | Qwen2.5-VL-7B | Qwen2.5-VL-3B | GPT-4.1 | GPT-4o | o3 | Claude-S.-4.6 | Gemini-2.5-Flash | Qwen3-VL-32B | Gemini-2.5-Pro | Llama-3.2-90B | Mistral-L.-3 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Strikethrough w/o Replacement | 0.83 | 0.85 | 0.67 | 0.79 | 0.73 | 0.83 | 0.81 | 0.71 | 0.81 | 0.67 | 0.83 | 0.77 | 0.73 |
| Table Column Deletion | 0.81 | 0.81 | 0.69 | 0.67 | 0.69 | 0.81 | 0.71 | 0.70 | 0.72 | 0.59 | 0.69 | 0.44 | 0.69 |
| Full Table Deletion | 0.68 | 0.71 | 0.71 | 0.68 | 0.72 | 0.80 | 0.80 | 0.68 | 0.64 | 0.57 | 0.71 | 0.54 | 0.69 |
| Strikethrough w/ Replacement | 0.79 | 0.77 | 0.55 | 0.57 | 0.72 | 0.78 | 0.75 | 0.70 | 0.66 | 0.62 | 0.62 | 0.57 | 0.57 |
| Arrow-Indicated Replacement | 0.73 | 0.75 | 0.53 | 0.44 | 0.66 | 0.76 | 0.77 | 0.69 | 0.68 | 0.61 | 0.64 | 0.37 | 0.50 |
| Table Cell Replacement | 0.88 | 0.94 | 0.88 | 0.59 | 0.88 | 1.00 | 1.00 | 1.00 | 0.88 | 0.94 | 0.71 | 0.88 | 0.82 |
| Model | Edited Region F1 | Non-Edited Region F1 |
|---|---|---|
| DocIntentOCR -7B | 0.8624 | 0.8170 |
| DocIntentOCR -3B | 0.8624 | 0.8321 |
| Qwen2.5-VL-7B-Instruct | 0.7151 | 0.7338 |
| Qwen2.5-VL-3B-Instruct | 0.6699 | 0.7074 |
| GPT-4.1 | 0.8204 | 0.6815 |
| GPT-4o | 0.8677 | 0.8206 |
| Model | F1 | WER |
|---|---|---|
| GPT-4.1 | 0.8006 | 0.4677 |
| Mistral-Large-3-675B | 0.7698 | 0.4578 |
| Gemini 2.5 Flash | 0.8180 | 0.3580 |
| Gemini 2.5 Pro | 0.8520 | 0.2980 |
| Llama-3.2-90B-Vision | 0.8350 | 0.3270 |
| Qwen3-VL-32B-Instruct | 0.7502 | 0.6229 |
Document Understanding
Document understanding enables machines to interpret text, layout, tables, and images to extract information and answer questions about documents.
See all 97 papers