HQANN: Efficient and Robust Similarity Search for Hybrid Queries with Structured and Unstructured Constraints

21Citations
Citations of this article
18Readers
Mendeley users who have this article in their library.
Get full text

Abstract

The in-memory approximate nearest neighbor search (ANNS) algorithms have achieved great success for fast high-recall query processing, but are extremely inefficient when handling hybrid queries with unstructured (i.e., feature vectors) and structured (i.e., related attributes) constraints. In this paper, we present HQANN, a simple yet highly efficient hybrid query processing framework which can be easily embedded into existing proximity graph-based ANNS algorithms. We guarantee both low latency and high recall by leveraging navigation sense among attributes and fusing vector similarity search with attribute filtering. Experimental results on both public and in-house datasets demonstrate that HQANN is 10x faster than the state-of-the-art hybrid ANNS solutions to reach the same recall quality and its performance is hardly affected by the complexity of attributes. It can reach 99% recall@10 in just around 50 microseconds On GLOVE-1.2M with thousands of attribute constraints.

Cite

CITATION STYLE

APA

Wu, W., He, J., Qiao, Y., Fu, G., Liu, L., & Yu, J. (2022). HQANN: Efficient and Robust Similarity Search for Hybrid Queries with Structured and Unstructured Constraints. In International Conference on Information and Knowledge Management, Proceedings (pp. 4580–4584). Association for Computing Machinery. https://doi.org/10.1145/3511808.3557610

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free