ColPali-style late interaction is the state of the art for visual document retrieval: text queries are matched directly against document page images, with every query token…
Visual Document Retrieval
ColPali-style late interaction is the state of the art for visual document retrieval: text queries are matched directly against document page images, with every query token compared against every image patch embedding. This skips OCR, layout parsing, and chunking entirely, so tables, figures, and charts are searched just like body text. This page shows two ways to build such a model: training a fresh late-interaction model from a multimodal embedding backbone, or finetuning one of the already published ColVLM checkpoints.
There are pre-trained models available, which you can directly use without the need of training your own models. For more information, see Pretrained Models > Visual Document Retrieval Models.
Training from a multimodal embedding backbone
Training code: training_visual_document_retrieval.py
Finetuning a pretrained ColVLM
Training code: finetuning_colqwen2.py
Source and license
Source: Sentence Transformers documentation, adapted for this site. Licensing and attribution follow the terms of the upstream project.