# Launch Week Day 3: Layout Model Updates

> Significant upgrades to our OCR and Layout models, achieving state-of-the-art performance on olmOCR-bench.

- Canonical: https://www.datalab.to/blog/launch-week-layout-model
- Published: 2025-09-25
- Authors: Tarun Menta

At Datalab, we've designed and trained custom models that form the backbone of our document processing platform. We've been hard at work improving these models, and over the past few weeks, we shipped major upgrades to our OCR and Layout models.

## Layout Matters More Than You Think

Document variations are endless: Multi-column, newspaper style, tables, scribbled footnotes, text that wraps around images, etc. Layout models are trained to divide the page into blocks, and determine the reading order of these blocks. Get the reading order wrong, and the parsed output is un-readable. Miss a block, and you risk losing out on critical information, like a footnote in a legal document, or an important number in a financial table.

Our layout models were specially trained on edge cases to handle:

- Well-formatted documents in their natural reading order in [Datalab Parse](https://documentation.datalab.to/docs/recipes/marker/conversion-api-overview)
- Positional information attached to every piece of extracted text, enabling fine-grained citations in [Datalab Extract](https://documentation.datalab.to/docs/recipes/structured-extraction/api-overview)

See our model in action on some traditionally challenging layout formats:

![Handwritten Mathematical Notes](/images/blog/launch-week-layout-model/handwritting-lab-notes.jpg)

![Long complex newspapers](/images/blog/launch-week-layout-model/long-complex-newspaper.jpg)

![Messy scanned documents](/images/blog/launch-week-layout-model/messy-scanned-doc.png)

![A CAD Drawing](/images/blog/launch-week-layout-model/cad-drawing.jpg)

We're constantly looking to push the boundaries of our models, so send the craziest document layouts you've seen to [hi@datalab.to](mailto:hi@datalab.to). We'll send credits if you shock us!

## 3rd Party Benchmarks Back It Up

The layout recognition improvements aren't just qualitative, they translate into real measurable performance gains. On the [olmOCR-bench](https://huggingface.co/datasets/allenai/olmOCR-bench), we've achieved our highest score of **76.5**. This puts us ahead of services like Mathpix, Azure, Textract, Google Document AI, open models like Qwen2.5VL, and even frontier models like GPT4o and Gemini Flash — And did we mention our model is only 700M parameters??

![olmOCR-bench results](/images/blog/launch-week-layout-model/launch-week-blog.png)

## ICYMI: State-of-the-Art on arXiv math OCR

Our new OCR model is more accurate, and getting better every week! This is one of the many advantages of building and training our own models. Earlier this month, we shared that our models reached **state-of-the-art math OCR performance.** Read more about why this is extremely important for training frontier reasoning models [here](/blog/cracking-math-ocr).

![Math OCR data from a Tier-1 AI research lab](/images/blog/launch-week-layout-model/feageg.png)
