BoomHQ: Learning to Boost Multiple Hybrid Queries on Vector DBMSs

📅 2026-04-27
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
This work addresses the inefficiency of existing vector databases in handling multi-vector hybrid queries with complex scalar predicates, primarily due to their inability to exploit correlations between vector and scalar attributes and the selectivity distribution of query neighborhoods. To overcome this limitation, we propose BoomHQ—the first learning-based optimization framework that jointly models vector-scalar correlations and neighborhood selectivity. BoomHQ employs an autoencoder to capture attribute dependencies and leverages query pattern analysis to generate execution hints and rewrite queries accordingly. Supporting multiple vector columns and complex predicates, our approach demonstrates strong adaptability to data updates and generalizes effectively across systems. Evaluated on three major vector databases, BoomHQ achieves consistent performance gains, delivering an average 2× speedup over state-of-the-art methods while preserving recall, with peak improvements exceeding 25×.

Technology Category

Application Category

📝 Abstract
Hybrid queries, which combine vector nearest neighbor searches with scalar predicates, represent a fundamental challenge in managing vector databases. Existing methods often restrict the number of vector columns involved or the complexity of scalar predicates, thereby limiting their flexibility in handling diverse query patterns. Moreover, these approaches typically do not fully leverage the correlations between scalar and vector attributes, or the distributional patterns observed from query vector neighborhoods. To address these limitations, we introduce BoomHQ, a learning-based framework to boost multiple hybrid queries on vector DBMSs. First, BoomHQ models the correlation between vector and scalar attributes using an autoencoder-based architecture, which is also friendly to data updates. Second, BoomHQ captures prevailing query patterns, particularly using estimated selectivity of scalar predicates within the neighborhood of a query vector. Guided by these two key features, BoomHQ predicts the execution hints and rewrites the original query into an optimized version. Furthermore, we extend well-known benchmarks by introducing vector and scalar data with inherent correlations to better evaluate query execution. Experimental results demonstrate that for multiple hybrid queries at specified recall thresholds, our method achieves a 2x average and over 25x peak speedup compared to the state-of-the-art. Additionally, BoomHQ shows strong robustness against data updates and consistent optimization effectiveness across three representative vector database systems.
Problem

Research questions and friction points this paper is trying to address.

hybrid queries
vector databases
scalar predicates
query optimization
vector-scalar correlation
Innovation

Methods, ideas, or system contributions that make the work stand out.

hybrid query optimization
vector-scalar correlation
learning-based query rewriting
autoencoder architecture
selectivity estimation
🔎 Similar Papers
2024-01-302025 Conference on Artificial Intelligence x Multimedia (AIxMM)Citations: 38
E
Ermu Qiu
Key Laboratory of High Confidence Software Technologies, CS, Peking University, No. 5 Yiheyuan Road, Haidian District, Beijing, 100871, Beijing, China.
T
Tianyi Chen
Key Laboratory of High Confidence Software Technologies, CS, Peking University, No. 5 Yiheyuan Road, Haidian District, Beijing, 100871, Beijing, China.
Jun Gao
Jun Gao
Peking University
X
Xing Wei
ZTE Corporation, No. 50, Software Avenue, Yuhuatai District, Nanjing, 210012, Jiangsu, China.
Y
Yaofeng Tu
ZTE Corporation, No. 50, Software Avenue, Yuhuatai District, Nanjing, 210012, Jiangsu, China.
Y
Yinjun Han
ZTE Corporation, No. 50, Software Avenue, Yuhuatai District, Nanjing, 210012, Jiangsu, China.
Y
Yang Lin
ZTE Corporation, No. 50, Software Avenue, Yuhuatai District, Nanjing, 210012, Jiangsu, China.