paper-with-me

Papers

Routing-Guided Learned Product Quantization for Graph-Based Approximate Nearest Neighbor Search

2023-11-30 · Qiang Yue, Xiaoliang Xu, Yuxiang Wang, Yikun Tao, Xuliyuan Luo

Given a vector dataset $\mathcal{X}$, a query vector $\vec{x}_q$, graph-based Approximate Nearest Neighbor Search (ANNS) aims to build a proximity graph (PG) as an index of $\mathcal{X}$ and approximately return vectors with minimum distances to $\vec{x}_q$ by searching over the PG index. It suffers from the large-scale $\mathcal{X}$ because a PG with full vectors is too large to fit into the memory, e.g., a billion-scale $\mathcal{X}$ in 128 dimensions would consume nearly 600 GB memory. To solve this, Product Quantization (PQ) integrated graph-based ANNS is proposed to reduce the memory usage, using smaller compact codes of quantized vectors in memory instead of the large original vectors. Existing PQ methods do not consider the important routing features of PG, resulting in low-quality quantized vectors that affect the ANNS's effectiveness. In this paper, we present an end-to-end Routing-guided learned Product Quantization (RPQ) for graph-based ANNS. It consists of (1) a \textit{differentiable quantizer} used to make the standard discrete PQ differentiable to suit for back-propagation of end-to-end learning, (2) a \textit{sampling-based feature extractor} used to extract neighborhood and routing features of a PG, and (3) a \textit{multi-feature joint training module} with two types of feature-aware losses to continuously optimize the differentiable quantizer. As a result, the inherent features of a PG would be embedded into the learned PQ, generating high-quality quantized vectors. Moreover, we integrate our RPQ with the state-of-the-art DiskANN and existing popular PGs to improve their performance. Comprehensive experiments on real-world large-scale datasets (from 1M to 1B) demonstrate RPQ's superiority, e.g., 1.7$\times$-4.2$\times$ improvement on QPS at the same recall@10 of 95\%.

📄 PDF Abstract BibTeX arXiv:2311.18724

Code (1)

lsyhprum/brewess 공식 구현 pytorch

Tasks

Quantization

Similar Papers 제목 키워드 기반

OntoKG: Ontology-Oriented Knowledge Graph Construction with Intrinsic-Relational Routing

2026-04-03 · Yitao Li, Zhanlin Liu, Anuranjan Pandey, Muni Srikanth arxiv

Organizing a large-scale knowledge graph into a typed property graph requires structural decisions -- which entities become nodes, which properties become edges, and what schema governs these choices. Existing approaches…

Entity Disambiguation

Value-and-Structure Alignment for Routing-Consistent Quantization of Mixture-of-Experts Models

2026-06-04 · Hancheol Park, Geonho Lee, Tairen Piao, Tae-Ho Kim arxiv

Mixture-of-Experts (MoE) models scale foundation models efficiently by activating only a subset of experts for each token, but their large number of expert parameters still makes quantization essential for practical depl…

HiSAC: Hierarchical Sparse Activation Compression for Ultra-long Sequence Modeling in Recommenders

2026-02-24 · Kun Yuan, Junyu Bi, Daixuan Cheng, Changfa Wu 외 arxiv

Modern recommender systems leverage ultra-long user behavior sequences to capture dynamic preferences, but end-to-end modeling is infeasible in production due to latency and memory constraints. While summarizing history …

End-to-End Supervised Product Quantization for Image Search and Retrieval

2017-11-23 · CVPR 2019 6 · Benjamin Klein, Lior Wolf

Product Quantization, a dictionary based hashing method, is one of the leading unsupervised hashing techniques. While it ignores the labels, it harnesses the features to construct look up tables that can approximate the …

General ClassificationImage RetrievalQuantizationRetrieval

Multiscale Quantization for Fast Similarity Search

2017-12-01 · NeurIPS 2017 12 · Xiang Wu, Ruiqi Guo, Ananda Theertha Suresh, Sanjiv Kumar 외

We propose a multiscale quantization approach for fast similarity search on large, high-dimensional datasets. The key insight of the approach is that quantization methods, in particular product quantization, perform poor…

Quantization