Learning Small Decision Trees with Large Domain

Eduard Eiben, Sebastian Ordyniak, Giacomo Paesani, Stefan Szeider

TL;DR

This paper presents a new mathematical framework for finding the absolute smallest decision tree for a given dataset. The authors prove that this NP-hard problem becomes Fixed-Parameter Tractable (FPT) even with large feature domains, provided the target tree is small and the data follows a specific structural property called "maximum difference."

Introduction: The Quest for Interpretable Trees

Decision Trees (DTs) are favored for their interpretability. However, for a tree to be truly human-readable, it must be small. Finding the smallest tree that fits a dataset is a classic NP-hard problem.

Example of a classification instance E and a corresponding decision tree.

Previous parameterized complexity results required limiting the domain size of features. This paper addresses the challenge of real-world data with massive or infinite domains (e.g., sensor readings), asking if optimal small trees can be found regardless of domain size.

Methods: Branching Sets and FPT

The authors utilize Fixed-Parameter Tractability (FPT), focusing on two parameters: Solution Size ($s$) and Maximum Difference ($\delta_{max}$).

A core innovation is the use of "branching sets". Instead of searching through all features, the algorithm identifies a small subset of features where at least one must be in the optimal tree. By recursively building the tree using these sets and "DT patterns," the search space remains manageable even with infinite feature domains.

Key Results: A Complexity Breakthrough

The primary contribution is proving that finding the minimum size (DTS) or depth (DTD) decision tree is FPT when parameterized by $(s, \delta_{max})$.

Complexity classification of decision tree learning based on different parameters.

As shown in the complexity table, this result "closes" a gap in complexity classification, moving the problem from W[2]-hard to FPT. Additionally, the authors debunk a common heuristic: finding a minimal "support set" of features first. They prove that trees built on minimal support sets can be exponentially larger than the true global optimum.

Insights and Future Work

The research demonstrates that domain size does not inherently increase the parameterized complexity of finding optimal trees. While mathematically efficient, the constant factors in the runtime are currently large, making the approach best for finding very small, highly interpretable trees. Future work includes integrating these "branching set" logics into practical solvers and extending the framework to handle noisy data.

Summary updated

BibTeX
@inproceedings{eiben2023learning,
  author = {Eduard Eiben and Sebastian Ordyniak and Giacomo Paesani and Stefan Szeider},
  title = {{Learning Small Decision Trees with Large Domain}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2023},
  doi = {10.24963/ijcai.2023/355},
}
Figure