ARKGraph: All-Range Approximate K-Nearest-Neighbor Graph

被引:2
|
作者
Zuo, Chaoji [1 ]
Deng, Dong [1 ]
机构
[1] Rutgers State Univ, New Brunswick, NJ 08901 USA
来源
PROCEEDINGS OF THE VLDB ENDOWMENT | 2023年 / 16卷 / 10期
基金
美国国家科学基金会;
关键词
PRODUCT QUANTIZATION; SMALL WORLD; SEARCH; LOCALITY;
D O I
10.14778/3603581.3603601
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Given a collection of vectors, the approximate K-nearest-neighbor graph (KGraph for short) connects every vector to its approximate K-nearest-neighbors (KNN for short). KGraph plays an important role in high dimensional data visualization, semantic search, manifold learning, and machine learning. The vectors are typically vector representations of real-world objects (e.g., images and documents), which often come with a few structured attributes, such as timestamps and locations. In this paper, we study the all-range approximate K-nearest-neighbor graph (ARKGraph) problem. Specifically, given a collection of vectors, each associated with a numerical search key (e.g., a timestamp), we aim to build an index that takes a search key range as the query and returns the KGraph of vectors whose search keys are within the query range. ARKGraph can facilitate interactive high dimensional data visualization, data mining, etc. A key challenge of this problem is the huge index size. This is because, given.. vectors, a brute-force index stores a KGraph for every search key range, which results in O(Kn(3)) index size as there are O(n(2)) search key ranges and each KGraph takes O(Kn) space. We observe that the KNN of a vector in nearby ranges are often the same, which can be grouped together to save space. Based on this observation, we propose a series of novel techniques that reduce the index size significantly to just O(Kn logn) in the average case. Furthermore, we develop an efficient indexing algorithm that constructs the optimized ARKGraph index directly without exhaustively calculating the distance between every pair of vectors. To process a query, for each vector in the query range, we only need O(log log n + K log K) to restore its KNN in the query range from the optimized ARKGraph index. We conducted extensive experiments on real-world datasets. Experimental results show that our optimized ARKGraph index achieved a small index size, low query latency, and good scalability. Specifically, our approach was 1000x faster than the baseline method that builds a KGraph for all the vectors in the query range on-the-fly.
引用
收藏
页码:2645 / 2658
页数:14
相关论文
共 50 条
  • [21] Boundary effect correction in k-nearest-neighbor estimation
    Rahvar, A. R. Alizad
    Ardakani, M.
    PHYSICAL REVIEW E, 2011, 83 (05)
  • [22] Optimal K-Nearest-Neighbor Query in Data Grid
    Zhuang, Yi
    Hu, Hua
    Li, Xiaojun
    Xu, Bin
    Hu, Haiyang
    ADVANCES IN DATA AND WEB MANAGEMENT, PROCEEDINGS, 2009, 5446 : 568 - 575
  • [23] Adaptive k-Nearest-Neighbor Method for Process Monitoring
    Zhu, Wenbo
    Sun, Wei
    Romagnoli, Jose
    INDUSTRIAL & ENGINEERING CHEMISTRY RESEARCH, 2018, 57 (07) : 2574 - 2586
  • [24] Rate of Convergence of k-Nearest-Neighbor Classification Rule
    Doering, Maik
    Gyorfi, Laszlo
    Walk, Harro
    JOURNAL OF MACHINE LEARNING RESEARCH, 2018, 18
  • [25] K-NEAREST-NEIGHBOR BAYES-RISK ESTIMATION
    FUKUNAGA, K
    HOSTETLER, LD
    IEEE TRANSACTIONS ON INFORMATION THEORY, 1975, 21 (03) : 285 - 293
  • [26] An improved K-nearest-neighbor algorithm for text categorization
    Jiang, Shengyi
    Pang, Guansong
    Wu, Meiling
    Kuang, Limin
    EXPERT SYSTEMS WITH APPLICATIONS, 2012, 39 (01) : 1503 - 1509
  • [27] INCREMENTAL K-NEAREST-NEIGHBOR SEARCH ON ROAD NETWORKS
    Zhao, Geng
    Xuan, Kefeng
    Taniar, David
    Srinivasan, Bala
    JOURNAL OF INTERCONNECTION NETWORKS, 2008, 9 (04) : 455 - 470
  • [28] Spatial Queries with k-Nearest-Neighbor and Relational Predicates
    Aly, Ahmed M.
    Aref, Walid G.
    Ouzzani, Mourad
    23RD ACM SIGSPATIAL INTERNATIONAL CONFERENCE ON ADVANCES IN GEOGRAPHIC INFORMATION SYSTEMS (ACM SIGSPATIAL GIS 2015), 2015,
  • [29] Synchronizability of Multilayer Networks With K-nearest-neighbor Topologies
    Zhang, Li
    Wu, Yongqing
    FRONTIERS IN PHYSICS, 2020, 8
  • [30] Imbalanced instance selection based on Laplacian matrix decomposition with weighted k-nearest-neighbor graph
    Dai Q.
    Liu J.-W.
    Wang L.-H.
    Neural Computing and Applications, 2024, 36 (20) : 12397 - 12425