UniGraph: A Unified Graph-based Index for Dynamic Hybrid Dense-Sparse Vector Retrieval
Keyu Chen, Xiaoyao Zhong, Jiabao Jin, Peng Cheng, Wangze Ni, Jingkuan Song, Heng Tao Shen
Abstract
Hybrid dense-sparse vector retrieval combines semantic signals from dense representations with lexical signals from sparse representations, typically ranking items by a query-dependent weighted sum of dense and sparse vector distances. Existing systems commonly search separate dense and sparse vector indexes and rerank the union of their candidates, incurring two retrieval passes and potentially discarding items that rank highly only after the semantic and lexical signals are combined. Constructing a graph-based index directly under a hybrid distance can mitigate this premature candidate loss. However, because varying the hybrid weight alters the underlying neighborhood relationships, a single static graph built at a fixed weight cannot accommodate dynamic query-specific weights. Therefore, we propose a Unified Hybrid Graph (UniGraph), which merges neighbor sets computed at multiple hybrid weights into a single bounded-degree graph index, enabling hybrid vector retrieval with different query-specific weights without index reconstruction. We further develop an adaptive weight-guided search framework that chooses between sparse- and dense-guided entry points according to the query weight, together with a dense-first hybrid distance pruning strategy that avoids unnecessary exact sparse distance computations. Extensive experiments show that UniGraph provides a favorable Recall-QPS trade-off across different query weights. In the mixed-weight setting, UniGraph delivers 27.6%~52.3% higher QPS than the fastest baseline on each dataset at Recall@100 greater than or equal to 0.95. UniGraph has been deployed at scale in Ant Group's production environment, where hybrid retrieval with query-dependent weights is in strong demand.
Create a lesson
Related papers
SIMQ: A Single Graph-based Index for Multi-Vector Query
Shared title terminology · Yifan Lu, Jiabao Jin, Xiaoyao Zhong et al.
GINGER: Spicing Up Graph-Based Vector Search
Shared title terminology · Daniel Salwasser, Lars Gottesbüren, Laxman Dhulipala et al.
LSP-RAG: Latent Scoring Perspectives for Knowledge Graph Retrieval-Augmented Generation
Shared title terminology · Haochen Liu, Guanghui Min, Song Wang et al.
NONSENSE: Non-Semantic Strings Expose Semanticity Gaps in Dense Retrieval
Shared title terminology · Ankit Gupta
LMEG-Doc: Layout-Grounded Multi-View Evidence Graphs for Multimodal Long-Document Retrieval
Shared title terminology · Changcheng Fu, Xiao Liu, Qi Yu et al.
Explanations that Transfer: Interpreting Medical Retrieval with Sparse AutoEncoders
Shared title terminology · Diane Bouchacourt, Gaëtan Brison