Proceedings

A Fast and Unified Partial Dependence Plot Algorithm

Download BibTeX Cite

Proceedings of the Thirty-Fifth International Joint Conference on Artificial Intelligence. Main Track. Pages 5048-5056.

https://doi.org/10.24963/ijcai.2026/562

Abstract

Partial Dependence Plots (PDPs) visualize how changes in a single feature affect the average model prediction. They are widely used in practice to interpret decision tree ensembles and other machine learning models. Joint-PDPs extend this idea to pairs of features, revealing their combined effect. Partial Dependence Interaction Values (PDIVs) measure feature interactions. The Any-Order-PDIVs task computes these interactions for every feature subset across all rows of the dataset.

We introduce WOODELF++, a unified and efficient approach for computing all these useful explainability tools on decision tree ensembles, building on WOODELF, an algorithm for efficient SHAP computation. By deriving suitable metrics over pseudo-Boolean functions, WOODELF++ can compute PDPs (exact and approximate), Joint-PDPs, and Any-Order-PDIVs in a unified framework. Our method delivers substantial complexity improvements over the state of the art, including an exponential gain for Any-Order-PDIVs. Additionally, we introduce and efficiently compute Full PDPs, which leverage the model’s split thresholds to faithfully capture its behavior across all possible feature values.

WOODELF++ is implemented in pure Python and supports GPU acceleration. On a dataset with 400,000 rows, WOODELF++ computes PDP and Joint-PDP up to 6x faster than the state of the art and up to five orders of magnitude faster than scikit-learn. For Any-Order-PDIVs, the gap is even larger: WOODELF++ computes all interaction values in 5 minutes, while the state of the art is estimated to require over 1,000,000 years.

  1. [Apley and Zhu, 2020] Daniel W Apley and Jingyu Zhu. Vi- sualizing the effects of predictor variables in black box su- pervised learning models. Journal of the Royal Statisti- cal Society Series B: Statistical Methodology, 82(4):1059- 1086, 2020.
  2. [Blockeel et al., 2023] Hendrik Blockeel, Laurens Devos, Benoît Frénay, Géraldin Nanfack, and Siegfried Nijssen. Decision trees: from efficient prediction to responsible ai. Frontiers in Artificial Intelligence, Volume 6 -2023, 2023.
  3. [Caruana et al., 2015] Rich Caruana, Yin Lou, Johannes Gehrke, Paul Koch, Marc Sturm, and Noemie Elhadad. Intelligible models for healthcare: Predicting pneumonia risk and hospital 30-day readmission. In Proceedings of the 21th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, KDD '15, page 1721-1730, New York, NY, USA, 2015. Association for Computing Machinery.
  4. [Cook et al., 2021] Thomas Cook, Greg Gupton, Zach Modig, and Nathan Palmer. Explaining machine learning by bootstrapping partial dependence functions and shapley values. The Federal Reserve Bank of Kansas City Research Working Papers, 11 2021.
  5. [Cutler et al., 2007] D. Richard Cutler, Thomas C. Ed- wards Jr., Karen H. Beard, Adele Cutler, Kyle T. Hess, Jacob Gibson, and Joshua J. Lawler. Random forests for classification in ecology. Ecology, 88(11):2783-2792, 2007.
  6. [Friedman, 2001] Jerome H. Friedman. Greedy function ap- proximation: A gradient boosting machine. The Annals of Statistics, 29(5):1189 -1232, 2001.
  7. [Gnat, 2024] Sebastian Gnat. Determining the influence of real estate features on prices with partial dependence plots: A case study in szczecin, poland. Real Estate Management and Valuation, 32(4):105-116, 2024.
  8. [Goldstein et al., 2015] Alex Goldstein, Adam Kapelner, Justin Bleich, and Emil Pitkin. Peeking inside the black box: Visualizing statistical learning with plots of individ- ual conditional expectation. journal of Computational and Graphical Statistics, 24(1):44-65, 2015.
  9. [Hiabu et al., 2022] Munir Hiabu, Josephine T. Meyer, and Marvin N. Wright. Unifying local and global model expla- nations by functional decomposition of low dimensional structures. ArXiv, abs/2208.06151, 2022.
  10. [Jibiki and Fukuda, 2024] Taichi Jibiki and Shinji Fukuda. Temporal variables improve a spatiotemporal species dis- tribution model for the non-native freshwater fish candidia temminckii. iScience, 27(4), Apr 2024.
  11. [kag, 2019] Ieee-cis fraud detection dataset, 2019. https:// www.kaggle.com/c/ieee-fraud-detection. [kdd, 1999] Kdd cup 1999 data, 1999. https://kdd.ics.uci. edu/databases/kddcup99/kddcup99.html. Link
  12. [Ke et al., 2017] Guolin Ke, Qi Meng, Thomas Finley, Taifeng Wang, Wei Chen, Weidong Ma, Qiwei Ye, and Tie-Yan Liu. Lightgbm: A highly efficient gradient boost- ing decision tree. In I. Guyon, U. Von Luxburg, S. Bengio, H. Wallach, R. Fergus, S. Vishwanathan, and R. Garnett, editors, Advances in Neural Information Processing Sys- tems, volume 30.
  13. Curran Associates, Inc., 2017.
  14. [Liu et al., 2025] Jinyang Liu, Tessa Steensgaard, Marvin N. Wright, Niklas Pfister, and Munir Hiabu. Fast estimation of partial dependence functions using trees. In Aarti Singh, Maryam Fazel, Daniel Hsu, Simon Lacoste-Julien, Fe- lix Berkenkamp, Tegan Maharaj, Kiri Wagstaff, and Jerry Zhu, editors, Proceedings of the 42nd International Con- ference on Machine Learning, volume 267 of Proceed- ings of Machine Learning Research, pages 39496-39534. PMLR, 13-19 Jul 2025.
  15. [Muschalik et al., 2023] Maximilian Muschalik, Fabian Fu- magalli, Rohit Jagtani, Barbara Hammer, and Eyke Hüllermeier. ipdp: On partial dependence plots in dy- namic modeling scenarios. In Luca Longo, editor, Ex- plainable Artificial Intelligence, pages 177-194, Cham, 2023. Springer Nature Switzerland.
  16. [Nadel and Wettenstein, 2026a] Alexander Nadel and Ron Wettenstein. From decision trees to boolean logic: A fast and unified shap algorithm. Proceedings of the AAAI Con- ference on Artificial Intelligence, 40(29):24476-24485, Mar. 2026.
  17. [Nadel and Wettenstein, 2026b] Alexander Nadel and Ron Wettenstein. From decision trees to boolean logic: A fast and unified shap algorithm (extended arxiv version), 2026.
  18. [Nadel, 2020] Alexander Nadel. On optimizing a generic function in sat. In 2020 Formal Methods in Computer Aided Design (FMCAD), pages 205-213, 2020.
  19. [Parr and Wilson, 2020] Terence Parr and James D. Wilson. Technical report: Partial dependence through stratifica- tion, 2020.
  20. [Pedregosa et al., 2011] F. Pedregosa, G. Varoquaux, A. Gramfort, V. Michel, B. Thirion, O. Grisel, M. Blon- del, P. Prettenhofer, R. Weiss, V. Dubourg, J. Vanderplas, A. Passos, D. Cournapeau, M. Brucher, M. Perrot, and E. Duchesnay. Scikit-learn: Machine learning in Python. Journal of Machine Learning Research, 12:2825-2830, 2011.
  21. [Ribeiro et al., 2016] Marco Tulio Ribeiro, Sameer Singh, and Carlos Guestrin. "Why Should I Trust You?": Ex- plaining the predictions of any classifier. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, KDD 16, pages 1135-1144, New York, NY, USA, 2016. Association for Computing Machinery.
  22. [Shapley, 1953] L. S. Shapley. A value of n-person games. Contributions to the Theory of Games, page 307-317, 1953.
  23. [Sudjianto et al., 2023] Agus Sudjianto, Aijun Zhang, Zebin Yang, Yu Su, and Ningzhou Zeng. Piml toolbox for in- terpretable machine learning model development and di- agnostics. arXiv, 2023.
  24. [Yasodhara et al., 2021] Angeline Yasodhara, Azin Asgar- ian, Diego Huang, and Parinaz Sobhani. On the trustwor- thiness of tree ensemble explainability methods. In Ma- chine Learning and Knowledge Extraction: 5th IFIP TC 5, TC 12, WG 8.4, WG 8.9, WG 12.9 International Cross- Domain Conference, CD-MAKE 2021, Virtual Event, Au- gust 17-20, 2021, Proceedings, Berlin, Heidelberg, 2021. Springer-Verlag.
  25. [Zern et al., 2023] Artjom Zern, Klaus Broelemann, and Gjergji Kasneci. Interventional shap values and interac- tion values for piecewise linear regression trees. Pro- ceedings of the AAAI Conference on Artificial Intelligence, 37(9):11164-11173, Jun. 2023.
  26. [Zhang and Jang, 2005] Byoung-Tak Zhang and Ha-Young Jang. Molecular learning of wdnf formulae. In Alessan- dra Carbone and Niles A. Pierce, editors, DNA Computing, 11th International Workshop on DNA Computing, DNA11, Revised Selected Papers, volume 3892 of Lecture Notes in Computer Science, pages 427-437. Springer, 2005.

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

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