On Explaining Random Forests with SAT
Not on the map. Why?
Abstract (arXiv)
Random Forest (RFs) are among the most widely used Machine Learning (ML) classifiers. Even though RFs are not interpretable, there are no dedicated non-heuristic approaches for computing explanations of RFs. Moreover, there is recent work on polynomial algorithms for explaining ML models, including naive Bayes classifiers. Hence, one question is whether finding explanations of RFs can be solved in polynomial time. This paper answers this question negatively, by proving that computing one PI-explanation of an RF is D^P-complete. Furthermore, the paper proposes a propositional encoding for computing explanations of RFs, thus enabling finding PI-explanations with a SAT solver. This contrasts with earlier work on explaining boosted trees (BTs) and neural networks (NNs), which requires encodings based on SMT/MILP. Experimental results, obtained on a wide range of publicly available datasets, demontrate that the proposed SAT-based approach scales to RFs of sizes common in practical applications. Perhaps more importantly, the experimental results demonstrate that, for the vast majority of examples considered, the SAT-based approach proposed in this paper significantly outperforms existing heuristic approaches.
Key facts. Cited by 57 papers in the map (data through 14 Oct 2026). Builds on 17 of its 44 references that are in the map. First posted on arXiv 21 May 2021.
Builds on
17 of 44 references.
References · 17
- 2017A Unified Approach to Interpreting Model Predictionscited by 6,555
- 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,070
- 2017Explanation in Artificial Intelligence: Insights from the Social Sciencescited by 1,206
- 2018A Survey Of Methods For Explaining Black Box Modelscited by 973
- 2017Methods for Interpreting and Understanding Deep Neural Networkscited by 345
- 2017Deep Learning for Case-Based Reasoning through Prototypes: A Neural Network that Explains Its Predictionscited by 234
- 2018Abduction-Based Explanations for Machine Learning Modelscited by 160
- 2017PMLB: A Large Benchmark Suite for Machine Learning Evaluation and Comparisoncited by 140
- 2018A Symbolic Approach to Explaining Bayesian Network Classifierscited by 131
- 2020On The Reasons Behind Decisionscited by 100
- 2020Explaining Naive Bayes and Other Linear Classifiers with Polynomial Time and Delaycited by 57
- 2021SAT-Based Rigorous Explanations for Decision Listscited by 40
5 more
- 2019Verifying Robustness of Gradient Boosted Modelscited by 13
- 2019Multi-Label Learning with Deep Forestcited by 12
- 2017AutoEncoder by Forestcited by 8
- 2018Distributed Deep Forest and its Application to Automatic Detection of Cash-out Fraudcited by 7
- 2019LionForests: Local Interpretation of Random Forestscited by 2
Built on by
Citing papers per year: 2021: 3; 2022: 12; 2023: 11; 2024: 8; 2025: 9; 2026: 14.
57 papers.
Sort:
- 2022Logic-Based Explainability in Machine Learningcited by 48
- 2022On Tackling Explanation Redundancy in Decision Treescited by 44
- 2021Explanations for Monotonic Classifierscited by 39
- 2021On Efficiently Explaining Graph-Based Classifierscited by 37
- 2021Trading Complexity for Sparsity in Random Forest Explanationscited by 32
- 2023The Inadequacy of Shapley Values for Explainabilitycited by 31
- 2022VeriX: Towards Verified Explainability of Deep Neural Networkscited by 30
- 2022Eliminating The Impossible, Whatever Remains Must Be Truecited by 23
- 2022Computing Abductive Explanations for Boosted Treescited by 23
- 2022Feature Necessity & Relevancy in ML Classifier Explanationscited by 23
- 2023Logic for Explainable AIcited by 23
- 2024Local vs. Global Interpretability: A Computational Complexity Perspectivecited by 23
38 more
- 2024Distance-Restricted Explanations: Theoretical Underpinnings & Efficient Implementationcited by 21
- 2022On Computing Probabilistic Abductive Explanationscited by 18
- 2023Delivering Inflated Explanationscited by 16
- 2025Explaining, Fast and Slow: Abstraction and Refinement of Provable Explanationscited by 13
- 2023Disproving XAI Myths with Formal Methods -- Initial Resultscited by 12
- 2025Explain Yourself, Briefly! Self-Explaining Neural Networks with Concise Sufficient Reasonscited by 12
- 2023On Formal Feature Attribution and Its Approximationcited by 11
- 2024Hard to Explain: On the Computational Hardness of In-Distribution Model Interpretationcited by 11
- 2022Explaining Random Forests using Bipolar Argumentation and Markov Networks (Technical Report)cited by 9
- 2023Anytime Approximate Formal Feature Attributioncited by 9
- 2022Provably Precise, Succinct and Efficient Explanations for Decision Treescited by 8
- 2022Cardinality-Minimal Explanations for Monotonic Neural Networkscited by 8
- 2023A New Class of Explanations for Classifiers with Non-Binary Featurescited by 8
- 2025Most General Explanations of Tree Ensembles (Extended Version)cited by 7
- 2023Locally-Minimal Probabilistic Explanationscited by 6
- 2022On Computing Relevant Features for Explaining NBCscited by 5
- 2023A Uniform Language to Explain Decision Treescited by 4
- 2024Axiomatic Characterisations of Sample-based Explainerscited by 3
- 2025Additive Models Explained: A Computational Complexity Approachcited by 3
- 2026FAME: Formal Abstract Minimal Explanation for Neural Networkscited by 3
- 2024Logic-Based Explainability: Past, Present & Futurecited by 2
- 2024Automated Explanation Selection for Scientific Discoverycited by 2
- 2024Understanding XAI Through the Philosopher's Lens: A Historical Perspectivecited by 2
- 2026Circuit Representations of Random Forests with Applications to XAIcited by 2
- 2026Unifying Formal Explanations: A Complexity-Theoretic Perspectivecited by 2
- 2023Finding Minimum-Cost Explanations for Predictions made by Tree Ensemblescited by 1
- 2024Generating Global and Local Explanations for Tree-Ensemble Learning Methods by Answer Set Programmingcited by 1
- 2025Uncovering Bugs in Formal Explainers: A Case Study with PyXAIcited by 1
- 2026Provably Explaining Neural Additive Modelscited by 1
- 2026Bound Propagation meets Constraint Simplification: Improving Logic-based XAI for Neural Networkscited by 1
- 2026Binary Spiking Neural Networks as Causal Modelscited by 1
- 2026Concept-Based Abductive and Contrastive Explanations for Behaviors of Vision Modelscited by 1
- 2022A Model-Agnostic SAT-based Approach for Symbolic Explanation Enumerationcited by 0
- 2023On Logic-Based Explainability with Partially Specified Inputscited by 0
- 2025Fixed Point Explainabilitycited by 0
- 2025Interpretable DNFscited by 0
- 2025Efficient & Correct Predictive Equivalence for Decision Treescited by 0
- 2025Leveraging Association Rules for Better Predictions and Better Explanationscited by 0
50 most cited of 57 All 57 (JSON)
- 2026ExplAIner: A Declarative Query Language for Explaining Classification Models7 Jul 2026
- 2026Minimax Rates and Spectral Distillation for Tree Ensembles12 May 2026
- 2026Concept-Based Abductive and Contrastive Explanations for Behaviors of Vision Models7 May 2026
- 2026Fairness of Classifiers in the Presence of Constraints between Features1 May 2026
- 2026Binary Spiking Neural Networks as Causal Models29 Apr 2026
- 2026Towards Rigorous Explainability by Feature Attribution17 Apr 2026
- 2026Concisely Explaining the Doubt: Minimum-Size Abductive Explanations for Linear Models with a Reject Option14 Mar 2026
- 2026FAME: Formal Abstract Minimal Explanation for Neural Networks11 Mar 2026
- 2026Bound Propagation meets Constraint Simplification: Improving Logic-based XAI for Neural Networks2 Mar 2026
- 2026Unifying Formal Explanations: A Complexity-Theoretic Perspective20 Feb 2026
- 2026Provably Explaining Neural Additive Models19 Feb 2026
- 2026Circuit Representations of Random Forests with Applications to XAI9 Feb 2026
38 more
- 2026On the Hardness of Computing Counterfactual and Semifactual Explanations in XAI14 Jan 2026
- 2026Formally Explaining Decision Tree Models with Answer Set Programming7 Jan 2026
- 2025Uncovering Bugs in Formal Explainers: A Case Study with PyXAI5 Nov 2025
- 2025Additive Models Explained: A Computational Complexity Approach24 Oct 2025
- 2025Leveraging Association Rules for Better Predictions and Better Explanations21 Oct 2025
- 2025Efficient & Correct Predictive Equivalence for Decision Trees22 Sep 2025
- 2025Explaining, Fast and Slow: Abstraction and Refinement of Provable Explanations10 Jun 2025
- 2025Interpretable DNFs27 May 2025
- 2025Fixed Point Explainability18 May 2025
- 2025Most General Explanations of Tree Ensembles (Extended Version)16 May 2025
- 2025Explain Yourself, Briefly! Self-Explaining Neural Networks with Concise Sufficient Reasons5 Feb 2025
- 2024Generating Global and Local Explanations for Tree-Ensemble Learning Methods by Answer Set Programming14 Oct 2024
- 2024Axiomatic Characterisations of Sample-based Explainers9 Aug 2024
- 2024Hard to Explain: On the Computational Hardness of In-Distribution Model Interpretation7 Aug 2024
- 2024Understanding XAI Through the Philosopher's Lens: A Historical Perspective26 Jul 2024
- 2024Automated Explanation Selection for Scientific Discovery24 Jul 2024
- 2024Local vs. Global Interpretability: A Computational Complexity Perspective5 Jun 2024
- 2024Logic-Based Explainability: Past, Present & Future4 Jun 2024
- 2024Distance-Restricted Explanations: Theoretical Underpinnings & Efficient Implementation14 May 2024
- 2023Locally-Minimal Probabilistic Explanations19 Dec 2023
- 2023Anytime Approximate Formal Feature Attribution12 Dec 2023
- 2023A Uniform Language to Explain Decision Trees18 Oct 2023
- 2023On Formal Feature Attribution and Its Approximation7 Jul 2023
- 2023On Logic-Based Explainability with Partially Specified Inputs27 Jun 2023
- 2023Delivering Inflated Explanations27 Jun 2023
- 2023Disproving XAI Myths with Formal Methods -- Initial Results13 May 2023
- 2023Logic for Explainable AI9 May 2023
- 2023A New Class of Explanations for Classifiers with Non-Binary Features28 Apr 2023
- 2023Finding Minimum-Cost Explanations for Predictions made by Tree Ensembles16 Mar 2023
- 2023The Inadequacy of Shapley Values for Explainability16 Feb 2023
- 2022On Computing Probabilistic Abductive Explanations12 Dec 2022
- 2022VeriX: Towards Verified Explainability of Deep Neural Networks2 Dec 2022
- 2022Explaining Random Forests using Bipolar Argumentation and Markov Networks (Technical Report)21 Nov 2022
- 2022Feature Necessity & Relevancy in ML Classifier Explanations27 Oct 2022
- 2022Logic-Based Explainability in Machine Learning24 Oct 2022
- 2022Computing Abductive Explanations for Boosted Trees16 Sep 2022
- 2022On Computing Relevant Features for Explaining NBCs11 Jul 2022
- 2022A Model-Agnostic SAT-based Approach for Symbolic Explanation Enumeration23 Jun 2022
50 newest of 57 All 57 (JSON)
- 2022Logic-Based Explainability in Machine Learningcited by 48
- 2022On Tackling Explanation Redundancy in Decision Treescited by 44
- 2021Explanations for Monotonic Classifierscited by 39
- 2021On Efficiently Explaining Graph-Based Classifierscited by 37
- 2021Trading Complexity for Sparsity in Random Forest Explanationscited by 32
- 2023The Inadequacy of Shapley Values for Explainabilitycited by 31
- 2022VeriX: Towards Verified Explainability of Deep Neural Networkscited by 30
- 2022Eliminating The Impossible, Whatever Remains Must Be Truecited by 23
- 2022Computing Abductive Explanations for Boosted Treescited by 23
- 2022Feature Necessity & Relevancy in ML Classifier Explanationscited by 23
- 2023Logic for Explainable AIcited by 23
- 2024Local vs. Global Interpretability: A Computational Complexity Perspectivecited by 23
12 most cited of 57 All 57 (JSON)
- 2026ExplAIner: A Declarative Query Language for Explaining Classification Models7 Jul 2026
- 2026Minimax Rates and Spectral Distillation for Tree Ensembles12 May 2026
- 2026Concept-Based Abductive and Contrastive Explanations for Behaviors of Vision Models7 May 2026
- 2026Fairness of Classifiers in the Presence of Constraints between Features1 May 2026
- 2026Binary Spiking Neural Networks as Causal Models29 Apr 2026
- 2026Towards Rigorous Explainability by Feature Attribution17 Apr 2026
- 2026Concisely Explaining the Doubt: Minimum-Size Abductive Explanations for Linear Models with a Reject Option14 Mar 2026
- 2026FAME: Formal Abstract Minimal Explanation for Neural Networks11 Mar 2026
- 2026Bound Propagation meets Constraint Simplification: Improving Logic-based XAI for Neural Networks2 Mar 2026
- 2026Unifying Formal Explanations: A Complexity-Theoretic Perspective20 Feb 2026
- 2026Provably Explaining Neural Additive Models19 Feb 2026
- 2026Circuit Representations of Random Forests with Applications to XAI9 Feb 2026
12 newest of 57 All 57 (JSON)