Robust subgroup discovery

Hugo Manuel Proença, Peter Grünwald, Thomas Bäck, Matthijs van Leeuwen

Subgroup Discovery (SD) is a fundamental task in exploratory data analysis, aiming to identify interpretable subsets of a population that exhibit unusual behavior relative to a target variable. However, traditional SD methods often suffer from three critical issues: redundancy in the "top-k" results, a lack of clear stopping criteria (the "pattern explosion"), and the risk of discovering spurious patterns that arise by chance. This paper introduces SSD++, a novel framework that addresses these challenges by modeling subgroup discovery as a global "subgroup list" selection problem guided by the Minimum Description Length (MDL) principle.

The Challenges of Traditional Subgroup Discovery

Standard SD algorithms typically return the $k$ best patterns according to a local quality measure. This approach frequently results in a set of highly redundant rules—slight variations of the same underlying pattern. Furthermore, users are often forced to guess the value of $k$, leading to either missing important insights or being overwhelmed by noise. Finally, the "multiple hypothesis testing" problem is rampant in SD; the more patterns an algorithm searches, the more likely it is to find a "significant" result purely by coincidence.

SSD++: A Global Modeling Approach

The authors propose moving from a collection of independent rules to a Subgroup List model. In this model, rules are ordered, and each data instance is assigned to the first rule that covers it. This structure naturally partitions the data, ensuring that each instance is explained by exactly one subgroup (or a default rule), which inherently penalizes redundancy.

Example of a subgroup list for nominal targets, showing how different rules partition the dataset into distinct class distributions.

The MDL Principle and Statistical Robustness

To select the optimal subgroup list, SSD++ employs the MDL principle. This approach treats model selection as a data compression task: the best model is the one that minimizes the total description length of the model itself plus the data given the model.

A key theoretical contribution of this work is the proof that the greedy gain in the MDL framework is equivalent to a Bayesian hypothesis test with a built-in penalty for the search space size. This provides a mathematically grounded "automatic stopping" criterion that functions similarly to a Bonferroni correction, effectively filtering out spurious discoveries without manual parameter tuning.

Handling Diverse Target Types

SSD++ is designed to handle both nominal (categorical) and numeric targets, as well as multivariate scenarios.

  • Nominal Targets: The model uses categorical distributions to describe the target behavior within each subgroup.
  • Numeric Targets: Unlike many methods that only look for shifts in the mean, SSD++ is "dispersion aware." It models numeric targets using a normal distribution, accounting for both the mean ($\mu$) and the standard deviation ($\sigma$). This allows the algorithm to identify subgroups that are interesting because they are more—or less—predictable than the overall population.
Example of a subgroup list for numeric targets (automobile prices), highlighting shifts in both mean and standard deviation across different vehicle specifications.

Experimental Evaluation and Results

The researchers evaluated SSD++ across 54 diverse datasets from repositories like UCI and Keel. The results demonstrated several key advantages:

  1. Superior Quality: On numeric targets, SSD++ outperformed state-of-the-art methods in 92% of cases based on the Sum of Weighted Kullback-Leibler (SWKL) divergence.
  2. Generalization: In train-test split evaluations, the MDL-based models showed significantly lower generalization error (86% of the time) compared to standard quality measures, which were prone to overfitting.
  3. Interpretability: In a real-world case study of Colombian engineering students, SSD++ successfully identified meaningful socioeconomic trends affecting exam performance, demonstrating its utility for practical exploratory analysis.

Conclusion

SSD++ provides a robust, statistically grounded framework for subgroup discovery that eliminates redundancy and automates the selection of significant patterns. By framing subgroup discovery as a global compression problem, SSD++ offers a powerful tool for reliable data exploration, moving beyond simple top-$k$ pattern mining to provide a coherent, non-redundant model of the data.

Summary updated

BibTeX
@article{proenca2022robust,
  author = {Hugo Manuel Proença and Peter Grünwald and Thomas Bäck and Matthijs van Leeuwen},
  title = {{Robust subgroup discovery}},
  journal = {Data Min. Knowl. Discov.},
  year = {2022},
  doi = {10.1007/s10618-022-00856-x},
}
Figure