DocVLM: Make Your VLM an Efficient Reader

Mor Shpigel Nacson, Aviad Aberdam, Roy Ganz, Elad Ben Avraham, Alona Golts +3 more
12/11/2024
cs.CVcs.LG

No official code found. Best implementation: Mitix-EPI/DocVLM-implementation (3 stars, last commit 2025-09-06).

Abstract

Vision-Language Models (VLMs) excel in diverse visual tasks but face challenges in document understanding, which requires fine-grained text processing. While typical visual tasks perform well with low-resolution inputs, reading-intensive applications demand high-resolution, resulting in significant computational overhead. Using OCR-extracted text in VLM prompts partially addresses this issue but underperforms compared to full-resolution counterpart, as it lacks the complete visual context needed for optimal performance. We introduce DocVLM, a method that integrates an OCR-based modality into VLMs to enhance document processing while preserving original weights. Our approach employs an OCR encoder to capture textual content and layout, compressing these into a compact set of learned queries incorporated into the VLM. Comprehensive evaluations across leading VLMs show that DocVLM significantly reduces reliance on high-resolution images for document understanding. In limited-token regimes (448$\times$448), DocVLM with 64 learned queries improves DocVQA results from 56.0% to 86.6% when integrated with InternVL2 and from 84.4% to 91.2% with Qwen2-VL. In LLaVA-OneVision, DocVLM achieves improved results while using 80% less image tokens. The reduced token usage allows processing multiple pages effectively, showing impressive zero-shot results on DUDE and state-of-the-art performance on MP-DocVQA, highlighting DocVLM's potential for applications requiring high-performance and efficiency.

View on arXivView PDF

Code Implementations(1)

Partial implementation of the DocVLM paper https://arxiv.org/abs/2412.08746

31PythonSep 6, 20251 years ago

Similar Papers

Cite this paper

@article{nacson2024docvlm,
  title  = {DocVLM: Make Your VLM an Efficient Reader},
  author = {Mor Shpigel Nacson and Aviad Aberdam and Roy Ganz and Elad Ben Avraham and Alona Golts and Yair Kittenplon and Shai Mazor and Ron Litman},
  year   = {2024},
  eprint = {2412.08746},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.08746v1},
  journal = {CVPR 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2412.08746.svg)](https://codeofpaper.com/paper/2412.08746)

Discussion