drishyam-vision-decision-270m
document decision-making model
2 min readupdated
The drishyam-vision-decision-270m model (vision champion v2) is a compact document verification model that takes a document page image and a text question as input, then returns a structured verdict instead of free text. It is based on google/t5gemma-2-270m and inherits the Gemma Terms of Use license. The architecture combines a frozen SigLIP visual encoder, an embedding projector, and specialized encoder heads for binary questions, multiple choice, and scale evaluation. The development targets automated verification of receipts, statements, and bills.
Key features
- Visual encoder: A frozen SigLIP-style tower where pages are cached as 256 embedding tokens without re-encoding during training.
- Typed heads: Support for three response formats — binary (yes/no), multiple choice (choice), and ordinal scale (score).
- Calibrated outputs: Temperature scaling calibrated on a synthetic validation dataset.
- Synthetic training: Trained on a dataset of 90,000 synthetic document pages (receipts, statements, bills) generated using a deterministic factory method.
What you can do
- Receipt verification: Apply to verify real scanned receipts and extract fields (date, company, total amount).
- Financial document analysis: Use in processing pipelines for bank statements, payroll sheets, and utility bills.
- Answer classification: Set up automated decision-making for binary questions (such as data compliance checks) within document workflows.
Example
The model accepts a document page image and a text question, returning a structured verdict (yes/no, option choice, or score) through specialized output heads.
Read more
DetailsBenchmarks: validation accuracy 0.894, ECE 0.036, test accuracy 0.886; on the open SROIE test (receipt verification), overall accuracy is 51.2% (real date recognition reaches 98.3%, though false statement rejection is currently limited to 20.1% due to training response imbalance).
Requirements: a lightweight model based on 270M parameters, running at about 48.8 decisions per second in fp32.
Limitations: works exclusively in the document domain (tests on the ImajevBench photo domain showed 34.1% and were closed as out-of-scope), calibration does not transfer out-of-distribution (OOD), weak ability to reject false statements (Yes-prior defect), and the model is not intended for general text chats.










Comments