On Explaining Random Forests with SAT

05/21/2021
by   Yacine Izza, et al.
0

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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/04/2019

On Validating, Repairing and Refining Heuristic ML Explanations

Recent years have witnessed a fast-growing interest in computing explana...
research
08/13/2020

Explaining Naive Bayes and Other Linear Classifiers with Polynomial Time and Delay

Recent work proposed the computation of so-called PI-explanations of Nai...
research
05/14/2021

SAT-Based Rigorous Explanations for Decision Lists

Decision lists (DLs) find a wide range of uses for classification proble...
research
06/23/2022

A Model-Agnostic SAT-based Approach for Symbolic Explanation Enumeration

In this paper titled A Model-Agnostic SAT-based approach for Symbolic Ex...
research
06/02/2021

On Efficiently Explaining Graph-Based Classifiers

Recent work has shown that not only decision trees (DTs) may not be inte...
research
07/04/2021

Efficient Explanations for Knowledge Compilation Languages

Knowledge compilation (KC) languages find a growing number of practical ...
research
10/27/2022

Feature Necessity Relevancy in ML Classifier Explanations

Given a machine learning (ML) model and a prediction, explanations can b...

Please sign up or login with your details

Forgot password? Click here to reset