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

ESPN:内存高效的多向量信息检索

ESPN: Memory-Efficient Multi-Vector Information Retrieval

Texas A&M University(德州农工大学);Samsung Semiconductor(三星半导体)

Susav Shrestha, Narasimha Reddy, Zongwang Li

AI总结:

针对多向量IR索引内存开销高的问题,本文提出ESPN,将重排序嵌入表卸载至SSD,并配合高命中率软件预取,实现5–16倍内存降低与接近内存级延迟。

摘要:

大语言模型的最新进展已在信息检索(IR)任务中展现出显著效果。尽管许多神经IR系统将查询和文档编码为单向量表示,但多向量模型通过生成多向量表示并支持在单个token粒度上进行相似性搜索,提升了检索质量。然而,这些模型将检索索引的内存和存储需求显著放大了一个数量级。索引规模的这种增长使多向量IR模型的可扩展性因其巨大的内存需求而日益面临挑战。我们提出 Embedding from Storage Pipelined Network(ESPN),将整个重排序嵌入表卸载到SSD,并将内存需求降低5至16倍。我们设计了命中率超过90%的软件预取器,将基于SSD的检索速度提升最高达6.4倍,并证明即使在较大的查询批量规模下,也能维持接近内存级别的查询延迟。

英文摘要:

Recent advances in large language models have demonstrated remarkable effectiveness in information retrieval (IR) tasks. While many neural IR systems encode queries and documents into single-vector representations, multi-vector models elevate the retrieval quality by producing multi-vector representations and facilitating similarity searches at the granularity of individual tokens. However, these models significantly amplify memory and storage requirements for retrieval indices by an order of magnitude. This escalation in index size renders the scalability of multi-vector IR models progressively challenging due to their substantial memory demands. We introduce Embedding from Storage Pipelined Network (ESPN) where we offload the entire re-ranking embedding tables to SSDs and reduce the memory requirements by 5-16x. We design a software prefetcher with hit rates exceeding 90%, improving SSD based retrieval up to 6.4x, and demonstrate that we can maintain near memory levels of query latency even for large query batch sizes.

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

↑