Supervised Human-Guided Data Exploration

Emilia Oikarinen, Kai Puolamäki, Samaneh Khoshrou, Mykola Pechenizkiy

Abstract

Exploratory Data Analysis (EDA) in high-dimensional spaces is often hindered by the prevalence of well-known patterns that obscure deeper insights. This paper introduces a framework for supervised human-guided data exploration (SHGDE), which allows users to incorporate their existing knowledge into the discovery process. By modeling user knowledge as "tile constraints" and optimizing for projections that maximize the L1-distance between empirical cumulative distribution functions of the data and a background model, the system reveals "surprising" patterns relative to a class label. We demonstrate the framework's utility through scalability tests and real-world applications in socio-economics and customer churn analysis.

Introduction

Standard dimensionality reduction (DR) techniques like PCA or t-SNE are designed to capture global variance or local structures without considering the observer's prior knowledge. In many practical scenarios, the most prominent features of a dataset are already known to the researcher (e.g., demographic correlations), making standard visualizations redundant. Supervised DR methods focus on class labels but still fail to account for the subjective nature of exploration. The proposed SHGDE framework addresses this by "subtracting" known relationships to highlight previously hidden, class-relevant structures.

Methodology

The core of the SHGDE framework is the iterative refinement of a user's background model.

Knowledge Modeling

User knowledge is represented using tile constraints—defined subsets of rows and columns where relationships are considered "known." The system maintains two competing hypotheses:

  1. Hypothesis 1 (Data Model): Represents the actual distribution of the data.
  2. Hypothesis 2 (User Model): Represents the distribution expected by the user based on their current background knowledge.

Information Criterion and Optimization

To identify the most informative view, the system seeks a projection vector $v$ that maximizes the difference between the class-conditional distributions in the data versus the user model. Instead of KL-divergence, which can be numerically unstable for visualization, the authors employ the L1-distance between Empirical Cumulative Distribution Functions (ECDFs). This metric better captures the visual separation of clusters in 1D projections.

Iterative exploration process showing how the system pivots to new views as knowledge is added.

Experimental Results

The framework was evaluated on synthetic data and several real-world datasets, including the German Socio-Economic Dataset and the Kaggle Telco Customer Churn dataset.

Scalability and Stability

The system maintains interactive speeds, processing datasets with thousands of rows and over a hundred columns in under three minutes. Stability tests indicate that the distribution estimation remains robust even with relatively small class sizes (~500 samples).

Qualitative Insights

In the German Socio-Economic dataset, the system initially highlighted the prominent East/West economic divide. By marking this relationship as "known," the user prompted the system to discover more subtle urban/rural disparities that were previously masked by the dominant variance.

A specific informative projection found by the system, showing a linear combination of features that separates classes.

Feature Selection

On the Telco Churn dataset, the guided exploration identified a subset of features (e.g., 'tech support', 'fiber optic') that achieved classification performance comparable to the full feature set while significantly reducing the false positive rate.

Conclusion and Future Work

SHGDE provides a powerful mechanism for subjective data exploration, acting as a filter for the "obvious." Future work will focus on improving the interpretability of projection vectors through sparsity constraints and extending the framework to support real-time, human-guided active classification.

Summary updated

BibTeX
@inproceedings{oikarinen2019supervised,
  author = {Emilia Oikarinen and Kai Puolamäki and Samaneh Khoshrou and Mykola Pechenizkiy},
  title = {{Supervised Human-Guided Data Exploration}},
  booktitle = {PKDD/ECML Workshops},
  year = {2019},
  doi = {10.1007/978-3-030-43823-4\_8},
}
Figure