Beyond Feature Importance: A Comparative Analysis of Pattern Detection Methods in Cluster Interpretation

arXiv cs.LG Papers

Summary

This paper presents a comparative evaluation of post-hoc analysis methods (Random Forest surrogate, LIME, PCA) for detecting structured patterns in clustering results, using synthetic datasets with injected patterns. It finds that none of the methods consistently detects all pattern types, highlighting a gap in existing explainability tools.

arXiv:2608.05880v1 Announce Type: new Abstract: Interpreting clustering outcomes remains a fundamental challenge in data analysis, particularly in domains such as healthcare where meaningful patterns must be extracted from high-dimensional data. While numerous explainability techniques exist, they are primarily designed to assess feature importance or provide local instance-level explanations rather than to identify structured patterns present within clusters. This work presents a comparative evaluation of commonly used post-hoc analysis methods for pattern detection in clustering results. To enable controlled evaluation, we introduce a suite of synthetic datasets in which predefined patterns are systematically injected. Three widely used techniques are evaluated: a Random Forest surrogate model with permutation feature importance, LIME (Local Interpretable Model-agnostic Explanations), and principal component analysis. Results demonstrate that although each method can successfully recover relevant features, none consistently detects all injected pattern types. These findings high- light a critical gap between existing explainability tools and the requirements of pattern-level cluster interpretation, motivating the development of dedicated pattern detection methodologies.
Original Article
View Cached Full Text

Cached at: 08/07/26, 07:52 AM

# Beyond Feature Importance: A Comparative Analysis of Pattern Detection Methods in Cluster Interpretation
Source: [https://arxiv.org/html/2608.05880](https://arxiv.org/html/2608.05880)
###### Abstract

Interpreting clustering outcomes remains a fundamental challenge in data analysis, particularly in domains such as healthcare where meaningful patterns must be extracted from high\-dimensional data\. While numerous explainability techniques exist, they are primarily designed to assess feature importance or provide local instance\-level explanations rather than to identify structured patterns present within clusters\. This work presents a comparative evaluation of commonly used post\-hoc analysis methods for pattern detection in clustering results\.

To enable controlled evaluation, we introduce a suite of synthetic datasets in which predefined patterns are systematically injected\. Three widely used techniques are evaluated: a Random Forest surrogate model with permutation feature importance, LIME \(Local Interpretable Model\-agnostic Explanations\), and principal component analysis\. Results demonstrate that although each method can successfully recover relevant features, none consistently detects all injected pattern types\. These findings highlight a critical gap between existing explainability tools and the requirements of pattern\-level cluster interpretation, motivating the development of dedicated pattern detection methodologies\.

© 2026 IEEE\. Personal use of this material is permitted\. Permission from IEEE must be obtained for all other uses, in any current or future media, including reprinting/republishing this material for advertising or promotional purposes, creating new collective works, for resale or redistribution to servers or lists, or reuse of any copyrighted component of this work in other works\.This work has been accepted for publication in 2026 36th Irish Signals and Systems Conference \(ISSC\)\. The final published version will be available via IEEE Xplore\.

## IIntroduction

Clustering algorithms are widely used to uncover latent structure in complex datasets, particularly in high\-dimensional domains such as biomedical research, population health analysis, and exploratory data mining\. While clustering methods can successfully partition data into groups with similar characteristics, interpreting why a cluster exists and what patterns define it remains a major unresolved challenge\[[10](https://arxiv.org/html/2608.05880#bib.bib2),[2](https://arxiv.org/html/2608.05880#bib.bib1)\]\. In practice, the analytical value of clustering lies not only in assigning data points to groups but in identifying meaningful patterns that characterise those groups\.

Existing approaches to cluster interpretation typically rely on post\-hoc explainability techniques\. Feature importance measures derived from surrogate models, local explanation frameworks such as LIME, and dimensionality reduction techniques such as principal component analysis \(PCA\) are frequently applied to understand cluster structure\[[7](https://arxiv.org/html/2608.05880#bib.bib3),[9](https://arxiv.org/html/2608.05880#bib.bib4),[8](https://arxiv.org/html/2608.05880#bib.bib13),[14](https://arxiv.org/html/2608.05880#bib.bib14)\]\. However, these methods were not originally designed for pattern detection within clustering outcomes\. Instead, they focus on identifying influential variables, explaining individual predictions, or capturing variance in reduced representations\. As a result, their ability to recover structured multi\-feature patterns remains unclear\.

In many real\-world applications, particularly in medical research, clusters are expected to represent interpretable behavioural or physiological patterns rather than isolated feature effects\[[13](https://arxiv.org/html/2608.05880#bib.bib6),[7](https://arxiv.org/html/2608.05880#bib.bib3)\]\. Such patterns may involve coordinated feature behaviour, including correlated variables, jointly elevated or suppressed values, or heterogeneous distributions within a cluster\. Detecting these structures requires methods capable of identifying relationships among features rather than evaluating them independently\.

A key obstacle in evaluating pattern detection methods is the absence of ground truth in real datasets\. Without known patterns, it is difficult to assess whether an explanation method successfully captures meaningful structure or merely produces plausible interpretations\. To address this limitation, we construct a controlled experimental framework based on synthetic datasets with explicitly injected patterns\. Each dataset represents a single cluster generated from normally distributed features, into which predefined patterns are introduced while preserving realistic noise levels\. This design enables systematic comparison between detected explanations and known underlying structure\.

In this study, we evaluate three commonly used approaches for analysing clustering outcomes: Random Forest \(RF\) surrogate model using permutation feature importance, LIME and PCA\. Each method is applied independently to synthetic clusters containing known pattern types, including high\-value, low\-value, correlation\-based, and distribution\-switching patterns\. Through this evaluation, we examine not only whether relevant features are identified but whether relationships between features\-and therefore patterns\-are successfully recovered\.

Our findings reveal that while these approaches highlight important variables, they fall short of reliably detecting multi\-feature patterns, underscoring the need for dedicated pattern detection methods\.

The contributions of this work are threefold:

1. 1\.A formal framing of pattern detection as a distinct task from clustering and feature attribution\.
2. 2\.A controlled synthetic benchmark for evaluating pattern detection methods with known ground truth\.
3. 3\.A comparative analysis demonstrating systematic limitations of widely used interpretability techniques, motivating the need for dedicated pattern detection methodologies\.

By establishing these limitations empirically, this work lays the foundation for future research aimed at developing methods specifically designed to detect and quantify patterns within clustering results\.

## IIBackground and Related Work

Clustering algorithms aim to discover latent structure in data by grouping observations according to similarity\. While substantial research has focused on improving clustering algorithms themselves\[[5](https://arxiv.org/html/2608.05880#bib.bib7)\], comparatively less attention has been devoted to interpreting the resulting clusters\. In many applied domains, particularly healthcare and biomedical analytics, the primary objective is not the cluster assignment itself but the identification of patterns that characterise each cluster\.

Cluster interpretation is commonly performed using summary statistics, centroid analysis, or feature ranking approaches\[[12](https://arxiv.org/html/2608.05880#bib.bib9),[4](https://arxiv.org/html/2608.05880#bib.bib10),[7](https://arxiv.org/html/2608.05880#bib.bib3)\]\. These techniques describe differences between clusters but often treat features independently, limiting their ability to reveal structured relationships such as correlated feature groups or heterogeneous distributions within a cluster\. Consequently, researchers increasingly employ model explainability methods originally developed for supervised learning to analyse clustering outcomes\.

A common strategy is to transform clustering into a supervised problem by training a classifier to predict cluster membership and then applying explainability tools to the classifier\[[1](https://arxiv.org/html/2608.05880#bib.bib5)\]\. While practical, this approach implicitly assumes that methods designed for prediction explanation are suitable for pattern discovery \- an assumption that has not been systematically validated\.

### II\-ASurrogate Models and Feature Importance

Surrogate models approximate the behaviour of a complex or non\-interpretable system using a more interpretable predictive model\[[3](https://arxiv.org/html/2608.05880#bib.bib8)\]\. In the context of clustering interpretation, cluster labels are treated as targets, and a supervised model is trained to predict \(one\-versus\-all\) cluster membership\. Explanations are then derived from the surrogate model\. Let the dataset be defined asX∈ℝn×dX\\in\\mathbb\{R\}^\{n\\times d\}, wherenndenotes the number of samples andddthe number of features, with cluster labelsy∈\{0,1\}y\\in\\\{0,1\\\}\. A surrogate model learns a mappingf:X→yf:X\\rightarrow ythat approximates the cluster decision boundary\. In this work, a RF classifier is employed in a one\-versus\-rest formulation\. Feature importance is computed using permutation importance, which measures the decrease in predictive performance when feature values are randomly permuted\.

Permutation importance captures global predictive relevance and supports nonlinear relationships learned by the model\. However, feature importance identifies influential variables but does not directly reveal structured multi\-feature patterns\.

### II\-BLocal Interpretable Model\-Agnostic Explanations \(LIME\)

LIME is a local explanation framework designed to explain individual predictions of black\-box models using locally faithful interpretable approximations\[[11](https://arxiv.org/html/2608.05880#bib.bib11)\]\.

Given an instancexx, LIME approximates a complex modelffwith a simpler interpretable modelggwithin the neighbourhood ofxx\. The procedure consists of:

1. 1\.Choosing a specific data pointxxwe want to explain,
2. 2\.Generating synthetic samplesSSaround instancexx,
3. 3\.Querying the black\-box model for predictions onxxand the samples fromSS,
4. 4\.Weighting samples inSSaccording to proximity toxx,
5. 5\.Fitting an interpretable model onSS,
6. 6\.Extracting feature contributions as explanation rules\.

Continuous variables are typically discretized into bins to produce human\-readable rules describing feature ranges\. In our evaluation, discretization is applied to all continuous features, with explanations restricted to a fixed number of features and generated using a predefined number of synthetic samples\.

LIME provides interpretable local explanations and model\-agnostic applicability\. However, explanations are instance\-specific and sensitive to sampling variability, making aggregation into cluster\-level pattern descriptions challenging\.

### II\-CPrincipal Component Analysis \(PCA\)

PCA is a linear dimensionality reduction technique widely used for exploratory data analysis and structure discovery\[[6](https://arxiv.org/html/2608.05880#bib.bib12)\]\.

Given a centred data matrixXX, PCA identifies orthogonal directions that maximise variance:

max‖w‖=1⁡Var​\(X​w\)\.\\max\_\{\\\|w\\\|=1\}\\mathrm\{Var\}\(Xw\)\.
This optimisation leads to the eigenvalue decomposition of the covariance matrix

Σ=1n​XT​X\.\\Sigma=\\frac\{1\}\{n\}X^\{T\}X\.
Eigenvectors ofΣ\\Sigmadefine principal components, while eigenvalues represent explained variance\. Each principal component is computed as

wherewkw\_\{k\}denotes the loading vector associated with componentkk, which indicate contribution strength\. High\-magnitude loadings indicate higher importance\. Similar signs indicate positive correlation, while opposite signs indicate negative correlation\.

PCA effectively captures linear correlation structures among features\. However, it assumes linear relationships and prioritises variance maximisation rather than semantic pattern identification\. It does not guarantee that the resulting components correspond to meaningful or interpretable patterns\.

## IIIProblem Definition

Clustering algorithms partition a datasetX∈ℝn×dX\\in\\mathbb\{R\}^\{n\\times d\}intoKKclusters

𝒞=\{C1,C2,…,CK\},⋃k=1KCk=X,\\mathcal\{C\}=\\\{C\_\{1\},C\_\{2\},\\dots,C\_\{K\}\\\},\\quad\\bigcup\_\{k=1\}^\{K\}C\_\{k\}=X,such that points within a cluster are more similar to each other than to points in other clusters\[[5](https://arxiv.org/html/2608.05880#bib.bib7)\]\. While clustering assigns membership, it does not explain why clusters exist or which feature combinations define them\[[2](https://arxiv.org/html/2608.05880#bib.bib1)\]\. We define the pattern detection problem as the task of identifying structured, multi\-feature relationships within a given cluster that distinguish it from other clusters or from random noise\.

### III\-ADefinition of a Pattern

LetCkC\_\{k\}denote a cluster andXCk∈ℝ\|Ck\|×dX\_\{C\_\{k\}\}\\in\\mathbb\{R\}^\{\|C\_\{k\}\|\\times d\}its associated data\. A patternPPis defined as a subset of features

FP⊆\{1,2,…,d\}F\_\{P\}\\subseteq\\\{1,2,\\dots,d\\\}and a joint feature behaviour overXCkX\_\{C\_\{k\}\}that satisfies one or more of the following properties:

1. 1\.Value\-based patterns: Features inFPF\_\{P\}take consistently high or low values across a majority of samples\.
2. 2\.Correlation\-based patterns: Features inFPF\_\{P\}are statistically dependent, either positively or negatively, within the cluster: Corr​\(Xi,Xj\)≠0,∀i,j∈FP\.\\mathrm\{Corr\}\(X\_\{i\},X\_\{j\}\)\\neq 0,\\quad\\forall i,j\\in F\_\{P\}\.
3. 3\.Distributional patterns: Features inFPF\_\{P\}exhibit heterogeneous distributions, e\.g\., multimodal behaviour\.

### III\-BObjectives of Pattern Detection

Given clusterCkC\_\{k\}, the goal of a pattern detection method is to output a set of patterns

𝒫k=\{P1,P2,…,PNk\},\\mathcal\{P\}\_\{k\}=\\\{P\_\{1\},P\_\{2\},\\dots,P\_\{N\_\{k\}\}\\\},where each patternPiP\_\{i\}identifies:

- •The subset of featuresFPiF\_\{P\_\{i\}\}involved,
- •The type of joint behaviour \(value, correlation, distributional\),
- •The strength or prominence of the pattern within the cluster\.

### III\-CEvaluation Context

The problem is evaluated under a controlled synthetic framework where clusters contain known patterns of varying types \(value\-based, correlation\-based, switch/multimodal\)\. This allows rigorous assessment of whether existing methods \(surrogate models, LIME, PCA\) can correctly identify patterns discussed above\.

## IVSynthetic Data Design

In order to verify that pattern detection methods reliably identify meaningful structures within clustering results, a suite of controlled synthetic datasets was constructed\. Evaluation on real\-world datasets alone is insufficient for this purpose, as the true underlying patterns are typically unknown\. Synthetic data enables the introduction of predefined ground\-truth patterns, allowing objective assessment of whether an analysis method successfully recovers known structure\.

Patterns were defined in collaboration with medical domain experts to reflect behaviours commonly observed in clinical datasets, including coordinated feature behaviour, extreme value characteristics, and heterogeneous distributions within patient subgroups\. Each synthetic dataset was designed to represent the outcome of a single cluster produced by an upstream clustering algorithm, thereby isolating the task of pattern detection from clustering itself\. Five categories of patterns were considered:

- •High Values:Selected features take values near the upper end of their distribution \(2\-3 features\)\.
- •Low Values:Selected features take values near the lower end of their distribution \(2\-3 features\)\.
- •Positive Correlation:Selected features exhibit positive linear correlation \(2\-4 features\)\.
- •Negative Correlation:Selected features exhibit negative linear correlation \(2\-3 features\)\.
- •High\-LowSome features take values either near the upper or lower end of their distribution \(2 high, 2 low\)\.
- •Switch High–Low:Selected features display heterogeneous behaviour, where approximately half of the samples take high values and the remaining half take low values \(2 or 4 features\)\.

Each pattern involves a predefined number of randomly selected features, ranging from two to four, as shown in the brackets\. Each synthetic dataset consists ofn=500n=500samples and a varying number of featuresd∈\{10,20,30,40,50,60,70,80,90,100\}d\\in\\\{10,20,30,40,50,60,70,80,90,100\\\}\. Prior to pattern injection, all features were independently generated from a normal distribution scaled to the interval\[0,1\]\[0,1\]\. This initialisation produces datasets without intrinsic structure, ensuring that any detectable patterns arise solely from the controlled injection procedure\. For each dataset, a pattern type was selected from the predefined list and injected to randomly selected features\. For each selected feature,80%80\\%of data points were modified to satisfy the pattern constraints and the remaining20%20\\%of samples were left unchanged to introduce controlled noise\. This design simulates realistic clustering outcomes in which patterns are prominent but not perfectly expressed across all observations\. A total of twelve unique pattern combinations were constructed\. Each combination was generated across all feature dimensionalities, resulting in120120datasets\.

## VExperimental Results

In this work we evaluate three pattern detection methods discussed earlier in the paper\. These include RF surrogate model and the PCA method, which both assign importance scores to features, and the LIME method, which outputs a collection of weighted rules\. For RF surrogate model and the LIME method, the predictive task was defined as one\-vs\-all classification, where each of the patterns is considered as an individual cluster\. The results obtained by each of the three methods on our synthetic dataset are explained in the following sections\.

### V\-ARF Surrogate Model and PCA

Tables[I](https://arxiv.org/html/2608.05880#S5.T1)and[II](https://arxiv.org/html/2608.05880#S5.T2)summarise the results obtained by the RF surrogate models and the PCA method across all datasets\. Both approaches assign importance scores to features, which are ranked to evaluate whether features participating in the true patterns are correctly prioritised\. The first column lists the type of the pattern\. For each pattern, the results are averaged across the different dataset dimensions\. The second column reports the evaluation of the feature ranking usingt​o​p−mtop\-ma​c​c​u​r​a​c​yaccuracyscore, calculated as a ratio between the number of pattern features put at the top of the ranking and the total number of pattern features\. This is followed by the standard deviation in column three\. The fourth column shows the average difference between the min importance values assigned to a pattern feature and the max importance value assigned to a non\-pattern feature\. The final column provides the standard deviation of the values reported in column 4\.

TABLE I:Summary of the results obtained for the RF surrogate model\.PatternRanking AccuracySt\. Dev\.MarginSt\. Dev\.Positive 20\.950\.15810\.06010\.0488Negative 21\.00\.00\.11930\.0465High 21\.00\.00\.30480\.035Low 20\.950\.15810\.1380\.1137Switch 21\.00\.00\.22530\.087Positive 30\.96670\.10540\.01910\.0288Negative 30\.96670\.10540\.01810\.0589High 30\.96670\.10540\.02910\.0391Low 31\.00\.00\.01310\.0126Positive 40\.9250\.16870\.00540\.0117High\-Low 40\.8750\.13180\.00120\.0061Switch 40\.8750\.17680\.01440\.0381TABLE II:Summary of the results obtained for the PCA method\.PatternRanking AccuracySt\. Dev\.MarginSt\. Dev\.Positive 21\.00\.00\.44240\.0815Negative 21\.00\.00\.44770\.0681High 20\.80\.42160\.0890\.2279Low 20\.050\.1581\-0\.27420\.123Switch 20\.80\.42160\.21060\.2304Positive 31\.00\.00\.44590\.0345Negative 30\.70\.1892\-0\.12380\.0815High 31\.00\.00\.33730\.0542Low 30\.26670\.3443\-0\.2230\.07Positive 41\.00\.00\.39710\.0273High\-Low 40\.5250\.1845\-0\.15040\.0742Switch 41\.00\.00\.32770\.0488The RF\-based method achieves consistently high ranking accuracy across most pattern types, typically exceeding 0\.95 and often reaching perfect identification of top pattern features\. This indicates that RF reliably assigns high importance to features associated with injected signals\. PCA also achieves perfect or near\-perfect ranking accuracy for several patterns, particularly for positive, negative, and switching structures\. However, PCA exhibits substantially more variability, with performance dropping markedly for certain configurations, most notably the Low patterns\. This contrast suggests that RF provides more stable feature prioritisation across pattern types, whereas PCA is sensitive to the statistical structure of the signal and performs well primarily when patterns align with dominant variance directions\.

A key difference between the two methods emerges when examining the margin metric, which measures the separation between pattern and non\-pattern features\. RF generally produces small but positive margins, indicating that relevant features are usually ranked above irrelevant ones, albeit with limited separation\. The small margins imply considerable overlap between importance scores, meaning that there is no clear threshold distinguishing pattern members from the remaining variables\. In contrast, PCA produces large positive margins for some patterns \(e\.g\., Positive and Negative patterns\), suggesting strong separation when the underlying structure aligns with principal variance components\. However, PCA also frequently yields negative margins, particularly for Low and mixed High–Low patterns\. Negative margins indicate that non\-pattern features are occasionally ranked higher than true pattern features, demonstrating instability and reduced robustness across pattern types\. Thus, RF shows consistent but weak separation, while PCA exhibits stronger separation when successful but fails more dramatically when assumptions are violated\.

Despite relatively high ranking accuracy, both methods share an important limitation: neither explicitly reveals the relationships among detected features\. The injected patterns encode structured behaviour \- correlations, shared magnitude shifts, or coordinated switching dynamics \- yet both RF and PCA reduce the output to individual feature importance scores\. As a result, the methods identify which features appear important but do not clarify whether these features belong to a coherent pattern or simply exhibit independent statistical influence\. This limitation is particularly evident for higher\-order patterns, where multiple interacting features define the signal but no explicit grouping or relational structure is recovered\. Consequently, successful ranking does not necessarily correspond to successful pattern discovery\.

We also investigate how the two methods perform across datasets of varying dimensionality\. Figures[1](https://arxiv.org/html/2608.05880#S5.F1)and[2](https://arxiv.org/html/2608.05880#S5.F2)present the ranking accuracy as the number of features increases\. The results show that the RF surrogate model maintains consistently high performance across all examined dimensionalities, indicating robustness to increasing feature\-space complexity\. This suggests that the RF\-based importance estimation effectively isolates informative variables even when the number of irrelevant features grows\. In contrast, PCA exhibits a clear decline in ranking accuracy as data dimensionality increases\. This degradation can be attributed to PCA’s reliance on variance maximisation: as additional noisy or unrelated features are introduced, the dominant variance directions become increasingly influenced by non\-pattern features\. Consequently, the principal components capture global variance structure rather than the injected patterns, leading to reduced ability to prioritise relevant variables\. These results highlight a fundamental difference between the two approaches: RF surrogate models evaluate feature importance through predictive relationships that remain relatively stable in high\-dimensional settings, whereas PCA becomes progressively sensitive to variance dilution, where informative signals are overshadowed by accumulated variability from irrelevant dimensions\.

![Refer to caption](https://arxiv.org/html/2608.05880v1/rf_mean_score_per_dataset.png)Figure 1:Chart showing mean ranking accuracy of RF surrogate model across synthetic datasets with increasing number of dimensions\.![Refer to caption](https://arxiv.org/html/2608.05880v1/pca_mean_score_per_dataset.png)Figure 2:Chart showing mean ranking accuracy of PCA method across synthetic datasets with increasing number of dimensions\.
### V\-BLIME

Table[III](https://arxiv.org/html/2608.05880#S5.T3)summarises the explanations produced by the LIME method for datasets containing injected feature patterns, reporting the four highest\-ranked rules and their associated weights for each case\. Across all patterns, LIME consistently places key pattern features within the top explanatory rules, indicating that the method successfully identifies variables that influence the predictions\. Importantly, no clearly irrelevant features appear among the explanations; however, individual rules typically capture only subsets of the pattern features rather than representing the full structure jointly\. The interpretation of rule weights is therefore critical: positive weights indicate feature value ranges that support the prediction, whereas negative weights correspond to ranges that oppose it within the surrogate linear model fitted by LIME\. Consequently, the presence of both positive and negative rules for the same feature does not imply inconsistency in the underlying model but rather reflects locally opposing contributions across neighbouring value regions\. Nevertheless, this behaviour complicates interpretation, as some explanations contain adjacent intervals with opposite effects, making it difficult to derive a single coherent rule describing the pattern\. Patterns defined by simple magnitude effects \(e\.g\., consistently high or low values\) can be partially inferred from the rules, since threshold conditions with strong positive weights often align with the injected feature behaviour\. In contrast, correlation\-based patterns cannot be directly extracted because LIME expresses explanations as independent univariate conditions and does not encode relationships between features\. Similarly, switching patterns are only weakly represented: while individual high or low value conditions are detected, the coordinated opposing behaviour among feature groups is not captured as a unified rule\. As a result, pattern information becomes fragmented across multiple locally valid explanations, requiring substantial manual interpretation to reconstruct the intended structure\. Overall, although LIME reliably highlights influential pattern features and provides insight into value ranges supporting or opposing predictions, the combination of fragmented rules and absence of explicit feature relationships makes it difficult to recover complete and interpretable global patterns from the explanations\.

TABLE III:Example results from LIME method for synthetic dataset with 50 features\.PatternRule 1WeightRule 2WeightRule 3WeightRule 4WeightPositive O1 H0O1 <= \-0\.250\.2289H0 <= \-0\.260\.162\-0\.25 <O1 <= 0\.11\-0\.10150\.11 <O1 <= 0\.45\-0\.0952Negative B0 V1V1 <= \-0\.190\.1994B0 <= \-0\.170\.1978\-0\.17 <B0 <= 0\.13\-0\.08680\.13 <B0 <= 0\.43\-0\.0837High R0 P1R0 \>0\.510\.0959P0 \>0\.510\.0734\-0\.54 <R0 <= \-0\.03\-0\.055P0 <= \-0\.530\.0339Low O0 I0I0 <= \-0\.430\.2081O0 <= \-0\.430\.1344\-0\.43 <I0 <= 0\.09\-0\.07140\.09 <I0 <= 0\.58\-0\.0641Switch V1 G0G0 <= \-0\.460\.1729\-0\.46 <G0 <= 0\.04\-0\.0815V1 \>0\.460\.0622\-0\.19 <V1 <= 0\.16\-0\.0427Positive R1 V1 I1R1 <= \-0\.240\.2151I1 <= \-0\.220\.1690\.09 <R1 <= 0\.43\-0\.1038\-0\.22 <I1 <= 0\.14\-0\.0826Negative F0 L1 B1F0 <= \-0\.270\.2125B1 <= \-0\.250\.212L1 <= \-0\.280\.2035\-0\.25 <B1 <= 0\.09\-0\.0892High C0 B0 F0F0 \>0\.440\.0649C0 \>0\.530\.0588\-0\.27 <F0 <= 0\.06\-0\.05\-0\.05 <C0 <= 0\.53\-0\.0449Low N0 O0 G1N0 <= \-0\.450\.2002G1 <= \-0\.430\.197O0 <= \-0\.430\.07230\.08 <G1 <= 0\.59\-0\.0681Positive M1 B0 J1 M0J1 <= \-0\.240\.1488M0 <= \-0\.260\.1306M1 <= \-0\.250\.1281\-0\.24 <J1 <= 0\.12\-0\.0685High\-Low T1 P1 S1 I1S1 <= \-0\.440\.1492I1 <= \-0\.220\.1203P1 <= \-0\.510\.0571\-0\.44 <S1 <= 0\.11\-0\.0528Switch A1 O0 C1 L1C1 <= \-0\.490\.1488A1 <= \-0\.460\.1463\-0\.49 <C1 <= 0\.05\-0\.0562O0 <= \-0\.430\.0456

## VIConclusions and Future Work

Using synthetic datasets with injected ground\-truth patterns, this work evaluates RF surrogate models, PCA and LIME in terms of their ability to recover relevant features and provide interpretable representations of underlying structures\. The results demonstrate that, although all three approaches can highlight important variables to some extent, none of them reliably identifies complete multi\-feature patterns or clearly captures relationships among features\.

The RF surrogate model showed strong and consistent ranking performance across pattern types and data dimensionalities, successfully prioritising relevant features\. However, its outputs were limited to feature importance rankings, providing little insight into how features relate to one another or collectively form patterns\. PCA exhibited strong performance when patterns aligned with dominant variance directions but degraded substantially as dimensionality increased or when patterns did not dominate global variance\. Consequently, PCA proved sensitive to the statistical structure of the data and unreliable for detecting more complex or subtle patterns\. LIME, while offering rule\-based explanations and successfully identifying influential features, produced fragmented valid rules that did not coherently represent global feature relationships\. Correlation\-based and switching patterns, in particular, could not be directly recovered due to the method’s reliance on independent univariate conditions\.

Taken together, these findings highlight a broader methodological limitation: current widely used techniques are primarily designed for feature ranking, dimensionality reduction, or local explanation rather than true pattern detection\. As a result, identifying structured multi\-feature behaviours remains challenging, even in controlled settings where patterns are known to exist\. This limitation has important implications for downstream tasks such as cluster analysis and exploratory data analysis, where meaningful grouping often depends on detecting interactions and coordinated behaviour among features rather than assessing variables independently\. The lack of dedicated pattern detection methodologies therefore represents a significant gap in current data analysis practice\. Future work should focus on developing new approaches capable of explicitly identifying multi\-feature patterns and modelling relationships among variables\. Such methods should move beyond independent feature scoring toward representations that capture collective behaviour, structural dependencies, and interpretable pattern boundaries\.

Evaluation of existing pattern detection methods against real\-world datasets was beyond the scope of this work\. Future work should expand this evaluation to real\-world datasets\. Whilst testing on synthetic datasets provides a controlled experimental environment, evaluation of existing approaches’ efficacy identifying known and documented patterns in real\-world datasets would improve confidence in the evaluation\. This would also provide a comparative baseline for future pattern detection methods to be evaluated against, further improving confidence in novel approaches\.

## VIIAcknowledgements

Benjamin Connor is supported by a Department for the Economy Research Studentship\.

## References

- \[1\]M\. Alvarez\-Garcia, R\. Ibar\-Alonso, and M\. Arenas\-Parra\(2024\)A comprehensive framework for explainable cluster analysis\.Information Sciences663,pp\. 120282\.Cited by:[§II](https://arxiv.org/html/2608.05880#S2.p3.1)\.
- \[2\]S\. Bandyapadhyay, F\. V\. Fomin, P\. A\. Golovach, W\. Lochet, N\. Purohit, and K\. Simonov\(2023\)How to find a good explanation for clustering?\.Artificial Intelligence322,pp\. 103948\.Cited by:[§I](https://arxiv.org/html/2608.05880#S1.p1.1),[§III](https://arxiv.org/html/2608.05880#S3.p1.3)\.
- \[3\]V\. Belle and I\. Papantonis\(2021\)Principles and practice of explainable machine learning\.Frontiers in big Data4,pp\. 688969\.Cited by:[§II\-A](https://arxiv.org/html/2608.05880#S2.SS1.p1.5)\.
- \[4\]H\. Dunn, L\. Quinn, S\. J\. Corbridge, K\. Eldeirawi, M\. Kapella, and E\. G\. Collins\(2018\)Cluster analysis in nursing research: an introduction, historical perspective, and future directions\.Western journal of nursing research40\(11\),pp\. 1658–1676\.Cited by:[§II](https://arxiv.org/html/2608.05880#S2.p2.1)\.
- \[5\]A\. K\. Jain\(2010\)Data clustering: 50 years beyond k\-means\.Pattern recognition letters31\(8\),pp\. 651–666\.Cited by:[§II](https://arxiv.org/html/2608.05880#S2.p1.1),[§III](https://arxiv.org/html/2608.05880#S3.p1.3)\.
- \[6\]I\. T\. Jolliffe and J\. Cadima\(2016\)Principal component analysis: a review and recent developments\.Philosophical transactions of the royal society A: Mathematical, Physical and Engineering Sciences374\(2065\),pp\. 20150202\.Cited by:[§II\-C](https://arxiv.org/html/2608.05880#S2.SS3.p1.1)\.
- \[7\]T\. J\. Loftus, B\. Shickel, J\. A\. Balch, P\. J\. Tighe, K\. L\. Abbott, B\. Fazzone, E\. M\. Anderson, J\. Rozowsky, T\. Ozrazgat\-Baslanti, Y\. Ren,et al\.\(2022\)Phenotype clustering in health care: a narrative review for clinicians\.Frontiers in artificial intelligence5,pp\. 842306\.Cited by:[§I](https://arxiv.org/html/2608.05880#S1.p2.1),[§I](https://arxiv.org/html/2608.05880#S1.p3.1),[§II](https://arxiv.org/html/2608.05880#S2.p2.1)\.
- \[8\]R\. Luss and A\. d’Aspremont\(2010\)Clustering and feature selection using sparse principal component analysis\.Optimization and Engineering11\(1\),pp\. 145–157\.Cited by:[§I](https://arxiv.org/html/2608.05880#S1.p2.1)\.
- \[9\]G\. Marín Díaz, R\. Gómez Medina, and J\. A\. Aijón Jiménez\(2024\)Integrating fuzzy c\-means clustering and explainable ai for robust galaxy classification\.Mathematics12\(18\),pp\. 2797\.Cited by:[§I](https://arxiv.org/html/2608.05880#S1.p2.1)\.
- \[10\]M\. Moshkovitz, S\. Dasgupta, C\. Rashtchian, and N\. Frost\(2020\)Explainable k\-means and k\-medians clustering\.InInternational conference on machine learning,pp\. 7055–7065\.Cited by:[§I](https://arxiv.org/html/2608.05880#S1.p1.1)\.
- \[11\]M\. T\. Ribeiro, S\. Singh, and C\. Guestrin\(2016\)” Why should i trust you?” explaining the predictions of any classifier\.InProceedings of the 22nd ACM SIGKDD international conference on knowledge discovery and data mining,pp\. 1135–1144\.Cited by:[§II\-B](https://arxiv.org/html/2608.05880#S2.SS2.p1.1)\.
- \[12\]E\. Werner, J\. N\. Clark, A\. Hepburn, R\. S\. Bhamber, M\. Ambler, C\. P\. Bourdeaux, C\. J\. McWilliams, and R\. Santos\-Rodriguez\(2023\)Explainable hierarchical clustering for patient subtyping and risk prediction\.Experimental Biology and Medicine248\(24\),pp\. 2547–2559\.Cited by:[§II](https://arxiv.org/html/2608.05880#S2.p2.1)\.
- \[13\]E\. Yamga, L\. Mullie, M\. Durand, A\. Cadrin\-Chenevert, A\. Tang, E\. Montagnon, C\. Chartrand\-Lefebvre, and M\. Chassé\(2023\)Interpretable clinical phenotypes among patients hospitalized with covid\-19 using cluster analysis\.Frontiers in Digital Health5,pp\. 1142822\.Cited by:[§I](https://arxiv.org/html/2608.05880#S1.p3.1)\.
- \[14\]M\. R\. Zafar and N\. M\. Khan\(2019\)DLIME: a deterministic local interpretable model\-agnostic explanations approach for computer\-aided diagnosis systems\.arXiv preprint arXiv:1906\.10263\.Cited by:[§I](https://arxiv.org/html/2608.05880#S1.p2.1)\.

Similar Articles

Interpretable Discriminative Text Representations via Agreement and Label Disentanglement

arXiv cs.CL

This paper proposes an operational criterion for interpretable text representations based on inter-annotator agreement and label disentanglement, and introduces LLM-assisted Feature Discovery (LFD), a method that uses cross-LLM agreement screening and residual predictive gain to select clear, label-disentangled features. Experiments show LFD matches predictive performance while producing more interpretable features, validated by human audits.