ILLUIN Vidore
AI & ML interests
Retrieval, Computer Vision, LLM
ColPali: Efficient Document Retrieval with Vision Language Models 👀
This organization contains all artifacts released with our preprint ColPali: Efficient Document Retrieval with Vision Language Models, including the ViDoRe benchmark and our SOTA document retrieval model ColPali.
Abstract
Documents are visually rich structures that convey information through text, as well as tables, figures, page layouts, or fonts. While modern document retrieval systems exhibit strong performance on query-to-text matching, they struggle to exploit visual cues efficiently, hindering their performance on practical document retrieval applications such as Retrieval Augmented Generation. To benchmark current systems on visually rich document retrieval, we introduce the Visual Document Retrieval Benchmark ViDoRe, composed of various page-level retrieving tasks spanning multiple domains, languages, and settings. The inherent shortcomings of modern systems motivate the introduction of a new retrieval model architecture, ColPali, which leverages the document understanding capabilities of recent Vision Language Models to produce high-quality contextualized embeddings solely from images of document pages. Combined with a late interaction matching mechanism, ColPali largely outperforms modern document retrieval pipelines while being drastically faster and end-to-end trainable.
Models
- ColPali: ColPali is our main model contribution, it is a model based on a novel model architecture and training strategy based on Vision Language Models (VLMs), to efficiently index documents from their visual features. It is a PaliGemma-3B extension that generates ColBERT- style multi-vector representations of text and images.
- BiPali: It is an extension of original SigLIP architecture, the SigLIP-generated patch embeddings are fed to a text language model, PaliGemma-3B, to obtain LLM contextualized output patch embeddings. These representations are pool-averaged to get a single vector representation and create a PaliGemma bi-encoder, BiPali.
- BiSigLIP: Finetuned version of original SigLIP, a strong vision-language bi-encoder model.
Benchmark
- Leaderboard: The ViDoRe leaderboard to track model performance on our new Visual Document Retrieval Benchmark, composed of various page-level retrieving tasks spanning multiple domains, languages, and settings.
Datasets
We organized datasets into collections to constitute our benchmark ViDoRe and its derivates (OCR and Captioning). Below is a brief description of each of them.
- ViDoRe Benchmark: collection regrouping all datasets constituting the ViDoRe benchmark. It includes the test sets from different academic datasets (ArXiVQA, DocVQA, InfoVQA, TATDQA, TabFQuAD) and from datasets synthetically generated spanning various themes and industrial applications: (Artificial Intelligence, Government Reports, Healthcare Industry, Energy and Shift Project). Further details can be found on the corresponding dataset cards.
- OCR Baseline: Datasets in this collection are the same as in ViDoRe but preprocessed for textual retrieving. The original ViDoRe benchmark was passed to Unstructured to partition each page into chunks. Visual chunks are OCRized with Tesseract.
- Captioning Baseline: Datasets in this collection are the same as in ViDoRe but preprocessed for textual retrieving. The original ViDoRe benchmark was passed to Unstructured to partition each page into chunks. Visual chunks are captioned using Claude Sonnet.
Code
- ColPali Engine: The code used to train and run inference with the ColPali architecture.
- ViDoRe Benchmark: A Python package/CLI tool to evaluate document retrieval systems on the ViDoRe benchmark.
Extra
- Demo: A demo to try it out ! This will be improved in the coming days !
- Preprint: The paper with all details !
Contact
- Manuel Faysse: [email protected]
- Hugues Sibille: [email protected]
- Tony Wu: [email protected]
Citation
If you use any datasets or models from this organization in your research, please cite the original dataset as follows:
@misc{faysse2024colpaliefficientdocumentretrieval,
title={ColPali: Efficient Document Retrieval with Vision Language Models},
author={Manuel Faysse and Hugues Sibille and Tony Wu and Bilel Omrani and Gautier Viaud and Céline Hudelot and Pierre Colombo},
year={2024},
eprint={2407.01449},
archivePrefix={arXiv},
primaryClass={cs.IR},
url={https://arxiv.org/abs/2407.01449},
}
Acknowledgments
This work is partially supported by ILLUIN Technology, and by a grant from ANRT France. This work was performed using HPC resources from the CINES ADASTRA through Grant 2024-AD011015443.
Collections
4
-
vidore/arxivqa_test_subsampled_captioning
Viewer • Updated • 1.44k • 41 • 1 -
vidore/docvqa_test_subsampled_captioning
Viewer • Updated • 1.24k • 90 -
vidore/infovqa_test_subsampled_captioning
Viewer • Updated • 2.78k • 63 -
vidore/tabfquad_test_subsampled_captioning
Viewer • Updated • 636 • 42