Concurrent linearizable nearest neighbour search in LockFree-kD-tree

被引:3
作者
Chatterjee, Bapi [1 ]
Walulya, Ivan [2 ]
Tsigas, Philippas [2 ]
机构
[1] IST Austria, Klosterneuburg, Austria
[2] Chalmers Univ Technol, Gothenburg, Sweden
关键词
Concurrent data structure; kD-tree; Nearest neighbour search; Similarity search; Lock-free; Linearizability;
D O I
10.1016/j.tcs.2021.06.041
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
The Nearest neighbour search (NNS) is a fundamental problem in many application domains dealing with multidimensional data. In a concurrent setting, where dynamic modifications are allowed, a linearizable implementation of the NNS is highly desirable. This paper introduces the LockFree-kD-tree (LFkD-tree): a lock-free concurrent kD-tree, which implements an abstract data type (ADT) that provides the operations Add, Remove, Contains, and NNS. Our implementation is linearizable. The operations in the LFkD-tree use single-word read and compare-and-swap (CAS) atomic primitives, which are readily supported on available multi-core processors. We experimentally evaluate the LFkD-tree using several benchmarks comprising real-world and synthetic datasets. The experiments show that the presented design is scalable and achieves significant speed-up compared to the implementations of an existing sequential kD-tree and a recently proposed multidimensional indexing structure, PH-tree. (C) 2021 Elsevier B.V. All rights reserved.
引用
收藏
页码:27 / 48
页数:22
相关论文
共 34 条
  • [1] Archibald A.M, KDTREE
  • [2] The Priority R-Tree: A Practically Efficient and Worst-Case Optimal R-Tree
    Arge, Lars
    De Berg, Mark
    Haverkort, Herman
    Yi, Ke
    [J]. ACM TRANSACTIONS ON ALGORITHMS, 2008, 4 (01)
  • [3] ARYA S, 1993, PROCEEDINGS OF THE FOURTH ANNUAL ACM-SIAM SYMPOSIUM ON DISCRETE ALGORITHMS, P271
  • [4] Expected-case complexity of approximate nearest neighbor searching
    Arya, S
    Fu, HYA
    [J]. SIAM JOURNAL ON COMPUTING, 2003, 32 (03) : 793 - 815
  • [5] An optimal algorithm for approximate nearest neighbor searching in fixed dimensions
    Arya, S
    Mount, DM
    Netanyahu, NS
    Silverman, R
    Wu, AY
    [J]. JOURNAL OF THE ACM, 1998, 45 (06) : 891 - 923
  • [6] MULTIDIMENSIONAL BINARY SEARCH TREES USED FOR ASSOCIATIVE SEARCHING
    BENTLEY, JL
    [J]. COMMUNICATIONS OF THE ACM, 1975, 18 (09) : 509 - 517
  • [7] APPROXIMATE CLOSEST-POINT QUERIES IN HIGH DIMENSIONS
    BERN, M
    [J]. INFORMATION PROCESSING LETTERS, 1993, 45 (02) : 95 - 99
  • [8] A Practical Concurrent Binary Search Tree
    Bronson, Nathan G.
    Casper, Jared
    Chafi, Hassan
    Olukotun, Kunle
    [J]. ACM SIGPLAN NOTICES, 2010, 45 (05) : 257 - 268
  • [9] Brown T., 2012, ARXIV171205101ABS
  • [10] Chatterjee B., CKDTREE