Efficient Constrained Pattern Mining Using Dynamic Item Ordering for Explainable Classification

Hiroaki Iwashita, Takuya Takagi, Hirofumi Suzuki, Keisuke Goto, Kotaro Ohori, Hiroki ArimuraarXiv 2020

Introduction

In the pursuit of "Explainable AI" (XAI), researchers often utilize emerging patterns: sets of features that appear frequently in one class (e.g., "Malignant") but rarely in another (e.g., "Benign"). While these patterns are highly interpretable, mining them is computationally expensive, particularly when incorporating negative literals (e.g., the absence of a specific feature). Although negative literals significantly enhance classification accuracy and model expressiveness, they transform sparse datasets into dense ones, causing traditional frequent itemset miners to suffer from performance collapse.

The MiningMCP Algorithm

To address this challenge, we introduce MiningMCP, a high-performance algorithm designed to mine minimal emerging patterns efficiently. MiningMCP achieves substantial speedups by combining dynamic item ordering with a specialized data structure for rapid state management.

Minimal Contrast Constraints

The algorithm incorporates specific pruning rules for minimal contrast constraints. These constraints ensure that the miner only identifies the most succinct patterns that meet required statistical thresholds, such as growth rate or chi-square values, effectively defining the boundaries of the search space in terms of class support.

Minimal contrast constraints in the support space.

Dynamic Item Ordering and DRMX

Most existing miners rely on a fixed, static order to explore the search tree. In contrast, MiningMCP utilizes Dynamic Item Ordering, evaluating which item will most effectively prune the search space at each specific branch. By prioritizing items with the lowest frequency in the negative class, the algorithm triggers "minimality" pruning rules much earlier, skipping massive portions of the search tree.

To make this dynamic evaluation feasible, the algorithm employs a Dynamically Reducible Binary Matrix (DRMX). Implemented using Donald Knuth’s "Dancing Links" (DLX) technique, this pointer-based structure allows for nearly instantaneous deletion and restoration of database rows and columns. This enables the algorithm to "hide" and "unhide" data during depth-first search without the overhead of traditional memory management or repeated database scans.

Dynamic reduction of the binary matrix and search tree pruning.

Experimental Evaluation

The researchers evaluated MiningMCP on benchmarks from the UCI repository and the CP4IM dataset, focusing on both computational speed and classification performance.

Key Results

  • Massive Speedups: On dense datasets, MiningMCP was 100 to 1,000 times faster than state-of-the-art methods like LCM and CP-tree. On the high-dimensional "Audiology" dataset, where existing methods failed to finish within an hour, MiningMCP completed the task successfully.
  • Improved Classification: Using the mined patterns as features for a LASSO-based linear model, the approach achieved higher F-values than standard Decision Trees, Logistic Regression, and Random Forests.
  • The Power of Negation: Experiments confirmed that including negative items significantly boosted classification performance on difficult datasets such as "Yeast" and "Breast Tissue."

Conclusion

MiningMCP demonstrates that the computational tax of dense data and negative literals can be mitigated through intelligent data structures and dynamic search strategies. By enabling the efficient discovery of contrastive patterns, this work provides a robust foundation for building more accurate and interpretable machine learning models.

Summary updated

BibTeX
@misc{iwashita2020efficient,
  author = {Hiroaki Iwashita and Takuya Takagi and Hirofumi Suzuki and Keisuke Goto and Kotaro Ohori and Hiroki Arimura},
  title = {{Efficient Constrained Pattern Mining Using Dynamic Item Ordering for Explainable Classification}},
  year = {2020},
  eprint = {2004.08015},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2004.08015},
}
Figure