TL;DR
This paper introduces two novel methods, G2PC and L2PC, that adapt model-agnostic explainability techniques from supervised learning to the realm of unsupervised clustering. These methods offer an easy-to-implement and broadly applicable way to understand which features drive clustering results, a capability that has been lacking in the field.
What Problem Does This Paper Address?
Explainability in machine learning has seen significant progress for supervised tasks, allowing us to understand why a model makes a certain prediction. However, unsupervised learning, particularly clustering, has lagged behind. Clustering algorithms group data points without predefined labels, making it challenging to interpret the underlying reasons for these groupings. This lack of explainability hinders trust, debugging, and the extraction of meaningful insights from clustered data, especially in complex domains like neuroscience where understanding group differences is crucial. The paper aims to bridge this gap by providing a general framework for explaining any clustering algorithm.
Methods
The core contribution is the adaptation of two model-agnostic explainability techniques from supervised learning to unsupervised clustering:
- Global Permutation Percent Change (G2PC): This method extends permutation feature importance. Instead of measuring how a model's prediction accuracy changes when a feature is shuffled, G2PC measures the percentage of samples that switch clusters after a feature (or a group of features) is permuted. A higher percentage of cluster switches indicates higher feature importance for the overall clustering.
- Local Perturbation Percent Change (L2PC): This method adapts perturbation-based explainability for individual samples. For a given sample, L2PC repeatedly perturbs its features (or feature groups) and observes how often the sample changes its cluster assignment. This provides a local, sample-specific understanding of feature importance.
A key innovation is that both methods are designed to work with "hard" cluster assignments (where each data point belongs to exactly one cluster), overcoming a limitation of many existing model-agnostic methods that require "soft" assignments (probabilities of belonging to multiple clusters). The authors also introduce a "grouping" component, allowing related features to be permuted together, which is particularly useful for high-dimensional data.
Datasets
The authors evaluated their methods on two types of datasets:
- Synthetic Datasets: Two synthetic datasets were generated with varying numbers of features and clusters, designed to have controlled relationships between features and cluster assignments. These were used to test the methods in a controlled environment.
- FBIRN rs-fMRI Dataset: This is a real-world, high-dimensional dataset containing functional network connectivity (FNC) data from 151 individuals with schizophrenia and 160 healthy controls. This dataset was used to demonstrate the methods' utility in a complex, real-world application.
Key Insights and Ideas
- Bridging the Explainability Gap: The paper successfully demonstrates that established model-agnostic explainability techniques can be adapted for unsupervised clustering, opening up a new avenue for research in this area.
- Algorithm-Agnosticism is Key: The proposed methods are designed to work with any clustering algorithm, making them highly versatile and broadly applicable across different domains and research questions.
- Handling Hard Clustering: The ability to explain algorithms that produce hard cluster assignments is a significant advancement, expanding the reach of explainability to more common clustering techniques.
- Feature Importance in Neuroscience: The application to rs-fMRI data provides novel insights into brain connectivity patterns associated with schizophrenia, highlighting how specific network connections might differentiate patient groups.
- Consistency Across Methods: The explanations provided by G2PC/L2PC were found to be highly similar to those from an interpretable logistic regression classifier, lending strong support to the validity of the proposed methods.
Key Results
- Synthetic Data: On synthetic datasets, G2PC and L2PC generally ranked features by importance in alignment with the ground truth, showing that features designed to be more discriminative were identified as more important. The methods demonstrated consistent performance across five different clustering algorithms (k-means, DBScan, GMM, AGC, fuzzy c-means).
- FBIRN rs-fMRI Data: For the schizophrenia dataset, the methods identified key cross-network domains (like ADN/CCN, SCN/VSN) as important for differentiating between the schizophrenia and control groups. These findings were consistent with existing literature and provided new perspectives on brain connectivity differences.
- Comparison with Interpretable Classifier: The feature importance identified by G2PC and L2PC for the FBIRN dataset showed high similarity to the feature importance derived from a logistic regression classifier trained on the cluster assignments. This suggests that the proposed methods capture meaningful patterns in the data.
Limitations and Future Work
- High-Dimensional Data Challenges: While the grouping component helps, the authors note that G2PC and L2PC did not have optimal performance on high-dimensional data without grouping, potentially due to the use of Euclidean distance, which can be suboptimal in such cases. Future work could explore other distance metrics.
- Parameter Sensitivity: The authors hypothesize that increasing the number of repeats (K) for G2PC and L2PC would likely improve reliability, while decreasing the number of perturbations per repeat (M) for L2PC could increase variance. Further investigation into the effects of parameter settings is suggested.
- Generalizability of Other Methods: The paper suggests that other model-agnostic explainability methods from supervised learning could also be adapted for clustering, and that soft-clustering methods might be particularly compatible with many existing model-agnostic techniques.
- Feature Selection: G2PC could potentially be used for feature selection to improve clustering outcomes, similar to how permutation importance is used in supervised learning.
- Application to Supervised Models: L2PC might also be applicable for explaining supervised machine learning models.
Summary updated