Explaining Decisions in ML Models: a Parameterized Complexity Analysis (Part I)
Sebastian Ordyniak, Giacomo Paesani, Mateusz Rychlicki, Stefan Szeider
TL;DR
The paper investigates the parameterized complexity of explanation problems (abductive and contrastive, local and global) for transparent ML models such as decision trees, decision sets, decision lists, and their ensembles. It develops a unifying algorithmic framework based on Boolean circuits and MSO/MSOE$_1$ logic to obtain fixed-parameter tractable results, and introduces a broad hardness framework via set-modelling and subset-modelling to derive NP- and W-hardness across model classes. The results reveal a nuanced landscape: certain explanations for DTs (notably local contrastive) are tractable, while ensemble-based explanations quickly become intractable, with tractability in DS/DL obtainable only under tight parameter bounds. The work also provides general meta-tools for analyzing new model classes and highlights practical implications for explainable AI system design, including guidance on when efficient explanations are feasible. Part II extends these ideas to binary decision diagrams and circuit-based models, underscoring the broad applicability of the proposed frameworks.
Abstract
This paper presents a comprehensive theoretical investigation into the parameterized complexity of explanation problems in various machine learning (ML) models. Contrary to the prevalent black-box perception, our study focuses on models with transparent internal mechanisms. We address two principal types of explanation problems: abductive and contrastive, both in their local and global variants. Our analysis encompasses diverse ML models, including Decision Trees, Decision Sets, Decision Lists, Boolean Circuits, and ensembles thereof, each offering unique explanatory challenges. This research fills a significant gap in explainable AI (XAI) by providing a foundational understanding of the complexities of generating explanations for these models. This work provides insights vital for further research in the domain of XAI, contributing to the broader discourse on the necessity of transparency and accountability in AI systems.
