Alike Parts: A Feature-Informed Approach to Local and Global Prototype Explanations
[, [ · 2026
Read Alike Parts: A Feature-Informed Approach to Local and Global Prototype Explanations by [, [ (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2605-21646.txt.
Introduction
Jacek Karolczak and Jerzy Stefanowski present alike parts, a feature-guided approach to local and global prototype accounts. Prototype examples help read black box models with cases, but often lack feature-level detail. Locally, alike parts use feature weight scores to highlight the key feature subsets between a sorted instance and its nearest prototype. For global choice, they add a feature weight term to the choice goal, raising mix in feature credits. Tests on six sets show the boosted choice keeps or raises stand-in model faith.
Catalog record
| CREATOR | [, [ |
|---|---|
| YEAR | 2026 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 44153 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2605.21646
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
Alike Parts: A Feature-Informed Approach to Local and Global Prototype Explanations [, [ Abstract Prototype-based explanations offer an intuitive, example-based approach to support the interpretability of machine learning black box classifiers but often lack feature-level granularity. We introduce a framework that integrates feature importance at two levels to address this gap. First, for local explanations, we propose alike parts : a method that uses feature importance scores to highlight the most relevant, shared feature subsets between a classified instance and its nearest prototype, guiding user attention. Second, we augment the global prototype selection objective function with a feature importance term to actively promote diversity in the feature attributions of the selected prototypes. Experiments on six benchmark datasets show that this augmented selection process maintains or, in some cases, increases the prediction fidelity of the surrogate model, suggesting that feature diversity does not compromise model fidelity. ]Jacek Karolczak ]Jerzy Stefanowski \Runauthors J. Karolczak and J. Stefanowski keywords explainable artificial intelligence, prototype-based explanation, feature importance, user attention guidance 1 Introduction The growing application of modern artificial intelligence (AI), particularly machine learning (ML), to high-stakes real-world problems, especially those that impact human welfare or critical systems, necessitates requirements beyond predictive accuracy. A primary concern is establishing human trust in the safe and appropriate use of these systems. This need has led to the formalization of the principles known as Trustworthy AI [ TrustAI ] . Within this framework, explainability has been identified as a cornerstone requirement [ TrustXAI ] . Note that many of the highest-performing ML methods are black-box models. These models inherently lack transparency, failing to provide insight into the rationale behind their decisions or the internal logic driving their decisions. This fundamental conflict between the critical need for transparency and the opaque nature of leading models is the main driver for the growing field of Explainable Artificial Intelligence (xAI). The field of XAI is a broad and active research area focused on developing methods to explain black-box models. These methods offer various types of explanation and are mainly categorized by their scope. Local explanations provide the reasons for a system’s decision on a single specific instance. In contrast, global explanations operate on a larger scale, either by covering a large set of examples or by attempting to approximate the overall internal logic of the ML model [ bodria2023benchmarking ] . Among various explanation techniques, such as feature importance [ ribeiro2016lime , lundberg2017shap ] and counterfactuals [ stepka2024multi ] , prototypes are particularly noteworthy. Since prototypes are actual examples of training data, they are inherently easier for humans to understand compared to more abstract explanation methods [ mastromichalakis2024prototypes ] . Prototypes can serve a dual role: they can function as a local explanation by linking a model’s prediction to the most similar training instances, or as a global explanation by using a limited number of representative examples to approximate the model’s overall decision boundaries. Although prototypes can be applied to various data types, this paper focuses on tabular data, where examples are represented as vectors of \left(\text{feature}\,,\,\text{value}\right) pairs. However, interpreting prototypes remains challenging with many features [ mastromichalakis2024prototypes ] . For local explanations, users may struggle to determine which features are the most important for a specific prediction. For global explanations, it is desirable that the discovered prototypes are not only well-distributed across the data space but also represent diverse subsets of important feature values. This goal shares motivations with related fields, such as the mining of interpretable characteristic rules or sub-group discovery [ Bach-subgroup , Bostrom ] . Similar efforts have been made to improve the human interpretability of prototypes for other data modalities. For example, in image analysis, prototypical parts networks were introduced to identify characteristic patches rather than complete images [ chen2019protpnet ] . Similarly, for text classification, adaptations of these networks can highlight the most important phrases instead of complete text paragraphs [ plucinski2021prototext ] . The concept has also been applied to time-series, where prototypes are defined as representative shapes of important segments [ bobek ] . However, for tabular data, the decomposition of prototypes into meaningful parts remains underexplored. To bridge this gap, we propose a method to identify the most important features within prototypes. Our approach applies a model-agnostic explanation method to compute feature importance for the black-box model, providing a more refined perspective than existing techniques. These identified feature subsets can be used for local and global explanations, helping users better interpret the provided results. Our approach uses feature importance in two ways. First, we identify alike parts by highlighting the most informative overlapping features between a predicted instance and its nearest prototype. This method directs the user’s attention to a limited set of key features when interpreting a local model prediction. Second, we incorporate feature importance into the prototype selection objective function (used within the prototype generation algorithms) to promote diversity. This diversity aids in identifying meaningful alike parts. These strategies balance interpretability and diversity, enhancing both local explanations and the prototype selection process. The methods are evaluated on benchmark datasets. This paper significantly extends our preliminary work [ KarolczakS25 ] . The new contributions include: (1) evaluating multiple prototype generation algorithms alongside a new evaluation function; (2) exploring a larger set of feature importance algorithms and feature selection operators for the final subsets; and (3) conducting a more extensive experimental analysis, assessing the impact of the proposed method’s individual components and parameters. 2 Related Work Below, we briefly review relevant work on prototype explanations and then on evaluating feature importance in black box models. We consider a dataset \mathcal{S} composed of n learning examples, formally expressed as \mathcal{S}={(\mathbf{x}_{i},y_{i})}_{i=1}^{n} . In this formulation, \mathbf{x}_{i}\in\mathbb{X}^{d} is a feature vector that spans d dimensions, and y_{i}\in\mathcal{Y} is its associated label. The data format assumed throughout this work is tabular, presented as feature-value pairs. Central to our approach is a trained classifier h , which works as a black-box model for prediction. This classifier h maps an input instance \mathbf{x}_{i} to a predicted label \hat{y}_{i} , i.e. as the mapping: h(\mathbf{x}_{i})\mapsto\hat{y}_{i} . A prototype as an instance chosen from the dataset that serves as a representative example, specifically (\mathbf{x}_{j},\hat{y}_{j}) , where \hat{y}_{j} is the class assignment yielded by the classifier h . The resulting collection of prototypes, denoted \mathcal{P} , constitutes a restricted subset of the entire dataset \mathcal{S} . Thus, \mathcal{P}=\{(\mathbf{x}_{j},y_{j})\}_{j=1}^{m} , where the condition m\ll n ( \mathcal{P}\subset\mathcal{S} ) ensures that the final number of prototypes remains significantly smaller than the initial size of the training dataset. Various methods for creating prototype explanations have been proposed up to now. Some methods rely on techniques such as vector quantization and kernel functions [ schleif2011kernel ] , sharing conceptual links with KNN-based approaches. For example, IKNN_PSLFW [ zhang2022distantprotos ] first divides the data into class-specific groups before selecting prototypes that are maximally distant from instances belonging to other classes. A critical challenge for many algorithms is their reliance on standard distance measures computed directly in the original feature space. This mandates a careful definition of similarity that can handle diverse data types (binary, numerical, categorical) and maintain robustness against scaling differences among features. To overcome the limitations of distances in the raw feature space, recent