Proceedings

On Explaining Random Forests with SAT

Download BibTeX Cite

Proceedings of the Thirtieth International Joint Conference on Artificial Intelligence. Main Track. Pages 2584-2591.

https://doi.org/10.24963/ijcai.2021/356

Abstract

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-hard. 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, demonstrate 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.

  1. [Asín et al., 2011] R. Asín, R. Nieuwenhuis, A. Oliveras, and E. Rodríguez-Carbonell. Cardinality networks: a the- oretical and empirical study. Constraints, 16(2):195-221, 2011.
  2. [Audemard et al., 2020] G. Audemard, F. Koriche, and P. Marquis. On tractable XAI queries based on compiled representations. In KR, pages 838-849, 2020.
  3. [Biere et al., 2021] A. Biere, M. Heule, H. van Maaren, and T. Walsh, editors. Handbook of Satisfiability. IOS Press, 2021.
  4. [Birnbaum and Lozinskii, 2003] E. Birnbaum and E. L. Lozinskii. Consistent subsets of inconsistent systems: structure and behaviour. J. Exp. Theor. Artif. Intell., 15(1):25-46, 2003.
  5. [Breiman et al., 1984] L. Breiman, J. H. Friedman, R. A. Ol- shen, and C. J. Stone. Classification and Regression Trees. Wadsworth, 1984.
  6. [Breiman, 2001] L. Breiman. Random forests. Mach. Learn., 45(1):5-32, 2001.
  7. [Chen et al., 2019] H. Chen, H. Zhang, S. Si, Y. Li, D. S. Boning, and C. Hsieh. Robustness verification of tree- based models. In NeurIPS, pages 12317-12328, 2019.
  8. Cook, 1971
  9. S. A. Cook. The complexity of theorem- proving procedures. In STOC, pages 151-158, 1971.
  10. [Darwiche and Hirth, 2020] A. Darwiche and A. Hirth. On the reasons behind decisions. In ECAI, volume 325, pages 712-720, 2020.
  11. [Darwiche and Marquis, 2002] A. Darwiche and P. Marquis. A knowledge compilation map. J. Artif. Intell. Res., 17:229-264, 2002.
  12. [Dua and Graff, 2017] D. Dua and C. Graff. UCI machine learning repository, 2017.
  13. [Einziger et al., 2019] G. Einziger, M. Goldstein, Y. Sa'ar, and I. Segall. Verifying robustness of gradient boosted models. In AAAI, pages 2446-2453, 2019.
  14. [Feng and Zhou, 2018] J. Feng and Z. Zhou. AutoEncoder by forest. In AAAI, pages 2967-2973, 2018.
  15. [Gao and Zhou, 2020] W. Gao and Z. Zhou. Towards con- vergence rate analysis of random forests for classification. In NeurIPS, 2020.
  16. [Guidotti et al., 2019] R. Guidotti, A. Monreale, S. Ruggieri, F. Turini, F. Giannotti, and D. Pedreschi. A survey of methods for explaining black box models. ACM Comput. Surv., 51(5):93:1-93:42, 2019.
  17. [Ignatiev and Marques-Silva, 2021] A. Ignatiev and J. Marques-Silva. Sat-based rigorous explanations for decision lists. CoRR, abs/2105.06782, 2021.
  18. [Ignatiev et al., 2018] A. Ignatiev, A. Morgado, and J. Marques-Silva. PySAT: A Python toolkit for pro- totyping with SAT oracles. In SAT, pages 428-437, 2018.
  19. [Ignatiev et al., 2019] A. Ignatiev, N. Narodytska, and J. Marques-Silva. Abduction-based explanations for ma- chine learning models. In AAAI, pages 1511-1519, 2019.
  20. [Ignatiev et al., 2020] A. Ignatiev, N. Narodytska, N. Asher, and J. Marques-Silva. From contrastive to abductive ex- planations and back again. In AI*IA, 2020. (Preliminary version available from https://arxiv.org/abs/2012.11067.). Link
  21. [Ignatiev, 2020] A. Ignatiev. Towards trustable explainable AI. In IJCAI, pages 5154-5158, 2020. IJCAI
  22. [Li et al., 2018] O. Li, H. Liu, C. Chen, and C. Rudin. Deep learning for case-based reasoning through prototypes: A neural network that explains its predictions. In AAAI, pages 3530-3537, 2018.
  23. [Liffiton et al., 2016] M. H. Liffiton, A. Previti, A. Malik, and J. Marques-Silva. Fast, flexible MUS enumeration. Constraints An Int. J., 21(2):223-250, 2016.
  24. [Lundberg and Lee, 2017] S. M. Lundberg and S. Lee. A unified approach to interpreting model predictions. In NeurIPS, pages 4765-4774, 2017.
  25. [Marques-Silva et al., 2020] J. Marques-Silva, T. Gerspacher, M. C. Cooper, A. Ignatiev, and N. Naro- dytska. Explaining naive bayes and other linear classifiers with polynomial time and delay. In NeurIPS, 2020.
  26. [Marques-Silva et al., 2021] J. Marques-Silva, T. Gerspacher, M. Cooper, A. Ignatiev, and N. Naro- dytska. Explanations for monotonic classifiers. CoRR, abs/2106.00154, 2021.
  27. [Miller, 2019] T. Miller. Explanation in artificial intelli- gence: Insights from the social sciences. Artif. Intell., 267:1-38, 2019.
  28. [Mollas et al., 2020] I. Mollas, N. Bassiliades, I. P. Vla- havas, and G. Tsoumakas. Lionforests: local interpretation of random forests. In ECAI, volume 2659, pages 17-24, 2020.
  29. [Montavon et al., 2018] G. Montavon, W. Samek, and K. Müller. Methods for interpreting and understanding deep neural networks. Digit. Signal Process., 73:1-15, 2018.
  30. [Olson et al., 2017] R. S. Olson, W. La Cava, P. Orze- chowski, R. J. Urbanowicz, and J. H. Moore. Pmlb: a large benchmark suite for machine learning evaluation and comparison. BioData Mining, 10(1):36, 2017.
  31. [Papadimitriou, 1994] C. H. Papadimitriou. Computational complexity. Addison-Wesley, 1994.
  32. [Petkovic et al., 2018] D. Petkovic, R. B. Altman, M. Wong, and A. Vigil. Improving the explainability of random for- est classifier -user centered approach. In PSB, pages 204- 215, 2018.
  33. [Quinlan, 1993] J. R. Quinlan. C4.5: Programs for Machine Learning. Morgan Kaufmann, 1993.
  34. [Reiter, 1987] R. Reiter. A theory of diagnosis from first principles. Artif. Intell., 32(1):57-95, 1987.
  35. [Ribeiro et al., 2016] M. T. Ribeiro, S. Singh, and C. Guestrin. "why should I trust you?": Explain- ing the predictions of any classifier. In KDD, pages 1135-1144, 2016.
  36. [Ribeiro et al., 2018] M. T. Ribeiro, S. Singh, and C. Guestrin. Anchors: High-precision model-agnostic explanations. In AAAI, pages 1527-1535, 2018.
  37. [Shih et al., 2018] A. Shih, A. Choi, and A. Darwiche. A symbolic approach to explaining bayesian network classi- fiers. In IJCAI, pages 5103-5111, 2018. IJCAI
  38. [Shih et al., 2019] A. Shih, A. Choi, and A. Darwiche. Com- piling bayesian network classifiers into decision graphs. In AAAI, pages 7966-7974, 2019.
  39. [Umans et al., 2006] C. Umans, T. Villa, and A. L. Sangiovanni-Vincentelli. Complexity of two-level logic minimization. IEEE Trans. Comput. Aided Des. Integr. Circuits Syst., 25(7):1230-1246, 2006.
  40. [Yang et al., 2020] L. Yang, X. Wu, Y. Jiang, and Z. Zhou. Multi-label learning with deep forest. In ECAI, volume 325, pages 1634-1641, 2020.
  41. [Zhang et al., 2019] Y. Zhang, J. Zhou, W. Zheng, J. Feng, L. Li, Z. Liu, M. Li, Z. Zhang, C. Chen, X. Li, Y. A. Qi, and Z. Zhou. Distributed deep forest and its application to automatic detection of cash-out fraud. ACM Trans. Intell. Syst. Technol., 10(5):55:1-55:19, 2019.
  42. [Zhao et al., 2019] X. Zhao, Y. Wu, D. L. Lee, and W. Cui. iforest: Interpreting random forests via visual analytics. IEEE Trans. Vis. Comput. Graph., 25(1):407-416, 2019.
  43. [Zhou and Feng, 2017] Z. Zhou and J. Feng. Deep forest: Towards an alternative to deep neural networks. In IJCAI, pages 3553-3559, 2017. IJCAI

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards