Formally Explaining Decision Tree Models with Answer Set Programming
Abstract
Decision tree models, including random forests and gradient-boosted decision trees, are widely used in machine learning due to their high predictive performance. However, their complex structures often make them difficult to interpret, especially in safety-critical applications where model decisions require formal justification. Recent work has demonstrated that logical and abductive explanations can be derived through automated reasoning techniques. In this paper, we propose a method for generating various types of explanations, namely, sufficient, contrastive, majority, and tree-specific explanations, using Answer Set Programming (ASP). Compared to SAT-based approaches, our ASP-based method offers greater flexibility in encoding user preferences and supports enumeration of all possible explanations. We empirically evaluate the approach on a diverse set of datasets and demonstrate its effectiveness and limitations compared to existing methods.
Cite
@article{arxiv.2601.03845,
title = {Formally Explaining Decision Tree Models with Answer Set Programming},
author = {Akihiro Takemura and Masayuki Otani and Katsumi Inoue},
journal= {arXiv preprint arXiv:2601.03845},
year = {2026}
}
Comments
In Proceedings ICLP 2025, arXiv:2601.00047