10
0

PnPXAI: A Universal XAI Framework Providing Automatic Explanations Across Diverse Modalities and Models

Abstract

Recently, post hoc explanation methods have emerged to enhance model transparency by attributing model outputs to input features. However, these methods face challenges due to their specificity to certain neural network architectures and data modalities. Existing explainable artificial intelligence (XAI) frameworks have attempted to address these challenges but suffer from several limitations. These include limited flexibility to diverse model architectures and data modalities due to hard-coded implementations, a restricted number of supported XAI methods because of the requirements for layer-specific operations of attribution methods, and sub-optimal recommendations of explanations due to the lack of evaluation and optimization phases. Consequently, these limitations impede the adoption of XAI technology in real-world applications, making it difficult for practitioners to select the optimal explanation method for their domain. To address these limitations, we introduce \textbf{PnPXAI}, a universal XAI framework that supports diverse data modalities and neural network models in a Plug-and-Play (PnP) manner. PnPXAI automatically detects model architectures, recommends applicable explanation methods, and optimizes hyperparameters for optimal explanations. We validate the framework's effectiveness through user surveys and showcase its versatility across various domains, including medicine and finance.

View on arXiv
@article{kim2025_2505.10515,
  title={ PnPXAI: A Universal XAI Framework Providing Automatic Explanations Across Diverse Modalities and Models },
  author={ Seongun Kim and Sol A Kim and Geonhyeong Kim and Enver Menadjiev and Chanwoo Lee and Seongwook Chung and Nari Kim and Jaesik Choi },
  journal={arXiv preprint arXiv:2505.10515},
  year={ 2025 }
}
Comments on this paper