BoolXAI: Explainable AI Using Expressive Boolean Formulas

Abstract

In this tool paper, we design, develop, and release BoolXAI, an interpretable machine learning classification approach for Explainable AI (XAI) based on expressive Boolean formulas. The Boolean formula defines a logical rule with tunable complexity according to which input data are classified. Beyond the classical conjunction and disjunction, BoolXAI offers expressive operators such as AtLeast, AtMost, and Choose and their parameterization. This provides higher expressiveness compared to rigid rules- and tree-based approaches. We show how to train BoolXAI classifiers effectively using native local optimization to search the space of feasible formulas. We provide illustrative results on several well-known public benchmarks that demonstrate the competitive nature of our approach compared to existing methods. Our work is embodied in the open-source BoolXAI library with a high-level user interface to serve researchers and practitioners. BoolXAI can be used either as a standalone interpretable classifier or for post-hoc explanations of other black-box models or observed behavior. We highlight several desirable benefits of our tool, especially in industrial settings where rapid experimentation, reusability, reproducibility, deployment, and maintenance are of great interest. Finally, we showcase a deployed service powered by BoolXAI as an enterprise application.

Cite

Text

Kadioglu et al. "BoolXAI: Explainable AI Using Expressive Boolean Formulas." AAAI Conference on Artificial Intelligence, 2025. doi:10.1609/AAAI.V39I28.35157

Markdown

[Kadioglu et al. "BoolXAI: Explainable AI Using Expressive Boolean Formulas." AAAI Conference on Artificial Intelligence, 2025.](https://mlanthology.org/aaai/2025/kadioglu2025aaai-boolxai/) doi:10.1609/AAAI.V39I28.35157

BibTeX

@inproceedings{kadioglu2025aaai-boolxai,
  title     = {{BoolXAI: Explainable AI Using Expressive Boolean Formulas}},
  author    = {Kadioglu, Serdar and Zhu, Elton Yechao and Rosenberg, Gili and Brubaker, John Kyle and Schuetz, Martin J. A. and Salton, Grant and Zhu, Zhihuai and Katzgraber, Helmut G.},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year      = {2025},
  pages     = {28900-28906},
  doi       = {10.1609/AAAI.V39I28.35157},
  url       = {https://mlanthology.org/aaai/2025/kadioglu2025aaai-boolxai/}
}