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 Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
2 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
Cited by top-tier papers2
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
