Grafting for Combinatorial Boolean Model using Frequent Itemset Mining

Taito Lee, Shin Matsushima, Kenji Yamanishi

Introduction

In the pursuit of high-performance machine learning, there is often a trade-off between predictive accuracy and model interpretability. While complex models like deep neural networks or kernel-based Support Vector Machines (SVMs) achieve state-of-the-art results, they often operate as "black boxes." Conversely, linear models are interpretable but frequently fail to capture complex feature interactions. This paper presents GRAB (GRAfting for Boolean datasets), an algorithm designed to learn Combinatorial Boolean Models (CBMs). CBMs are linear models that utilize conjunctions of features (e.g., "Feature A AND Feature B") to achieve high accuracy while maintaining logical clarity.

Problem Statement

Standard linear models assign weights to individual input attributes. However, many real-world phenomena depend on combinations of factors. For instance, in clinical diagnostics, a specific age threshold might only be predictive when combined with another physiological marker. To capture these interactions, one could consider every possible conjunction of $d$ attributes, resulting in an exponential feature space of $2^d$. For a dataset with 100 attributes, the number of combinations exceeds $10^{30}$, making exhaustive search computationally intractable.

Methodology: The GRAB Algorithm

The GRAB algorithm addresses this challenge by integrating sparse optimization with combinatorial data mining.

Grafting and Feature Selection

Grafting is an incremental feature selection technique for $L_1$-regularized models. It begins with an empty model and iteratively "grafts" the single feature that most significantly reduces the current loss function, based on a gradient heuristic.

Mapping Gradient to Weighted Frequent Itemset Mining (WFIM)

The core innovation of GRAB is the mathematical proof that identifying the optimal feature to graft is equivalent to a variant of Frequent Itemset Mining (FIM) known as Weighted Frequent Itemset Mining (WFIM). By mapping the partial derivative of a loss function to the weighted frequency of an itemset, the search for the best feature conjunction can be performed efficiently.

Comparison of FIM variants: standard FIM, Non-negatively Weighted FIM (NWFIM), and Weighted FIM (WFIM). GRAB leverages WFIM to navigate the exponential feature space by pruning based on weighted frequencies.

By utilizing an optimized FIM solver, such as the LCM algorithm, GRAB can traverse the space of all possible conjunctions in polynomial time relative to the number of transactions, focusing only on combinations present in the data.

Experimental Evaluation

The performance of GRAB was evaluated on three benchmark datasets:

  • a1a (UCI Adult): Income prediction (123 attributes).
  • cod-rna: RNA sequence detection (240 binarized attributes).
  • covtype.binary: Forest cover type prediction (54 binarized attributes).

Results and Discussion

Computational Efficiency

GRAB demonstrates significant speedups over exhaustive search methods. On the a1a dataset, searching for conjunctions up to degree 3, GRAB was over 500 times faster than a naive grafting approach (~21 seconds versus ~13,000 seconds). This efficiency is particularly pronounced in sparse datasets, where FIM algorithms excel.

Predictive Performance

GRAB consistently matched or exceeded the accuracy of Polynomial and RBF-kernel SVMs. Notably, on the covtype.binary dataset, GRAB achieved an accuracy of 94.7%, outperforming the standard SVM benchmarks.

Interpretability

Unlike kernel methods, GRAB produces sparse models where features are explicit logical rules. For example, a high-weight feature in the a1a dataset might be (Not in family) AND (No monetary capital losses), providing direct insight into the model's decision-making process.

Conclusion

The GRAB algorithm bridges the gap between optimization theory and combinatorial data mining. By framing feature selection as a WFIM problem, it enables the efficient training of interpretable, high-performance models over exponentially large feature spaces. Future work includes extending this framework to non-convex loss functions and more complex data structures like graphs or sequences.

Summary updated

BibTeX
@article{lee2020grafting,
  author = {Taito Lee and Shin Matsushima and Kenji Yamanishi},
  title = {{Grafting for Combinatorial Boolean Model using Frequent Itemset Mining}},
  journal = {Data Min. Knowl. Discov.},
  year = {2020},
  doi = {10.1007/s10618-019-00657-9},
}
Figure