Publication | Closed Access
SONG: Approximate Nearest Neighbor Search on GPU
91
Citations
61
References
2020
Year
Unknown Venue
EngineeringMachine LearningGraph ProcessingGpu ComputingData ScienceData MiningPattern RecognitionComputing SystemsParallel ComputingMachine VisionGraph AlgorithmsKnowledge DiscoveryComputer ScienceGpu ClusterComputer VisionComputational ScienceGpu ArchitectureBetter ParallelismApproximate Nearest NeighborParallel ProgrammingSimilarity Search
Approximate nearest neighbor (ANN) searching is a fundamental problem in computer science with numerous applications in (e.g.,) machine learning and data mining. Recent studies show that graph-based ANN methods often outperform other types of ANN algorithms. For typical graph-based methods, the searching algorithm is executed iteratively and the execution dependency prohibits GPU adaptations. In this paper, we present a novel framework that decouples the searching on graph algorithm into 3 stages, in order to parallel the performance-crucial distance computation. Furthermore, to obtain better parallelism on GPU, we propose novel ANN-specific optimization methods that eliminate dynamic GPU memory allocations and trade computations for less GPU memory consumption. The proposed system is empirically compared against HNSW–the state-of-the-art ANN method on CPU–and Faiss–the popular GPU-accelerated ANN platform–on 6 datasets. The results confirm the effectiveness: SONG has around 50-180x speedup compared with single-thread HNSW, while it substantially outperforms Faiss.
| Year | Citations | |
|---|---|---|
Page 1
Page 1