# From Scratch to SOTA: Training a 3B State-Space Vision Model

Krishna Prasad Srinivasan, Sarvam | AI Engineer World's Fair 2026 | 21:09

Source: https://www.youtube.com/watch?v=T72nqdC92PM
Channel: AI Engineer (https://www.youtube.com/@aiDotEngineer). Summarised by AIE Talks.
Page: https://aietalks.com/talks/from-scratch-to-sota-training-a-3b-state-space-vision-model
Published: 2026-09-23
Tags: long-context, multimodal, reinforcement-learning, synthetic-data

## TL;DR
- Sarvam built a three billion parameter vision-language model for document intelligence across English and 22 Indian languages, using a state space backbone instead of a transformer.
- The training curriculum starts with 13 trillion text tokens before the model sees an image, then adds 300 million image-text pairs, 100 million OCR samples, and reinforcement learning.
- Sarvam uses block-level OCR with layout and reading-order harnesses, machine-checkable rewards, and a data engine for languages where labeled documents are scarce.

## Summary
Krishna Prasad Srinivasan presents Sarvam Vision, a three billion parameter vision-language model trained from scratch in India for document intelligence in English and 22 Indian languages. He argues that India is missing from machine-readable data because much of its knowledge has never been digitized. The model uses block-level OCR with layout and reading-order harnesses, rather than treating each page as one monolithic OCR task. Its state space backbone keeps memory constant as sequence length grows, which matters for pages containing thousands of visual tokens. Training has four stages: language pretraining on 13 trillion tokens, continual pretraining on 300 million image-text pairs, supervised fine-tuning on 100 million OCR samples, and reinforcement learning. The team built synthetic-data pipelines, real-document data pipelines, and evaluations for practical document use. Srinivasan reports strong English benchmark results and a lead on 22 Indian languages, with more than 35 million pages being digitized in enterprise and government deployments.

## Key ideas
### India's document knowledge is absent from machine-readable training data
[01:16](https://www.youtube.com/watch?v=T72nqdC92PM&t=76s)
Srinivasan says well under one percent of the Common Crawl corpus used to train frontier models contains Indian-language representation. He attributes this to digitization rather than a lack of knowledge or source material. Much of the country's paperwork and historical material remains unavailable in a form models can use. Sarvam's stated goal is to create that missing data through document intelligence in English and 22 official Indian languages. The problem matters for insurers, banks, governments, and other organizations that need to extract information from documents used in everyday life.

### Indic document intelligence requires knowledge extraction and strong language models
[02:37](https://www.youtube.com/watch?v=T72nqdC92PM&t=157s)
The task is more than extracting visible words. Srinivasan says text without logical coherence is not useful, so the system must recover knowledge from documents. Indic scripts also contain complex Unicode combinations whose visual form differs from what a machine sees. Most of the 22 languages are low resource, which leaves little labeled data for training. Sarvam therefore built a three billion parameter vision-language model from scratch, with the language capability needed to resolve difficult text across all of the target languages.

### Block-level OCR gives the system a structured way to process pages
[03:18](https://www.youtube.com/watch?v=T72nqdC92PM&t=198s)
When Sarvam began its work in late 2025, Srinivasan says most OCR vision-language models processed an entire page as one monolithic task. Sarvam instead chose block-level OCR and added a document harness around the model. Sarvam Vision has separate modules for layout and reading order, followed by a state space model that performs OCR on individual blocks. Srinivasan says several models released in 2026 have moved toward the same combination of a harness and a smaller model.

### State space memory stays constant while document sequences grow
[04:31](https://www.youtube.com/watch?v=T72nqdC92PM&t=271s)
Srinivasan contrasts transformers, where every token interacts with every other token, with state space models, which maintain one state and update it token by token. Transformer compute grows with the square of sequence length, while state space compute grows linearly and memory remains constant. This matters for long documents that can contain 5,000 to 10,000 visual tokens on a page. Sarvam accepts some loss in recall from block-level processing to avoid the inference cost of quadratic attention.

### The model learns language before it learns to interpret pixels
[06:08](https://www.youtube.com/watch?v=T72nqdC92PM&t=368s)
Sarvam's four-stage curriculum begins with 13 trillion text tokens across English, Indian languages, math, and code. This builds the three billion parameter language backbone before the model sees an image. Srinivasan says the language prior helps the model resolve a smudged or ambiguous word in the same way a person can infer a blurred word from context. The next stage uses 300 million image-text pairs for general vision training. Supervised fine-tuning then uses 100 million OCR samples covering 22 languages, tables, equations, handwritten documents, and other document components.

### The data engine and evaluation layer matter as much as the training recipe
[08:05](https://www.youtube.com/watch?v=T72nqdC92PM&t=485s)
Srinivasan calls the data and evaluation layers the moat beneath the standard training stages. Labeled data is not readily available for most of the 22 languages, so Sarvam built pipelines that create synthetic and document data from real documents. The team also updates training data based on evaluation results. Its evaluations are designed to measure both benchmark performance and usefulness to end users. Srinivasan says the team is exploring agentic vision capabilities for future releases.

### OCR makes reinforcement learning rewards easy to verify
[09:13](https://www.youtube.com/watch?v=T72nqdC92PM&t=553s)
OCR correctness can be checked by machines, which gives reinforcement learning concrete rewards. Sarvam samples a group of outputs, scores them with unit tests, reinforces the average value to beat, and repeats the process. The tests can measure character error rate, table structure, mathematical equations, or grammar. Srinivasan describes this as reinforcement learning with verifiable rewards and says the deterministic nature of OCR makes the approach scalable.

### Sarvam reports strong results and active deployment across Indian languages
[09:54](https://www.youtube.com/watch?v=T72nqdC92PM&t=594s)
At launch, Sarvam Vision scored 84.3 on CRB Bench and 93.2 on OmniDocBench, according to Srinivasan. He says the model also had an unbeaten lead across 22 Indian languages against frontier systems including Gemini, ChatGPT, and Opus. Sarvam's agentic document workbench, Aure, supports human-in-the-loop digitization and extraction, confidence scores, block-level grounding, and agentic proofreading. Srinivasan says organizations in insurance, banking, government, and historical preservation are using the system to digitize more than 35 million pages. The model is available through an API and on premises.

### Sovereignty determines where document AI can be deployed
[17:29](https://www.youtube.com/watch?v=T72nqdC92PM&t=1049s)
In the question period, Srinivasan connects document digitization to control over data. Government organizations may need to know where transcriptions are processed, where data is sent, and how much of it is used. He says a sovereign model gives those organizations control over deployment and data handling. Sarvam's planned Indic benchmark will cover 22 languages, documents from the 1800s to the present, and formats including prose, poetry, literature, tables, and finance. He also says current deployments will provide feedback for future training data.

## Notable quotes
- "India is largely missing from the machine readable world." (01:16)
- "We focused on building the competence of the language model first before the model ever even sees a pixel." (06:27)
- "In OCR correctness is a machine readable problem." (09:09)
- "You cannot reach state-of-the-art if you cannot measure how well your model performs." (08:46)
- "Sovereignty becomes very crucial." (19:03)

## Tools & references mentioned
- Sarvam Vision
- Common Crawl
- Qwen
- Gemma
- CRB Bench
- OmniDocBench
- Gemini
- ChatGPT
- Opus
- Aure
- RLVR

## Who should watch
- You are building OCR or document AI for long pages and need to choose between transformer and state space architectures.
- Your target languages have little labeled data, and you need practical methods for synthetic data, evaluation, and reinforcement learning.
- You work with government or enterprise documents where on-premises deployment and control over data processing matter.

## Related talks

- [See, Hear, Speak, Draw](https://aietalks.com/talks/see-hear-speak-draw) (Logan Kilpatrick & Simón Fishman, OpenAI, 18:43)
- [Moondream: How Does a Tiny Vision Model Slap So Hard?](https://aietalks.com/talks/moondream-how-does-a-tiny-vision-model-slap-so-hard) (Vikhyat Korrapati, 19:26)
- [How MiniMax M3 Was Built: Sparse Attention and Native Multimodality](https://aietalks.com/talks/how-minimax-m3-was-built-sparse-attention-and-native-multimodality) (Olive Song, MiniMax, 15:03)
- [Vision AI in 2025](https://aietalks.com/talks/vision-ai-in-2025) (Peter Robicheaux, Roboflow, 17:24)
- [Building the Document Context Layer for AI Agents](https://aietalks.com/talks/building-the-document-context-layer-for-ai-agents) (Jerry Liu, LlamaIndex, 21:04)
