colpali-v1.2
by vidore
Late-interaction visual document retrieval: search PDFs as images, not extracted text
vidore/colpali-v1.2mixpeek://image_extractor@v1/vidore_colpali_v1Overview
ColPali retrieves documents by embedding the page image directly, skipping OCR and layout parsing entirely. Instead of one vector per page it produces a grid of patch embeddings and scores a query against all of them with ColBERT-style late interaction, so a match can come from a chart, a table, a diagram or a stamp that text extraction would have flattened or never seen.
This matters because the standard document pipeline, OCR then chunk then embed the text, silently loses exactly the content people search for in technical and financial documents. ColPali treats the page as what it is, a picture, and lets the retrieval model decide what is salient.
The cost is index size: many vectors per page rather than one. That trade is the central design decision in visual document retrieval.
Architecture
PaliGemma-3B vision-language backbone with a LoRA adapter, producing multi-vector page embeddings. Query-document scoring uses ColBERT-style late interaction (MaxSim over patch embeddings) rather than a single dot product, which is what preserves region-level detail.
Mixpeek SDK Integration
import { Mixpeek } from "mixpeek";
const mx = new Mixpeek({ apiKey: "API_KEY" });
// Managed: create a collection over a bucket; Mixpeek runs this model's extractor
const collection = await mx.collections.create({
namespace_id: "my-namespace",
collection_name: "my-collection",
source: { type: "bucket", bucket_ids: ["bkt_your_bucket"] },
feature_extractor: {
feature_extractor_name: "document",
version: "v1",
parameters: { model_id: "vidore/colpali-v1.2" },
},
});Capabilities
- Retrieves directly from page images, with no OCR or layout parsing step
- Multi-vector page representation with late-interaction scoring
- Matches on charts, tables, figures and stamps that text extraction misses
- Trained and evaluated on the ViDoRe visual document retrieval benchmark
Use Cases on Mixpeek
Explore on Mixpeek
Compare alternatives in this category
Hand-picked tools & platforms compared
Deep-dive technical guide
See how Mixpeek runs models as extractors
Store & search embeddings at scale
Usage-based pricing for pipelines
Compare models, APIs & infrastructure
Specification
Research Paper
ColPali: Efficient Document Retrieval with Vision Language Models
arxiv.orgBuild a pipeline with colpali-v1.2
Add this model to a processing pipeline alongside other extractors. Combine with retrieval stages for end-to-end search.
Run on your data