计算机科学 > 分布式、并行与集群计算
[提交于 2025年5月5日]
标题:CaGR-RAG: Context-aware Query Grouping for Disk-based Vector Search in RAG Systems
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Modern embedding models capture both semantic and syntactic structures of queries, often mapping different queries to similar regions in vector space. This results in non-uniform cluster access patterns in disk-based vector search systems, particularly in Retrieval Augmented Generation (RAG) framework. While existing approaches optimize individual queries, they overlook the impact of cluster access patterns, failing to account for the locality effects of queries that access similar clusters. This oversight reduces cache efficiency and increases search latency due to excessive disk I/O. To address this, we introduce CaGR-RAG, a context-aware query grouping mechanism that organizes queries based on shared cluster access patterns. Additionally, it incorporates opportunistic cluster prefetching to minimize cache misses during transitions between query groups, further optimizing retrieval performance. Experimental results show that CaGR-RAG reduces 99th percentile tail latency by up to 51.55% while consistently maintaining a higher cache hit ratio than the baseline.
提交历史
来自:Yeonwoo Jeong[v1] 2025年5月5日 星期一 00:00:00 UTC