Directional Queries: Making Top-k Queries More Effective in Discovering Relevant Results
Paolo Ciaccia, Davide Martinenghi
Abstract
Top- k queries, in particular those based on a linear scoring function, are a common way to extract relevant results from large datasets. Their major advantage over alternative approaches, such as skyline queries (which return all the undominated objects in a dataset), is that the cardinality of the output can be easily controlled through the k parameter and user preferences can be accommodated by appropriately weighing the involved attributes. In this paper we concentrate on two so-far neglected aspects of top- k queries: first, their general ability to return all the potentially interesting results, i.e., the tuples in the skyline; second, the difficulty that linear top- k queries might encounter in returning tuples with balanced attribute values that match user preferences more closely than tuples that are extremely good in one dimension but (very) poor in others. In order to quantify these undesirable effects we introduce four novel indicators for skyline tuples, which measure their robustness as well as the difficulty incurred by top-k queries to retrieve them. After observing that real datasets usually contain many relevant results that are hardly retrievable by linear top- k queries, and with the aim of favoring balanced results, we extend the queries with a term that accounts for the distance of a tuple from the preference direction established by the attributes' weights. This novel query, which we call directional query, adds the flexibility needed to allow each skyline tuple to be ranked first for a proper choice of weights, with no extra burden on the user and, in the most adverse scenarios, only a minor computational overhead, as measured through an extensive experimental analysis on real and synthetic data.
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.
Your agent calls
Lunesearch_papers
Free to start. No credit card required.
Terminal
Install the CLIlune papers get bf5b3644-09ec-41c7-96aa-c47f9aae3ea8Cited by top-tier papers2
- Preference Queries over Taxonomic DomainsPaolo Ciaccia, Davide Martinenghi, Riccardo TorloneVLDB 2021 · 3 citations
- BCCE: Block-Centric GPU Co-Design for Real-Time Range-Top-K Query at ScaleChengying Huan, Ziheng Meng, Zhengyi Yang, Yongchao Liu et al.HPDC 2026
Related papers
- Marrying Top-k with Skyline Queries: Relaxing the Preference Input while Producing Output of Controllable SizeKyriakos Mouratidis, Keming Li, Bo TangSIGMOD 2021 · 30 citations
- Eclipse: Generalizing kNN and SkylineJinfei Liu, Li Xiong, Qiuchen Zhang, Jian Pei et al.ICDE 2021 · 8 citations
- Computing All Restricted Skyline Probabilities on Uncertain DatasetsXiangyu Gao, Jianzhong Li, Dongjing MiaoICDE 2024 · 3 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
- Interactive Learning for Diverse Top-k SetWeicheng Wang, Raymond Chi-Wing Wong, Jinyang Li, H. V. JagadishICDE 2025 · 1 citation
