English

Algebraic Model Counting for Global Analysis of Optimal Decision Trees

Artificial Intelligence 2026-07-02 v1

Abstract

Ensuring model reliability in Explainable AI requires a global assessment of the hypothesis space. We propose a formal framework for the exhaustive analysis of optimal and near-optimal decision trees, called Algebraic Decision Tree Counting (ADTC). Inspired by Algebraic Model Counting (AMC) in knowledge representation, ADTC reformulates diverse analytical tasks, such as optimization, counting, and sampling, into a unified sum-of-products computation over a semiring RR. While the hypothesis space of decision trees is doubly exponential with respect to the maximum depth Δ\Delta, our dynamic programming algorithm achieves O(nO(Δ))O^*(n^{O(\Delta)}) time complexity in the number of features nn, where OO^* suppresses polynomial factors. To handle complex constraints consisting of multiple tree metrics, we introduce model behavior tensors that aggregate semiring values via convolution products over a tensor semiring. This algebraic approach efficiently constructs a model profile that captures the global landscape and trade-offs between criteria such as accuracy, size, and fairness. We demonstrate the utility of our software, emtrees, on real-world datasets, illustrating how ADTC facilitates evidence-based model selection in sensitive domains.

Cite

@article{arxiv.2607.02069,
  title  = {Algebraic Model Counting for Global Analysis of Optimal Decision Trees},
  author = {Hiroki Arimura},
  journal= {arXiv preprint arXiv:2607.02069},
  year   = {2026}
}

Comments

Proc. Joint European Conference on Machine Learning and Principles and Practice of Knowledge Discovery in Databases (ECML-PKDD 2026), LNCS, Naples, Italy, 7-11 September 2026