Closest Pairs Search Over Data Stream
Rui Zhu, Bin Wang, Xiaochun Yang, Baihua Zheng
Abstract
k-closest pair (KCP for short) search is a fundamental problem in database research. Given a set of d-dimensional streaming data S, KCP search aims to retrieve k pairs with the shortest distances between them. While existing works have studied continuous 1-closest pair query (i.e., k=1) over dynamic data environments, which allow for object insertions/deletions, they require high computational costs and cannot easily support KCP search with k>1. This paper investigates the problem of KCP search over data stream, aiming to incrementally maintain as few pairs as possible to support KCP search with arbitrarily k. To achieve this, we introduce the concept of NNS (short for N earest N eighbour pair- S et), which consists of all the nearest neighbour pairs and allows us to support KCP search via only accessing O(k) objects. We further observe that in most cases, we only need to use a small portion of NNS to answer KCP search as typically kłl n. Based on this observation, we propose TNNS (short for T hreshold-based NN pair S et), which contains a small number of high-quality NN pairs, and a partition named τ-DLBP (short for τ- D istance L ower- B ound based P artition) to organize objects, with τ being an integer significantly smaller than n. τ-DLBP organizes objects using up to O(łog n / τ) partitions and is able to support the construction and update of TNNS efficiently.
Ask about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Cited by top-tier papers1
Ask how each one uses itRelated papers
- Efficient Top- Nearest Neighbors Search in Dynamic Road NetworksJunhua Zhang, Yamei Song, Wentao Li, Lu QinICDE 2026
- Multiple Continuous Top-K Queries Over Data StreamRui Zhu, Yujin Jia, Xiaochun Yang, Baihua Zheng et al.ICDE 2024 · 5 citations
- Nearly Optimal Planar k Nearest Neighbors Queries under General Distance FunctionsChih-Hung LiuSODA 2020 · 3 citations
- Dynamic Range-Filtering Approximate Nearest Neighbor SearchZhencan Peng, Miao Qiao, Wenchao Zhou, Feifei Li et al.VLDB 2025 · 10 citations
- Manifold k-NN: Accelerated k-NN Queries for Manifold Point CloudsPengfei Wang, Qinghao Guo, Haisen Zhao, Shiqing Xin et al.SIGGRAPH 2026
