Simple and Efficient Approximate Nearest Neighbor Search using Spatial Sorting

被引:4
作者
Malheiros, Marcelo de Gomensoro [1 ]
Walter, Marcelo [2 ]
机构
[1] UNIVATES, Ctr Exact & Technol Sci, Lajeado, Brazil
[2] Univ Fed Rio Grande do Sul, Inst Informat, Porto Alegre, RS, Brazil
来源
2015 28TH SIBGRAPI CONFERENCE ON GRAPHICS, PATTERNS AND IMAGES | 2015年
关键词
spatial sorting; k-nearest neighbors; parallel algorithms; data structures;
D O I
10.1109/SIBGRAPI.2015.37
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Finding the nearest neighbors of a point is a highly used operation in many graphics applications. Recently, the neighborhood grid has been proposed as a new approach for this task, focused on low-dimensional spaces. In 2D, for instance, we would organize a set of points in a matrix in such a way that their x and y coordinates are at the same time sorted along rows and columns, respectively. Then, the problem of finding closest points reduces to only examining the nearby elements around a given element in the matrix. Based on this idea, we propose and evaluate novel spatial sorting strategies for the bidimensional case, providing significant performance and precision gains over previous works. We also experimentally analyze different scenarios, to establish the robustness of searching for nearest neighbors. The experiments show that for many dense point distributions, by using some of the devised algorithms, spatial sorting beats more complex and current techniques, like k-d trees and index sorting. Our main contribution is to show that spatial sorting, albeit a still scarcely researched topic, can be turned into a competitive approximate technique for the low-dimensional k-NN problem, still being simple to implement, memory efficient, robust on common cases, and highly parallelizable.
引用
收藏
页码:180 / 187
页数:8
相关论文
共 11 条
  • [1] Ciura M., 2001, Fundamentals of Computation Theory. 13th International Symposium, FCT 2001. Proceedings (Lecture Notes in Computer Science Vol.2138), P106
  • [2] Connor M., 2008, Proceedings of the Fifth Eurographics / IEEE VGTC Conference on Point-Based Graphics, ser. SPBG'08. Aire-la-Ville, Switzerland, P25
  • [3] Gieseke F., 2014, P 31 INT C MACHINE L, P172
  • [4] Green S., 2013, Particle simulation using CUDA
  • [5] A replacement for Voronoi diagrams of near linear size
    Har-Peled, S
    [J]. 42ND ANNUAL SYMPOSIUM ON FOUNDATIONS OF COMPUTER SCIENCE, PROCEEDINGS, 2001, : 94 - 103
  • [6] Ihmsen M, 2011, COMPUT GRAPH FORUM, V30, P99, DOI 10.1111/j.1467-8659.2010.01834.x
  • [7] Joselli Mark, 2009, Proceedings of the VIII Brazilian Symposium on Games and Digital Entertainment (SBGAMES 2009), P121, DOI 10.1109/SBGAMES.2009.22
  • [8] Neighborhood grid: A novel data structure for fluids animation with GPU computing
    Joselli, Mark
    Junior, Jose Ricardo da S.
    Clua, Esteban W.
    Montenegro, Anselmo
    Lage, Marcos
    Pagliosa, Paulo
    [J]. JOURNAL OF PARALLEL AND DISTRIBUTED COMPUTING, 2015, 75 : 20 - 28
  • [9] Kd-tree Based N-Body Simulations with Volume-Mass Heuristic on the GPU
    Kofler, Klaus
    Steinhauser, Dominik
    Cosenza, Biagio
    Grasso, Ivan
    Schindler, Sabine
    Fahringer, Thomas
    [J]. PROCEEDINGS OF 2014 IEEE INTERNATIONAL PARALLEL & DISTRIBUTED PROCESSING SYMPOSIUM WORKSHOPS (IPDPSW), 2014, : 1257 - 1266
  • [10] Li B, 2013, WSCG 2013, COMMUNICATION PAPERS PROCEEDINGS, P104