GTS: GPU-based Tree Index for Fast Similarity Search

Author:

Zhu Yifan1ORCID,Ma Ruiyao1ORCID,Zheng Baihua2ORCID,Ke Xiangyu1ORCID,Chen Lu1ORCID,Gao Yunjun1ORCID

Affiliation:

1. Zhejiang University, Hangzhou, China

2. Singapore Management University, Singapore, Singapore

Abstract

Similarity search, the task of identifying objects most similar to a given query object under a specific metric, has gathered significant attention due to its practical applications. However, the absence of coordinate information to accelerate similarity search and the high computational cost of measuring object similarity hinder the efficiency of existing CPU-based methods. Additionally, these methods struggle to meet the demand for high throughput data management. To address these challenges, we propose GTS, a GPU-based tree index designed for the parallel processing of similarity search in general metric spaces, where only the distance metric for measuring object similarity is known. The GTS index utilizes a pivot-based tree structure to efficiently prune objects and employs list tables to facilitate GPU computing. To efficiently manage concurrent similarity queries with limited GPU memory, we have developed a two-stage search method that combines batch processing and sequential strategies to optimize memory usage. The paper also introduces an effective update strategy for the proposed GPU-based index, encompassing streaming data updates and batch data updates. Additionally, we present a cost model to evaluate search performance. Extensive experiments on five real-life datasets demonstrate that GTS achieves efficiency gains of up to two orders of magnitude over existing CPU baselines and up to 20x efficiency improvements compared to state-of-the-art GPU-based methods.

Publisher

Association for Computing Machinery (ACM)

Reference63 articles.

1. 2013. Word to vectors. https://code.google.com/archive/p/word2vec

2. 2023. Moby project. https://mobyproject.org

3. 2023. National Library of Medicine. http://www.ncbi.nlm.nih.gov/genome

4. 2023. Nvidia GPU introduction. https://www.nvidia.com/en-us/geforce/graphics-cards/40-series/rtx-4090

5. 2023. The source code of GTS. https://github.com/ZJU-DAILY/GTS/

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3