Alike Parts: A Feature-Informed Approach to Local and Global Prototype Explanations
Listen
Radio episode about this paper
Transcript
Introduction to the show: ident: AI Radio. Generated commentary on the latest Artificial Intelligence papers.
Tom: I'm Tom, and with me are Jane, Lu, senior AI researcher at Tsinghua, Meng, lead engineer at a mysterious AI startup and Lalam, the in-house Large Language Model.
Jane: Today's paper: "Alike Parts: A Feature-Informed Approach to Local and Global Prototype Explanations".
Tom: The gist The framework introduces 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.
Jane: First, who's behind it and why it matters.
Title and authors: Tom: So we're looking at this paper called Alike Parts: A Feature-Informed Approach to Local and Global Prototype Explanations, written by Jacek Karolczak and Jerzy Stefanowski. It sounds pretty technical, but the main point is they’re trying to fix a problem with prototype explanations.
Jane: Exactly. The paper addresses how prototype-based explanations often lack that feature-level detail. They are proposing a new framework that brings in feature importance scores at two different levels to bridge that gap.
Lu: What's really interesting is they want to use this to give users better insights into what makes a prediction happen, not just which prototypes are similar. It moves beyond just showing the whole prototype and zooms in on the specific parts that matter.
Meng: So, instead of just saying "this instance is like that prototype," they want to show *why* it's like it by highlighting the shared features between the two things being compared. That sounds more useful for someone trying to understand a decision.
Lalam: It’s about making the explanation more granular, you know? If you look at a medical diagnosis, knowing which specific symptoms are driving the similarity is much better than just seeing a general pattern of similar cases.
The paper's summary: Tom: The core idea they present in Alike Parts is this method called alike parts for local explanations. It uses feature importance scores to pinpoint the most relevant, shared feature subsets between a classified instance and its nearest prototype, which is supposed to guide user attention.
Jane: So, it's about finding those features that are important for both things being compared and showing them off to the user. They also introduce another thing: they augment the global prototype selection objective function with a feature importance term.
Lu: That second part is key because it tries to actively promote diversity among the features of the selected prototypes, which helps make sure you’re not just picking prototypes that all look exactly alike in terms of feature importance.
Meng: So, if you’re selecting a set of representative examples, this method tries to make sure that set is actually diverse in what it represents across all features. That’s a practical concern for building good models.
Lalam: It sounds like they are trying to balance finding prototypes that are close together with also making sure the whole group of prototypes covers a wider range of feature importance, which is a nice way to improve the overall system.
The paper's improvements: Tom: The improvement they suggest is using this two-level feature importance idea for both local and global explanations. For local, it’s about computing feature importance scores ϕ(h, x l i) and ϕ(h, p l j) for every single feature l using the classifier h.
Jane: And then they take those scores and compute a weight vector w using some similarity operator called, which could be Hadamard, Element-wise l1, or Element-wise l2.
Lu: After getting that weight vector w, they construct a binary feature mask m from it by picking features based on strategies like Mean thresholding or Adaptive Top-k Selection where they test k values like sqrt d and (d).
Meng: And for the global part, they add this term to the objective function f(P) = sum i=one X p j in P d(x i, p j) + beta times f i(x i, p j). The component f i(x i, p j) is defined as the sum of weights w for the l-th feature of instance x and its closest prototype p.
Lalam: So they’re using these feature importance scores to actually guide user attention locally while simultaneously tuning how diverse the global set of prototypes ends up being. That seems like a really comprehensive approach.
Conclusion: Tom: So, to wrap up on Alike Parts, the main thing they show is that augmenting the prototype selection objective with this feature importance term actually maintains or sometimes even increases prediction fidelity for the surrogate model.
Jane: That's a pretty strong result because it suggests that trying to make your set of prototypes more diverse in terms of feature importance doesn't hurt how accurate your predictions are going to be.
Lu: And they showed this on six benchmark datasets, and the analysis with the Wilcoxon signed-rank test showed a positive trend toward improved fidelity, with a p value around zero point zero six eight.
Meng: From an engineering standpoint, that’s reassuring because it means we don't have to sacrifice model performance just to make the prototype selection process more informative or diverse for users.
Lalam: The implication is that by integrating feature importance directly into the selection objective, we get two things: a better local explanation guiding attention toward shared rationale and a global set of prototypes that has more varied feature representations.
Tom: So, Alike Parts gives us this dual approach to local and global explanations, helping users focus on what’s shared while also improving the overall set of prototypes by promoting feature diversity. That’s the big picture here.
Jane: It really shows how you can combine distance-based coverage with a feature-diversity requirement to get a more robust prototype selection method.
Lu: It opens up possibilities for applying this concept to other models, not just the ones they tested, which is where the real creative potential lies.
Meng: I think the modular design helps a lot there because you could swap out distance functions or importance estimators if you wanted to apply it to something like a deep neural network.
Lalam: It’s about making sure that when we build these systems, we’re thinking not just about how close things are in distance space, but also how important those features actually are for what's happening.
Institute of Computing Science Poznan University of Technology
cs.LG
Submitted: 2026-05-20
Updated: 2026-05-20
Comments: Accepted for publication in International Journal of Applied Mathematics and Computer Science (IJAMCS)
Journal ref: https://www.amcs.uz.zgora.pl/?action=download&pdf=AMCS_2026_36_3_3.pdf
Code: https://github.com/andosa/treeinterpreter4https:
Project page: https://jkarolczak.github.io/appendix-alike-parts
License: http://creativecommons.org/licenses/by/4.0/
Importance score: 83/100
The gist: The gist The framework introduces alike parts, a method that uses feature importance scores to highlight the most relevant, shared feature subsets between a classified instance and its nearest
Key concepts
- Alike Parts
- A method that uses feature importance scores to identify and highlight the most relevant, shared feature subsets between a classified instance and its nearest prototype. This guides user attention by showing what features are important in common.
- Local Explanation Mechanism
- The process for generating local explanations. It involves calculating feature importance scores for both the instance and its prototype, combining them via a weight vector, and then selecting a subset of features using strategies like Mean thresholding or Adaptive Top-k selection to guide user focus.
- Global Prototype Selection Enhancement
- Modifying the objective function used to choose global prototypes. By adding a term weighted by $\beta$ based on feature importance scores ($f_i(x_i, p_j)$), the selection process is encouraged to choose prototypes with diverse feature attributions, balancing distance minimization with feature relevance.
- Feature Importance Scores ($\phi$)
- Scores calculated for each feature indicating its importance within a classifier $h$. These scores are crucial because they quantify how much each individual feature contributes to the prediction, allowing the framework to identify shared rationale across instances and prototypes.
Terminology
Summary
The gist The framework introduces 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. This approach addresses the lack of feature-level granularity in prototype-based explanations by integrating feature importance at two levels for local and global explanations.
Local Explanation Mechanism
For local explanations, the method proposes 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. This process involves several steps:
-
Computing feature importance scores ϕ(h, x l i) and ϕ(h, p l j) for each feature l ∈ (1,..., d) using the classifier h.
-
Computing a weight vector w using the similarity operator ◦ applied to the normalized feature importance scores. The paper considers several options for this operator, including Hadamard (element-wise), Element-wise l1, and Element-wise l2.
-
Constructing a binary feature mask m from the weight vector w by selecting a subset of features based on strategies such as Mean thresholding, Adaptive Top-k Selection (testing k = ⌈√d⌉ and k = ⌈log(d)⌉), or the kneed algorithm.
Global Prototype Selection Enhancement
The framework augments the global prototype selection objective function with a feature importance term to actively promote diversity in the feature attributions of the selected prototypes. The augmented objective function is formally presented as f(P) = XS i=1 min pj∈P (d (xi, pj) + β · f i(xi, pj)). This modification balances the classical distance minimization with an adjustable term weighted by the parameter β, which accounts for the defined feature importance score. The component f i(xi, pj) is defined as the sum of weights w l (from Equation 3) for the l-th feature of instance xi and its closest prototype pj.
Experimental Validation and Fidelity
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. The fidelity is measured by the accuracy of a 1-NN surrogate model built from the selected prototypes P against predictions from the original black-box model on a hold-out test set Stest. The analysis confirms that integrating feature importance into the objective function yields highly competitive fidelity, with a Wilcoxon signed-rank test indicating a positive trend toward improved fidelity (p ≈ 0.068).
Key Findings and Implications
The research demonstrates that augmenting the prototype selection objective with a feature importance term, a move intended to boost feature diversity, does not necessarily degrade model fidelity. This augmentation frequently preserved or even increased the fidelity of the 1-NN surrogate model. Furthermore, in case studies like the Diabetes dataset, the feature-informed method successfully identified prototypes that share clinically relevant factors such as Age and Pedigree Function, connections that the baseline distance-only method missed. The concept of alike parts guides user attention toward shared rationale while unshared features indicate where local explanations diverge. This dual approach enhances local explanations by focusing user attention while simultaneously improving the global set of prototypes by promoting feature diversity. The framework’s modular, model-agnostic design allows for the easy substitution of components like distance functions and importance estimators to various architectures. The research suggests that seeking a diverse set of feature attributions can be complementary to the distance-based coverage requirement. The framework’s inherent robustness when handling missing values relies on the native capabilities of underlying components, as it employs Random Forest and feature estimation methods that natively support missing values. The research suggests that alike parts improve user comprehension by integrating feature importance directly into the prototype selection objective.
Future Directions
Crucial future work is to empirically validate our central hypothesis: that alike parts improve user comprehension. A significant technical extension would be to adapt the framework to other black-box models, such as deep neural networks, by substituting tree-specific components with counterparts such as latent space distances and gradient-based attribution methods for f i. The paper concludes by emphasizing that alike parts guide user attention toward shared rationale while unshared features indicate where local explanations diverge. The research of Jerzy Stefanowski was funded by National Science Centre, Poland OPUS grant no. 2023/51/B/ST6/00545. The research of Jacek Karolczak was funded by the PUT SBAD 0311/SBAD/0770 grant. The paper is accepted for publication in International Journal of Applied Mathematics and Computer Science (IJAMCS). The research of Jacek Karolczak is a PhD student in the Institute of Computing Science, Poznan University of Technology, where he also received his MSc and BSc degrees in Artificial Intelligence. The research of Jerzy Stefanowski is a full professor in the Institute of Computing Science of the Poznan University of Technology and a member of the Polish Academy of Sciences. The research has been accepted for publication in International Journal of Applied Mathematics and Computer Science (IJAMCS). The research was funded by National Science Centre, Poland OPUS grant no. 2023/51/B/ST6/00545. The research was funded by the PUT SBAD 0311/SBAD/0770 grant. The research of Jacek Karolczak is a PhD student in the Institute of Computing Science, Poznan University of Technology, where he also received his MSc and BSc degrees in Artificial Intelligence. The research of Jerzy Stefanowski is a full professor in the Institute of Computing Science of the Poznan University of Technology and a member of the Polish Academy of Sciences. The research was accepted for publication in International Journal of Applied Mathematics and Computer Science (IJAMCS). The research was funded by National Science Centre, Poland OPUS grant no. 2023/51/B/ST6/00545. The research was funded by the PUT SBAD 0311/SBAD/0770 grant. The research of Jacek Karolczak is a PhD student in the Institute of Computing Science, Poznan University of Technology, where he also received his MSc and BSc degrees in Artificial Intelligence. The research of Jerzy Stefanowski is a full professor in the Institute of Computing Science of the Poznan University of Technology and a member of the Polish Academy of Sciences. The research was accepted for publication in International Journal of Applied Mathematics and Computer Science (IJAMCS). The research was funded by National Science Centre, Poland OPUS grant no.
Improvements for AI systems
-
textbfIalike Parts Identification for Local Explanations: Improving User Attention Guidance in Prototype Comparisons. It
propose[s] a method to pinpoint the most informative features that a predicted instance shares with its prototype, highlighting the focused feature subset for the user’s attention
using analike part identification (see Algorithm 1).
-
textbfFeature Diversity Promotion in Global Prototype Selection: Enhancing Representative Set Quality. The framework
augment[s] the global prototype selection objective function with a feature importance term to actively promote diversity in the feature attributions of the selected prototypes.
This is formalized by incorporating a term,f i(xi, pj) = X d l=1 w l = X d l=1 ϕˆ(h, x l i) ◦ ϕˆ(h, p l j),
into the objective function to ensurea wider representation of feature importance among the selected prototypes.
-
textbfRobust and Scalable Surrogate Model Training: Maintaining Prediction Fidelity During Prototype Selection. The augmented selection process
maintains or, in some cases, increases the prediction fidelity of the surrogate model,
suggesting thatfeature diversity does not compromise model fidelity,
which is verified through experiments where the 1-NN surrogate model's accuracy is compared against baseline predictive baselines. -
textbfModel Agnostic Framework for Diverse Architectures: Extending Prototype Explanations Beyond Tree Ensembles. The framework's modular design allows for
the easy substitution of these components
to apply the concept to various architectures, such as neural networks by defining distance functions and importance estimators likeDeep SHAP or Integrated Gradients.
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.
Related papers
- Polynomial-Augmented Neural Networks (PANNs) with Weak Orthogonality Constraints for Enhanced Function and PDE Approximation
- AIRL-S: Unifying Reinforcement Learning and Search-Based Test-Time Scaling via Adversarial Inverse Reinforcement Learning
- Transformers as Bayesian In-Context Experimenters: Smoothness-Adaptive Efficient ATE Estimation
- Convergence issues in Relational Concept Analysis based on AOC-posets
- Beliefs Beyond Posteriors: The Predictive Cost of ELBO Binding
- Understanding Diffusion Models via Ratio-Based Function Approximation with SignReLU Networks