Saved in:
Bibliographic Details
Main Authors: Jeong, Yeonwoo, Park, Kyuli, Cho, Hyunji, Park, Sungyong
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2505.01164
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866915270283493376
author Jeong, Yeonwoo
Park, Kyuli
Cho, Hyunji
Park, Sungyong
author_facet Jeong, Yeonwoo
Park, Kyuli
Cho, Hyunji
Park, Sungyong
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2505_01164
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle CaGR-RAG: Context-aware Query Grouping for Disk-based Vector Search in RAG Systems
Jeong, Yeonwoo
Park, Kyuli
Cho, Hyunji
Park, Sungyong
Distributed, Parallel, and Cluster Computing
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.
title CaGR-RAG: Context-aware Query Grouping for Disk-based Vector Search in RAG Systems
topic Distributed, Parallel, and Cluster Computing
url https://arxiv.org/abs/2505.01164