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

Secure Dynamic Skyline Queries Using Result Materialization

Sepanta Zeighami, Gabriel Ghinita, Cyrus Shahabi

TL;DR

This paper tackles the challenge of efficiently computing "skyline" queries on encrypted data, a crucial task for privacy-sensitive applications like healthcare. They propose a novel approach using "result materialization" – pre-computing and storing query answers in a structured way – to dramatically speed up queries from hours to seconds while minimizing data leakage.

What Problem Does This Paper Address?

Skyline queries are used to identify data points that "stand out" across multiple dimensions, like finding the cheapest and fastest flight routes. With the increasing trend of outsourcing data and query processing to cloud providers, it's essential to perform these queries on encrypted data to protect sensitive information. Existing secure skyline solutions are either too slow, too expensive, or rely on unrealistic assumptions. This paper aims to bridge this gap by offering a secure, efficient, and practical solution for dynamic skyline queries on encrypted datasets.

Methods

The core of this paper's contribution lies in result materialization, inspired by similar work on secure nearest-neighbor queries. Instead of re-computing the skyline for every query from scratch, they pre-process the data to create a structured index.

Here's a breakdown of their approach:

  • Skyline Regions: They first define the "skyline region" for each data point – the set of query points for which that data point would be part of the skyline.
  • Skyline Tiles: These regions are then used to partition the query space into "skyline tiles." All queries falling within the same tile will have the same skyline result. This pre-computation is the key to fast query answering.
  • Dynamic Programming and Greedy Algorithms: They develop algorithms (both dynamic programming and greedy heuristics) to efficiently create these tiles while minimizing storage overhead. They prove that minimizing storage is NP-hard, highlighting the challenge.
  • Generalized Tiling: To further manage complexity, they introduce a parameter l to generalize the tiling process, allowing for a tunable trade-off between storage and query time.
  • Aggregation: To reduce storage, they explore aggregating tiles, which might introduce a small number of "false positives" (points that are not strictly in the skyline but are returned). A parameter k controls the maximum number of allowed false positives.
  • KD-Tree Indexing: The pre-computed tiles are organized into a balanced KD-tree for efficient searching.
  • Encryption: Finally, the KD-tree index is encrypted using techniques like order-preserving encryption (mOPE) or permutation-based order-revealing encryption (pORE) to ensure query security and minimize data leakage to the service provider.

Datasets

The paper uses both synthetic and real datasets for evaluation:

  • Synthetic Datasets: Uniform, correlated (Gaussian distribution with correlation coefficient 0.9), and anti-correlated (Gaussian with coefficient -0.9) distributions.
  • Real Dataset: The NBA dataset (2438 points in 5 dimensions), representing player performance metrics.

The authors note that their experimental setup follows that of prior work [22] but uses larger datasets.

Key Insights and Ideas

  • Materialization is Key for Secure Dynamic Skylines: The paper strongly argues that pre-computing and materializing skyline results is the only practical way to achieve efficient and secure dynamic skyline queries on encrypted data. Without it, query times are prohibitively long.
  • Skyline Regions Define Query Space Partitioning: Understanding the geometric "skyline region" for each data point is fundamental to partitioning the query space effectively.
  • Storage vs. Query Time Trade-off: The introduction of parameters l (generalized tiling) and k (false positives) allows for a tunable balance between the size of the pre-computed index (storage) and the speed of query execution.
  • Security Through Structure, Not Just Encryption: While encryption is crucial, the paper emphasizes that the structure of the pre-computed index and the limited operations performed on it (comparisons, not distance calculations) are what enable strong security guarantees with minimal leakage.
  • NP-Hardness of Optimal Storage: The finding that minimizing storage for pre-computed skyline results is NP-hard underscores the need for efficient heuristics like dynamic programming and greedy algorithms.

Key Results

  • Dramatic Speedup: Query times are reduced from hours (in prior work) to less than a second, often in microseconds.
  • Competitive Storage: While materialization increases storage, the proposed aggregation and generalized tiling techniques keep it at practical levels, especially for smaller l values.
  • Quantifiable Leakage: The security analysis shows that the data leakage to the service provider is quantifiable and significantly smaller than in some existing approaches.
  • Heuristics Perform Well: The greedy algorithm, while not always optimal, provides storage costs very close to the optimal dynamic programming approach, with significantly faster construction times.
  • Scalability: The approach scales to datasets with up to 50,000 points and dimensionality up to 5, with query times remaining very small.

Limitations and Future Work

  • NP-Hardness of Optimal Aggregation: The paper proves that the Tile Aggregation Problem (TAP) is NP-hard, meaning finding the absolute minimum storage solution is computationally infeasible. They propose heuristics to address this.
  • High Dimensionality Challenges: For very high dimensions (d > 5), storage costs can become prohibitive, even with generalized tiling. The authors suggest setting k=0 and l to a small value in such cases.
  • Future Work: The authors suggest exploring additional heuristics to further reduce construction time. A significant future direction is supporting incremental updates to the materialized skyline structure, which would be crucial for handling rapidly changing datasets. They also mention the potential to combine their approach with oblivious RAM (ORAM) techniques to hide access patterns, though this would incur additional overhead.

Summary updated

BibTeX
@inproceedings{zeighami2021secure,
  author = {Sepanta Zeighami and Gabriel Ghinita and Cyrus Shahabi},
  title = {{Secure Dynamic Skyline Queries Using Result Materialization}},
  booktitle = {ICDE},
  year = {2021},
  doi = {10.1109/icde51399.2021.00021},
}
Figure