arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.12510cs.IRcs.CVcs.LG
收藏

视觉RAG工具包:通过无训练池化和多阶段搜索扩展多向量视觉检索

Visual RAG Toolkit: Scaling Multi-Vector Visual Retrieval with Training-Free Pooling and Multi-Stage Search

Independent Researcher(独立研究者)

Ara Yeroyan

AI总结:

视觉RAG工具包通过无训练池化和多阶段搜索提升多向量视觉检索效率,减少向量存储并提高检索吞吐量。

摘要:

多向量视觉检索器(例如ColPali风格的后期交互模型)在准确性方面表现强劲,但扩展性差,因为每页会产生数千个向量,使索引和搜索变得越来越昂贵。我们提出了视觉RAG工具包,这是一个用于扩展视觉多向量检索的实用系统,通过无训练、模型感知的池化和多阶段检索。受Matryoshka嵌入启发,我们的方法在片段嵌入上执行静态空间池化,包括一个轻量级滑动窗口平均变体,以生成紧凑的瓷砖级和全局表示,以快速生成候选者,随后使用完整的多向量嵌入进行精确的MaxSim重排序。我们的设计通过将每页存储的向量从数千个减少到几十个,实现了向量到向量比较的二次减少,特别值得注意的是,这不需要训练后处理、适配器或蒸馏。在与交互式模型(如ColPali和ColSmol-500M)的实验中,我们发现,在有限的ViDoRe v2基准语料库上,两阶段检索通常能保持NDCG和Recall@5/10,降级最小,同时显著提高吞吐量(约4倍QPS);敏感性主要在非常大的k值处。该工具包还提供了稳健的预处理——高分辨率PDF到图像转换、可选的边框/空白区域裁剪和标记卫生(仅索引视觉标记)——以及可重复的评估流程,使快速探索两阶段、三阶段和级联检索变体成为可能。通过强调在常见截止点(例如k<=10)的效率,该工具包降低了硬件障碍,使最先进的视觉检索在实践中更具可及性。

英文摘要:

Multi-vector visual retrievers (e.g., ColPali-style late interaction models) deliver strong accuracy, but scale poorly because each page yields thousands of vectors, making indexing and search increasingly expensive. We present Visual RAG Toolkit, a practical system for scaling visual multi-vector retrieval with training-free, model-aware pooling and multi-stage retrieval. Motivated by Matryoshka Embeddings, our method performs static spatial pooling - including a lightweight sliding-window averaging variant - over patch embeddings to produce compact tile-level and global representations for fast candidate generation, followed by exact MaxSim reranking using full multi-vector embeddings. Our design yields a quadratic reduction in vector-to-vector comparisons by reducing stored vectors per page from thousands to dozens, notably without requiring post-training, adapters, or distillation. Across experiments with interaction-style models such as ColPali and ColSmol-500M, we observe that over the limited ViDoRe v2 benchmark corpus 2-stage retrieval typically preserves NDCG and Recall @ 5/10 with minimal degradation, while substantially improving throughput (approximately 4x QPS); with sensitivity mainly at very large k. The toolkit additionally provides robust preprocessing - high resolution PDF to image conversion, optional margin/empty-region cropping and token hygiene (indexing only visual tokens) - and a reproducible evaluation pipeline, enabling rapid exploration of two-, three-, and cascaded retrieval variants. By emphasizing efficiency at common cutoffs (e.g., k <= 10), the toolkit lowers hardware barriers and makes state-of-the-art visual retrieval more accessible in practice.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑