Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Circuit Representations of Random Forests with Applications to XAI

About

We make three contributions in this paper. First, we present an approach for compiling a random forest classifier into a set of circuits, where each circuit directly encodes the instances in some class of the classifier. We show empirically that our proposed approach is significantly more efficient than existing similar approaches. Next, we utilize this approach to further obtain circuits that are tractable for computing the complete and general reasons of a decision, which are instance abstractions that play a fundamental role in computing explanations. Finally, we propose algorithms for computing the robustness of a decision and all shortest ways to flip it. We illustrate the utility of our contributions by using them to enumerate all sufficient reasons, necessary reasons and contrastive explanations of decisions; to compute the robustness of decisions; and to identify all shortest ways to flip the decisions made by random forest classifiers learned from a wide range of datasets.

Chunxi Ji, Adnan Darwiche• 2026

Related benchmarks

TaskDatasetResultRank
Random Forest Compilationann-thyroid
Accuracy95.05
2
Random Forest Compilationappendicitis
Accuracy68.75
2
Random Forest Compilationbanknote
Accuracy96.6
2
Random Forest Compilationecoli
Accuracy87.76
2
Random Forest Compilationglass 2
Accuracy (%)83.33
2
Random Forest Compilationionosphere
Accuracy84.91
2
Random Forest CompilationIris
Accuracy95.45
2
Random Forest Compilationmagic
Accuracy (%A)82.05
2
Random Forest Compilationmofn-3-7-10
Accuracy (%)80.9
2
Random Forest Compilationnew-thyroid
Accuracy93.75
2
Showing 10 of 19 rows

Other info

Follow for update