SEEDB: Efficient Data-Driven Visualization Recommendations to Support Visual Analytics

Manasi Vartak, Sajjadur Rahman, Samuel Madden, Aditya G. Parameswaran, Neoklis PolyzotisPVLDB 2015

TL;DR

This paper introduces SEEDB, a system that automatically recommends visualizations to help users quickly find interesting patterns in high-dimensional data. SEEDB tackles the challenge of efficiently exploring vast visualization spaces by using a deviation-based utility metric and employing novel optimization techniques for speed and accuracy.

What Problem Does This Paper Address?

Data analysis often begins with visualization to explore datasets, especially those with many dimensions. However, manually sifting through the exponentially growing number of possible visualizations to find those that reveal meaningful trends is a laborious and time-consuming process. This bottleneck hinders rapid analysis and exploration. The authors aim to automate this process by recommending "useful" or "interesting" visualizations, addressing two key challenges: the sheer scale of candidate visualizations and the difficulty in defining and measuring "interestingness" efficiently.

Methods

SEEDB tackles the problem with a multi-pronged approach:

  • Deviation-Based Utility Metric: At its core, SEEDB defines "interestingness" as a visualization showing significant deviations between a user-specified query subset of data (target) and a reference dataset (e.g., the entire dataset, or its complement). This deviation is quantified using various distance functions between probability distributions derived from the aggregated data.
  • Efficient Execution Engine: To handle the vast number of potential visualizations, SEEDB employs two main optimization strategies:
  • Sharing Computation: This involves merging multiple similar queries into fewer, more complex queries to reduce redundant computations. Techniques include combining multiple aggregates within a single query and combining multiple group-by attributes.
  • Pruning Computation: This strategy aims to discard visualizations that are unlikely to be "interesting" early in the process. Two methods are used:
  • Confidence Interval-Based Pruning: Uses statistical confidence intervals to bound view utilities and prune those with low upper bounds.
  • Multi-Armed Bandit (MAB) Pruning: Adapts MAB strategies to rank and prune views based on estimated utility.
  • Phased Execution Framework: These optimizations are integrated into a phased execution framework, where the dataset is processed in partitions. At the end of each phase, pruning techniques are applied to reduce the set of candidate visualizations for subsequent phases.
  • Middleware Architecture: SEEDB is designed as a middleware layer that can run on top of any SQL-compliant database system, making it broadly applicable.

Datasets

The paper evaluates SEEDB on a mix of synthetic and real-world datasets:

  • Synthetic Datasets: SYN, SYN-10, SYN-100 (varying in size, number of attributes, and distribution of distinct values).
  • Real Datasets: BANK (customer loan data), DIAB (hospital data about diabetic patients), AIR (airline delays), AIR10 (scaled airline data), CENSUS (census data), HOUSING (housing prices), MOVIES (movie sales).

The paper does not introduce new benchmark datasets but uses existing ones to evaluate performance and user study effectiveness.

Key Insights and Ideas

  • Deviation as a Proxy for Interestingness: The core idea that deviations from a reference point are a good indicator of interesting visualizations is a key insight. This provides a concrete, computable metric for an otherwise subjective concept.
  • The Power of Optimizations: The paper demonstrates that without optimizations, visualization recommendation is infeasible for interactive use. The multiplicative gains from combining sharing and pruning techniques are crucial for making this approach practical.
  • Trade-offs in Pruning: While pruning significantly speeds up the process, there's a trade-off with accuracy. The paper shows that techniques like MAB and CI can achieve high accuracy and low utility distance, but the choice between them depends on the desired balance between speed and precision.
  • Mixed-Initiative Interaction: The authors emphasize the importance of a mixed-initiative interface, allowing users to guide the analysis while benefiting from automated recommendations.

Key Results

  • Massive Speedups: The combination of sharing and pruning optimizations (COMB and COMB_EARLY) achieved speedups of up to 300X on large datasets like AIR10, reducing processing times from hours to seconds.
  • High Accuracy: SEEDB's deviation-based metric demonstrated high accuracy in identifying visualizations that human experts found interesting, with an AUROC of 0.903 on the Census dataset.
  • User Preference: In a user study, participants overwhelmingly preferred SEEDB (100%) over a manual tool, finding that it helped them identify interesting visualizations 3 times faster and discover unexpected trends.
  • Pruning Effectiveness: Pruning optimizations alone provided up to 5X speedup with minimal loss in accuracy.
  • Sharing Effectiveness: Sharing optimizations alone offered speedups of up to 40X for row stores and 6X for column stores.

Limitations and Future Work

  • Deviation-Centric Metric: While effective, the deviation-based metric is a simplification. The authors acknowledge that other factors like aesthetics, specific data patterns (e.g., outliers, clusters), and user preferences also contribute to interestingness. They suggest generalizing the utility metric to incorporate these aspects.
  • Generalizability of Optimizations: While the sharing and pruning optimizations are shown to be effective for deviation-based metrics, their performance with other utility metrics needs further investigation.
  • User Study Scope: The user study, while positive, involved a limited number of participants and datasets. Further studies with more diverse user groups and tasks would be beneficial.
  • Integration with Other Systems: The authors envision integrating SEEDB with other recommendation systems (e.g., query recommendation) to create a more comprehensive analytical tool.

Summary updated

BibTeX
@article{vartak2015seedb,
  author = {Manasi Vartak and Sajjadur Rahman and Samuel Madden and Aditya G. Parameswaran and Neoklis Polyzotis},
  title = {{SEEDB: Efficient Data-Driven Visualization Recommendations to Support Visual Analytics}},
  journal = {Proc. VLDB Endow.},
  year = {2015},
  url = {https://openreview.net/forum?id=LPRyUrnBvCL},
}
Figure