Efficient Data Slice Search for Exceptional View Detection

Yohei Mizuno, Yuya Sasaki, Makoto Onizuka

Introduction: The Needle in the Haystack

In the era of big data, business intelligence analysts rely on Online Analytical Processing (OLAP) to extract meaningful trends. However, the most critical insights often lie in "exceptional views"—subsets of data (slices) that deviate significantly from global patterns. For instance, while total sales might remain flat, a specific category like "Clothes" might exhibit a dramatic seasonal spike.

Identifying these anomalies manually is a daunting task. Modern databases contain millions of potential slices across various dimensions like time, location, and demographics. Searching this vast space for "interesting" subsets is computationally expensive, often making interactive analysis impossible. This paper introduces an automated framework designed to identify these exceptional data slices efficiently using statistical pruning and multi-query optimization.

Exceptional view example: while overall trends (ALL) are stable, the 'CLOTHES' slice shows a significant spike in March.

Methodology

The core contribution of this work is a two-pronged optimization strategy to accelerate the search for exceptional views.

1. Statistical Pruning

The authors implement a "fail fast" approach using the Hoeffding-Serfling inequality. Instead of processing every record for every potential slice, the algorithm analyzes a small sample. It calculates confidence intervals for aggregate values (e.g., SUM, AVG). If the upper bound of a slice's potential deviation is lower than the lower bound of the current top-k results, the slice is discarded (pruned). This allows the system to ignore "boring" slices early in the process.

2. Multi-query Optimization

To minimize data access overhead, the framework groups slicing queries that share common attributes. By evaluating multiple candidate slices in a single pass over the dataset, the system significantly reduces the number of full database scans required.

Deviation is quantified using the Euclidean Distance between the normalized trend of a specific slice and the normalized global trend.

Experimental Setup

The framework was evaluated using a massive real-world Supermarket Sales Dataset provided by the Joint Association Study Group of Management Science.

  • Scale: 103 million records.
  • Dimensions: Store locations (9), time periods (19), gender, and hierarchical product categories (up to 164 unique values).

Key Results

The experimental results demonstrate the effectiveness of the proposed optimizations.

  • Significant Speedup: The combined optimization approach (COMB) achieved up to an 8x performance improvement over the naive baseline (NO_OPT).
  • Scalability: A critical finding is that with pruning, search time becomes nearly independent of the total dataset size. Once sufficient samples are collected to bound the deviations, the algorithm can prune the majority of the search space regardless of whether the database contains 10 million or 100 million records.
  • Top-k Sensitivity: Performance improves as $k$ decreases. When searching for a smaller number of top results (e.g., top 5 vs. top 20), the pruning thresholds become stricter, allowing for more aggressive data skipping.
Latency comparison across different OLAP queries. The COMB method (orange) significantly outperforms the baseline (NO_OPT).

Limitations and Future Directions

While the current framework is highly effective for single-attribute slices, several areas remain for future exploration:

  • Conjunctive Slices: Expanding the search to multi-attribute combinations (e.g., Category = 'Clothes' AND Gender = 'Men').
  • Hierarchical Analysis: Automating "drill-down" and "roll-up" operations to find anomalies at different levels of granularity (e.g., from City to State).
  • Relative Deviations: Comparing slices against specific cluster averages rather than just the global average to uncover more nuanced outliers.

Summary updated

BibTeX
@inproceedings{mizuno2017efficient,
  author = {Yohei Mizuno and Yuya Sasaki and Makoto Onizuka},
  title = {{Efficient Data Slice Search for Exceptional View Detection}},
  booktitle = {EDBT/ICDT Workshops},
  year = {2017},
}
Figure