A RU X5 Tech·Practitioner post·

Visual search: fine-tuning ColPali and ColQwen3 for the Russian domain, comparing text and multimodal retrieval (Поиск по визуалу: дообучаем ColPali и ColQwen3 на русский домен, сравниваем текстовый и мультимодальный ретрив)

A · Strong evidence Engineers from X5 Tech and T-Bank publish a dataset and LoRA-tuned models, test on a held-out private corpus against nine text retrievers, and report ablations, latency and memory costs, including where the visual approach loses.

Summary based on the full text·Original: about 11 minutes to read

One of the Library's top reads

In short

A Habr post on the X5 Tech company blog (November 2026) by engineers from X5 Tech and T-Bank on searching document pages (tables, charts, complex layouts) by rendering each page as an image. They built RuDoRe, a Russian training set generated and checked automatically by a vision-language model, and fine-tuned two visual retrievers with LoRA. On a private corpus of X5 business documents not used in training, the tuned ColQwen3-2B beat every text retriever tested. The cost is memory: visual embeddings take tens of times more space.

Key numbers

  • 0.84 vs 0.77nDCG@5 of fine-tuned ColQwen3-2B versus the best text model (pplx-embed-v1-4B) on the held-out X5-private corpus
  • 188,192query-page training pairs in the RuDoRe dataset, built from 656 seed queries
  • 89%share of 150 sampled generated pairs that two annotators judged relevant, with 94% agreement
  • 414.56 MiB vs 6.52 MiBembedding size of the visual model versus pplx-embed-v1-4B on the same corpus, about 64 times more
  • 184.4 ms to 83.7 msmean search latency per query, full MaxSim versus a two-stage setup with 200 pre-selected candidates

As reported by the source.

Read the original on habr.com

Russian·Web page·opens habr.com

What it reports

  • Data: 13 topics, 656 seed queries, documents found via Yandex Search API; one run collected about 7 GB in about three hours. Qwen3-VL-32B-Instruct wrote a query per page and judged it. Training set: 188,192 pairs over 96,607 pages; test set 18,805 pairs.
  • Manual check: two annotators rated 150 random accepted pairs; 89% relevant on average, 94% agreement.
  • After tuning, nDCG@5 on RuDoRe rose from 0.51 to 0.71 for ColPali and 0.84 to 0.90 for ColQwen3. On X5-private the gains were +0.17 and +0.02. Tuned ColPali still trailed untuned ColQwen3 on all three test sets.
  • On X5-private, tuned ColQwen3-2B scored 0.84 against 0.77 for the best text model, a 9.8% relative gain. Tuned ColPali (0.66) lost to several text models.
  • On the external ViDoRe V3 benchmark the average rose, but ColQwen3 dropped on two of seven tasks (Computer Science, Physics), which the average hides.
  • Rephrasing queries cut BM25 from 0.77 to 0.64 (16.7%), tuned ColPali by 8.8%, tuned ColQwen3 by 4.5%.
  • Tuned 2B matched untuned 4B (about 0.84); untuned 8B reached 0.87.
  • Visual search helped on tables, charts and diagrams and gave little or nothing on plain text pages; near-identical pages (template slides, continued tables) caused misses.
  • Visual embeddings took 414.56 MiB against 6.52 MiB (pplx) and 5.22 MiB (Giga-Embeddings); linear estimate for 100,000 pages about 61 GiB for embeddings alone.

How they got it

Two late-interaction models (ColPali v1.3, ColQwen3-2B) were tuned with LoRA on RuDoRe and evaluated on three sets: ViDoRe V3, the RuDoRe hold-out (split by document) and X5-private. Text baselines ran only on X5-private. Pairs were filtered by whether the base retriever found the target page in its top 100. Latency was measured on 668 corpus items and 1,595 queries with Qdrant.

Limits

  • The X5-private result is on one company corpus that outsiders cannot check; the dataset and models are public but the full training corpus is not.
  • The top-100 filter may drop correct queries the base model could not handle, which can flatter the tuned model.
  • Training queries are machine-generated; human review covered 150 pairs.
  • Index build time for ColQwen3 was the slowest of four models tested.

Why it matters for companies

For enterprise search over slide decks, financial tables and scanned forms, the post gives a costed choice: visual retrieval wins on layout-heavy pages but needs far more memory, so it fits as a second-stage re-ranker over existing text search. The automatic query-generation recipe means a company can adapt a retriever to its own documents without hand-labelling. The rephrasing test is a practical warning: evaluation sets built from the page's own words overstate keyword search.

Key passages in translation

Russian original

На закрытом корпусе X5-private, который не участвовал в обучении, дообученная ColQwen3-2B получила 0,84 nDCG@5 против 0,77 у лучшей текстовой модели.

English translation

On the private X5-private corpus, which was not used in training, the fine-tuned ColQwen3-2B scored 0.84 nDCG@5 against 0.77 for the best text model.

Russian original

На чисто текстовых документах выигрыша в качестве может вообще не быть, а расход памяти будет гораздо выше, чем у текстового поиска с одним вектором на документ.

English translation

On plain text documents there may be no quality gain at all, and memory use will be much higher than for text search with one vector per document.

Summary based on the full text. Read the original for the full argument and data.Read the original on habr.com

Tags

Same week

All of Week 46