English

Towards Natural Language-Based Document Image Retrieval: New Dataset and Benchmark

Computer Vision and Pattern Recognition 2025-12-24 v1 Computation and Language Information Retrieval

Abstract

Document image retrieval (DIR) aims to retrieve document images from a gallery according to a given query. Existing DIR methods are primarily based on image queries that retrieve documents within the same coarse semantic category, e.g., newspapers or receipts. However, these methods struggle to effectively retrieve document images in real-world scenarios where textual queries with fine-grained semantics are usually provided. To bridge this gap, we introduce a new Natural Language-based Document Image Retrieval (NL-DIR) benchmark with corresponding evaluation metrics. In this work, natural language descriptions serve as semantically rich queries for the DIR task. The NL-DIR dataset contains 41K authentic document images, each paired with five high-quality, fine-grained semantic queries generated and evaluated through large language models in conjunction with manual verification. We perform zero-shot and fine-tuning evaluations of existing mainstream contrastive vision-language models and OCR-free visual document understanding (VDU) models. A two-stage retrieval method is further investigated for performance improvement while achieving both time and space efficiency. We hope the proposed NL-DIR benchmark can bring new opportunities and facilitate research for the VDU community. Datasets and codes will be publicly available at huggingface.co/datasets/nianbing/NL-DIR.

Keywords

Cite

@article{arxiv.2512.20174,
  title  = {Towards Natural Language-Based Document Image Retrieval: New Dataset and Benchmark},
  author = {Hao Guo and Xugong Qin and Jun Jie Ou Yang and Peng Zhang and Gangyan Zeng and Yubo Li and Hailun Lin},
  journal= {arXiv preprint arXiv:2512.20174},
  year   = {2025}
}

Comments

CVPR 2025

R2 v1 2026-07-01T08:38:14.266Z