mlsanityData to 14 Oct 2026

On Explaining Random Forests with SAT

arXiv 2105.10278 ↗First posted 21 May 2021cs.LG cs.AIcited by 57

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

  1. 2017A Unified Approach to Interpreting Model Predictionscited by 6,555
  2. 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,070
  3. 2017Explanation in Artificial Intelligence: Insights from the Social Sciencescited by 1,206
  4. 2018A Survey Of Methods For Explaining Black Box Modelscited by 973
  5. 2017Methods for Interpreting and Understanding Deep Neural Networkscited by 345
  6. 2017Deep Learning for Case-Based Reasoning through Prototypes: A Neural Network that Explains Its Predictionscited by 234
  7. 2018Abduction-Based Explanations for Machine Learning Modelscited by 160
  8. 2017PMLB: A Large Benchmark Suite for Machine Learning Evaluation and Comparisoncited by 140
  9. 2018A Symbolic Approach to Explaining Bayesian Network Classifierscited by 131
  10. 2020On The Reasons Behind Decisionscited by 100
  11. 2020Explaining Naive Bayes and Other Linear Classifiers with Polynomial Time and Delaycited by 57
  12. 2021SAT-Based Rigorous Explanations for Decision Listscited by 40
5 more
  1. 2019Verifying Robustness of Gradient Boosted Modelscited by 13
  2. 2019Multi-Label Learning with Deep Forestcited by 12
  3. 2017AutoEncoder by Forestcited by 8
  4. 2018Distributed Deep Forest and its Application to Automatic Detection of Cash-out Fraudcited by 7
  5. 2019LionForests: Local Interpretation of Random Forestscited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2021: 3; 2022: 12; 2023: 11; 2024: 8; 2025: 9; 2026: 14.

57 papers.

Sort:

  1. 2022Logic-Based Explainability in Machine Learningcited by 48
  2. 2022On Tackling Explanation Redundancy in Decision Treescited by 44
  3. 2021Explanations for Monotonic Classifierscited by 39
  4. 2021On Efficiently Explaining Graph-Based Classifierscited by 37
  5. 2021Trading Complexity for Sparsity in Random Forest Explanationscited by 32
  6. 2023The Inadequacy of Shapley Values for Explainabilitycited by 31
  7. 2022VeriX: Towards Verified Explainability of Deep Neural Networkscited by 30
  8. 2022Eliminating The Impossible, Whatever Remains Must Be Truecited by 23
  9. 2022Computing Abductive Explanations for Boosted Treescited by 23
  10. 2022Feature Necessity & Relevancy in ML Classifier Explanationscited by 23
  11. 2023Logic for Explainable AIcited by 23
  12. 2024Local vs. Global Interpretability: A Computational Complexity Perspectivecited by 23
38 more
  1. 2024Distance-Restricted Explanations: Theoretical Underpinnings & Efficient Implementationcited by 21
  2. 2022On Computing Probabilistic Abductive Explanationscited by 18
  3. 2023Delivering Inflated Explanationscited by 16
  4. 2025Explaining, Fast and Slow: Abstraction and Refinement of Provable Explanationscited by 13
  5. 2023Disproving XAI Myths with Formal Methods -- Initial Resultscited by 12
  6. 2025Explain Yourself, Briefly! Self-Explaining Neural Networks with Concise Sufficient Reasonscited by 12
  7. 2023On Formal Feature Attribution and Its Approximationcited by 11
  8. 2024Hard to Explain: On the Computational Hardness of In-Distribution Model Interpretationcited by 11
  9. 2022Explaining Random Forests using Bipolar Argumentation and Markov Networks (Technical Report)cited by 9
  10. 2023Anytime Approximate Formal Feature Attributioncited by 9
  11. 2022Provably Precise, Succinct and Efficient Explanations for Decision Treescited by 8
  12. 2022Cardinality-Minimal Explanations for Monotonic Neural Networkscited by 8
  13. 2023A New Class of Explanations for Classifiers with Non-Binary Featurescited by 8
  14. 2025Most General Explanations of Tree Ensembles (Extended Version)cited by 7
  15. 2023Locally-Minimal Probabilistic Explanationscited by 6
  16. 2022On Computing Relevant Features for Explaining NBCscited by 5
  17. 2023A Uniform Language to Explain Decision Treescited by 4
  18. 2024Axiomatic Characterisations of Sample-based Explainerscited by 3
  19. 2025Additive Models Explained: A Computational Complexity Approachcited by 3
  20. 2026FAME: Formal Abstract Minimal Explanation for Neural Networkscited by 3
  21. 2024Logic-Based Explainability: Past, Present & Futurecited by 2
  22. 2024Automated Explanation Selection for Scientific Discoverycited by 2
  23. 2024Understanding XAI Through the Philosopher's Lens: A Historical Perspectivecited by 2
  24. 2026Circuit Representations of Random Forests with Applications to XAIcited by 2
  25. 2026Unifying Formal Explanations: A Complexity-Theoretic Perspectivecited by 2
  26. 2023Finding Minimum-Cost Explanations for Predictions made by Tree Ensemblescited by 1
  27. 2024Generating Global and Local Explanations for Tree-Ensemble Learning Methods by Answer Set Programmingcited by 1
  28. 2025Uncovering Bugs in Formal Explainers: A Case Study with PyXAIcited by 1
  29. 2026Provably Explaining Neural Additive Modelscited by 1
  30. 2026Bound Propagation meets Constraint Simplification: Improving Logic-based XAI for Neural Networkscited by 1
  31. 2026Binary Spiking Neural Networks as Causal Modelscited by 1
  32. 2026Concept-Based Abductive and Contrastive Explanations for Behaviors of Vision Modelscited by 1
  33. 2022A Model-Agnostic SAT-based Approach for Symbolic Explanation Enumerationcited by 0
  34. 2023On Logic-Based Explainability with Partially Specified Inputscited by 0
  35. 2025Fixed Point Explainabilitycited by 0
  36. 2025Interpretable DNFscited by 0
  37. 2025Efficient & Correct Predictive Equivalence for Decision Treescited by 0
  38. 2025Leveraging Association Rules for Better Predictions and Better Explanationscited by 0

50 most cited of 57 All 57 (JSON)