Fine-tuned 7B and 3B vision models beat GPT-5 at reading fields off synthetic checks
Made by Kushal Patel and six co-authors
The result
The story
Four fields off a check
A research team at John Hancock in Boston asked which kind of model a practitioner should pick to pull a few fields out of templated business forms, weighing accuracy, latency, where data may go and cost. The test is narrow: read an image of a US business check and return JSON with the payee, amount, date and bank.

Real checks carry account numbers and personal data, so the team rendered 3,748 synthetic ones with scanner-style distortions. The table of values was split before rendering, so no payee, amount or date in the 750 test checks appears among the 2,998 used for training, and the background pages were kept apart too.
Data
Synthetic US business checks
3,748 images: 2,998 for fine-tuning, 750 held out for testing
Rendered by the authors from a table of field values onto Chase, Citi and BOA templates, with scanner-style distortions
Split by field-table rows and background pools; the paper says the data is released, but on 07 Nov 2026 it isn’t in the GitHub repository
Small model
Qwen2.5-VL-7B-Instruct, fine-tuned
7B (8,292,166,656 parameters with the vision encoder, per Hugging Face) · Alibaba Qwen (base model); LoRA fine-tune by John Hancock
LoRA fine-tune on 2,998 synthetic checks with the same prompt used at test time; the tuned weights aren’t released
- Base
- Qwen/Qwen2.5-VL-7B-Instruct
Training
LoRA (r=16, alpha 32, dropout 0.05) on all attention projections and the MLP
1.23% of parameters trainable
- Time
- 6-14 GPU-hours per Qwen fine-tune; 5 epochs at learning rate 1e-4, effective batch size 4
Not reported: cost.
Same prompt for everyone
Every vision or language model got the same prompt, and the two reasoning models, GPT-5 and Claude Sonnet 4.5, also got the line ‘Think briefly, then answer.’ GPT-5 had the best F1 of the commercial systems; its reasoning effort isn’t stated. Answers were scored on the first try, and an answer that didn’t parse as JSON counted as four misses.
Large model
GPT-5 (gpt-5-2025-08-07)
Size not disclosed · OpenAI
Used as released through its API, zero-shot: the same prompt plus ‘Think briefly, then answer.’
- Base
- General reasoning model
Evaluation
750 checks
- Test set
- 750 held-out synthetic checks, identical for every system
- Metric
- Entity-level micro-F1 over the four fields; also all-four-right accuracy, JSON failures and latency
- How it was compared
- Same images, prompt and scorer for the fine-tuned 7B and GPT-5; GPT-5 zero-shot against models fine-tuned on 2,998 checks from the same generator; GPT-5’s reasoning effort not stated.
What they found
The fine-tuned 7B scored 0.985 F1 and got all four fields right on 88.9% of checks; GPT-5 scored 0.928 and 41.7%, with dates its weakest field (0.772 against 0.960). The 7B averaged 3.53 seconds a check on one A100, GPT-5 26.3 seconds end to end through its API, which is not a like-for-like timing. On 400 public checks in a different style, the fine-tuned 3B fell to 0.593; the 7B and GPT-5 weren’t run there.
What it would cost
The cost section prices a hypothetical pilot of 100,000 checks a month from list prices: about $0.025 a check for GPT-5, against $734 a month for one dedicated A10G GPU on AWS for a self-hosted model, plus $15,000 to $17,000 of one-off development. Projected to that GPU, both Qwen models miss the authors’ 5-second budget, so their framework picks a smaller fine-tuned model, SmolVLM2-2.2B. Without the self-hosting rule, OCR plus GPT-4.1 is cheapest below about 440,000 checks a month.
All the numbers
Show all numbersHide all numbersEvery model · Cost, latency and energy · 5 more results
Every model on the headline test
Cost, latency and energy, as reported
- Cost · US$ per document for GPT-5 (list price; GPT-5 also returned two extra fields)
- Qwen2.5-VL 7B, fine-tunedUS$734 per month fixed for one dedicated AWS g5.xlarge (
NVIDIA A10G), about US$0 per extra document
- GPT-50.025
- Fine-tuned models: trained on 1x
NVIDIA A100 80GB; latency measured on 1x
A100 80GB PCIe (bf16, batch size 1); the cost case assumes an AWS g5.xlarge (
NVIDIA A10G). GPT-5: OpenAI API, hardware not disclosed.
- Authors’ illustrative estimates for a hypothetical pilot (Section 6, Tables 5-6), not a measured bill. API per-document costs from list prices: GPT-5 US$0.025, Azure Content Understanding US$0.010, Claude Sonnet 4.5 US$0.006, GPT-4.1 US$0.004, OCR + GPT-4.1 US$0.003. Self-hosted: AWS g5.xlarge at US$1.006 per hour = US$734 per month, near-zero marginal cost below saturation. Development cost for fine-tuned models US$15-17K (labelling at an assumed US$2 per check plus engineering). The paper’s own result: below about 440,000 documents a month the OCR + GPT-4.1 API pipeline is cheapest; at 1M documents a month two self-hosted instances cost US$32.6K a year vs US$44.0K for OCR + GPT-4.1.
- Latency · seconds per document
- Qwen2.5-VL 7B, fine-tuned3.53
- GPT-526.3
- Not like for like: the fine-tuned model was timed locally on one
A100 80GB at batch size 1; the API figure is end to end through the provider (the paper logged mean latency for APIs). On the cheaper
A10G used in the cost case, the authors project Qwen-7B at 8.2 s p95 (projected from
A100, not measured).
- Energy
- Not reported
More from the source
Document-level accuracy (all four fields right)
Small model 88.9Large model 41.7 %
Best commercial on this measure: GPT-4.1 (vision) 45.4%.
Table 1
Other systems, micro-F1
Qwen2.5-VL-3B fine-tuned 0.983 OCR + GPT-4.1 0.917 GPT-4.1 (vision) 0.909 SmolVLM2-2.2B fine-tuned 0.906 Azure Content Understanding 0.889 Claude Sonnet 4.5 0.857 Qwen2.5-VL-7B, not fine-tuned 0.921 OCR + regex (no LLM) 0.395 Table 1
Per-field F1, fine-tuned Qwen2.5-VL-7B vs GPT-5
Payee 0.935 vs 0.870 Amount 0.992 vs 0.970 Date 0.960 vs 0.772 (Claude Sonnet 4.5: 0.468) Bank 1.000 vs 0.999 Table 2
Seed study, three resampled splits: Qwen2.5-VL-7B fine-tuned 0.985 ± 0.002 F1
Appendix G, Table 9
Second task, 36-field insurance application forms (field accuracy): fine-tuned Qwen 3B and 7B 0.927 vs GPT-4.1 image-only 0.768 (0.738 before true/yes normalisation); GPT-5 not tested there
Section 4.6, Table 4
Worth knowing
- Synthetic checks with a four-field schema, made by the same generator for training and test; real documents are more varied.
- Commercial systems were prompted zero-shot; the open models were fine-tuned on 2,998 checks from the same generator.
- On cost the paper does not say small is always cheaper: in its illustrative case the API pipeline is cheapest below about 440,000 checks a month, and its recommended self-hosted model is SmolVLM2-2.2B, not Qwen.
- Very recent preprint (September 2026), not peer-reviewed.
2 more caveats
- Out of distribution (a public Indian-style check set), the fine-tuned Qwen-3B fell to 0.593 F1, predicting the same date for all 400 checks; the 7B was not tested there.
- Latency is not like for like (local
A100 vs API end to end).
Weights on Hugging Face
Base checkpoint named in Appendix B, verified 03 Oct 2026 (Apache-2.0). The paper does not link fine-tuned weights; the training recipe is in the GitHub release.
- Qwen/Qwen2.5-VL-7B-InstructQwen2.5-VL-7B-Instruct (LoRA fine-tuned)
- Qwen2.5-VL-3B-Instruct (LoRA fine-tuned)
Sources
- Patel et al., “Beyond Accuracy: Robustness, Cost, and Governance Trade-offs for Vision-Language Models in Templated Document Extraction”, arXiv 2609.15706 (v2)
- Dataset, generator, fine-tuning scripts and harness (GitHub, manulife-ai)
- Base model Qwen2.5-VL-7B-Instruct (Hugging Face)
- arXiv 2609.15706 v1 14 Sep 2026; v2 19 Sep 2026. Numbers checked against v2. Preprint; no venue is stated in the paper.
