Saved in:
Bibliographic Details
Main Authors: Erbani, Johan, Portier, Pierre-Edouard, Egyed-Zsigmond, Elod, Mokhtar, Sonia Ben, Nurbakova, Diana
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2509.04959
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866918415786049536
author Erbani, Johan
Portier, Pierre-Edouard
Egyed-Zsigmond, Elod
Mokhtar, Sonia Ben
Nurbakova, Diana
author_facet Erbani, Johan
Portier, Pierre-Edouard
Egyed-Zsigmond, Elod
Mokhtar, Sonia Ben
Nurbakova, Diana
contents The confusion matrix is a standard tool for evaluating classifiers by providing insights into class-level errors. In heterogeneous settings, its values are shaped by two main factors: class similarity -- how easily the model confuses two classes -- and distribution bias, arising from skewed distributions in the training and test sets. However, confusion matrix values reflect a mix of both factors, making it difficult to disentangle their individual contributions. To address this, we introduce bistochastic normalization using Iterative Proportional Fitting, a generalization of row and column normalization. Unlike standard normalizations, this method recovers the underlying structure of class similarity. By disentangling error sources, it enables more accurate diagnosis of model behavior and supports more targeted improvements. We also show a correspondence between confusion matrix normalizations and the model's internal class representations. Both standard and bistochastic normalizations can be interpreted geometrically in this space, offering a deeper understanding of what normalization reveals about a classifier.
format Preprint
id arxiv_https___arxiv_org_abs_2509_04959
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle On the Normalization of Confusion Matrices: Methods and Geometric Interpretations
Erbani, Johan
Portier, Pierre-Edouard
Egyed-Zsigmond, Elod
Mokhtar, Sonia Ben
Nurbakova, Diana
Machine Learning
The confusion matrix is a standard tool for evaluating classifiers by providing insights into class-level errors. In heterogeneous settings, its values are shaped by two main factors: class similarity -- how easily the model confuses two classes -- and distribution bias, arising from skewed distributions in the training and test sets. However, confusion matrix values reflect a mix of both factors, making it difficult to disentangle their individual contributions. To address this, we introduce bistochastic normalization using Iterative Proportional Fitting, a generalization of row and column normalization. Unlike standard normalizations, this method recovers the underlying structure of class similarity. By disentangling error sources, it enables more accurate diagnosis of model behavior and supports more targeted improvements. We also show a correspondence between confusion matrix normalizations and the model's internal class representations. Both standard and bistochastic normalizations can be interpreted geometrically in this space, offering a deeper understanding of what normalization reveals about a classifier.
title On the Normalization of Confusion Matrices: Methods and Geometric Interpretations
topic Machine Learning
url https://arxiv.org/abs/2509.04959