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.
Fields of Study & Subjects
Logic
Reasoning
and Knowledge
Explainable Artificial Intelligence (XAI)
Bayesian Modeling and Causal Inference
Publication details
- Journal / source
- Electronic Proceedings in Theoretical Computer Science
- Publisher
- Open Publishing Association
- Volume
- 439
- Pages
- 420–437
- Publication date
- 8 January 2026
- Language
- EN