Dimensionality-Reduction Techniques for Approximate Nearest Neighbor Search: A Survey and Evaluation

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Wang, Zeyu, Xiong, Haoran, Wang, Qitong, He, Zhenying, Wang, Peng, Palpanas, Themis, Wang, Wei
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866909502612176896
author Wang, Zeyu
Xiong, Haoran
Wang, Qitong
He, Zhenying
Wang, Peng
Palpanas, Themis
Wang, Wei
author_facet Wang, Zeyu
Xiong, Haoran
Wang, Qitong
He, Zhenying
Wang, Peng
Palpanas, Themis
Wang, Wei
contents Approximate Nearest Neighbor Search (ANNS) on high-dimensional vectors has become a fundamental and essential component in various machine learning tasks. Recently, with the rapid development of deep learning models and the applications of Large Language Models (LLMs), the dimensionality of the vectors keeps growing in order to accommodate a richer semantic representation. This poses a major challenge to the ANNS solutions since distance calculation cost in ANNS grows linearly with the dimensionality of vectors. To overcome this challenge, dimensionality-reduction techniques can be leveraged to accelerate the distance calculation in the search process. In this paper, we investigate six dimensionality-reduction techniques that have the potential to improve ANNS solutions, including classical algorithms such as PCA and vector quantization, as well as algorithms based on deep learning approaches. We further describe two frameworks to apply these techniques in the ANNS workflow, and theoretically analyze the time and space costs, as well as the beneficial threshold for the pruning ratio of these techniques. The surveyed techniques are evaluated on six public datasets. The analysis of the results reveals the characteristics of the different families of techniques and provides insights into the promising future research directions.
format Preprint
id arxiv_https___arxiv_org_abs_2403_13491
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Dimensionality-Reduction Techniques for Approximate Nearest Neighbor Search: A Survey and Evaluation
Wang, Zeyu
Xiong, Haoran
Wang, Qitong
He, Zhenying
Wang, Peng
Palpanas, Themis
Wang, Wei
Databases
Approximate Nearest Neighbor Search (ANNS) on high-dimensional vectors has become a fundamental and essential component in various machine learning tasks. Recently, with the rapid development of deep learning models and the applications of Large Language Models (LLMs), the dimensionality of the vectors keeps growing in order to accommodate a richer semantic representation. This poses a major challenge to the ANNS solutions since distance calculation cost in ANNS grows linearly with the dimensionality of vectors. To overcome this challenge, dimensionality-reduction techniques can be leveraged to accelerate the distance calculation in the search process. In this paper, we investigate six dimensionality-reduction techniques that have the potential to improve ANNS solutions, including classical algorithms such as PCA and vector quantization, as well as algorithms based on deep learning approaches. We further describe two frameworks to apply these techniques in the ANNS workflow, and theoretically analyze the time and space costs, as well as the beneficial threshold for the pruning ratio of these techniques. The surveyed techniques are evaluated on six public datasets. The analysis of the results reveals the characteristics of the different families of techniques and provides insights into the promising future research directions.
title Dimensionality-Reduction Techniques for Approximate Nearest Neighbor Search: A Survey and Evaluation
topic Databases
url https://arxiv.org/abs/2403.13491