Generating Global and Local Explanations for Tree-Ensemble Learning Methods by Answer Set Programming

Akihiro Takemura, Katsumi Inoue
10/14/2024
cs.AI

No official code found. Best implementation: atakemura/treetap (2 stars, MIT, last commit 2025-09-18).

Abstract

We propose a method for generating rule sets as global and local explanations for tree-ensemble learning methods using Answer Set Programming (ASP). To this end, we adopt a decompositional approach where the split structures of the base decision trees are exploited in the construction of rules, which in turn are assessed using pattern mining methods encoded in ASP to extract explanatory rules. For global explanations, candidate rules are chosen from the entire trained tree-ensemble models, whereas for local explanations, candidate rules are selected by only considering rules that are relevant to the particular predicted instance. We show how user-defined constraints and preferences can be represented declaratively in ASP to allow for transparent and flexible rule set generation, and how rules can be used as explanations to help the user better understand the models. Experimental evaluation with real-world datasets and popular tree-ensemble algorithms demonstrates that our approach is applicable to a wide range of classification tasks. Under consideration in Theory and Practice of Logic Programming (TPLP).

View on arXivView PDF

Code Implementations(1)

atakemura/treetapCommunity100%
MIT

Generating Explainable Rule Sets from Tree-Ensembles by Answer Set Programming

20Shell, PythonDec 25, 20211 years agoMIT

Similar Papers

Cite this paper

@article{takemura2024generating,
  title  = {Generating Global and Local Explanations for Tree-Ensemble Learning Methods by Answer Set Programming},
  author = {Akihiro Takemura and Katsumi Inoue},
  year   = {2024},
  eprint = {2410.11000},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.11000v1}
}

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/2410.11000.svg)](https://codeofpaper.com/paper/2410.11000)

Discussion