NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Efficient Skyline Computation over Low-Cardinality Domains

Michael D. Morse, Jignesh M. Patel, H. V. JagadishVLDB 2007

TL;DR

This paper introduces the Lattice Skyline (LS) algorithm, a novel approach to efficiently compute skylines on datasets with low-cardinality attributes. Unlike traditional methods that rely on dominance checks, LS leverages the lattice structure inherent in low-cardinality domains, achieving linear time complexity and independence from data distribution.

What Problem Does This Paper Address?

The skyline operator is a crucial tool for summarizing multi-dimensional datasets, identifying data points that are not dominated by any other point. Existing skyline algorithms, however, often struggle with performance when attributes have low-cardinality domains (e.g., boolean values, star ratings, or discretized ranges). The efficiency of these methods is heavily influenced by the data distribution, degrading significantly with anti-correlated attributes. This paper addresses the need for an efficient and robust skyline computation technique specifically for datasets where many attributes exhibit low cardinality, a common characteristic in many real-world applications.

Methods

The core innovation of this paper is the Lattice Skyline (LS) algorithm. Instead of directly comparing data points, LS constructs a lattice based on the dominance relationship over the low-cardinality attribute domains.

  • Lattice Construction: The algorithm first establishes a lattice where each node represents a combination of attribute values. The dominance relationship between these nodes forms a lattice structure.
  • LS-B (Boolean Attributes): For datasets with only boolean attributes, LS-B marks lattice nodes as "present" if a corresponding tuple exists in the dataset. It then propagates "dominated" markers from higher-value nodes to lower-value nodes. Nodes remaining "present" after this propagation are the skyline points.
  • LS (Extended for One Unrestricted Attribute): The algorithm is extended to handle one attribute with an unrestricted domain (e.g., price, continuous values). In this case, each lattice node stores not only its "designator" (present, not present, dominated) but also the "locally optimal value" (lov) – the best value of the unrestricted attribute for tuples mapping to that node. The "dominant lattice value" (dlv) is then computed for each node, and a tuple is a skyline point if its unrestricted attribute value matches the dlv of its corresponding lattice node and that node is marked "present."
  • Complexity: The LS algorithm achieves a complexity of O(dV + dn), where d is dimensionality, n is the number of tuples, and V is the product of cardinalities of low-cardinality domains. For typical scenarios where n >> V, this becomes linear in n.

Datasets

The paper evaluates LS using both synthetic and real-world datasets:

  • Synthetic Datasets: Generated with correlated (CO), independent (IN), and anti-correlated (AC) distributions. These datasets were varied by:
  • Dimensionality (d): 5, 6, 7
    • Attribute Cardinality (c): 4, 6, 8, 10, 12
    • Dataset Cardinality (n): 100K, 250K, 500K, 750K, 1M
  • Real Datasets:
    • Zillow House-Price Dataset: Obtained from Zillow.com, containing 8 attributes (7 low-cardinality features and 1 continuous price attribute). Subsets of 5, 6, and 7 dimensions were used.
  • IMDB Movie Dataset: From the Internet Movie Database, containing 4 attributes. Four specific skyline queries were defined and tested.

Key Insights and Ideas

  • Lattice Structure is Key: The fundamental insight is that the dominance relationship over low-cardinality domains naturally forms a lattice. Exploiting this structure, rather than direct tuple comparisons, is the core of LS's efficiency.
  • Distribution Independence: A major advantage of LS is that its performance is independent of the underlying data distribution (correlated, independent, or anti-correlated). This is a significant improvement over traditional methods whose performance degrades with anti-correlated data.
  • Linear Time Complexity: For typical scenarios where the number of data tuples (n) is much larger than the product of attribute cardinalities (V), LS achieves linear time complexity with respect to the number of tuples.
  • Handling Unrestricted Attributes: The extension to handle one unrestricted attribute elegantly integrates with the lattice structure, allowing LS to be applied to a broader range of practical problems.
  • Discretization as a Preprocessing Step: The paper suggests that LS can be effectively applied to continuous attributes by first discretizing them into low-cardinality domains, making it applicable to a wider array of real-world scenarios.

Key Results

  • Synthetic Datasets:
    • LS consistently outperforms the state-of-the-art Sort-First Skyline (SFS) with LESS optimizations, especially on anti-correlated datasets (up to an order of magnitude faster).
  • On independent datasets, LS shows significant speedups (1.5X to 4X).
  • Performance on correlated datasets is comparable, with LESS sometimes showing an advantage for higher dimensions or cardinalities.
  • LS's performance remains stable across different data distributions, as expected.
  • Real Datasets:
    • LS outperforms LESS by an order of magnitude on the Zillow dataset, attributed to the anti-correlated nature of price with respect to features.
  • LS shows a 1.7X to 2X speedup over LESS on the IMDB dataset for most queries.
  • Complexity: The theoretical analysis confirms O(dV + dn) complexity, leading to linear time in n for typical cases.

Limitations and Future Work

  • Memory Constraints: The paper acknowledges that if the product of attribute cardinalities (V) exceeds main memory, the current LS approach might face limitations.
  • Future Work: The authors suggest extending LS to handle cases where V is larger than main memory, potentially through selective caching of lattice elements. They also propose further exploration of LS for discretized attribute domains.

Summary updated

BibTeX
@inproceedings{morse2007efficient,
  author = {Michael D. Morse and Jignesh M. Patel and H. V. Jagadish},
  title = {{Efficient Skyline Computation over Low-Cardinality Domains}},
  booktitle = {VLDB},
  year = {2007},
  url = {https://openreview.net/forum?id=sengJCLOhEa},
}
Figure