Foundations of Symbolic Languages for Model Interpretability

Marcelo Arenas, Daniel Baez, Pablo Barceló, Jorge Pérez, Bernardo Subercaseaux
10/5/2021
cs.AIcs.LO

Official code: dabaez/FOIL-Prototype (3 stars, C++, last commit 2021-11-05).

Abstract

Several queries and scores have recently been proposed to explain individual predictions over ML models. Given the need for flexible, reliable, and easy-to-apply interpretability methods for ML models, we foresee the need for developing declarative languages to naturally specify different explainability queries.

Show full abstract

We do this in a principled way by rooting such a language in a logic, called FOIL, that allows for expressing many simple but important explainability queries, and might serve as a core for more expressive interpretability languages. We study the computational complexity of FOIL queries over two classes of ML models often deemed to be easily interpretable: decision trees and OBDDs. Since the number of possible inputs for an ML model is exponential in its dimension, the tractability of the FOIL evaluation problem is delicate but can be achieved by either restricting the structure of the models or the fragment of FOIL being evaluated. We also present a prototype implementation of FOIL wrapped in a high-level declarative language and perform experiments showing that such a language can be used in practice.

View on arXivView PDF

Code Implementations(1)

Prototype implementation of the First-Order Interpretability Logic (FOIL) for machine learning interpretability https://arxiv.org/abs/2110.02376

30C++, PythonNov 11, 20205 years ago

Similar Papers

Cite this paper

@article{arenas2021foundations,
  title  = {Foundations of Symbolic Languages for Model Interpretability},
  author = {Marcelo Arenas and Daniel Baez and Pablo Barceló and Jorge Pérez and Bernardo Subercaseaux},
  year   = {2021},
  eprint = {2110.02376},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.02376}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2110.02376.svg)](https://codeofpaper.com/paper/2110.02376)

Discussion