Explaining Decisions in ML Models: a Parameterized Complexity Analysis
Sebastian Ordyniak, Giacomo Paesani, Mateusz Rychlicki, Stefan Szeider
TL;DR
The paper studies the parameterized complexity of explanation problems (abductive and contrastive, local and global) for transparent ML models, including DTs, DSs, DLs, OBDDs, and ensembles. It introduces a circuit-based framework, translating models to Boolean circuits and employing Monadic Second-Order logic (MSO$_1$/MSOE$_1$) to obtain fixed-parameter tractability results, notably via a meta-theorem for circuits with a bounded number of MAJ gates and rankwidth parameter. The work delivers concrete algorithmic results (polynomial-time, XP, and fixed-parameter tractable) for several model families and explanation variants, alongside comprehensive hardness results (NP-hard, co-NP-hard, and $W[1]$-hard) across parameter regimes. These findings illuminate the tractability frontier of explainability in XAI and guide the development of efficient, regulator-relevant explanation methods while identifying robust barriers in more complex or less transparent models.
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, Ordered Binary Decision Diagrams, Random Forests, and 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.
