Unsupervised Space Partitioning for Nearest Neighbor Search

Research output: Chapter in Book/Report/Conference proceedingConference PaperResearchpeer-review

Abstract

Approximate Nearest Neighbor Search (ANNS) in high dimensional spaces is crucial for many real-life applications (e.g., e-commerce, web, multimedia, etc.) dealing with an abundance of data. This paper proposes an end-to-end learning framework that couples the partitioning (one critical step of ANNS) and learning-to-search steps using a custom loss function. A key advantage of our proposed solution is that it does not require any expensive pre-processing of the dataset, which is one of the critical limitations of the state-of-the-art approach. We achieve the above edge by formulating a multi-objective custom loss function that does not need ground truth labels to quantify the quality of a given data-space partition, making it entirely unsupervised. We also propose an ensembling technique by adding varying input weights to the loss function to train an ensemble of models to enhance the search quality. On several standard benchmarks for ANNS, we show that our method beats the state-of-the-art space partitioning method and the ubiquitous K-means clustering method while using fewer parameters and shorter offline training times. We also show that incorporating our space-partitioning strategy into state-of-the-art ANNS techniques such as ScaNN can improve their performance significantly. Finally, we present our unsupervised partitioning approach as a promising alternative to many widely used clustering methods, such as K-means clustering and DBSCAN.

Original languageEnglish
Title of host publicationProceedings of the 26th International Conference on Extending Database Technology (EDBT)
Place of PublicationKonstanz Germany
PublisherOpenProceedings
Pages351-363
Number of pages13
Volume26
Edition2
ISBN (Electronic)9783893180936
DOIs
Publication statusPublished - 2022
EventExtending Database Technology 2023 - Ioannina, Greece
Duration: 28 Mar 202331 Mar 2023
Conference number: 26th
https://openproceedings.org/html/pages/2023_edbt.html (Proceedings)
https://web.archive.org/web/20231003181502/http://edbticdt2023.cs.uoi.gr/ (Website)

Conference

ConferenceExtending Database Technology 2023
Abbreviated titleEDBT 2023
Country/TerritoryGreece
CityIoannina
Period28/03/2331/03/23
Internet address

Cite this