Mixed-Integer Linear Optimization for Semi-Supervised Optimal Classification Trees
Jan Pablo Burgard, Maria Eduarda Pinheiro, Martin Schmidt
TL;DR
This work addresses the challenge of learning optimal decision trees when only a subset of labels is available and external information about class sizes is accessible. It proposes S$^2$OCT, a big-$M$ MILP that jointly leverages labeled and unlabeled data and enforces a cardinality constraint on predicted unlabeled points, enabling more reliable classification under bias. Empirical results on a large set of biased and simple-random samples show that S$^2$OCT often improves accuracy and MCC compared to OCT-H, particularly in biased settings, albeit with higher computational cost. The approach provides a principled mechanism to incorporate population-level class information into tree-based models, with potential extensions to multiclass problems and scalable solution methods.
Abstract
Decision trees are one of the most popular methods for solving classification problems, mainly because of their good interpretability properties. Moreover, due to advances in recent years in mixed-integer optimization, several models have been proposed to formulate the problem of computing optimal classification trees. The goal is, given a set of labeled points, to split the feature spacewith hyperplanes and assign a class to each part of the resulting partition. In certain scenarios, however, labels are only available for a subset of the given points. Additionally, this subset may be non-representative, such as in the case of self-selection in a survey. Semi-supervised decision trees tackle the setting of labeled and unlabeled data and often contribute to enhancing the reliability of the results. Furthermore, undisclosed sources may provide extra information about the size of the classes. We propose a mixed-integer linear optimization model for computing semi-supervised optimal classification trees that cover the setting of labeled and unlabeled data points as well as the overall number of points in each class for a binary classification. Our numerical results show that our approach leads to a better accuracy and a better Matthews correlation coefficient for biased samples compared to other optimal classification trees, even if onlyfew labeled points are available.
