arXiv:2610.35240cs.CVOct 2026

Manuscript Offprint

arXiv:2610.35240

Reading Beyond OCR Noise: Robust Cross-Lingual RAG for Legislative Archives

Radha Krishna Deshpande, Ajoy Mondal, Akash Manna, C V Jawahar

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Radha Krishna Deshpande, Ajoy Mondal, Akash Manna, and C V Jawahar

CVIT, International Institute of Information Technology, Hyderabad, India (radhakrishna.d, akash.manna)@research.iiit.ac.in, (ajoy.mondal, jawahar)@iiit.ac.in

Abstract. India’s historical public archives present severe computer vision and document image analysis challenges: decades of parliamentary records survive only as degraded, multi-column scanned pages featuring mixed scripts, complex layouts, and dense visual noise where OCR failure is the primary obstacle to information retrieval. We present an end-to-end framework that couples vision-based layout segmentation and multi-script OCR with an agentic retrieval-augmented generation (RAG) pipeline. Our approach specifically addresses how visual degradation and layout fragmentation propagate into text extraction errors, using an iterative agentic loop to navigate around OCR noise and layout ambiguities before generating answers. Evaluated on the 200,000-page Punjab Vidhan Sabha archive, our system demonstrates robust handling of historical document degradation, outperforming standard text-only baselines. The code is publicly available at GitHub Repo.

Keywords: Document Retrieval, Cross-lingual, Retrieval Augmented Generation, Large Language Models

1 Introduction

Historical legislative archives are difficult to process because the main challenge is often the document image itself. Faded text, irregular layouts, marginal notes, and mixed scripts can introduce errors during layout analysis and OCR, which then propagate to retrieval and question answering [21,22,29][21,22,29]. This is particularly challenging for large archives containing Hindi, Punjabi, and English documents with varying print quality and complex layouts.

Rather than treating OCR as a separate preprocessing step, we study the complete pipeline from document images to retrieval and answer generation. Our framework combines layout-aware OCR with an agentic retrieval loop that can check the retrieved evidence, reformulate the query, and search again when the available context is insufficient. This helps keep generated answers grounded in the original document evidence.

Retrieval-augmented generation (RAG) was introduced to combine language models with external knowledge sources [13][13] and has since been extended to iterative and agent-based retrieval [8,20,24][8, 20, 24]. Recent document retrieval methods have also moved toward vision-based representations, reducing reliance on

R K Deshpande et al.

OCR for document retrieval [7, 18]. Multi-page document understanding further shows the importance of preserving visual information during retrieval and reasoning [6]. At the same time, OCR benchmarks have shown that multimodal language models still face difficulties with text recognition, particularly for multilingual and visually challenging documents [17], while recent work demonstrates that OCR errors can significantly affect downstream question answering [21]. Language-model-based OCR correction has therefore become an active research direction, especially for historical documents [3, 25].

These developments motivate an end-to-end approach for historical legislative archives in which visual processing, retrieval, and answer generation are evaluated together. We focus on the Punjab Vidhan Sabha proceedings, a large multilingual archive spanning 1950–2024. Our system uses open-weight models throughout the pipeline so that the complete workflow can be deployed locally and the retrieved evidence can be traced back to the source pages.

In this paper, we contribute:

– an agentic RAG framework that combines layout-aware OCR, hybrid retrieval, and iterative evidence checking for a multilingual legislative archive;

– an evaluation of cross-lingual question answering on a large-scale historical document collection;

– an analysis of how OCR and layout errors affect retrieval and answer quality, together with an ablation of the agentic retrieval loop.

References (27)