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 条
  • [31] APPLICATION OF K-NEAREST-NEIGHBOR DECISION RULE IN VOWEL RECOGNITION
    PALIWAL, KK
    RAO, PVS
    IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, 1983, 5 (02) : 229 - 231
  • [32] k-nearest-neighbor network based data clustering algorithm
    Jin, Di
    Liu, Jie
    Jia, Zheng-Xue
    Liu, Da-You
    Moshi Shibie yu Rengong Zhineng/Pattern Recognition and Artificial Intelligence, 2010, 23 (04): : 546 - 551
  • [33] Exclusive lasso-based k-nearest-neighbor classification
    Lin Qiu
    Yanpeng Qu
    Changjing Shang
    Longzhi Yang
    Fei Chao
    Qiang Shen
    Neural Computing and Applications, 2021, 33 : 14247 - 14261
  • [34] A fuzzy K-nearest-neighbor algorithm to blind image deconvolution
    Chen, L
    Yap, KH
    2003 IEEE INTERNATIONAL CONFERENCE ON SYSTEMS, MAN AND CYBERNETICS, VOLS 1-5, CONFERENCE PROCEEDINGS, 2003, : 2049 - 2054
  • [35] Kernel-induced distance K-nearest-neighbor algorithm
    Wu, Xiaohong
    Zhou, Janjiang
    DYNAMICS OF CONTINUOUS DISCRETE AND IMPULSIVE SYSTEMS-SERIES B-APPLICATIONS & ALGORITHMS, 2006, 13 : 757 - 759
  • [36] Dynamic K-Nearest-Neighbor naive Bayes with attribute weighted
    Jiang, Liangxiao
    Zhang, Harry
    Cai, Zhihua
    FUZZY SYSTEMS AND KNOWLEDGE DISCOVERY, PROCEEDINGS, 2006, 4223 : 365 - 368
  • [37] Image classification based on quantum K-Nearest-Neighbor algorithm
    Dang, Yijie
    Jiang, Nan
    Hu, Hao
    Ji, Zhuoxiao
    Zhang, Wenyin
    QUANTUM INFORMATION PROCESSING, 2018, 17 (09)
  • [38] Kernel-based fuzzy K-nearest-neighbor algorithm
    wu, Xiao-Hong
    Zhou, Jian-Jiang
    INTERNATIONAL CONFERENCE ON COMPUTATIONAL INTELLIGENCE FOR MODELLING, CONTROL & AUTOMATION JOINTLY WITH INTERNATIONAL CONFERENCE ON INTELLIGENT AGENTS, WEB TECHNOLOGIES & INTERNET COMMERCE, VOL 2, PROCEEDINGS, 2006, : 159 - +
  • [39] Exclusive lasso-based k-nearest-neighbor classification
    Qiu, Lin
    Qu, Yanpeng
    Shang, Changjing
    Yang, Longzhi
    Chao, Fei
    Shen, Qiang
    NEURAL COMPUTING & APPLICATIONS, 2021, 33 (21): : 14247 - 14261
  • [40] k-Nearest-Neighbor by Differential Evolution for Time Series Forecasting
    De La Vega, Erick
    Flores, Juan J.
    Graff, Mario
    NATURE-INSPIRED COMPUTATION AND MACHINE LEARNING, PT II, 2014, 8857 : 50 - 60