Eclipse: Generalizing kNN and Skyline
Jinfei Liu, Li Xiong, Qiuchen Zhang, Jian Pei, Jun Luo
Abstract
k nearest neighbor (kNN) queries and skyline queries are important operators on multi-dimensional data points. Given a query point, kNN query returns the k nearest neighbors based on a scoring function such as a weighted sum of the attributes, which requires predefined attribute weights (or preferences). Skyline query returns all possible nearest neighbors for any monotonic scoring functions without requiring attribute weights but the number of returned points can be prohibitively large. We observe that both kNN and skyline are inflexible and cannot be easily customized.
In this paper, we propose a novel eclipse operator that generalizes the classic 1NN and skyline queries and provides a more flexible and customizable query solution for users. In eclipse, users can specify rough and customizable attribute preferences and control the number of returned points. We show that both 1NN and skyline are instantiations of eclipse. To process eclipse queries, we propose a baseline algorithm with time complexity O(n 2 2 d-1 ), and an improved O(n log d-1 n) time transformationbased algorithm, where n is the number of points and d is the number of dimensions. Furthermore, we propose a novel indexbased algorithm utilizing duality transform with much better efficiency. The experimental results on the real NBA dataset and the synthetic datasets demonstrate the effectiveness of the eclipse operator and the efficiency of our eclipse algorithms.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers2
- Rank-Regret MinimizationXingxing Xiao, Jianzhong LiICDE 2022 · 9 citations
- Computing All Restricted Skyline Probabilities on Uncertain DatasetsXiangyu Gao, Jianzhong Li, Dongjing MiaoICDE 2024 · 3 citations
Related papers
- Directional Queries: Making Top-k Queries More Effective in Discovering Relevant ResultsPaolo Ciaccia, Davide MartinenghiSIGMOD 2025 · 7 citations
- Marrying Top-k with Skyline Queries: Relaxing the Preference Input while Producing Output of Controllable SizeKyriakos Mouratidis, Keming Li, Bo TangSIGMOD 2021 · 30 citations
- Causal Search for Skylines (CSS): Causally-Informed Selective Data De-CorrelationPratanu Mandal, Abhinav Gorantla, K. Selçuk Candan, Maria Luisa SapinoSIGMOD 2026 · 1 citation
- SkyNet: Solving Skyline Queries with Neural NetworksJinfei Liu, Jiayao Zhang, Pengyun Zhu, Li Xiong et al.ICDE 2026
- Skyline Micro-Cluster Query: A Novel and Practical Spatial QueryJing Lu, Yuhai Zhao, Zhengkui Wang, Guoren WangICDE 2023 · 2 citations
