CHITRA: Clustering Hidden-layer Interpretations through Technical Ranking and Attribution

Developing transparent and reliable AI systems requires a deep understanding of how machine learning models, especially neural networks, make decisions. This project presents CHITRA, a novel interpretability algorithm for neural network hidden layer analysis that combines cosine similarity, Singular Value Decomposition (SVD), and K-means clustering to identify and group relevant neurons. CHITRA’s unique approach involves clustering similar neurons and tracking their activation paths across different inputs to logically deduce their function. Unlike existing techniques such as SHAP and LIME, which struggle with scalability and consistency in bigger and more complicated neural networks, experiments with CNNs and RNNs on MNIST and CIFAR-10 datasets showed that CHITRA surpassed existing techniques like SHAP and LIME in terms of accuracy, precision, and interpretability score, suggesting its potential to provide a more comprehensive understanding of model behavior. To quantitatively evaluate CHITRA’s performance in identifying neuron function, we first established a ’ground truth’ for a small, manually labeled subset of neuron clusters. This involved a detailed, manual analysis of the features each cluster was known to detect. For each neuron cluster, we systematically presented the model with different inputs and recorded the cluster’s activation patterns. For example, if a cluster consistently showed high activation exclusively for images of the digit ’5’, we manually labeled that cluster as a ’5-detector’. This process was repeated for each cluster in the subset, allowing us to create a reliable set of ground-truth labels against which CHITRA’s predictions could be quantitatively compared. We then generated CHITRA’s output for these same clusters and compared its predictions to our ground truth labels. This allowed us to calculate accuracy (the percentage of clusters for which CHITRA’s identified function matched the ground truth), precision (the proportion of CHITRA’s identified functions that were actually correct), and recall (the proportion of all ground-truth functions that CHITRA correctly identified). The results of this analysis demonstrated that CHITRA outperformed existing techniques like SHAP and LIME in these quantitative metrics and qualitative evaluations (like human interpretability assessment). In the past, there have been various instances of poorly trained models that cause misdiagnosis, huge investment losses, and deaths. CHITRA allows researchers to fully understand the entire layout of their models, thereby preventing any of these incidents in the future.

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2025-10-11
DOI
https://doi.org/10.5281/zenodo.17328863
Primary Topic
Clostridium difficile and Clostridium perfringens research
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

CHITRA: Clustering Hidden-layer Interpretations through Technical Ranking and Attribution

Zenodo (CERN European Organization for Nuclear Research)
Clostridium difficile and Clostridium perfringens research
article

CHITRA: Clustering Hidden-layer Interpretations through Technical Ranking and Attribution

article en

Abstract

Developing transparent and reliable AI systems requires a deep understanding of how machine learning models, especially neural networks, make decisions. This project presents CHITRA, a novel interpretability algorithm for neural network hidden layer analysis that combines cosine similarity, Singular Value Decomposition (SVD), and K-means clustering to identify and group relevant neurons. CHITRA’s unique approach involves clustering similar neurons and tracking their activation paths across different inputs to logically deduce their function. Unlike existing techniques such as SHAP and LIME, which struggle with scalability and consistency in bigger and more complicated neural networks, experiments with CNNs and RNNs on MNIST and CIFAR-10 datasets showed that CHITRA surpassed existing techniques like SHAP and LIME in terms of accuracy, precision, and interpretability score, suggesting its potential to provide a more comprehensive understanding of model behavior. To quantitatively evaluate CHITRA’s performance in identifying neuron function, we first established a ’ground truth’ for a small, manually labeled subset of neuron clusters. This involved a detailed, manual analysis of the features each cluster was known to detect. For each neuron cluster, we systematically presented the model with different inputs and recorded the cluster’s activation patterns. For example, if a cluster consistently showed high activation exclusively for images of the digit ’5’, we manually labeled that cluster as a ’5-detector’. This process was repeated for each cluster in the subset, allowing us to create a reliable set of ground-truth labels against which CHITRA’s predictions could be quantitatively compared. We then generated CHITRA’s output for these same clusters and compared its predictions to our ground truth labels. This allowed us to calculate accuracy (the percentage of clusters for which CHITRA’s identified function matched the ground truth), precision (the proportion of CHITRA’s identified functions that were actually correct), and recall (the proportion of all ground-truth functions that CHITRA correctly identified). The results of this analysis demonstrated that CHITRA outperformed existing techniques like SHAP and LIME in these quantitative metrics and qualitative evaluations (like human interpretability assessment). In the past, there have been various instances of poorly trained models that cause misdiagnosis, huge investment losses, and deaths. CHITRA allows researchers to fully understand the entire layout of their models, thereby preventing any of these incidents in the future.

Zenodo (CERN European Organization for Nuclear Research)
Industry, innovation and infrastructure
Openalex Percentile: Top 39%
Clostridium difficile and Clostridium perfringens research
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.