The Confusion Is Real: GRAPHIC - A Network Science Approach to Confusion Matrices in Deep Learning
Abstract
Explainable artificial intelligence has emerged as a promising field of research to address reliability concerns in artificial intelligence. Despite significant progress in explainable artificial intelligence, few methods provide a systematic way to visualize and understand how classes are confused and how their relationships evolve as training progresses. In this work, we present GRAPHIC, an architecture-agnostic approach that analyzes neural networks on a class level. It leverages confusion matrices derived from intermediate layers using linear classifiers. We interpret these as adjacency matrices of directed graphs, allowing tools from network science to visualize and quantify learning dynamics across training epochs and intermediate layers. GRAPHIC provides insights into linear class separability, dataset issues, and architectural behavior, revealing, for example, similarities between flatfish and man and labeling ambiguities validated in a human study. In summary, by uncovering real confusions, GRAPHIC offers new perspectives on how neural networks learn. The code is available at https://github.com/Johanna-S-Froehlich/GRAPHIC.
Cite
Text
Fröhlich et al. "The Confusion Is Real: GRAPHIC - A Network Science Approach to Confusion Matrices in Deep Learning." Transactions on Machine Learning Research, 2026.Markdown
[Fröhlich et al. "The Confusion Is Real: GRAPHIC - A Network Science Approach to Confusion Matrices in Deep Learning." Transactions on Machine Learning Research, 2026.](https://mlanthology.org/tmlr/2026/frohlich2026tmlr-confusion/)BibTeX
@article{frohlich2026tmlr-confusion,
title = {{The Confusion Is Real: GRAPHIC - A Network Science Approach to Confusion Matrices in Deep Learning}},
author = {Fröhlich, Johanna S. and Heinlein, Bastian and Claar, Jan U. and Rosenberger, Hans and Belagiannis, Vasileios and Müller, Ralf R.},
journal = {Transactions on Machine Learning Research},
year = {2026},
url = {https://mlanthology.org/tmlr/2026/frohlich2026tmlr-confusion/}
}