logo

Our Blog

Try Kriyam AI
Document Intelligence

LightOnOCR-2 — Outperforming Larger Models in Document AI

Hands-on evaluation of a VLM-based OCR model on real-world documents
By: Avishek Jana | 7 min read | January 25, 2026
1_FGDhWNNfbPpFoTahBJwVEw.webp

Yet another day, another OCR model dropped.

This time, it is LightOnOCR-2 — a 1-billion-parameter VLM-based OCR model that is taking a direct shot at more established players in this space, such as OLM OCR, DeepSeek OCR, and dots.ocr.

The claims are ambitious: better speed and accuracy, despite a relatively small model size.

Claims to be 3.3× faster than Chandra OCR, 1.7× faster than OlmOCR, 5× faster than dots.ocr, 2× faster than PaddleOCR-VL-0.9B, 1.73× faster than DeepSeekOCR

So I thought, let’s validate the claims whether it is actually good in this segment or not.

In this article, I walk through:

  • What I observed during hands-on testing

  • Where this model shines

  • And where there is still room for improvement

Let’s get started

About the Model

The LightOnOCR-2–1B, is a compact, end-to-end vision–language OCR model described in a recent research paper (arXiv:2601.14251). Unlike traditional OCR pipelines that stitch together multiple specialized components for detection, recognition, table parsing, and layout analysis, LightOnOCR-2–1B is trained as a single unified model that goes directly from image pixels to structured, naturally ordered text.

Here are the key characteristics I derived from reading the research paper:

End-to-end design:

The model is designed to process document pages directly from pixels to structured text in a single pass, without relying on separate layout detection, text detection, or text recognition components.

Compact and efficient:

At approximately 1 billion parameters, the authors claim state-of-the-art performance on benchmarks such as OlmOCR-Bench, while remaining significantly smaller and faster than many larger OCR models.

Strong real-world performance:

According to the paper, training on a large and diverse distillation dataset — including scanned documents and scientific PDFs — improves robustness on complex, real-world document layouts.

Bounding box support:

Certain variants of the model are designed to output normalized bounding boxes for images and embedded figures, enabling joint OCR and layout extraction.

1_11OXlYA9jD6g2lduyPAkuA.webp

Performance on OlmOCR-Bench. Source https://huggingface.co/blog/lightonai/lightonocr-2

Model family and variants:

The release includes multiple checkpoints focused on pure OCR, bounding-box-aware OCR, and mixed capabilities, making the model adaptable to different document processing workflows.


My Evaluation Criterias

These are the key qualities and metrics I use when evaluating an OCR model in real-world scenarios.

  • Text accuracy
    How accurately the model extracts textual content and distinguishes between titles, section headings, and body text.

  • Layout awareness
    Whether the model understands document structure such as page headers, footers, and different content types like paragraphs, images, tables, and figures.

  • Reading order
    Whether the extracted text follows the natural human reading sequence across columns, sections, and pages.

  • Forms and structured data
    How well the model extracts key-value pairs and form fields in structured and semi-structured documents.

  • Handwritten and multilingual handling
    Performance on handwritten text and documents containing multiple languages.

  • Robustness
    Performance on noisy, skewed, blurred, and low-quality documents.


Deployment with vLLM

I deployed the model using vLLM on a single GPU server with two NVIDIA RTX 5070 Ti GPUs (16 GB each).

My deployment is straightforward with a Docker Compose.

compose.yml

services:
  vllm-server:
    image: vllm/vllm-openai:v0.12.0
    command: >
      --model lightonai/LightOnOCR-2-1B
      --trust-remote-code
      --enable-prefix-caching
      --gpu-memory-utilization 0.2
      --port 8005
      --max-num-seqs 2
      --tensor-parallel-size 2
    environment:
      - VLLM_ATTENTION_BACKEND=FLASH_ATTN
    volumes:
      - ~/.cache:/root/.cache

    deploy:
      resources:
        reservations:
          devices:
            - driver: nvidia
              count: all
              capabilities: [gpu]
    network_mode: host
    ipc: host
    restart: "unless-stopped"

Then run docker compose up; the vLLM server starts and exposes an OpenAI-compatible API.

As I’ve allocated 20% of my total GPU memory, the model consistently used ~6 GB, suggesting it can run comfortably with a much smaller memory footprint.

1_9A9w0gy1lmqrL9tCHYNsjQ.webp

`nvtop` command shows the GPU utilisation. Source: Author


Detailed Evaluation Feedback

Below is a closer look at how the model performed on things that matter in real document workflows.

A) Layout & Reading Order Awareness

The model performs well in layout detection and reading order preservation.

Across nearly 20 different document types, I observed approximately 85% accuracy in layout understanding. Headers, body text, and structural regions are generally identified correctly.

For reading order, the behavior is reliable. The model typically processes documents in a human-like flow:

  • Headers first

  • Then body content

  • And for multi-column layouts, it follows the correct column-wise sequence without scrambling lines

This makes the output immediately usable for downstream NLP and summarization tasks.

B) Table Reconstruction as HTML

Table detection and reconstruction are among the model’s strongest areas.

The model is able to:

  • Identify table boundaries accurately

  • Preserve row and column structure

  • Reconstruct tables in HTML which is easy for visualisation later on.

For most table-heavy documents, minimal post-processing was required.

1_UQyoXYECh1OoHtmRRXIXjw.webp

A sample table data extraction as HTML

C) Text Accuracy (Printed & Scanned Documents)

For printed and scanned documents, text accuracy is consistently strong.

Compared to systems like Paddle OCR VL or dots.ocr , the model:

  • Extracts text more reliably from noisy scans

  • Maintains better line and paragraph continuity

As expected, performance on clean digital PDFs is excellent, with very few transcription errors.

D) Multilingual Support

Beyond English, I tested the model with documents containing Hindi and Bengali printed text.

In these cases, the model:

  • Correctly detected the script

  • Preserved the text without breaking or corrupting the transcription

While this was not an exhaustive multilingual evaluation, the initial results are promising for Indian-language document processing.

1_rdn-sczsRXvv6ghsvAToTQ.webp

A sample multilingual extraction (I’ve masked the PII). Source: Author

E) Handwritten Inputs

Handwritten text recognition performs better than expected.

The model handled:

  • Semi-cursive handwriting

  • Numeric fields

  • Mixed handwritten and printed documents

While it is not perfect, the baseline performance is strong enough for forms and annotated documents.

F) Form Input Understanding

For structured forms, the model demonstrates a good understanding of:

  • Field groupings

  • Logical separation between labels and values

This makes it suitable for form-heavy workflows such as applications, declarations, and KYC documents.

1_N0VZ6ZNXphC2n92od9AGcg.webp

A sample of handwritten and form key value understanding from a scanned application form. (I’ve masked the PII). Source: Author

G) Robustness and Stability

One area that needs improvement is generation stability.

In a few cases, I observed the model getting stuck in infinite or overly long generations. This is largely a decoding-time behavior rather than a fundamental modeling issue.

In practice, this can be mitigated by tuning a few generation parameters:

  • Temperature: Keeping temperature strictly at 0 can sometimes cause the model to fall into repetition loops. In my experience, setting a small but non-zero value (around 0.2–0.3) leads to more stable completions. The exact value, however, depends on the document type and should be validated during testing.

  • Repetition penalty: Applying a mild repetition penalty helps prevent token loops in long documents, especially table-heavy or multi-page inputs.

  • Top-k / Top-p sampling: Constraining the sampling space using conservative top-k or top-p values further improves output stability without hurting structural fidelity.

These are not blockers, but practical deployment considerations. With reasonable decoding defaults, the stability issues are largely manageable in production setups.

Final Thoughts

I did not expect a lightweight OCR model to perform this well.

This evaluation made one thing clear: OCR today is not just about text extraction. It is about understanding documents — the layout, the context, and how different elements relate to each other.

For anyone building document intelligence or document parsing systems or RAG applications, OCR is still the most critical step. The quality of everything downstream depends on it.

These results are based on initial testing, but they were solid enough for us to start integrating the model into our Document AI pipeline at Kriyam.ai for deeper, real-world validation.

I will continue testing this model on production workloads and share updates as I learn more.

Thanks for reading!!

Related Articles
Can We Trust Document Forensics Benchmarks? We Built One for Real-World Pipelines

September 2, 2026

Can We Trust Document Forensics Benchmarks? We Built One for Real-World Pipelines

Kriyam TamperFlow, a benchmark built to test documents the way they’re actually tampered, shared, and verified

The Search for Document Trust: What the Forensics Field Has Actually Built

August 24, 2026

The Search for Document Trust: What the Forensics Field Has Actually Built

A survey of document forgery detection research, and where it falls short in real-world conditions

The Silent Collapse of Document Trust

August 5, 2026

The Silent Collapse of Document Trust

Document AI can read what a document says. Can it tell whether it is true?

Document AI in 2026: A Comparison of Open VLM-Based OCR

January 16, 2026

Document AI in 2026: A Comparison of Open VLM-Based OCR

A practical benchmark on real-world documents: evaluating layout, tables, handwriting, and noisy scans

Kriyam Labs is the research arm of Kriyam (Geogo Techsolutions Private Limited, Bengaluru, India).

© All rights reserved | Kriyam.ai 2026

About

About Kriyam.aiKriyam AI StudioOpen project initiative
wave1wave2