大语言模型的最新进展已在信息检索(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.
Long Context Modeling with Ranked Memory-Augmented Retrieval
University of New South Wales(新南威尔士大学);Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));The Hong Kong University of Science and Technology(香港科技大学);University of Southampton(南安普顿大学);Mohamed Bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学)
Evoking User Memory: Personalizing LLM via Recollection-Familiarity Adaptive Retrieval
Dalian University of Technology(大连理工大学);City University of Hong Kong(香港城市大学);Huawei Technologies Ltd.(华为技术有限公司);University of Science and Technology of China(中国科学技术大学)
IGMiRAG: Intuition-Guided Retrieval-Augmented Generation with Adaptive Mining of In-Depth Memory
School of Software Engineering, Xi’an Jiaotong University(西安交通大学软件学院);School of Engineering, Westlake University(西湖大学工学院);State Key Laboratory of Human-Machine Hybrid Augmented Intelligence, National Engineering Research Center for Visual Information and Applications, and Institute of Artificial Intelligence and Robotics, Xi’an Jiaotong University(西安交通大学人机混合增强智能全国重点实验室、视觉信息与应用国家工程研究中心、人工智能与机器人研究所)
ActMem: Bridging the Gap Between Memory Retrieval and Reasoning in LLM Agents
State Key Laboratory for Novel Software Technology, Nanjing University, China(南京大学新型软件技术国家重点实验室);Alibaba Group, Hangzhou, China(阿里巴巴集团,杭州,中国);National Institute of Healthcare Data Science, Nanjing University, China(南京大学健康数据科学国家研究院)
Contrastive Quantization with Code Memory for Unsupervised Image Retrieval
Tsinghua Shenzhen International Graduate School, Tsinghua University(清华大学清华-深圳国际研究生院);Harbin Institute of Technology, Shenzhen(哈尔滨工业大学(深圳));Shenzhen University(深圳大学);Peng Cheng Laboratory(鹏城实验室)