Lost in OCR Translation? Vision-Based Approaches to Robust Document Retrieval

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Most, Alexander, Winjum, Joseph, Biswas, Ayan, Jones, Shawn, Ranasinghe, Nishath Rajiv, O'Malley, Dan, Bhattarai, Manish
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913828122394624
author Most, Alexander
Winjum, Joseph
Biswas, Ayan
Jones, Shawn
Ranasinghe, Nishath Rajiv
O'Malley, Dan
Bhattarai, Manish
author_facet Most, Alexander
Winjum, Joseph
Biswas, Ayan
Jones, Shawn
Ranasinghe, Nishath Rajiv
O'Malley, Dan
Bhattarai, Manish
contents Retrieval-Augmented Generation (RAG) has become a popular technique for enhancing the reliability and utility of Large Language Models (LLMs) by grounding responses in external documents. Traditional RAG systems rely on Optical Character Recognition (OCR) to first process scanned documents into text. However, even state-of-the-art OCRs can introduce errors, especially in degraded or complex documents. Recent vision-language approaches, such as ColPali, propose direct visual embedding of documents, eliminating the need for OCR. This study presents a systematic comparison between a vision-based RAG system (ColPali) and more traditional OCR-based pipelines utilizing Llama 3.2 (90B) and Nougat OCR across varying document qualities. Beyond conventional retrieval accuracy metrics, we introduce a semantic answer evaluation benchmark to assess end-to-end question-answering performance. Our findings indicate that while vision-based RAG performs well on documents it has been fine-tuned on, OCR-based RAG is better able to generalize to unseen documents of varying quality. We highlight the key trade-offs between computational efficiency and semantic accuracy, offering practical guidance for RAG practitioners in selecting between OCR-dependent and vision-based document retrieval systems in production environments.
format Preprint
id arxiv_https___arxiv_org_abs_2505_05666
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Lost in OCR Translation? Vision-Based Approaches to Robust Document Retrieval
Most, Alexander
Winjum, Joseph
Biswas, Ayan
Jones, Shawn
Ranasinghe, Nishath Rajiv
O'Malley, Dan
Bhattarai, Manish
Computer Vision and Pattern Recognition
Artificial Intelligence
Retrieval-Augmented Generation (RAG) has become a popular technique for enhancing the reliability and utility of Large Language Models (LLMs) by grounding responses in external documents. Traditional RAG systems rely on Optical Character Recognition (OCR) to first process scanned documents into text. However, even state-of-the-art OCRs can introduce errors, especially in degraded or complex documents. Recent vision-language approaches, such as ColPali, propose direct visual embedding of documents, eliminating the need for OCR. This study presents a systematic comparison between a vision-based RAG system (ColPali) and more traditional OCR-based pipelines utilizing Llama 3.2 (90B) and Nougat OCR across varying document qualities. Beyond conventional retrieval accuracy metrics, we introduce a semantic answer evaluation benchmark to assess end-to-end question-answering performance. Our findings indicate that while vision-based RAG performs well on documents it has been fine-tuned on, OCR-based RAG is better able to generalize to unseen documents of varying quality. We highlight the key trade-offs between computational efficiency and semantic accuracy, offering practical guidance for RAG practitioners in selecting between OCR-dependent and vision-based document retrieval systems in production environments.
title Lost in OCR Translation? Vision-Based Approaches to Robust Document Retrieval
topic Computer Vision and Pattern Recognition
Artificial Intelligence
url https://arxiv.org/abs/2505.05666