Efficient skyline querying with variable user preferences on nominal attributes

Raymond Chi-Wing Wong, Ada Wai-Chee Fu, Jian Pei, Yip Sing Ho, Tai Wong, Yubao Liu

TL;DR

This paper introduces efficient algorithms for "skyline queries" where user preferences on categorical data (like hotel brands or airlines) are dynamic and personal rather than fixed. The authors propose two distinct approaches: IPO-Tree, which uses semi-materialization and a clever "merging property" to provide near-instant responses, and Adaptive SFS, a progressive algorithm that handles data updates and complex preferences without heavy pre-computation.

What Problem Does This Paper Address?

In database systems, a skyline query identifies the "best" options in a dataset by filtering out any item that is strictly worse than another across all criteria. For numeric attributes, the rules are usually fixed: everyone prefers a lower price and a higher hotel rating.

However, real-world data often includes nominal attributes—categorical values like "Hotel Group" or "Airline"—where preferences are subjective. One traveler might prefer Tulips hotels over Mozilla, while another has no preference or likes Horizon best. Existing skyline algorithms struggle here because they assume a static, global ordering. When every user brings their own ranking to the table, the number of possible preference combinations becomes astronomical, making traditional pre-computation or exhaustive searching impossible for real-time applications.

Methods

The authors propose two primary methods to tackle this "variable preference" challenge:

  1. IPO-Tree (Implicit Preference Order Tree): This is a semi-materialization approach. Instead of pre-calculating every possible user preference (which is exponential), it materializes skylines for "first-order" preferences (e.g., just preferring one specific brand over all others).
  2. The Merging Property: The core innovation is a mathematical proof showing that a complex, multi-level preference (e.g., Brand A > Brand B > everything else) can be derived by intersecting and merging the results of simpler, pre-computed first-order skylines.
  3. Structure: The IPO-Tree stores these partial results in a tree format, where each node represents a specific categorical preference.
Illustration of the merging property
  1. Adaptive SFS (Sort-First Skyline): For scenarios where data changes frequently or storage is limited, the authors adapted the classic SFS algorithm.
  2. Standard SFS requires sorting the entire dataset whenever preferences change.
  3. Adaptive SFS maintains a pre-sorted list based on a "template" preference. When a specific user query arrives, it only re-sorts the small subset of points affected by that user's unique choices. It then incrementally updates the skyline, allowing it to return results progressively to the user.

Datasets

The researchers evaluated their algorithms using both synthetic and real-world data:

  • Synthetic Datasets: Generated with independent, correlated, and anti-correlated distributions. Nominal attributes were generated using a Zipfian distribution to mimic real-world popularity (where a few brands are very common).
  • Real-World Dataset: The UCI Nursery dataset, which contains ~13,000 instances with attributes like "form of family" and "number of children," treated here as nominal attributes with subjective preferences.

Key Insights and Ideas

  • The Power of Merging: The "Aha!" moment is Theorem 2 (the Merging Property). It proves you don't need to store the skyline for "A > B > C." You only need the skylines for "A > " and "B > " and a specific set of disqualified points to reconstruct the complex query result on the fly.
  • Nominal vs. Numeric: The paper highlights that nominal attributes are fundamentally different because they lack a natural "distance" or "order." This makes traditional spatial indexing (like R-trees used in the BBS algorithm) ineffective.
  • Hybrid Potential: The authors suggest a hybrid approach: use IPO-Trees for the most popular categorical values (the "head" of the Zipfian distribution) and fall back to Adaptive SFS for rare, niche preferences (the "long tail").

Key Results

  • Query Speed: IPO-Tree is the clear winner for response time, often returning results in milliseconds. Adaptive SFS is slightly slower but still orders of magnitude faster than the baseline "SFS-D" (which re-computes from scratch).
  • Scalability: As the number of dimensions increases, the skyline size grows, making the problem harder. IPO-Tree handles this well in terms of query time, though its preprocessing time and storage requirements grow significantly.
Scalability with respect to dimensionality
  • Efficiency: Adaptive SFS proved highly efficient for dynamic data. Because it only re-sorts affected points ($l$), and $l$ is typically much smaller than the total dataset size ($N$), it avoids the $O(N \log N)$ bottleneck of standard sorting.

Limitations and Future Work

  • Storage Overhead: The IPO-Tree can become quite large if there are many nominal attributes with high cardinality (many unique values). The authors address this by suggesting only the top-K most frequent values be indexed.
  • Dimensionality Curse: Like most skyline methods, performance degrades as the number of dimensions increases beyond 7-10, as almost every point starts to become part of the skyline.
  • Future Directions: The authors suggest exploring how these methods could be integrated into standard SQL engines and extending the work to handle "group-by" skyline queries in subspaces.

Summary updated

BibTeX
@article{wong2008efficient,
  author = {Raymond Chi-Wing Wong and Ada Wai-Chee Fu and Jian Pei and Yip Sing Ho and Tai Wong and Yubao Liu},
  title = {{Efficient skyline querying with variable user preferences on nominal attributes}},
  journal = {Proc. VLDB Endow.},
  year = {2008},
  doi = {10.14778/1453856.1453967},
}
Efficient Progressive Skyline ComputationVLDB · 2001
Discovering the Skyline of Web DatabasesarXiv · 2015
Eclipse: Practicability Beyond 1NN and SkylinearXiv · 2017
On the Suitability of Skyline Queries for Data ExplorationEdbt/icdt Workshops · 2014
Reverse k-skyband query based on reuse technologyProceedings of the 2nd International Conference on Computer Science and Electronics Engineering (iccsee 2013) · 2013
Explanations for Skyline Query ResultsEdbt · 2015
Figure