English

Eclipse: Generalizing kNN and Skyline

Databases 2019-06-17 v1

Abstract

kk nearest neighbor (kkNN) queries and skyline queries are important operators on multi-dimensional data points. Given a query point, kkNN query returns the kk 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 kkNN and skyline are inflexible and cannot be easily customized. In this paper, we propose a novel \emph{eclipse} operator that generalizes the classic 11NN 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 11NN and skyline are instantiations of eclipse. To process eclipse queries, we propose a baseline algorithm with time complexity O(n22d1)O(n^22^{d-1}), and an improved O(nlogd1n)O(n\log ^{d-1}n) time transformation-based algorithm, where nn is the number of points and dd is the number of dimensions. Furthermore, we propose a novel index-based 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.

Cite

@article{arxiv.1906.06314,
  title  = {Eclipse: Generalizing kNN and Skyline},
  author = {Jinfei Liu and Li Xiong and Qiuchen Zhang and Jian Pei and Jun Luo},
  journal= {arXiv preprint arXiv:1906.06314},
  year   = {2019}
}
R2 v1 2026-06-23T09:54:05.591Z